From owner-freebsd-ports Sat Mar 15 15:42:52 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6E2137B401 for ; Sat, 15 Mar 2003 15:42:49 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4698743FA3 for ; Sat, 15 Mar 2003 15:42:49 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id A93345308; Sun, 16 Mar 2003 00:42:47 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: ports@freebsd.org Subject: Bug in ports dependency system? From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 16 Mar 2003 00:42:47 +0100 Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-=-= I've had at least two cases in the last 48 hours where the ports system tried to build the same port twice in a row. In both cases it was a dependency of the port I had actually requested. Here's part of the output from one of these runs: (ghostscript-gnu is being built as an indirect dependency of gimp-devel) ===> Compressing manual pages for ghostscript-gnu-7.05_4 ===> Registering installation for ghostscript-gnu-7.05_4 ===> Building package for ghostscript-gnu-7.05_4 Creating package /usr/ports/packages/All/ghostscript-gnu-7.05_4.tbz Registering depends: XFree86-libraries-4.3.0 fontconfig-2.1_6 expat-1.95.6_1 freetype2-2.1.3_1 imake-4.3.0 jpeg-6b_1 perl-5.8.0_4 pkgconfig-0.15.0 png-1.2.5_2. Creating bzip'd tar ball in '/usr/ports/packages/All/ghostscript-gnu-7.05_4.tbz' ===> Cleaning for ghostscript-gnu-7.05_4 Using -DA4 for compilation. ===> Extracting for ghostscript-gnu-7.05_4 >> Checksum OK for ghostscript/ghostscript-7.05.tar.bz2. >> Checksum OK for ghostscript/gnu-gs-fonts-std-6.0.tar.gz. >> Checksum OK for ghostscript/gnu-gs-fonts-other-6.0.tar.gz. [...] Note that I am using porteasy, which sets DEPENDS_TARGET to 'install clean' (try doing "cd /usr/ports/x11/kde3; make install' on a clean system without that... good luck) The box is a clean -CURRENT system which I installed onto virgin disks yesterday morning. I have a small mod in bsd.port.mk (to fix Perl dependencies, patch attached) but it doesn't touch anything that might affect this. DES -- Dag-Erling Smorgrav - des@ofug.org --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=perl.diff Index: bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.442 diff -u -r1.442 bsd.port.mk --- bsd.port.mk 12 Mar 2003 00:28:17 -0000 1.442 +++ bsd.port.mk 14 Mar 2003 19:07:08 -0000 @@ -1348,11 +1348,16 @@ .else PERL5= ${LOCALBASE}/bin/perl${PERL_VERSION} PERL= ${LOCALBASE}/bin/perl +.if ${PERL_LEVEL} >= 500800 +PERL_DEPEND= ${PERL5}:${PORTSDIR}/lang/perl5.8 +.else +PERL_DEPEND= ${PERL5}:${PORTSDIR}/lang/perl5 +.endif .if defined(USE_PERL5) || defined(USE_PERL5_BUILD) -BUILD_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/perl5 +BUILD_DEPENDS+= ${PERL_DEPEND} .endif .if defined(USE_PERL5) || defined(USE_PERL5_RUN) -RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/perl5 +RUN_DEPENDS+= ${PERL_DEPEND} .endif .endif --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message