GithubHelp home page GithubHelp logo

Comments (8)

trapexit avatar trapexit commented on June 30, 2024

Please use the expressly packaged source and not the github generated one.

https://github.com/trapexit/mergerfs/releases/download/2.35.0/mergerfs-2.35.0.tar.gz

from mergerfs.

arnonm avatar arnonm commented on June 30, 2024

Downloaded the tar and retried. Now generating a debian-buster package, although we are on Ubuntu 22.10
root@hda:/usr/local/src/mergerfs/mergerfs-2.35.0# make deb
make distclean
make[1]: Entering directory '/usr/local/src/mergerfs/mergerfs-2.35.0'
rm -rf rpmbuild
rm -rf build
find . -name "*" -delete
make -C libfuse clean
make[2]: Entering directory '/usr/local/src/mergerfs/mergerfs-2.35.0/libfuse'
rm -rf build
make[2]: Leaving directory '/usr/local/src/mergerfs/mergerfs-2.35.0/libfuse'
make[1]: Leaving directory '/usr/local/src/mergerfs/mergerfs-2.35.0'
make debian-changelog
make[1]: Entering directory '/usr/local/src/mergerfs/mergerfs-2.35.0'
cp ChangeLog debian/changelog
make[1]: Leaving directory '/usr/local/src/mergerfs/mergerfs-2.35.0'
dpkg-source -b .
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format '1.0'
dpkg-source: warning: native package version may not have a revision
dpkg-source: warning: source directory 'mergerfs-2.35.0' is not - 'mergerfs-2.35.0
debian'
dpkg-source: info: building mergerfs in mergerfs_2.35.0debian-buster.tar.gz
dpkg-source: info: building mergerfs in mergerfs_2.35.0
debian-buster.dsc
dpkg-buildpackage -nc -uc -us
dpkg-buildpackage: info: source package mergerfs
dpkg-buildpackage: info: source version 2.35.0debian-buster
dpkg-buildpackage: info: source distribution buster
dpkg-buildpackage: info: source changed by trapexit [email protected]
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build .
debian/rules build
make[1]: Entering directory '/usr/local/src/mergerfs/mergerfs-2.35.0'
dh build --parallel
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make[1]: Leaving directory '/usr/local/src/mergerfs/mergerfs-2.35.0'
debian/rules binary
make[1]: Entering directory '/usr/local/src/mergerfs/mergerfs-2.35.0'
dh binary --parallel
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make[1]: Leaving directory '/usr/local/src/mergerfs/mergerfs-2.35.0'
dpkg-genbuildinfo --build=binary -O../mergerfs_2.35.0
debian-buster_amd64.buildinfo
dpkg-genchanges --build=binary -O../mergerfs_2.35.0~debian-buster_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
root@hda:/usr/local/src/mergerfs/mergerfs-2.35.0#cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.10
DISTRIB_CODENAME=kinetic
DISTRIB_DESCRIPTION="Ubuntu 22.10"

from mergerfs.

trapexit avatar trapexit commented on June 30, 2024

It isnt. It's just the changelog was built on that os. Is there some proper way to generate a changelog that isn't just sed?

from mergerfs.

trapexit avatar trapexit commented on June 30, 2024

Can you please explain to me what your trying to accomplish? Do you just want to build a package without git? You want a specific branded deb for download?

from mergerfs.

arnonm-intel avatar arnonm-intel commented on June 30, 2024

I am trying to build it from source on a Ubuntu 22.10 machine with Ansible.
Ignore the original heading about the ChangeLog. I followed your advice and downloaded the released tar
Current steps:
wget https://github.com/trapexit/mergerfs/releases/download/2.35.0/mergerfs-2.35.0.tar.gz
tar tvf mergerfs-2.35.0.tar.gz
make deb
Expected result:
File in mergerfs named mergerfs_2.35.0ubuntu-kinetic_amd64.deb
Actual result
File in mergerfs named mergerfs_2.35.0
debian-buster_amd64.deb

Just to verify that the system is the correct one, I ran:
cat /etc/lsb-release and result is:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.10
DISTRIB_CODENAME=kinetic
DISTRIB_DESCRIPTION="Ubuntu 22.10"

So the CODENAME and DISTRIB_ID are correct, the make file is not picking it up.

from mergerfs.

trapexit avatar trapexit commented on June 30, 2024

It's not the makefile. Deb packages, afaik, need a fixed changelog file and the details about the OS is for some reason in the changelog. The only place that makes sense to pull a changelog is from git. Besides using sed to change those values I honestly don't know what I'm supposed to do. The documentation on this stuff is not great.

from mergerfs.

arnonm avatar arnonm commented on June 30, 2024

from mergerfs.

trapexit avatar trapexit commented on June 30, 2024

1 was what I was thinking. It's the simplest. But will need to work with the build process I have for creating the tarball. Need to put some token there to replace. I can do this. Don't worry about it.

from mergerfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.