[MacPorts] #18515: db64 checsum failure
#18515: db64 checsum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: ---------------------------+------------------------------------------------ Hi, I've been trying to upgrade to 1.7 but many things are broken including db64 which fails on a checksum. I've sync'ed and cleaned but to no avail. Any suggestions? Here's the last few steps: sudo port clean --all db46 ---> Cleaning db46 Warning: Distfiles directory '/opt/local/var/macports/distfiles/db4' may contain distfiles needed for other ports, use the -f flag to force removal new-host:~ meerso$ ls /opt/local/var/macports/distfiles/db4/patch.4.6.21. patch.4.6.21.1 patch.4.6.21.2 patch.4.6.21.3 new-host:~ meerso$ sudo port clean --all -f db46 ---> Cleaning db46 new-host:~ meerso$ sudo port upgrade outdated ---> Fetching db46 ---> Attempting to fetch patch.4.6.21.1 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/ ---> Attempting to fetch patch.4.6.21.2 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/ ---> Attempting to fetch patch.4.6.21.3 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/ ---> Attempting to fetch db-4.6.21.tar.gz from http://distfiles.macports.org/db4 ---> Verifying checksum(s) for db46 Error: Checksum (md5) mismatch for patch.4.6.21.3 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Unable to upgrade port: 1 new-host:~ meerso$ -- Ticket URL: <http://trac.macports.org/ticket/18515> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checsum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ Changes (by jmr@…): * owner: macports-tickets@… => blair@… * port: => db46 Old description:
Hi,
I've been trying to upgrade to 1.7 but many things are broken including db64 which fails on a checksum. I've sync'ed and cleaned but to no avail. Any suggestions? Here's the last few steps:
sudo port clean --all db46 ---> Cleaning db46 Warning: Distfiles directory '/opt/local/var/macports/distfiles/db4' may contain distfiles needed for other ports, use the -f flag to force removal new-host:~ meerso$ ls /opt/local/var/macports/distfiles/db4/patch.4.6.21. patch.4.6.21.1 patch.4.6.21.2 patch.4.6.21.3 new-host:~ meerso$ sudo port clean --all -f db46 ---> Cleaning db46 new-host:~ meerso$ sudo port upgrade outdated ---> Fetching db46 ---> Attempting to fetch patch.4.6.21.1 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/ ---> Attempting to fetch patch.4.6.21.2 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/ ---> Attempting to fetch patch.4.6.21.3 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/ ---> Attempting to fetch db-4.6.21.tar.gz from http://distfiles.macports.org/db4 ---> Verifying checksum(s) for db46 Error: Checksum (md5) mismatch for patch.4.6.21.3 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Unable to upgrade port: 1 new-host:~ meerso$
New description: Hi, I've been trying to upgrade to 1.7 but many things are broken including db46 which fails on a checksum. I've sync'ed and cleaned but to no avail. Any suggestions? Here's the last few steps: {{{ sudo port clean --all db46 ---> Cleaning db46 Warning: Distfiles directory '/opt/local/var/macports/distfiles/db4' may contain distfiles needed for other ports, use the -f flag to force removal new-host:~ meerso$ ls /opt/local/var/macports/distfiles/db4/patch.4.6.21. patch.4.6.21.1 patch.4.6.21.2 patch.4.6.21.3 new-host:~ meerso$ sudo port clean --all -f db46 ---> Cleaning db46 new-host:~ meerso$ sudo port upgrade outdated ---> Fetching db46 ---> Attempting to fetch patch.4.6.21.1 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/ ---> Attempting to fetch patch.4.6.21.2 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/ ---> Attempting to fetch patch.4.6.21.3 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/ ---> Attempting to fetch db-4.6.21.tar.gz from http://distfiles.macports.org/db4 ---> Verifying checksum(s) for db46 Error: Checksum (md5) mismatch for patch.4.6.21.3 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Unable to upgrade port: 1 new-host:~ meerso$ }}} -- -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checsum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ Comment(by martin@…): I am new to macports and run into the very same issue right away. I fixed the port - as good as possible after 20 minutes of reading the documentation - find the result attached. I hope the maintainer incorporates this or a better patch soon. In the meanwhile, you have to apply the patch to the Portfile manually. -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checsum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ Comment(by meerso@…): It works now! Well done. -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checsum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ Comment(by corycollier@…): I'm sure I'm gonna get hell for this, but what do I do with the diff file to get this to work? -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checsum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ Changes (by alakazam@…): * cc: alakazam@… (added) Comment: You have two possibilities : wait for the patch to be applied to macports trunk, or apply a temporary fix by modifying the Portfile, the path of which is given by {{{port file db46}}}. You might apply the changes in the diff file manually, or by running {{{ sudo patch `port file db46` < Portfile-rrdtool.diff }}} -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checsum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ Comment(by corycollier@…): alakazam, thanks for the response, but I've still got an issue when doing the above command : {{{ Hunk #1 FAILED at 1. Hunk #2 FAILED at 24. Hunk #3 FAILED at 37. 3 out of 3 hunks FAILED -- saving rejects to file /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db46/Portfile.rej }}} :/ I'm still confused. -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checsum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ Comment(by corycollier@…): Something potentially worth mentioning: I've formatted my machine to be case-sensitive. I dunno if that makes a difference or not. I'd presume not, since the intent of ports is to be more linux-like, which is _already_ case-sensitive. -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checsum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ Comment(by corycollier@…): YES!!!! I don't know why, but now it works!!!! Thanks everyone!!!!!!! -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checsum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ Changes (by raimue@…): * cc: raimue@… (added) Comment: Temporary disabled Oracle patch site in r47109 as a workaround, users will automatically fetch from distfiles mirrors. -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checksum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checksum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ Comment(by jmr@…): It looks pretty safe to just use the new version of patch.4.6.21.3, see attached diff. -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checksum failure ---------------------------+------------------------------------------------ Reporter: meerso@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: db46 ---------------------------+------------------------------------------------ Comment(by dh3smjz02@…): Because there were still checksum errors after {{{ sudo port syn }}} picked up the 4.6.21.3 update I manually applied the attached Portfile- rrdtool.diff. Now I get {{{ $ sudo port clean db46 ---> Cleaning db46 $ sudo port install db46 ---> Fetching db46 ---> Attempting to fetch patch.4.6.21.4 from http://distfiles.macports.org/db4 ---> Attempting to fetch patch.4.6.21.4 from http://arn.se.distfiles.macports.org/db4 ---> Attempting to fetch patch.4.6.21.4 from http://trd.no.distfiles.macports.org/db4 ---> Attempting to fetch patch.4.6.21.4 from http://svn.macports.org/repository/macports/distfiles/db46 ---> Attempting to fetch patch.4.6.21.4 from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch patch.4.6.21.4 from http://svn.macports.org/repository/macports/downloads/db46 Error: Target org.macports.fetch returned: fetch failed Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18515: db46 checksum failure ----------------------------+----------------------------------------------- Reporter: meerso@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: db46 | ----------------------------+----------------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: Fixed in r47223 (maintainer timeout). -- Ticket URL: <http://trac.macports.org/ticket/18515#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts