docker-deb-builder icon indicating copy to clipboard operation
docker-deb-builder copied to clipboard

mk-build-deps build failure (usage printout)

Open sxiii opened this issue 2 years ago • 3 comments

Fails to build with printing out help for mk-build-deps:

(base) [sm@fedora-mbp docker-deb-builder]$ ./build -i docker-deb-builder:20.04 -o output ./sources/bmxlib-libmxf
Running docker:
docker run -it -it -v /home/sm/work/docker-deb-builder/sources/bmxlib-libmxf:/source-ro:ro -v /home/sm/work/docker-deb-builder/output:/output -v /home/sm/work/docker-deb-builder/build-helper.sh:/build-helper.sh:ro -e USER=1000 -e GROUP=1000 --rm  docker-deb-builder:20.04 /build-helper.sh
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Usage:
    mk-build-deps --help|--version

    mk-build-deps [options] control file | package name ...

Do you have any ideas on what should I check? I thought about the dependencies list but it seems to be fine. Thanks!

sxiii avatar Dec 15 '21 11:12 sxiii

Hi @sxiii, Sorry for delay replying. Does the source code of bmxlib-libmxf have debian/control file and other packaging files that are required by the packaging tools https://wiki.debian.org/Packaging/Intro

tsaarni avatar Dec 22 '21 16:12 tsaarni

That's OK @tsaarni -- Originally it hadn't, but I've written the required files myself when I was trying to make it work :)

sxiii avatar Dec 28 '21 09:12 sxiii

I quickly looked at the mk-build-deps script from Debian devscripts package and it seemed to me that the usage could be printed if debian/control was missing, or maybe it could be some typo in the deb packaging files. Other than that, I don't have ideas...

tsaarni avatar Dec 30 '21 10:12 tsaarni