Package: src:aubio Version: 0.4.1-2 User: [email protected] Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --with python2 dh_testdir -i debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' ./waf --nocache configure --verbose --prefix=/usr --destdir=debian/tmp --enable-fftw3f Setting top to : /<<PKGBUILDDIR>> Setting out to : /<<PKGBUILDDIR>>/build Checking for 'gcc' (c compiler) : /usr/bin/gcc Checking for header stdlib.h : 16:36:18 runner ['/usr/bin/gcc', '-D_FORTIFY_SOURCE=2', '-g', '-O2', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-g', '-Wall', '-Wextra', '-fPIC', '../test.c', '-c', '-o', 'test.c.1.o'] 16:36:18 runner ['/usr/bin/gcc', '-Wl,-z,relro', 'test.c.1.o', '-o', '/<<PKGBUILDDIR>>/build/.conf_check_ecfddc2ce29c573b1079b107c2434884/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes [... snipped ...] yes Checking for program pkg-config : /usr/bin/pkg-config Checking for 'fftw3f' >= 3.0.0 : 16:36:19 runner ['/usr/bin/pkg-config', '--atleast-version=3.0.0', 'fftw3f'] 16:36:19 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'fftw3f'] yes Checking for FFT implementation : fftw3f Checking for 'sndfile' >= 1.0.4 : 16:36:19 runner ['/usr/bin/pkg-config', '--atleast-version=1.0.4', 'sndfile'] 16:36:19 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'sndfile'] yes Checking for 'samplerate' >= 0.0.15 : 16:36:19 runner ['/usr/bin/pkg-config', '--atleast-version=0.0.15', 'samplerate'] 16:36:19 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'samplerate'] yes Checking for 'jack' : 16:36:19 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'jack'] yes Checking for 'libavcodec' >= 54.35.0 : 16:36:19 runner ['/usr/bin/pkg-config', '--atleast-version=54.35.0', 'libavcodec'] 16:36:19 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'libavcodec'] yes Checking for 'libavformat' >= 52.3.0 : 16:36:19 runner ['/usr/bin/pkg-config', '--atleast-version=52.3.0', 'libavformat'] 16:36:19 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'libavformat'] yes Checking for 'libavutil' >= 52.3.0 : 16:36:19 runner ['/usr/bin/pkg-config', '--atleast-version=52.3.0', 'libavutil'] 16:36:19 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'libavutil'] yes Checking for 'libavresample' >= 1.0.1 : 16:36:19 runner ['/usr/bin/pkg-config', '--atleast-version=1.0.1', 'libavresample'] 16:36:19 runner ['/usr/bin/pkg-config', '--cflags', '--libs', 'libavresample'] yes Checking for all libav libraries : yes Checking for program txt2man : /usr/bin/txt2man Checking for program doxygen : /usr/bin/doxygen 'configure' finished successfully (0.492s) make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_auto_build-indep make[1]: Entering directory '/<<PKGBUILDDIR>>' ln -sf /usr/share/javascript/jquery/jquery.js doc/web/html/jquery.js ln: failed to create symbolic link 'doc/web/html/jquery.js': No such file or directory debian/rules:39: recipe for target 'override_dh_auto_build-indep' failed make[1]: *** [override_dh_auto_build-indep] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:20: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- Sorry not to have a fix, as I am reporting many bugs similar to this one. The common hints are: * If the only architecture-independent packages are dummy transitional ones and they were released with jessie, the easy fix is to drop them now. * When using "dh", it is allowed to use (independently) optional targets override_dh_foo-arch and override_dh_foo-indep (for several values of "foo"). Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work properly, the package would be suitable to be uploaded in source-only form if you wish. Thanks.

