Date: Mon, 17 Aug 2009 23:26:56 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: freebsd-ports@freebsd.org Cc: dougb@FreeBSD.org Subject: portmaster is not always recursive Message-ID: <4A89CB20.3000408@quip.cz>
next in thread | raw e-mail | index | archive | help
Hi, I have some problem with portmaster. If I do upgrade of graphics/gd, portmaster check and upgrade all dependencies of gd (png, jpeg, pkg-config, freetype) but if upgrade of gd is called by upward recursive upgrade of jpeg library, I end up with new jpeg, new gd, new mrtg, but old png. It means that png was not upgraded as dependency of gd. root@ararat ~/# pkg_info -rR jpeg-6b_7 Information for jpeg-6b_7: Depends on: Required by: mrtg-2.16.2,1 gd-2.0.35,1 Upgrade of jpeg and all ports that depend on it root@ararat ~/# portmaster -r jpeg-6b_7 ===>>> The following actions were performed: Upgrade of jpeg-6b_7 to jpeg-7 Upgrade of gd-2.0.35,1 to gd-2.0.35_1,1 Upgrade of mrtg-2.16.2,1 to mrtg-2.16.2_1,1 root@ararat ~/# pkg_info -R jpeg-7 Information for jpeg-7: Required by: gd-2.0.35_1,1 mrtg-2.16.2_1,1 Upgrade of png must be done manualy: root@ararat ~/# portmaster png-1.2.35 Upgrade of png-1.2.35 to png-1.2.38 root@ararat ~/# pkg_info -r gd-2.0.35_1,1 Information for gd-2.0.35_1,1: Depends on: Dependency: png-1.2.38 Dependency: jpeg-7 Dependency: pkg-config-0.23_1 Dependency: freetype2-2.3.9_1 root@ararat ~/# pkg_tree gd gd-2.0.35_1,1 |\__ png-1.2.38 |\__ jpeg-7 |\__ pkg-config-0.23_1 \__ freetype2-2.3.9_1 Can we consider it as bug, or is it expected / feature? This is on 7.2-RELEASE i386 GENERIC with portmaster-2.9 and fresh ports tree (`portsnap fetch update` this afternoon). Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A89CB20.3000408>