Date: Sun, 24 Feb 2013 12:05:39 +1100 (EST) From: Peter Jeremy <peter@rulingia.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/176382: ports dependencies not being recorded Message-ID: <201302240105.r1O15dbG011316@server.rulingia.com> Resent-Message-ID: <201302240110.r1O1A0d9050955@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 176382 >Category: ports >Synopsis: ports dependencies not being recorded >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 24 01:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Peter Jeremy >Release: FreeBSD 8.3-STABLE amd64 >Organization: FreeBSD >Environment: System: FreeBSD builder.rulingia.com 8.3-STABLE FreeBSD 8.3-STABLE #19: Sun Jan 13 17:55:03 EST 2013 root@builder.rulingia.com:/obj/usr/src/sys/aspire i386 FreeBSD vps.rulingia.com 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #1: Sun Jun 24 11:49:05 EST 2012 root@vps.rulingia.com:/usr/obj/usr/src/sys/VMware amd64 Ports tree r312809 or portsnap'd at 2013-Feb-24 0000UTC Using old pkg tools (pkg_install et al) >Description: If a port dependency is satisfied by a port other than that listed in the xxx_DEPENDS line then that dependency is not listed in /var/db/pkg for either port. >How-To-Repeat: The quickest reproduction from an empty ports tree is: # portsnap fetch extract # cd /usr/ports/graphics/libjpeg-turbo && make install # cd /usr/ports/graphics/jpgtn && make install # ldd /usr/local/bin/jpgtn [ shows dependency on /usr/local/lib/libjpeg.so.11 ] # ls -l /var/db/pkg/libjpeg-turbo* [note lack of +REQUIRED_BY file ie no dependencies ] # grep jpeg /var/db/pkg/jpgtn*/+CONTENTS [ note lack of libjpeg-turbo pkgdep and DEPORIGIN lines ] >Fix: Unclear. The ACTUAL-PACKAGE-DEPENDS value in bsd.ports.mk is not correct but I haven't worked out the fix. Note that portmaster _does_ manage to correctly determine the dependencies. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302240105.r1O15dbG011316>