#18515 closed defect (fixed)
db46 checksum failure
Reported by: | meerso@… | Owned by: | blair (Blair Zajac) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | simon@…, kngspook@…, alakazam@…, donald.h@…, raimue (Rainer Müller), dh3smjz02@… | |
Port: | db46 |
Description (last modified by jmroot (Joshua Root))
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$
Attachments (2)
Change History (22)
comment:1 Changed 16 years ago by bugboy@…
Cc: | bugboy@… added |
---|
comment:2 Changed 16 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to blair@… |
Port: | db46 added |
Summary: | db64 checsum failure → db46 checsum failure |
Changed 16 years ago by martin@…
Attachment: | Portfile-rrdtool.diff added |
---|
Patch for db46 - adding 4th patch from oracle and fixing checksum mismatch
comment:4 Changed 16 years ago 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.
comment:8 Changed 16 years ago 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?
comment:9 Changed 16 years ago by alakazam@…
Cc: | alakazam@… added |
---|
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
comment:10 Changed 16 years ago 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.
comment:11 Changed 16 years ago 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.
comment:12 Changed 16 years ago by corycollier@…
YES!!!! I don't know why, but now it works!!!! Thanks everyone!!!!!!!
comment:14 Changed 16 years ago by raimue (Rainer Müller)
Cc: | raimue@… added |
---|
Temporary disabled Oracle patch site in r47109 as a workaround, users will automatically fetch from distfiles mirrors.
comment:15 Changed 16 years ago by raimue (Rainer Müller)
Summary: | db46 checsum failure → db46 checksum failure |
---|
Changed 16 years ago by jmroot (Joshua Root)
Attachment: | patch.4.6.21.3.diff added |
---|
diff of source trees patched with the old and new patches
comment:16 Changed 16 years ago by jmroot (Joshua Root)
It looks pretty safe to just use the new version of patch.4.6.21.3, see attached diff.
comment:18 Changed 16 years ago 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.
comment:19 Changed 16 years ago by blb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r47223 (maintainer timeout).
Cc Me!