From owner-freebsd-perl@FreeBSD.ORG Sun Jul 18 19:43:29 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF43616A4CE; Sun, 18 Jul 2004 19:43:29 +0000 (GMT) Received: from totem.fix.no (totem.fix.no [80.91.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79C3A43D1F; Sun, 18 Jul 2004 19:43:29 +0000 (GMT) (envelope-from anders@FreeBSD.org) Received: from localhost (totem.fix.no [80.91.36.20]) by totem.fix.no (Postfix) with ESMTP id 4DC306A9020; Sun, 18 Jul 2004 21:43:27 +0200 (CEST) Received: from totem.fix.no ([80.91.36.20]) by localhost (totem.fix.no [80.91.36.20]) (amavisd-new, port 10024) with LMTP id 50001-03-2; Sun, 18 Jul 2004 21:43:27 +0200 (CEST) Received: by totem.fix.no (Postfix, from userid 1000) id 197196A9016; Sun, 18 Jul 2004 21:43:27 +0200 (CEST) Date: Sun, 18 Jul 2004 21:43:27 +0200 From: Anders Nordby To: tobez@FreeBSD.org, perl@FreeBSD.org Message-ID: <20040718194326.GA81260@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.6i Subject: Perl 5.8.4 issues in FreeBSD 4.10-RELEASE X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 19:43:29 -0000 Hi tobez@, perl@, I found a couple of problems/oddities with the FreeBSD port for Perl 5.8.4 using FreeBSD 4.10-RELEASE. I want to know if you are aware of them and/or are working on a fix. I'll file a PR with more information if you want. It's not building: ---snip--- Making MIME::Base64 (dynamic) Writing Makefile for MIME::Base64 cp QuotedPrint.pm ../../../lib/MIME/QuotedPrint.pm cp Base64.pm ../../../lib/MIME/Base64.pm ../../../miniperl "-I../../../lib" "-I../../../lib" ../../../lib/ExtUtils/xsubpp -typemap ../../../lib/ExtUtils/typemap Base64.xs > Base64.xsc && mv Base64.xsc Base64.c cc -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.4/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O -pipe -DVERSION=\"3.01\" -DXS_VERSION=\"3.01\" -DPIC -fPIC "-I../../.." Base64.c Base64.xs: In function `XS_MIME__Base64_decode_base64': Base64.xs:224: `dowarn' undeclared (first use in this function) Base64.xs:224: (Each undeclared identifier is reported only once Base64.xs:224: for each function it appears in.) *** Error code 1 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.4/ext/MIME/Base64. *** Error code 1 ---snip--- I solved this temporarily by removing the check of whether dowarn is set in work/perl-5.8.4/ext/MIME/Base64/Base64.xs. This does not seem to happen when I install in an empty, clean 4.10-RELEASE sandbox however. :-X Not sure why. But I do see by Googling that others have/had the same problem. Anyway, yes, I did completely uninstall any perl ports before building ports/lang/perl5.8 here. And the OS/jail where I cannot build perl5.8 does have fresh include/share/libdata dirs without old, stale files. 2) After installing it and running use.perl port, perl does not run anymore if you set LD_LIBRARY_PATH: # perl -v /usr/libexec/ld-elf.so.1: perl: Undefined symbol "PL_exit_flags" By moving /usr/lib/libperl* out of the away, or unsetting LD_LIBRARY_PATH, this issue is bypassed. Are these issues known? Are a number of LD_LIBRARY_PATH using users using old libperl without knowing it? Should they? Etc. Regards, -- Anders.