[MacPorts] #15757: port distfiles shows name and URLs of new distfile but checksums of old distfile
#15757: port distfiles shows name and URLs of new distfile but checksums of old distfile -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Keywords: | -------------------------------------+-------------------------------------- The ncid port is at version 0.70. "`port distfiles ncid`" says this: {{{ $ port distfiles ncid ---> Distfiles for ncid [ncid-0.70.tar.gz] md5: e179fbac6ab04ed3015fdf4e1c2a33f6 sha1: 287ebd8181f94be6a252edb10bf8b3593ac50d60 rmd160: 3da3269e9c8dd1da1c9ddf3b1e7be180230979a9 http://downloads.sourceforge.net/ncid/ncid-0.70.tar.gz [snip other download locations] }}} I edited the portfile and updated the version to 0.71. Now "`port distfiles ncid`" says this: {{{ $ port distfiles ncid Portfile changed since last build; discarding previous state. ---> Distfiles for ncid [ncid-0.71.tar.gz] md5: e179fbac6ab04ed3015fdf4e1c2a33f6 sha1: 287ebd8181f94be6a252edb10bf8b3593ac50d60 rmd160: 3da3269e9c8dd1da1c9ddf3b1e7be180230979a9 http://downloads.sourceforge.net/ncid/ncid-0.71.tar.gz [snip other download locations] }}} I see two problems: 1. It did not attempt to fetch ncid-0.71.tar.gz 2. Even if I "`port fetch ncid`" to get the new distfile, it is still showing the checksums of ncid-0.70.tar.gz; it should show the checksums of ncid-0.71.tar.gz Or do I misunderstand how "`port distfiles`" is meant to work? -- Ticket URL: <http://trac.macports.org/ticket/15757> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15757: port distfiles shows name and URLs of new distfile but checksums of old distfile --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by wsiegrist@apple.com): distfiles was originally meant to help the mirroring process and to be a debugging tool. It does not do any actual fetching or calculating of checksums, it just shows you what the Portfile says. I'm assuming that you did not change the checksums when you changed the distfile, which is why the checksums were still for the old distfile. -- Ticket URL: <http://trac.macports.org/ticket/15757#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15757: port distfiles shows name and URLs of new distfile but checksums of old distfile --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by ryandesign@macports.org): Right, I did not yet change the Portfile's checksums. I was trying to use `port distfiles` to help me learn what the new checksums should be so that I could update the Portfile. -- Ticket URL: <http://trac.macports.org/ticket/15757#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15757: port distfiles shows name and URLs of new distfile but checksums of old distfile --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by wsiegrist@apple.com): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org Comment: I always just use "port -d fetch" to make it tell me the correct checksums. But no one relies on this command as far as I know, mirroring is done with the mirror command entirely, so feel free to change/improve the distfiles command. I'm assigning to you to repurpose or close the ticket. -- Ticket URL: <http://trac.macports.org/ticket/15757#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15757: port distfiles shows name and URLs of new distfile but checksums of old distfile --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by blb@macports.org): Replying to [comment:2 ryandesign@macports.org]:
Right, I did not yet change the Portfile's checksums. I was trying to use `port distfiles` to help me learn what the new checksums should be so that I could update the Portfile. FYI, I always update the Portfile then run 'port -d checksum' to fetch and tell me the new one.
-- Ticket URL: <http://trac.macports.org/ticket/15757#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15757: port distfiles shows name and URLs of new distfile but checksums of old distfile --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Resolution: invalid | Keywords: Port: | --------------------------------------+------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => invalid Comment: Working as intended. -- Ticket URL: <http://trac.macports.org/ticket/15757#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts