Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8111 - Perl is built without weak references support.

Attached to Project: Arch Linux
Opened by Alberto Simoes (ambs) - Monday, 24 September 2007, 13:47 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 25 April 2008, 14:48 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Charles Mauch (xterminus)
Architecture i686
Severity High
Priority Normal
Reported Version 2007.08.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Perl is built without weak references support.
I am using perl 5.8.8-6

Steps to reproduce:

[ambs@eremita tmp]$ cat _.pl
#!/usr/bin/perl
use Scalar::Util qw!weaken!;

[ambs@eremita tmp]$ perl _.pl
Weak references are not implemented in the version of perl at _.pl line 3
BEGIN failed--compilation aborted at _.pl line 3.


And this worked on earlier packages
This task depends upon

Closed by  Aaron Griffin (phrakture)
Friday, 25 April 2008, 14:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in [core] perl
Comment by Thomas Bächler (brain0) - Saturday, 29 September 2007, 14:10 GMT
I have no idea what that means at all, or why it has been assigned to me. Charles, can you help me out here?
Comment by Francois Charette (Firmicus) - Friday, 05 October 2007, 17:49 GMT
I cannot reproduce this. I also have perl 5.8.8-6 on i686. Are you sure you don't have an older version of Scalar::Util lying around in your PATH? Check with strace perl _.pl and compare with my attachment.
Comment by Alberto Simoes (ambs) - Friday, 05 October 2007, 21:43 GMT
I am not sure yet why this happened. I had Scalar::Util working, and with a Perl update if start giving that result. Meanwhile I reinstalled manually Scalar::Util and it started working again.

So, while I can't assure it was upgrade fault, there was nothing more to make it change :(

Cheers
Alberto
Comment by Devin Mullins (twifkak) - Saturday, 29 March 2008, 01:32 GMT
I just downloaded and installed Arch yesterday (I guess that would make it 2007.08-2) from CD. It comes with the broken Perl. I know this because I `pacman -S urxvt`, ran urxvt from an xterm, and it output "urxvt: perl hook 0 evaluation error: Undefined subroutine &Scalar::Util::weaken called at /usr/lib/urxvt/urxvt.pm line 1178."

A search on the subject gave me this fairly explanative URL: http://search.cpan.org/src/ADAMK/Task-Weaken-1.02/Makefile.PL
Comment by Francois Charette (Firmicus) - Saturday, 29 March 2008, 10:48 GMT
perl in core does not have this problem.
Comment by Devin Mullins (twifkak) - Saturday, 29 March 2008, 12:02 GMT
Yeah, I discovered that after I posted the reopen request, but it wouldn't let me post a comment. Sorry for the hassle.

Loading...