Bug#479762: perl: broken asm/unistd.ph
  Home FAQ Contact Sign in
linux.debian.bugs.rc only
 
Advanced search
POPULAR GROUPS

more...

linux.debian.bugs.rc Profile…
 Up
Bug#479762: perl: broken asm/unistd.ph         


Author: Niko Tyni
Date: May 6, 2008 14:20

tag 479762 confirmed patch
thanks

On Tue, May 06, 2008 at 11:32:16PM +0900, Tatsuya Kinoshita wrote:
> Package: perl
> Version: 5.10.0-9
> Severity: serious
>
> On the current sid i386 environment, syscall.ph and asm/unistd.ph
> fail as follows:
>
> ----
> $ perl -e "require 'syscall.ph'"
> Prototype mismatch: sub main::__LONG_MAX__ () vs none at /usr/lib/perl/5.10/_h2ph_pre.ph line 257.
> Constant subroutine __LONG_MAX__ redefined at /usr/lib/perl/5.10/_h2ph_pre.ph line 257.
> Can't locate unistd_32.ph in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/lib/perl/5.10/asm/unistd.ph line 6.

The problem is that uses the quote include syntax
(#include "unistd_32.h") instead of the angle bracket one (#include
), and h2ph ignores those when chasing the files.
Show full article (1.96Kb)
2 Comments
Bug#479762: perl: broken asm/unistd.ph         


Author: Niko Tyni
Date: May 7, 2008 12:50

tag 479762 - patch pending
thanks
> The problem is that uses the quote include syntax
> (#include "unistd_32.h") instead of the angle bracket one (#include
> ), and h2ph ignores those when chasing the files.
>
> Patch attached; this should be forwarded upstream too after verifying
> that it works.

Nah, now unistd_32.h gets in, but "require 'unistd_32.h'" doesn't
work because it should be "require 'asm/unistd_32.h'" instead.

No fix tonight, then.
--
Niko Tyni ntyni@debian.org

--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
1 Comment
Processed: Re: Bug#479762: perl: broken asm/unistd.ph         


Author: Debian Bug Tracking System
Date: May 7, 2008 12:50

Processing commands for control@bugs.debian.org:
> tag 479762 - patch pending
Bug#479762: perl: broken asm/unistd.ph
Tags were: pending patch confirmed
Tags removed: patch, pending
> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
no comments