On Friday 04 March 2016 22:40:35 Andrew Shadura wrote: > On 4 March 2016 at 22:29, Pali Rohár <pali.ro...@gmail.com> wrote: > >> I just wanted to note that with the latest bmake (20150606-1), it > >> is enough to have this in your debian/rules: > >> > >> #!/usr/bin/make -f > >> > >> %: > >> dh $@ --buildsystem=bmake > >> > >> And then you have to apply a patch to Makefile.in so that the > >> Makefile accepts and uses DESTDIR. > > > > I tested it and it does not work. It even did not called autoconf > > and configure parts... So sorry, your proposed solution does not > > work. > > Well, I did test it and it worked, otherwise I wouldn't have proposed > it.
See attachment in which is build log... -- Pali Rohár pali.ro...@gmail.com
$ dpkg-buildpackage -b dpkg-buildpackage: source package udfclient dpkg-buildpackage: source version 0.8.1-1 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Pali Rohár <pali.ro...@gmail.com> dpkg-buildpackage: host architecture amd64 dpkg-source --before-build udfclient-0.8.1 fakeroot debian/rules clean dh clean --buildsystem=bmake dh_testdir -O--buildsystem=bmake dh_auto_clean -O--buildsystem=bmake bmake distclean rm -f a.out [Ee]rrs mklog core *.core rm -f dh_clean -O--buildsystem=bmake rm -f debian/debhelper-build-stamp rm -f debian/udfclient.substvars rm -f debian/udfclient.*.debhelper rm -rf debian/udfclient/ rm -rf debian/.debhelper/ rm -f debian/*.debhelper.log rm -f debian/files find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \) rm -f *-stamp debian/rules build dh build --buildsystem=bmake dh_testdir -O--buildsystem=bmake dh_update_autotools_config -O--buildsystem=bmake install -d debian/.debhelper/bucket/files cp -an --reflink=auto config.guess debian/.debhelper/bucket/files/420138cb266d63505ec54f169a34e1cc9aba80dc20a1eeac76b7bf5c9e5ff74e.tmp mv -f debian/.debhelper/bucket/files/420138cb266d63505ec54f169a34e1cc9aba80dc20a1eeac76b7bf5c9e5ff74e.tmp debian/.debhelper/bucket/files/420138cb266d63505ec54f169a34e1cc9aba80dc20a1eeac76b7bf5c9e5ff74e cp -f /usr/share/misc/config.guess ./config.guess cp -an --reflink=auto config.sub debian/.debhelper/bucket/files/6585881331b69439aec3e94b9167983f9c3609b1b5dca9fa77d6941a3f79ccc2.tmp mv -f debian/.debhelper/bucket/files/6585881331b69439aec3e94b9167983f9c3609b1b5dca9fa77d6941a3f79ccc2.tmp debian/.debhelper/bucket/files/6585881331b69439aec3e94b9167983f9c3609b1b5dca9fa77d6941a3f79ccc2 cp -f /usr/share/misc/config.sub ./config.sub dh_auto_configure -O--buildsystem=bmake dh_auto_build -O--buildsystem=bmake bmake dh_auto_test -O--buildsystem=bmake fakeroot debian/rules binary dh binary --buildsystem=bmake dh_testroot -O--buildsystem=bmake dh_prep -O--buildsystem=bmake rm -f debian/udfclient.substvars rm -f debian/udfclient.*.debhelper rm -rf debian/udfclient/ dh_auto_install -O--buildsystem=bmake install -d debian/udfclient bmake install DESTDIR=/home/debian/udfclient-0.8.1/debian/udfclient AM_UPDATE_INFO_DIR=no install -c -o root -g root -m 444 bsd.README /home/debian/udfclient-0.8.1/debian/udfclient/usr/share/mk/bsd.README install: cannot stat 'bsd.README': No such file or directory *** Error code 1 Stop. bmake[1]: stopped in /home/debian/udfclient-0.8.1 dh_auto_install: bmake install DESTDIR=/home/debian/udfclient-0.8.1/debian/udfclient AM_UPDATE_INFO_DIR=no returned exit code 1 debian/rules:7: recipe for target 'binary' failed make: *** [binary] Error 29 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
signature.asc
Description: This is a digitally signed message part.