[Regression] Perl 5.8.8-12ubuntu0.3 missing /asm*/*.ph files

Bug #315991 reported by Alan Tam on 2009-01-11
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
perl (Debian)
Fix Released
Unknown
perl (Ubuntu)
Undecided
Unassigned
Hardy
High
Kees Cook

Bug Description

Binary package hint: perl

The security update of Perl on hardy totally breaks Filesys::DiskSpace.

# dpkg -l perl | tail -n1
ii perl 5.8.8-12ubuntu0.3 Larry Wall's Practical Extraction and Report Language

# perl -e "use Filesys::DiskSpace; warn df('/');"
sys/syscall.ph is missing, see the h2ph man page at -e line 1

# apt-get install perl=5.8.8-12 perl-base=5.8.8-12 libperl5.8=5.8.8-12
[...]

# perl -e "use Filesys::DiskSpace; warn df('/');"
1382369651REISERFS_SUPER_MAGIC894168330000410 at -e line 1.

Alan Tam (at) wrote :

Subscribed ubuntu-security since it is a regression of a security update.

===

Further digging down the cause, this is a more isolated test case:

# perl -e "require 'sys/syscall.ph';"
Can't locate unistd_32.ph in @INC (did you run h2ph?) (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/lib/perl/5.8/asm/unistd.ph line 6.
Compilation failed in require at /usr/lib/perl/5.8/sys/syscall.ph line 7.
Compilation failed in require at -e line 1.

# apt-get install perl=5.8.8-12 perl-base=5.8.8-12 libperl5.8=5.8.8-12
[...]

# perl -e "require 'sys/syscall.ph';"
#

Kees Cook (kees) wrote :

Dapper, Gutsy, Intrepid, Jaunty are all unaffected. Digging into what broke in Hardy now...

Changed in perl:
assignee: nobody → kees
status: New → Confirmed
assignee: nobody → kees
status: New → Confirmed
assignee: kees → nobody
status: Confirmed → Invalid
importance: Undecided → High
Kees Cook (kees) wrote :

Looks like changes during the Hardy development cycle to the system headers broke h2ph. Fix found in Debian builds, currently building tests to validate. Once that's finished the fix will be published. Thanks for the report!

Changed in perl:
status: Confirmed → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package perl - 5.8.8-12ubuntu0.4

---------------
perl (5.8.8-12ubuntu0.4) hardy-security; urgency=low

  * 10_fix_h2ph_include_quote: handle system headers with quotes,
    thanks to Niko Tyni (LP: #315991).
  * debian/rules: verify required .ph files during build.

 -- Kees Cook <email address hidden> Tue, 13 Jan 2009 17:20:54 -0800

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

Other bug subscribers

Remote bug watches

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