Bug#850296: Fwd: perl: nocheck build profile FTBFS
Daniel Schepler
dschepler at gmail.com
Thu Jan 5 19:19:24 UTC 2017
Source: perl
Version: 5.24.1~rc4-1
Severity: normal
(Let me try this again with the proper pseudo-header.)
>From my pbuilder build log, with DEB_BUILD_PROFILES=nocheck
DEB_BUILD_OPTIONS=nocheck:
...
# strip
find debian/build/*/usr/bin debian/build/*/usr/lib -type f \
\( -name \*.so\* -o -name \*.a -o -perm /111 \) -print | \
grep -v ^debian/build/perl-debug/ | \
while read f; \
do \
type=`file $f`; \
extra=; \
case "$type" in \
*ELF*shared\ object*) \
extra=--strip-unneeded;; \
esac; \
case "$type" in \
*ELF*) \
path=/${f#debian/build/*/}; \
dir=${path%/*}; \
test -d debian/build/perl-debug/usr/lib/debug$dir ||
mkdir -p debian/build/perl-debug/usr/lib/debug$dir; \
# stash debugging symbols \
x86_64-linux-gnu-objcopy --only-keep-debug $f
debian/build/perl-debug/usr/lib/debug$path; \
# strip \
x86_64-linux-gnu-strip --remove-section=.comment
--remove-section=.note \
$extra $f; \
# add debuglink \
x86_64-linux-gnu-objcopy
--add-gnu-debuglink=debian/build/perl-debug/usr/lib/debug$path $f; \
esac; \
done
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
/bin/bash: line 5: file: command not found
# versioned hardlink for the detached debug symbols
ln debian/build/perl-debug/usr/lib/debug/usr/bin/perl \
debian/build/perl-debug/usr/lib/debug/usr/bin/perl5.24.1
ln: failed to access
'debian/build/perl-debug/usr/lib/debug/usr/bin/perl': No such file or
directory
debian/rules:185: recipe for target 'install-stamp' failed
make: *** [install-stamp] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
So, it looks like file is still needed even in the nocheck build
profile, contrary to the source package's declaration of
Build-Depends: file <!nocheck> .
--
Daniel Schepler
More information about the Perl-maintainers
mailing list