Date: Thu, 29 Mar 2012 19:51:53 GMT From: Greg Larkin <glarkin@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/166500: portmaster -PP --index-only exits if empty /usr/ports exists Message-ID: <201203291951.q2TJprZ5066784@red.freebsd.org> Resent-Message-ID: <201203292000.q2TK0LNl045185@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 166500 >Category: ports >Synopsis: portmaster -PP --index-only exits if empty /usr/ports exists >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 29 20:00:21 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Greg Larkin >Release: 8.2-RELEASE >Organization: The FreeBSD Project >Environment: FreeBSD mailserver6.shn.prv 8.2-RELEASE FreeBSD 8.2-RELEASE #3 r218745: Wed Feb 16 15:07:48 PST 2011 root@build8x64.pcbsd.org:/usr/obj/storage/fbsd-sources/8.2/sys/GENERIC amd64 >Description: During an attempt to perform binary package updates, I discovered that portmaster still probes the /usr/ports directory looking for a ports tree. In my case, /usr/ports was an empty directory. My command line looked like: env MASTER_SITE_INDEX=http://pkgbuilder/tb/packages/8.2-FreeBSD-SHN/ PACKAGES=/tmp INDEXDIR=/tmp PACKAGESITE=http://pkgbuilder/tb/packages/8.2-FreeBSD-SHN/ portmaster -PP --index-only puppet This resulted in: ===>>> The ports directory (/usr/ports) does not seem to contain a ports tree ===>>> Aborting update Terminated After renaming /usr/ports to /usr/ports.orig, portmaster proceeded with no problem. >How-To-Repeat: Create an empty directory /usr/ports, then perform a binary package upgrade with "portmaster -PP --index-only ...". >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203291951.q2TJprZ5066784>