perl: FTBFS: Errno architecture does not match executable architecture

Bug #13668 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
perl (Debian)
Fix Released
Unknown
perl (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Automatically imported from Debian bug report #298558 http://bugs.debian.org/298558

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #298558 http://bugs.debian.org/298558

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 8 Mar 2005 14:47:01 +0100
From: Kaare Hviid <email address hidden>
To: <email address hidden>
Subject: perl: FTBFS: Errno architecture does not match executable architecture

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

Revision history for this message
Martin Pitt (pitti) wrote :

For the record, this does not affect the current Ubuntu packages, but it is a
showstopper for fixing #4922. I already talked with bod, but he did not yet find
a solution (this is a nontrivial problem).

Revision history for this message
In , Brendan O'Dea (bod) wrote : Re: Bug#298558: perl: FTBFS: Errno architecture does not match executable architecture

On Tue, Mar 08, 2005 at 02:47:01PM +0100, Kaare Hviid wrote:
>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:

Yes, the autobuilders croked on this as well. Fixed in 5.8.4-8 .

--bod

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 9 Mar 2005 06:07:17 +1100
From: Brendan O'Dea <email address hidden>
To: Kaare Hviid <email address hidden>, <email address hidden>
Subject: Re: Bug#298558: perl: FTBFS: Errno architecture does not match executable architecture

On Tue, Mar 08, 2005 at 02:47:01PM +0100, Kaare Hviid wrote:
>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:

Yes, the autobuilders croked on this as well. Fixed in 5.8.4-8 .

--bod

Revision history for this message
Martin Pitt (pitti) wrote :

(In reply to comment #2)
> For the record, this does not affect the current Ubuntu packages, but it is a
> showstopper for fixing #4922. I already talked with bod, but he did not yet find
> a solution (this is a nontrivial problem).

Brendan's patch from 5.8.4-8 works fine, so I can go ahead with the security update.

Changed in perl:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.