Package: src:mypaint Version: 1.2.0-2 Severity: serious Tags: patch Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" (which is what the "Arch: all" autobuilder would do to build it) but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh_testdir scons enable_openmp=true scons: Reading SConscript files ... building for 'python2.7' (use scons python_binary=xxx to change) using 'python2.7-config' (use scons python_config=xxx to change) Delete(["libmypaint-tests.so", "libmypaint-tests.so", "libmypaint.so", "libmypaintlib.so", "libmypaint.a", "libmypaint-tests.a", "lib/_mypaintlib.so"]) Enabling i18n for brushlib in full application build set umask to 0022 (was 0002) scons: done reading SConscript files. scons: Building targets ... Creating 'brushlib/mypaint-config.h' gcc -o brushlib/brushmodes.os -c -std=c99 -D_POSIX_C_SOURCE=200809L -fopenmp -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -fPIC -DHAVE_JSON_C -DHAVE_GETTEXT -Ibrushlib -I/usr/include/json-c brushlib/brushmodes.c [... snipped ...] # required at runtime. It's probably counterproductive to ship just a # static lib in a dev package (see mailing list thread). rm -fr /<<PKGBUILDDIR>>/debian/tmp/usr/include rm -f /<<PKGBUILDDIR>>/debian/tmp/usr/lib/*.a rm -fr /<<PKGBUILDDIR>>/debian/tmp/usr/lib/pkgconfig # When the ABI settles a bit more, let's consider dynamic libs. # https://mail.gna.org/public/mypaint-discuss/2013-01/msg00021.html dh_install --fail-missing -X prev-template.xcf.gz -X FX_blender_prev.png -X label-brush-mypaint.sh -X generate.py dh_install: Compatibility levels before 9 are deprecated (level 8 in use) dh_installchangelogs Changelog.md dh_installdocs dh_installdocs: Compatibility levels before 9 are deprecated (level 8 in use) dh_installmenu dh_python2 I: dh_python2 tools:100: replacing shebang in debian/mypaint/usr/bin/mypaint I: dh_python2 tools:100: replacing shebang in debian/mypaint/usr/bin/mypaint-ora-thumbnailer dh_installman dh_installman: Compatibility levels before 9 are deprecated (level 8 in use) dh_link dh_strip dh_strip: Compatibility levels before 9 are deprecated (level 8 in use) dh_compress dh_icons dh_fixperms dh_installdeb dh_installdeb: Compatibility levels before 9 are deprecated (level 8 in use) dh_shlibdeps dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/mypaint/usr/lib/mypaint/_mypaintlib.so was not linked against libcairo-gobject.so.2 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/mypaint/usr/lib/mypaint/_mypaintlib.so was not linked against libgtk-3.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/mypaint/usr/lib/mypaint/_mypaintlib.so was not linked against libatk-1.0.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/mypaint/usr/lib/mypaint/_mypaintlib.so was not linked against libpthread.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/mypaint/usr/lib/mypaint/_mypaintlib.so was not linked against libpangocairo-1.0.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/mypaint/usr/lib/mypaint/_mypaintlib.so was not linked against libgio-2.0.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/mypaint/usr/lib/mypaint/_mypaintlib.so was not linked against libcairo.so.2 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/mypaint/usr/lib/mypaint/_mypaintlib.so was not linked against libpango-1.0.so.0 (it uses none of the library's symbols) dh_gencontrol dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dh_md5sums dh_builddeb --indep dpkg-deb: building package 'mypaint-data' in '../mypaint-data_1.2.0-2_all.deb'. dpkg-deb: building package 'mypaint-data-extras' in '../mypaint-data-extras_1.2.0-2_all.deb'. dpkg-genbuildinfo --build=all dpkg-genbuildinfo: error: cannot fstat file ../mypaint-dbgsym_1.2.0-2_amd64.deb: No such file or directory dpkg-buildpackage: error: dpkg-genbuildinfo --build=all gave error exit status 2 -------------------------------------------------------------------------------- To reproduce please try to build the package with "dpkg-buildpackage -A". This may be fixed by moving (and duplicating) the final part of "install" target into binary-indep and binary-arch, as in the patch below. Thanks. --- a/debian/rules +++ b/debian/rules @@ -68,15 +68,17 @@ install: build dh_fixperms dh_installdeb dh_shlibdeps - dh_gencontrol - dh_md5sums binary-indep: install + dh_gencontrol --indep + dh_md5sums --indep dh_builddeb --indep binary-arch: install + dh_gencontrol --arch + dh_md5sums --arch dh_builddeb --arch