Opened 13 years ago

Closed 13 years ago

#27843 closed defect (fixed)

Checksum error for makeicns

Reported by: auclair.dominic@… Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: makeicns

Description (last modified by jmroot (Joshua Root))

During installation of kmymoney I got the checksum error for makeicns.

Here's the step that I did:

paulette:~ paulette$ sudo port clean --all makeicns
--->  Cleaning makeicns

paulette:~ paulette$ sudo port sync

paulette:~ paulette$ sudo port -v clean --dist makeicns
--->  Cleaning makeicns
--->  Removing distfiles for makeicns
--->  Removing work directory for makeicns
paulette:~ paulette$ sudo port -v extract makeicns
--->  Fetching makeicns
--->  1.4.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/makeicns
--->  Attempting to fetch 1.4.tar.bz2 from http://bitbucket.org/mkae/makeicns/get
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 18147  100 18147    0     0  27571      0 --:--:-- --:--:-- --:--:-- 27571
--->  Verifying checksum(s) for makeicns
--->  Checksumming 1.4.tar.bz2
Error: Checksum (md5) mismatch for 1.4.tar.bz2
Portfile checksum: 1.4.tar.bz2 md5 37cc153f69b60625a03c322bd3bafef8
Distfile checksum: 1.4.tar.bz2 md5 a43f82610086490b13cc51a0650596ac
Error: Checksum (sha1) mismatch for 1.4.tar.bz2
Portfile checksum: 1.4.tar.bz2 sha1 592c2c17fb3ad6f7b480878a2c5764953b69c125
Distfile checksum: 1.4.tar.bz2 sha1 ac9807dd453ac81df2c45c095c260226fda0997b
Error: Checksum (rmd160) mismatch for 1.4.tar.bz2
Portfile checksum: 1.4.tar.bz2 rmd160 ccdfb493b63f19d508d3ef18aaad67b12c9eda70
Distfile checksum: 1.4.tar.bz2 rmd160 d382a75fce7ce3465ad7c5275e94b281561fdc1d
The correct checksum line may be:
checksums           md5     a43f82610086490b13cc51a0650596ac \
                    sha1    ac9807dd453ac81df2c45c095c260226fda0997b \
                    rmd160  d382a75fce7ce3465ad7c5275e94b281561fdc1d
Error: Target org.macports.checksum returned: Unable to verify file checksums
Warning: the following items did not execute (for makeicns): org.macports.extract org.macports.checksum
Log for makeicns is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_makeicns/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
paulette:~ paulette$ 

Attachments (1)

main.log (1.9 KB) - added by auclair.dominic@… 13 years ago.
Main Log for makeicns

Download all attachments as: .zip

Change History (17)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: brad@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to mk@…
Port: makeicns added

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainers.

comment:2 Changed 13 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:3 Changed 13 years ago by mkae (Marko Käning)

Cc: mk@… removed

Hi, this is what I see on my end:

[ MP-clean-slate ] :~ marko$ sudo port clean --all makeicns
--->  Cleaning makeicns
[ MP-clean-slate ] :~ marko$ sudo port extract -v makeicns
--->  Fetching makeicns
--->  Attempting to fetch 1.4.tar.bz2 from http://lil.fr.distfiles.macports.org/makeicns
--->  Verifying checksum(s) for makeicns
--->  Extracting makeicns
[ MP-clean-slate ] :~ marko$ 

There isn't any checksum problem here. What happens if you run a "sudo port selfupdate" before you try to install makeicns?

comment:4 Changed 13 years ago by auclair.dominic@…

paulette:~ paulette$ sudo port selfupdate
Password:
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.9.2 installed,
MacPorts base version 1.9.2 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated

comment:5 Changed 13 years ago by mkae (Marko Käning)

OK, what happens when you now repeat the clean and extract steps?

comment:6 Changed 13 years ago by auclair.dominic@…

Re-run the install of kmymoney:

paulette:~ paulette$ sudo port -v install kmymoneyPassword:
--->  Computing dependencies for kmymoney..
--->  Dependencies to be installed: makeicns
--->  Verifying checksum(s) for makeicns
--->  Checksumming 1.4.tar.bz2
Error: Checksum (md5) mismatch for 1.4.tar.bz2
Portfile checksum: 1.4.tar.bz2 md5 37cc153f69b60625a03c322bd3bafef8
Distfile checksum: 1.4.tar.bz2 md5 a43f82610086490b13cc51a0650596ac
Error: Checksum (sha1) mismatch for 1.4.tar.bz2
Portfile checksum: 1.4.tar.bz2 sha1 592c2c17fb3ad6f7b480878a2c5764953b69c125
Distfile checksum: 1.4.tar.bz2 sha1 ac9807dd453ac81df2c45c095c260226fda0997b
Error: Checksum (rmd160) mismatch for 1.4.tar.bz2
Portfile checksum: 1.4.tar.bz2 rmd160 ccdfb493b63f19d508d3ef18aaad67b12c9eda70
Distfile checksum: 1.4.tar.bz2 rmd160 d382a75fce7ce3465ad7c5275e94b281561fdc1d
The correct checksum line may be:
checksums           md5     a43f82610086490b13cc51a0650596ac \
                    sha1    ac9807dd453ac81df2c45c095c260226fda0997b \
                    rmd160  d382a75fce7ce3465ad7c5275e94b281561fdc1d
Error: Target org.macports.checksum returned: Unable to verify file checksums
Warning: the following items did not execute (for makeicns): org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Failed to install makeicns
Log for makeicns is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_makeicns/main.log
Error: The following dependencies were not installed: makeicns
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
paulette:~ paulette$ 

The Dependencie on makeicns is not satisfied.

I'll attach the main.log file with detailled error.

Changed 13 years ago by auclair.dominic@…

Attachment: main.log added

Main Log for makeicns

comment:7 Changed 13 years ago by mkae (Marko Käning)

Hi Dominic,

you are absolutely right, there is something strange going on. Obviously the version directly download from bitbuckets differs from the one mirrored at http://lil.fr.distfiles.macports.org/makeicns, since here is what I get for the bitbucket version:

markos-imac:Downloads marko$ md5 makeicns-1.4.tar.bz2 
MD5 (makeicns-1.4.tar.bz2) = a43f82610086490b13cc51a0650596ac
markos-imac:Downloads marko$ shasum makeicns-1.4.tar.bz2 
ac9807dd453ac81df2c45c095c260226fda0997b  makeicns-1.4.tar.bz2

I'll investigate it further and let you know.

Sorry for the inconvenience. Marko

comment:8 Changed 13 years ago by auclair.dominic@…

THanks, for the help.

Let me know if you need further details.

Cheers,

Dominic

comment:9 Changed 13 years ago by mkae (Marko Käning)

I've figured it out:

BitBucket for some reason changed the info contained in the .hg_archival.txt file shipped with in the bz2 file, which causes this checksum problem. Some people ran into this issue, some didn't, which seems to be due to the fact that some got the dist file from http://lil.fr.distfiles.macports.org/makeicns and some from bb directly.

I'll update portfile in a few moments and let you and the list know about this issue.

Thanks for your patience!

comment:10 Changed 13 years ago by mkae (Marko Käning)

OK, I posted to the developer's mailing list. I wonder what they will advice me for this case.

In the meantime you could try to install with option --force which should override the checksum failure issue, if I am not mistaken.

comment:11 Changed 13 years ago by jmroot (Joshua Root)

The --force flag doesn't apply here. Download the file from the macports mirror manually and put it in the location shown by port distfiles makeicns.

comment:12 Changed 13 years ago by mkae (Marko Käning)

Ah, I see. OK, --force doesn't force everything. :-) Good to know.

Dominic, you could try out jmr's suggestion and let us know whether this solves your problem for now.

(I am about to learn - on the mailing list - how a distfile can be put onto a MacPorts server.)

comment:13 Changed 13 years ago by mkae (Marko Käning)

For now, Dominic, please follow jmr's advice:

Download the file from the macports mirror manually and put it in the location shown by port distfiles makeicns.

I didn't have enough time to come up with another solution right now. I understood that I have to adapt the portfile in such a way that it doesn't make use of bitbucket anymore.

Let me know whether this solved your issue.

comment:14 Changed 13 years ago by auclair.dominic@…

It works very well. Problem fixed.

Thanks, for the help.

Dominic

comment:15 Changed 13 years ago by mkae (Marko Käning)

Great. (Thanks for your response!)

OK, I'll leave this ticket open until I come up with a new revision which fixes this issue.

comment:16 Changed 13 years ago by mkae (Marko Käning)

Resolution: fixed
Status: newclosed

Should now be fixed with r75880.

Note: See TracTickets for help on using tickets.