[MacPorts] #29223: if an install is interrupted, a later install of the same package can fail if version number has since changed.
MacPorts
noreply at macports.org
Mon Apr 25 01:51:22 PDT 2011
#29223: if an install is interrupted, a later install of the same package can fail
if version number has since changed.
----------------------------------+-----------------------------------------
Reporter: rogerdpack@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 1.9.2
Keywords: | Port:
----------------------------------+-----------------------------------------
Comment(by ryandesign@…):
Replying to [comment:10 jmr@…]:
> Replying to [comment:8 ryandesign@…]:
> > What would having the version or revision in the statefile do for us?
> It would tell us when we're building a different version than what's in
the existing work dir.
Right, but the message we print is "Portfile changed since last build;
discarding previous state." That is the condition we want to capture --
that the portfile has changed -- and I think using a checksum is the
simplest way to check for that. We don't need to care whether the
portfile's mtime or version or revision or anything else specifically in
it has changed; it doesn't matter.
--
Ticket URL: <https://trac.macports.org/ticket/29223#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list