Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#1904 closed defect (later)

portimages: images branch skips port phases more aggressively than HEAD

Reported by: danielluke (Daniel J. Luke) Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

With HEAD, when I went to update a portfile for a port that was already installed, I could modify the file and run 'port -d -v destroot' to see if things were working.

With images I get this behavior:

% port -d -v destroot DEBUG: Executing darwin provides darwin Portfile changed since last build; discarding previous state. DEBUG: Found Dependency: receipt: 1 DEBUG: Found Dependency: receipt: 1 DEBUG: Found Dependency: receipt: 1 DEBUG: Found Dependency: receipt: 1 DEBUG: Found Dependency: receipt: 1 DEBUG: Skipping com.apple.main (subversion) since this port is already installed DEBUG: Skipping com.apple.fetch (subversion) since this port is already installed DEBUG: Skipping com.apple.checksum (subversion) since this port is already installed DEBUG: Skipping com.apple.extract (subversion) since this port is already installed DEBUG: Skipping com.apple.patch (subversion) since this port is already installed DEBUG: Skipping com.apple.configure (subversion) since this port is already installed DEBUG: Skipping com.apple.build (subversion) since this port is already installed DEBUG: Skipping com.apple.destroot (subversion) since this port is already installed

The '-f' flag works, though, so I'm marking this as 'trivial' (it may be that this behavior has purposely changed).

Change History (4)

comment:1 Changed 20 years ago by danielluke (Daniel J. Luke)

severity: trivialminor
Summary: portimages: images branch skips port phases more aggressively than HEAD portimages: images branch skips port phases more aggressively than HEAD

This also appears when doing the following:

Install & activate a port attempt to install the same port (different variant), this requires '-f'

I would expect that the variant version of the port would get built, installed, the old version deactivated and the new version activated.

comment:2 Changed 20 years ago by pguyot (Paul Guyot)

Status: newassigned

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

Owner: changed from darwinports-bugs@… to pguyot@…
Status: assignednew

comment:4 Changed 20 years ago by pguyot (Paul Guyot)

Resolution: later
Status: newclosed

This behavior was purposely changed indeed and you normally can use -f.

It is a symptom of the confusion between states and operations. It's the next thing in my plate and I consider that -f is a good workaround in the meanwhile.

Note: See TracTickets for help on using tickets.