Opened 18 years ago

Closed 18 years ago

#9453 closed defect (wontfix)

warn about a possible mismatch between the location of port and the contents of sources.conf

Reported by: yaseppochi (Stephen J. Turnbull) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.2
Keywords: Cc: markd@…
Port:

Description

I renamed an ancestor of the directory where I keep my CVS checkout of the DarwinPorts infrastructure (from /Users/steve/Software-Development/Ports to /Users/steve/Software/Ports).

Then I cd'd to Ports/base, and did "make clean; configure && make", then "sudo make install". However, "port outdated" then complained that it couldn't find the old location /Users/steve/Software-Development/Ports.

It would be nice if port could warn about a possible mismatch between the actual location of the ports tree and the contents of /etc/ports/sources.conf.

The port man page is incorrect. It claims that sources.conf is in ${prefix}/etc/ports. That may be the canonical location, but the man page should mention all locations where the file might be found, and how they are processed (first found is used, all are used, etc).

Change History (3)

comment:1 Changed 18 years ago by yaseppochi (Stephen J. Turnbull)

The port man page is incorrect. It claims that sources.conf is in ${prefix}/etc/ports. That may be the canonical location, but the man page should mention all locations where the file might be found, and how they are processed (first found is used, all are used, etc).

Oops. It looks like the man page is correct, and the file in /etc/ports is ignored. Can I remove that directory now?

comment:2 Changed 18 years ago by markd@…

Cc: markd@… added

DarwinPorts does not install anything to /etc. If there are any copies of things it uses in /etc it can be removed.

comment:3 Changed 18 years ago by pguyot (Paul Guyot)

Resolution: wontfix
Status: newclosed
Summary: relocated port can't find its PortIndexwarn about a possible mismatch between the location of port and the contents of sources.conf

I agree with the request. However, in those selfupdate days, it doesn't make much sense.

Note: See TracTickets for help on using tickets.