[Reproducible-builds] Bug#812846: binutils: FTBFS: mv: 'debian/tmp/usr/bin/ld' and 'debian/tmp/usr/bin/ld.bfd' are the same file
Chris Lamb
lamby at debian.org
Wed Jan 27 07:58:35 UTC 2016
Source: binutils
Version: 2.25.90.20160101-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
binutils fails to build from source in unstable/amd64:
[..]
rm -rf debian/binutils-*-*-*/usr/lib/ldscripts debian/binutils-*-gnu/usr/lib/ldscripts
install -d -m 755 debian/binutils-dev/usr/include
mv debian/tmp/usr/include/* debian/binutils-dev/usr/include/
install -d -m 755 debian/tmp/usr/lib/x86_64-linux-gnu debian/binutils-dev/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/*.a debian/tmp/usr/lib/libbfd.so debian/tmp/usr/lib/libopcodes.so \
debian/binutils-dev/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/*.so \
debian/tmp/usr/lib/x86_64-linux-gnu
install -d -m 755 debian/binutils-multiarch/usr/lib/x86_64-linux-gnu debian/binutils-multiarch-dev/usr/lib/x86_64-linux-gnu
mv debian/binutils-multiarch/usr/lib/libbfd.so \
debian/binutils-multiarch-dev/usr/lib/x86_64-linux-gnu/libbfd-multiarch.so
mv debian/binutils-multiarch/usr/lib/libopcodes.so \
debian/binutils-multiarch-dev/usr/lib/x86_64-linux-gnu/libopcodes-multiarch.so
mv debian/binutils-multiarch/usr/lib/*.so \
debian/binutils-multiarch/usr/lib/x86_64-linux-gnu/
rm -f debian/binutils-multiarch/usr/lib/*.la debian/binutils-multiarch/usr/lib/*.a
rm -f debian/binutils-multiarch/usr/lib*/libiberty*
: # Get rid of .la files since libtool obviously has no idea about transient paths
rm -f debian/tmp/usr/lib/*.la
chmod ugo-x debian/tmp/usr/lib/x86_64-linux-gnu/*.so
: # Strip shared libraries
if which pkg_create_dbgsym >/dev/null 2>&1; then pkg_create_dbgsym binutils debian/tmp; fi
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/tmp/usr/lib/x86_64-linux-gnu/libbfd-*so
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/tmp/usr/lib/x86_64-linux-gnu/libopcodes-*so
strip --remove-section=.comment --remove-section=.note $(file debian/tmp/usr/bin/* |awk -F: '$0 !~ /script/ {print $1}')
chmod ugo-x debian/binutils-multiarch/usr/lib/x86_64-linux-gnu/*.so
: # Strip shared libraries
if which pkg_create_dbgsym >/dev/null 2>&1; then pkg_create_dbgsym binutils-multiarch debian/binutils-multiarch; fi
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/binutils-multiarch/usr/lib/x86_64-linux-gnu/libbfd-*so
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/binutils-multiarch/usr/lib/x86_64-linux-gnu/libopcodes-*so
strip --remove-section=.comment --remove-section=.note $(file debian/binutils-multiarch/usr/bin/* |awk -F: '$0 !~ /script/ {print $1}')
if which strip-nondeterminism >/dev/null 2>&1; then \
find debian/binutils-dev -name '*.a' -print0 \
| xargs -0r strip-nondeterminism --type ar; \
fi
: # Don't want /usr/<arch>-linux to exist in any package
rm -rf debian/tmp/usr/x86_64-linux-gnu
: # Remove windows related manpages
rm -f debian/tmp/usr/share/man/man1/{dlltool,nlmconv,windmc,windres}.1
rm -rf debian/binutils-multiarch/usr/x86_64-linux-gnu
rm -f debian/binutils-multiarch/usr/share/man/man1/{dlltool,nlmconv,windmc,windres}.1
mv debian/tmp/usr/bin/ld debian/tmp/usr/bin/ld.bfd
mv: 'debian/tmp/usr/bin/ld' and 'debian/tmp/usr/bin/ld.bfd' are the same file
debian/rules:885: recipe for target 'stamps/install' failed
make: *** [stamps/install] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
I: copying local configuration
[..]
The full build log is attached or can be viewed here:
https://reproducible.debian.net/logs/unstable/amd64/binutils_2.25.90.20160101-2.build1.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils.2.25.90.20160101-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 765272 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160127/1085159b/attachment.obj>
More information about the Reproducible-builds
mailing list