Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2003 00:42:47 +0100
From:      des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        ports@freebsd.org
Subject:   Bug in ports dependency system?
Message-ID:  <xzpu1e4ci2w.fsf@flood.ping.uio.no>

next in thread | raw e-mail | index | archive | help
--=-=-=

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpu1e4ci2w.fsf>