Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 1811
Status: resolved
Worked: 20 min
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: jesse [...] fsck.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Fri, 22 Nov 2002 01:42:51 -0500
From: Jesse <jesse [...] fsck.com>
To: bug-par [...] rt.cpan.org
Subject: Build failure on OSX
Running install for module PAR Running make for A/AU/AUTRIJUS/PAR-0.48.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /Users/jesse/.cpan/sources/authors/id/A/AU/AUTRIJUS/PAR-0.48.tar.gz ok Scanning cache /Users/jesse/.cpan/build for sizes PAR-0.48 PAR-0.48/PAR PAR-0.48/PAR/Heavy.pm PAR-0.48/Changes PAR-0.48/t PAR-0.48/t/1-basic.t PAR-0.48/t/hello.par PAR-0.48/t/0-signature.t PAR-0.48/MANIFEST PAR-0.48/myldr PAR-0.48/myldr/file2c.pl PAR-0.48/myldr/Makefile.PL PAR-0.48/myldr/main.c PAR-0.48/TODO PAR-0.48/MANIFEST.SKIP PAR-0.48/script PAR-0.48/script/par.pl PAR-0.48/script/pp PAR-0.48/PAR.pm PAR-0.48/AUTHORS PAR-0.48/SIGNATURE PAR-0.48/README PAR-0.48/Makefile.PL Removing previously used /Users/jesse/.cpan/build/PAR-0.48 CPAN.pm: Going to build A/AU/AUTRIJUS/PAR-0.48.tar.gz Checking if your kit is complete... Looks good Writing Makefile for the par program Writing Makefile for PAR cp PAR/Heavy.pm blib/lib/PAR/Heavy.pm cp PAR.pm blib/lib/PAR.pm cc -c -Wall -Wno-comments -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/opt/perl-5.8.0/lib/perl/darwin/CORE main.c cc main.o -s -flat_namespace /opt/perl-5.8.0/lib/perl/darwin/auto/DynaLoader/DynaLoader.a -L/opt/perl-5.8.0/lib/perl/darwin/CORE -lperl -lm -lc -o ../script/par ld: can't use -s with input files containg indirect symbols (output file must contain at least global symbols, for maximum stripping use -x) make[1]: *** [../script/par] Error 1 make: *** [subdirs] Error 2 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible sh-2.05a# -- jesse reed vincent -- root@eruditorum.org -- jesse@fsck.com 70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90 "Mary had a crypto key / She kept it in escrow And everything that Mary said / The Feds were sure to know" -- Sam Simpson
Date: Fri, 22 Nov 2002 18:39:19 +0800
From: Autrijus Tang <autrijus [...] autrijus.org>
To: Jesse via RT <bug-PAR [...] rt.cpan.org>
Cc: "AdminCc of cpan Ticket #1811": ;
Subject: Re: [cpan #1811] Build failure on OSX
RT-Send-Cc:
On Fri, Nov 22, 2002 at 01:42:57AM -0500, Jesse via RT wrote: Show quoted text
> /opt/perl-5.8.0/lib/perl/darwin/auto/DynaLoader/DynaLoader.a > -L/opt/perl-5.8.0/lib/perl/darwin/CORE -lperl -lm -lc -o ../script/par > ld: can't use -s with input files containg indirect symbols (output file > must contain at least global symbols, for maximum stripping use -x)
Sadly you hadn't brought me a TiBook to hack on. :-) For now I _think_ you can get by with: % perlcc -o script/par script/par.pl and then make as normal. Oh, you'd need the attached patch to B::C first, too. /Autrijus/ //member/autrijus/PAR/patches/perl580.diff#1 - add change 1521 (text) --- /usr/local/lib/perl5/5.8.0/mach/B/C.pm Sat Oct 19 10:17:53 2002 +++ C.pm Sat Oct 19 10:17:58 2002 @@ -1619,6 +1619,15 @@ } EOT } + else { + print <<EOT; + if ((tmpgv = gv_fetchpv("0",TRUE, SVt_PV))) {/* $0 */ + tmpsv = GvSV(tmpgv); + sv_setpv(tmpsv, argv[0]); + SvSETMAGIC(tmpsv); + } +EOT + } print <<'EOT'; if ((tmpgv = gv_fetchpv("\030",TRUE, SVt_PV))) {/* $^X *
Download (untitled)
application/pgp-signature 187b

Message body not shown because it is not plain text.

Thanks to merlyn's help, it is reported to be fixed as of 0.61. Marking RESOLVED.