Package: perl
Version: 5.8.4-7
Severity: serious

perl will suffer FTBFS if the kernel revision at build-time of the
previously installed perl does not match the current one.  Log from a
pbuilder:

sh mv-if-diff configpm.tmp lib/Config.pm
./miniperl -Ilib lib/lib_pm.PL
Extracting lib.pm (with variable substitutions)
        AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@ARGV)' lib/*.pm
Errno architecture (i386-linux-thread-multi-2.4.27-ti1211) does not match 
executable architecture (i386-linux-thread-multi-2.6.10) at 
/usr/lib/perl/5.8/Errno.pm line 11.
Compilation failed in require at lib/File/Path.pm line 166.
BEGIN failed--compilation aborted at lib/File/Path.pm line 166.
Compilation failed in require at lib/AutoSplit.pm line 8.
BEGIN failed--compilation aborted at lib/AutoSplit.pm line 8.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
make[1]: *** [preplibrary] Error 9
make[1]: Leaving directory `/tmp/buildd/perl-5.8.4'
make: *** [perl.static] Error 2

Thus, during build-time, /usr/lib/perl/5.8/Errno.pm is probed, and if
the kernel revision doesn't match the current one, it fails.  I have
verified that this happens on i386, alpha and amd64.

It _appears_ that something applied in patch set 10 introduces this.
Reversing it by 'patch -R -p1 <debian/patches/10_fix_file_path' before
build avoids the above issue.  But I really have no clue what's going on
here.

-ukh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to