[Pkg-alsa-devel] Bug#547256: Cannot rebuild alsa

Dmitry Baryshev ksquirrel.iv at gmail.com
Fri Sep 18 01:04:52 UTC 2009


Package: libasound2
Version: 1.0.20-4

Cannot rebuild libasound on Debian Lenny 5.0.3:

$ LC_ALL=C dpkg-buildpackage -b -uc -rfakeroot
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package alsa-lib
dpkg-buildpackage: source version 1.0.16-2
dpkg-buildpackage: source changed by Jordi Mallach <jordi at debian.org>
dpkg-buildpackage: host architecture i386

...

make[3]: Leaving directory `/tmp/alsa-lib-1.0.16/bibuild/src'
make[2]: Leaving directory `/tmp/alsa-lib-1.0.16/bibuild/src'
make[1]: Leaving directory `/tmp/alsa-lib-1.0.16/bibuild/src'
mkdir -p debian/lib64asound2/usr/lib64
cp -a debian/bitmp/usr/lib/libasound.so.* \
            debian/lib64asound2/usr/lib64/
mkdir -p debian/lib64asound2-dev/usr/lib64
cp -a \
          debian/bitmp/usr/lib/libasound.so \
          debian/bitmp/usr/lib/libasound.a \
            debian/lib64asound2-dev/usr/lib64/
sed -e "/^libdir=/s,=.*,='/usr/lib64'," \
          debian/bitmp/usr/lib/libasound.la \
            > debian/lib64asound2-dev/usr/lib64/libasound.la
dh_installdirs -s
dh_install -s
dh_installdocs -plibasound2
dh_installexamples -s
dh_installchangelogs -plibasound2 debian/changelog.ALSA
install -D -p -m 0644 -o root -g root debian/lib64asound2.lintian-overrides \
                debian/lib64asound2/usr/share/lintian/overrides/lib64asound2
dh_strip -s
dh_link -s
dh_compress -s
dh_fixperms -s
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error
exit status 2

**********************

The most weird thing is that if I run dpkg-buildpackage again, it will
not fail. It will fail ONLY on clean source directory, e.g. to
reproduce this bug you should unpack source code somewhere, apply
Debian patch and run dpkg-buildpackage.  My CPU is Athlon X2, Debian
Lenny is 32-bit, if it is important.

-- 
Regards, Krasu.





More information about the Pkg-alsa-devel mailing list