Re: perl broken?
On Sat, Apr 07, 2001 at 10:41:30PM -0500, Michael Harnois wrote: Different ports, similar problem: /usr/bin/perl5 -I/usr/libdata/perl/5.6.0/mach -I/usr/libdata/perl/BSDPANIMAP.xs IMAP.xsc mv IMAP.xsc IMAP.c Arrrhgh. Thanks for the report. Please try the following patch: --- /usr/libdata/perl/BSDPAN/BSDPAN/Override.pm Thu Apr 5 22:21:44 2001 +++ /usr/libdata/perl/BSDPAN/BSDPAN/Override.pm Sun Apr 8 14:22:21 2001 @@ -102,6 +102,7 @@ eval "*\$name = sub { \\\$repsub2-( \\\$real_addr, \\\@_) };"; + \@r; }, \@_) }; EOF Cheers, +Anton. -- May the tuna salad be with you. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: perl broken?
On Sun, Apr 08, 2001 at 02:26:38PM +0200, Anton Berezin wrote: On Sat, Apr 07, 2001 at 10:41:30PM -0500, Michael Harnois wrote: Different ports, similar problem: /usr/bin/perl5 -I/usr/libdata/perl/5.6.0/mach -I/usr/libdata/perl/BSDPAN IMAP.xs IMAP.xsc mv IMAP.xsc IMAP.c Arrrhgh. Thanks for the report. Please try the following patch: --- /usr/libdata/perl/BSDPAN/BSDPAN/Override.pm Thu Apr 5 22:21:44 2001 +++ /usr/libdata/perl/BSDPAN/BSDPAN/Override.pm Sun Apr 8 14:22:21 2001 @@ -102,6 +102,7 @@ eval "*\$name = sub { \\\$repsub2-( \\\$real_addr, \\\@_) };"; + \@r; }, \@_) }; EOF Forgot to add: you will need to make clean your port(s) to unbroke the generated Makefile. -- May the tuna salad be with you. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: perl broken?
Much better, thanks! -- Michael D. Harnois[EMAIL PROTECTED] Redeemer Lutheran Church Washburn, Iowa One of the symptoms of an approaching nervous breakdown is the belief that one's work is terribly important. -- Bertrand Russell To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
perl broken?
Different ports, similar problem: /usr/bin/perl5 -I/usr/libdata/perl/5.6.0/mach -I/usr/libdata/perl/BSDPANIMAP.xs IMAP.xsc mv IMAP.xsc IMAP.c /* * Copyright (c) 1998-2000 Carnegie Mellon University. All rights reserved. * * Redistribution and use in source and binar/: ?+*{} follows nothing in regexp at IMAP.xs line 13. *** Error code 255 Stop in /usr/ports/mail/cyrus-imapd/work/cyrus-imapd-2.0.12/perl/imap. *** Error code 1 Stop in /usr/ports/mail/cyrus-imapd/work/cyrus-imapd-2.0.12/perl. *** Error code 1 Stop in /usr/ports/mail/cyrus-imapd/work/cyrus-imapd-2.0.12. *** Error code 1 Stop in /usr/ports/mail/cyrus-imapd. *** Error code 1 Stop in /usr/ports/mail/cyrus-imapd. /usr/bin/perl5.6.0 -I/usr/libdata/perl/5.6.0/mach -I/usr/libdata/perl/BSDPAN Parser.xs Parser.xsc mv Parser.xsc Parser.c Number found where operator expected at Parser.xs line 1, near "/* $Id: Parser.xs,v 2.106 2001/03" (Missing operator before 03?) syntax error at Parser.xs line 1, near "/* $Id: Parser.xs,v 2.106 2001/03" Number found where operator expected at Parser.xs line 1, near "30 07" (Missing operator before 07?) Bareword found where operator expected at Parser.xs line 1, near "00 gisle" (Missing operator before gisle?) Number found where operator expected at Parser.xs line 3, near "* Copyright 1999" (Missing operator before 1999?) Number found where operator expected at Parser.xs line 4, near "* Copyright 1999" (Missing operator before 1999?) Bareword found where operator expected at Parser.xs line 6, near "* This library" (Missing operator before library?) syntax error at Parser.xs line 12, near "* * Standard" Bareword found where operator expected at Parser.xs line 12, near "* Standard XS" (Missing operator before XS?) Semicolon seems to be missing at Parser.xs line 14. String found where operator expected at Parser.xs line 15, near "extern "C"" (Do you need to predeclare extern?) Execution of Parser.xs aborted due to compilation errors. *** Error code 255 Stop in /usr/ports/www/p5-HTML-Parser/work/HTML-Parser-3.20. *** Error code 1 Stop in /usr/ports/www/p5-HTML-Parser. *** Error code 1 Stop in /usr/ports/www/p5-HTML-Parser. *** Error code 1 -- Michael D. Harnois[EMAIL PROTECTED] Redeemer Lutheran Church Washburn, Iowa It is better to die excommunicated than to live and violate the conscience. -- Thomas Aquinas To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: PERL broken during -CURRENT upgrade
Hi Blow away /usr/bin/miniperl and see if that fixes anything? M I've had this happen on a couple of machines, and am not sure why. I cvsup'd forward, and attempted to rebuild, and got a build failure. After that, I blew away /usr/src and /usr/obj, and still get the build failure. Ideally, this sort of thing shouldn't happen :-). I'm not sure if there's an easy way to make the upgrade path smoother, but if so, perhaps we should do so. This was just a regular "make buildworld", no -j but with: USA_RESIDENT=NO NOPROFILE=YES NO_FORTRAN=YES CFLAGS=-O -pipe In /etc/make.conf. dev1# uname -a FreeBSD dev1.trustedbsd.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Thu Jul 27 13:35:58 PDT 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/DEV1 i386 dev1# Robert Watson Research Scientist NAI Labs at Network Associates ... /../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/i nclude -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -DMAIN_PROGRAM /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c awk -f /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/MKnames.awk / usr/src/lib/libncurses/../../contrib/ncurses/include/Caps cat namehdr boolnames boolfnames numnames numfnames strnames strfnames nameftr names.c cc -o make_keys -O -pipe -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses /../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/i nclude -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS /usr/src/lib/li bncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c cd /usr/src/share/syscons/scrnmaps; make build-tools cc -static -O -pipe -I/usr/src/share/syscons/scrnmaps -DFIL=\"koi8-r2cp866\" -o koi8-r2cp866.mk /usr/src/share/syscons/scrnmaps/mkscrfil.c cc -static -O -pipe -I/usr/src/share/syscons/scrnmaps -DFIL=\"iso-8859-1_to_cp 437\" -o iso-8859-1_to_cp437.mk /usr/src/share/syscons/scrnmaps/mkscrfil.c cc -static -O -pipe -I/usr/src/share/syscons/scrnmaps -DFIL=\"iso-8859-4_to_cp437\" -o iso-8859-4_to_cp437.mk /usr/src/share/syscons/scrnmaps/mkscrfil.c cd /usr/src/gnu/usr.bin/perl; make build-tools cd /usr/src/gnu/usr.bin/perl/libperl make build-tools rm -f .depend /usr/obj/usr/src/gnu/usr.bin/perl/libperl/GPATH /usr/obj/usr/src/gnu/usr.bin/perl/libperl/GRTAGS /usr/obj/usr/src/gnu/usr.bin/perl/libperl/GSYMS /usr/obj/usr/src/gnu/usr.bin/perl/libperl/GTAGS cd /usr/src/gnu/usr.bin/perl/libperl make libperl.a Extracting config.h (with variable substitutions) cc -O -pipe -I/usr/obj/usr/src/gnu/usr.bin/perl/libperl -I/usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5 -DPERL_CORE -c /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c -o perl.o /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c: In function `perl_construct': /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:252: `PERL_REVISION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:252: (Each undeclared identifier is reported only once /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:252: for each function it appears in.) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:252: `PERL_VERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:252: `PERL_SUBVERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c: In function `S_open_script': /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2579: `PERL_REVISION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2579: `PERL_VERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2580: `PERL_SUBVERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c: In function `S_validate_suid': /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2830: `PERL_REVISION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2830: `PERL_VERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2831: `PERL_SUBVERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c: In function `S_incpush': /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:3391: `PERL_REVISION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:3391: `PERL_VERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:3392: `PERL_SUBVERSION' undeclared (first use in this function) ***
PERL broken during -CURRENT upgrade
I've had this happen on a couple of machines, and am not sure why. I cvsup'd forward, and attempted to rebuild, and got a build failure. After that, I blew away /usr/src and /usr/obj, and still get the build failure. Ideally, this sort of thing shouldn't happen :-). I'm not sure if there's an easy way to make the upgrade path smoother, but if so, perhaps we should do so. This was just a regular "make buildworld", no -j but with: USA_RESIDENT=NO NOPROFILE=YES NO_FORTRAN=YES CFLAGS=-O -pipe In /etc/make.conf. dev1# uname -a FreeBSD dev1.trustedbsd.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Thu Jul 27 13:35:58 PDT 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/DEV1 i386 dev1# Robert Watson Research Scientist NAI Labs at Network Associates ... /../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/i nclude -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -DMAIN_PROGRAM /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c awk -f /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/MKnames.awk / usr/src/lib/libncurses/../../contrib/ncurses/include/Caps cat namehdr boolnames boolfnames numnames numfnames strnames strfnames nameftr names.c cc -o make_keys -O -pipe -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses /../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/i nclude -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS /usr/src/lib/li bncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c cd /usr/src/share/syscons/scrnmaps; make build-tools cc -static -O -pipe -I/usr/src/share/syscons/scrnmaps -DFIL=\"koi8-r2cp866\" -o koi8-r2cp866.mk /usr/src/share/syscons/scrnmaps/mkscrfil.c cc -static -O -pipe -I/usr/src/share/syscons/scrnmaps -DFIL=\"iso-8859-1_to_cp 437\" -o iso-8859-1_to_cp437.mk /usr/src/share/syscons/scrnmaps/mkscrfil.c cc -static -O -pipe -I/usr/src/share/syscons/scrnmaps -DFIL=\"iso-8859-4_to_cp437\" -o iso-8859-4_to_cp437.mk /usr/src/share/syscons/scrnmaps/mkscrfil.c cd /usr/src/gnu/usr.bin/perl; make build-tools cd /usr/src/gnu/usr.bin/perl/libperl make build-tools rm -f .depend /usr/obj/usr/src/gnu/usr.bin/perl/libperl/GPATH /usr/obj/usr/src/gnu/usr.bin/perl/libperl/GRTAGS /usr/obj/usr/src/gnu/usr.bin/perl/libperl/GSYMS /usr/obj/usr/src/gnu/usr.bin/perl/libperl/GTAGS cd /usr/src/gnu/usr.bin/perl/libperl make libperl.a Extracting config.h (with variable substitutions) cc -O -pipe -I/usr/obj/usr/src/gnu/usr.bin/perl/libperl -I/usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5 -DPERL_CORE -c /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c -o perl.o /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c: In function `perl_construct': /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:252: `PERL_REVISION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:252: (Each undeclared identifier is reported only once /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:252: for each function it appears in.) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:252: `PERL_VERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:252: `PERL_SUBVERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c: In function `S_open_script': /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2579: `PERL_REVISION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2579: `PERL_VERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2580: `PERL_SUBVERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c: In function `S_validate_suid': /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2830: `PERL_REVISION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2830: `PERL_VERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:2831: `PERL_SUBVERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c: In function `S_incpush': /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:3391: `PERL_REVISION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:3391: `PERL_VERSION' undeclared (first use in this function) /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/perl.c:3392: `PERL_SUBVERSION' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/gnu/usr.bin/perl/libperl. *** Error code 1 Stop in /usr/src/gnu/usr.bin/perl/libperl. *** Error code 1 Stop in /usr/src/gnu/usr.bin/perl..
Re: Perl broken in 4.0-CURRENT ?
On Tue, Aug 31, 1999 at 02:09:00AM +0200, Pascal Hofstee wrote: I get the following errors when trying to run certain perl stuff .. like mirror: su-2.03# mirror /usr/local/lib/mirror/packages/daemonnews DynaLoader:/usr/libdata/perl/5.00503/DynaLoader.pm:188 Caught a SIGSEGV shutting down at /usr/local/bin/mirror line 3873. Yep. The easiest way to reproduce this is $ perl -MIO -e '' It dies during IO's bootstrap, but I have not investigated this further. Something in libc? Cheers, -- Anton Berezin [EMAIL PROTECTED] The Protein Laboratory, University of Copenhagen To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message