From owner-freebsd-perl@FreeBSD.ORG Tue Feb 10 10:47:33 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 CFD5716A4CE for ; Tue, 10 Feb 2004 10:47:33 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id C749043D1D for ; Tue, 10 Feb 2004 10:47:33 -0800 (PST) (envelope-from dbent@comcast.net) Received: from DANPC (pcp945167pcs.cstltn01.in.comcast.net[68.58.114.38]) by comcast.net (rwcrmhc11) with SMTP id <2004021018473301300707uve>; Tue, 10 Feb 2004 18:47:33 +0000 Message-ID: <01bd01c3f006$5837d570$0202a8c0@DANPC> From: "Dan Bent" To: Date: Tue, 10 Feb 2004 13:47:33 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Perl Install Problem on FreeBSD X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Bent List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 18:47:34 -0000 I'm trying to install perl-5.6.1 on an i386 box running FreeBSD 5.1-RELEASE, It fails, and I don't know what to do next. My apologies if = I've posted inappropriately. Here's the error: Making SDBM_File (dynamic) Makefile out-of-date with respect to ../../lib/Config.pm ../../config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true ../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=3Dperl" "LIBPERL_A=3Dlibperl.a" Writing Makefile for sdbm Writing Makefile for SDBM_File =3D=3D> Your Makefile has been rebuilt. <=3D=3D =3D=3D> Please rerun the make command. <=3D=3D false *** Error code 1 Stop in /usr/ports/lang/perl5/work/perl-5.6.1/ext/SDBM_File. make config failed, continuing anyway... Skip ../../lib/SDBM_File.pm (unchanged) cd sdbm && make all cc -c -I../../.. -fno-strict-aliasing -I/usr/local/include -O =20 -DVERSION=3D\"0.10\" -DXS_VERSION=3D\"0.10\" -DPIC -fPIC -I../../.. -DSDBM -DDUFF sdbm.c sdbm.c:40: conflicting types for `malloc' /usr/include/stdlib.h:100: previous declaration of `malloc' sdbm.c:41: conflicting types for `free' /usr/include/stdlib.h:96: previous declaration of `free' *** Error code 1 Stop in /usr/ports/lang/perl5/work/perl-5.6.1/ext/SDBM_File/sdbm. *** Error code 1 Stop in /usr/ports/lang/perl5/work/perl-5.6.1/ext/SDBM_File. *** Error code 1 Stop in /usr/ports/lang/perl5/work/perl-5.6.1.=20 "Baby, you're not with me, and I did not want to be mean, but do they call it envy if an avacado's green?" Johnny Winter From owner-freebsd-perl@FreeBSD.ORG Fri Feb 13 23:26:40 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 034C416A4CE; Fri, 13 Feb 2004 23:26:40 -0800 (PST) Received: from utopia.leeym.com (utopia.leeym.com [61.218.64.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A89943D1F; Fri, 13 Feb 2004 23:26:39 -0800 (PST) (envelope-from leeym@utopia.leeym.com) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 620B93EAA1C; Sat, 14 Feb 2004 15:26:37 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01751-05; Sat, 14 Feb 2004 15:26:23 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id 330013EAA1A; Sat, 14 Feb 2004 15:26:21 +0800 (CST) To: FreeBSD-gnats-submit@freebsd.org From: Yen-Ming Lee X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20040214072621.330013EAA1A@utopia.leeym.com> Date: Sat, 14 Feb 2004 15:26:21 +0800 (CST) X-Virus-Scanned: by amavisd-new at leeym.com cc: perl@FreeBSD.org cc: tobez@FreeBSD.org Subject: conflict between perl-5.8.2 and other ports X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Yen-Ming Lee List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2004 07:26:40 -0000 >Submitter-Id: current-users >Originator: Yen-Ming Lee >Organization: >Confidential: no >Synopsis: conflict between perl-5.8.2 and other ports >Severity: serious >Priority: medium >Category: ports >Class: change-request >Release: FreeBSD 5.2.1-RC i386 >Environment: System: FreeBSD utopia.leeym.com 5.2.1-RC FreeBSD 5.2.1-RC #54: Mon Feb 2 05:18:32 CST 2004 root@utopia.leeym.com:/mnt3/obj/usr/src/sys/UTOPIA i386 >Description: The default perl version was been updated from 5.6.1 to 5.8.2 on -CURRENT. Some ports conflicts with perl-5.8.2 without defining "CONFLICTS=perl-5.8.*". I wrote a small script to check the conflict between ports. The following ports (and one sample conflicted file) conflict with perl-5.8.2. converters/p5-MIME-Base64 (lib/perl5/5.8.2/man/man3/MIME::Base64.3.gz) devel/p5-Attribute-Handlers (lib/perl5/5.8.2/man/man3/Attribute::Handlers.3.gz) devel/p5-Class-ISA (lib/perl5/5.8.2/man/man3/Class::ISA.3.gz) devel/p5-Devel-DProf (man/man1/dprofpp.1.gz) devel/p5-Devel-Peek (lib/perl5/5.8.2/man/man3/Devel::Peek.3.gz) devel/p5-Errno (lib/perl5/5.8.2/man/man3/Errno.3.gz) devel/p5-File-Spec (lib/perl5/5.8.2/man/man3/File::Spec::Functions.3.gz) devel/p5-File-Temp (lib/perl5/5.8.2/man/man3/File::Temp.3.gz) devel/p5-Filter (lib/perl5/5.8.2/man/man3/Filter::Util::Call.3.gz) devel/p5-Getopt-Long (lib/perl5/5.8.2/man/man3/Getopt::Long.3.gz) devel/p5-IO (lib/perl5/5.8.2/man/man3/IO::Socket::UNIX.3.gz) devel/p5-Locale-Maketext (lib/perl5/5.8.2/man/man3/Locale::Maketext.3.gz) devel/p5-Memoize (lib/perl5/5.8.2/man/man3/Memoize::ExpireFile.3.gz) devel/p5-NEXT (lib/perl5/5.8.2/man/man3/NEXT.3.gz) devel/p5-Storable (lib/perl5/5.8.2/man/man3/Storable.3.gz) devel/p5-Term-ANSIColor (lib/perl5/5.8.2/man/man3/Term::ANSIColor.3.gz) devel/p5-Test-Harness (lib/perl5/5.8.2/man/man3/Test::Harness.3.gz) devel/p5-Test-Simple (lib/perl5/5.8.2/man/man3/Test::Builder.3.gz) devel/p5-Tie-File (lib/perl5/5.8.2/man/man3/Tie::File.3.gz) devel/p5-Time-HiRes (lib/perl5/5.8.2/man/man3/Time::HiRes.3.gz) devel/p5-Time-Local (lib/perl5/5.8.2/man/man3/Time::Local.3.gz) devel/p5-base (lib/perl5/5.8.2/man/man3/fields.3.gz) japanese/perl5 (man/man1/perl5004delta.1.gz) lang/p5-Scalar-List-Utils (lib/perl5/5.8.2/man/man3/List::Util.3.gz) lang/p5-Switch (lib/perl5/5.8.2/man/man3/Switch.3.gz) lang/perl5 (man/man1/perlxs.1.gz) math/p5-Math-BigInt (lib/perl5/5.8.2/man/man3/Math::BigFloat.3.gz) misc/p5-I18N-LangTags (lib/perl5/5.8.2/man/man3/I18N::LangTags.3.gz) misc/p5-Locale-Codes (lib/perl5/5.8.2/man/man3/Locale::Country.3.gz) net/p5-Net (lib/perl5/5.8.2/man/man3/Net::FTP.3.gz) security/p5-Digest (lib/perl5/5.8.2/man/man3/Digest.3.gz) security/p5-Digest-MD5 (lib/perl5/5.8.2/man/man3/Digest::MD5.3.gz) textproc/p5-Filter-Simple (lib/perl5/5.8.2/man/man3/Filter::Simple.3.gz) textproc/p5-PodParser (bin/podselect) textproc/p5-Text-Balanced (lib/perl5/5.8.2/man/man3/Text::Balanced.3.gz) textproc/p5-Text-Tabs+Wrap (lib/perl5/5.8.2/man/man3/Text::Tabs.3.gz) textproc/p5-podlators (lib/perl5/5.8.2/man/man3/Pod::Text::Color.3.gz) www/p5-CGI-modules (lib/perl5/5.8.2/man/man3/CGI::Carp.3.gz) www/p5-CGI.pm (lib/perl5/5.8.2/man/man3/CGI::Switch.3.gz) >How-To-Repeat: install both perl-5.8.2 and any port mentioned above. >Fix: - Add CONFLICTS=perl-5.8.* on these conflicted ports. - Do more version and conflict checks in bsd.port.mk or portlint - Fix dependency problem. We can - use optional dependency in other ports which depends on these ports. (but it might be painful for MAINTAINERs to do this.) - or remove redundant dependence automatically based on PERL_LEVEL (is it possible? or is it efficient and worthy?) - blah blah... need further discussions... (If this problem was discussed before, please give me some hints or URLs.)