Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2010 11:58:55 +1000
From:      John Marshall <john.marshall@riverwillow.com.au>
To:        freebsd-ports@freebsd.org, dougb@freebsd.org
Subject:   portmaster stopped finding dependent ports if non-standard PORTSDIR
Message-ID:  <20100506015854.GN1357@rwpc12.mby.riverwillow.net.au>

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

--orO6xySwJI16pVnm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Yesterday I updated ports on my notebook (8.0-RELEASE-p2), took a deep
breath, used portmaster to upgrade xorg to 7.5 (portmaster -D xorg-7.4_4)
- ran without a hitch.

Then, I upgraded portmaster (portmaster -D portmaster) - also no
problems.

Then, I tried to upgrade jpeg...

----------------------------------------
rwpc08# portmaster -D jpeg

=3D=3D=3D>>> Currently installed version: jpeg-8_1
=3D=3D=3D>>> Port directory: /usr/ports/graphics/jpeg
=3D=3D=3D>>> Launching 'make checksum' for graphics/jpeg in background
=3D=3D=3D>>> Gathering dependency list for graphics/jpeg from ports
=3D=3D=3D>>> Starting recursive 'make config' check
=3D=3D=3D>>> Launching child to update /build/ports/devel/libtool22
	jpeg-8_1 >> /build/ports/devel/libtool22

=3D=3D=3D>>> No valid installed port, or port directory given
=3D=3D=3D>>> Try portmaster --help


=3D=3D=3D>>> Update for /build/ports/devel/libtool22 failed
=3D=3D=3D>>> Aborting update

Terminated
Terminated

rwpc08#	pkg_info -Ex libtool
libtool-2.2.6b
rwpc08#	pkg_info -qox libtool
devel/libtool22
rwpc08#	ls -l /usr/ports/devel/libtool22/
total 10
-rw-r--r--  1 root  wheel   701 Dec  7 10:32 Makefile
-rw-r--r--  1 root  wheel   200 Dec  7 10:32 distinfo
drwxr-xr-x  2 root  wheel   512 Dec  7 10:32 files
-rw-r--r--  1 root  wheel   305 Aug  3  2009 pkg-descr
-rw-r--r--  1 root  wheel  1853 Aug  3  2009 pkg-plist
rwpc08#=09
rwpc08#	ls -ld /usr/ports
lrwxr-xr-x  1 root  wheel  12 Nov 23 18:21 /usr/ports -> /build/ports
rwpc08#=09
rwpc08#	grep PORTSDIR /etc/make.conf
PORTSDIR=3D	/build/ports
rwpc08#=09
----------------------------------------

I've tried upgrading other ports as well: same story.  portmaster 2.25
seems to work fine on other systems which have a native /usr/ports.  I'm
thinking that portmaster's non-standard location awareness may have
broken with some of the recent ORIGIN stuff?  The version of portmaster
I used to upgrade xorg was 2.2x (I think 2.22): I remember noticing that
it was 2 or 3 releases behind.

Thanks again for providing this great utility.

--=20
John Marshall

--orO6xySwJI16pVnm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkviIl4ACgkQw/tAaKKahKLuTgCaAqWFHiBYRN908lVDVTclNWSj
ZukAnRT4v9B86y4JCX8Hm0zKNLKdAeyu
=04XT
-----END PGP SIGNATURE-----

--orO6xySwJI16pVnm--



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