Opened 10 years ago
Closed 10 years ago
#44702 closed defect (fixed)
p5.16-mail-clamav 0.290.0_3 Checksum error
Reported by: | KiyoshiGotow | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | smwardle, dbevans (David B. Evans) | |
Port: | p5-mail-clamav |
Description
I have tried to install p5.16-mail-clamav, but failed. The output from terminal was as follows. The version of my OS and Xcode is 10.8.5 and 5.1.1, respectively. No directory of "p5.16-mail-clamav" was created under /opt/local/macports/software. I have tried to find the directory of p5.16-mail-clamav on mirror site such as http://packages.macports.org/p5.16-mail-clamav, but failed.
$ sudo port install p5.16-mail-clamav Password: ---> Computing dependencies for p5.16-mail-clamav ---> Fetching archive for p5.16-mail-clamav ---> Attempting to fetch p5.16-mail-clamav-0.290.0_3.darwin_12.x86_64.tbz2 from http://packages.macports.org/p5.16-mail-clamav ---> Attempting to fetch p5.16-mail-clamav-0.290.0_3.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.16-mail-clamav ---> Attempting to fetch p5.16-mail-clamav-0.290.0_3.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/p5.16-mail-clamav ---> Fetching distfiles for p5.16-mail-clamav ---> Verifying checksums for p5.16-mail-clamav Error: Checksum (md5) mismatch for Mail-ClamAV-0.29.tar.gz Error: Checksum (sha1) mismatch for Mail-ClamAV-0.29.tar.gz Error: org.macports.checksum for port p5.16-mail-clamav returned: Unable to verify file checksums Please see the log file for port p5.16-mail-clamav for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-mail-clamav/p5.16-mail-clamav/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port p5.16-mail-clamav failed
Attachments (5)
Change History (25)
Changed 10 years ago by KiyoshiGotow
comment:1 follow-up: 2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 10 years ago by KiyoshiGotow
Thank you for your advice. I cleaned the port and got warning. Though I tried to install port, I got error message which differs from previous one.
The output from terminal is as follows.
$ sudo port clean --all p5.16-mail-clamav Password: ---> Cleaning p5.16-mail-clamav Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal $ sudo port install p5.16-mail-clamav ---> Computing dependencies for p5.16-mail-clamav ---> Fetching archive for p5.16-mail-clamav ---> Attempting to fetch p5.16-mail-clamav-0.290.0_3.darwin_12.x86_64.tbz2 from http://packages.macports.org/p5.16-mail-clamav ---> Attempting to fetch p5.16-mail-clamav-0.290.0_3.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.16-mail-clamav ---> Attempting to fetch p5.16-mail-clamav-0.290.0_3.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/p5.16-mail-clamav ---> Fetching distfiles for p5.16-mail-clamav ---> Attempting to fetch Mail-ClamAV-0.29.tar.gz from http://cjj.kr.distfiles.macports.org/perl5 ---> Verifying checksums for p5.16-mail-clamav ---> Extracting p5.16-mail-clamav ---> Applying patches to p5.16-mail-clamav ---> Configuring p5.16-mail-clamav ---> Building p5.16-mail-clamav Error: org.macports.build for port p5.16-mail-clamav returned: command execution failed Please see the log file for port p5.16-mail-clamav for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-mail-clamav/p5.16-mail-clamav/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port p5.16-mail-clamav failed
comment:3 follow-up: 4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Ok, so this time you received the file with the right checksum, but it failed to build. Please attach the main.log file so we can see why it failed to build.
Changed 10 years ago by KiyoshiGotow
Attachment: | main.2.log added |
---|
Changed 10 years ago by KiyoshiGotow
Attachment: | main.3.log added |
---|
comment:4 Changed 10 years ago by KiyoshiGotow
Thank you for your reply.
I registered the newer main.log file as main.2.log. The main.3.log file is the same as main.2.log. Please forgive my inexperience.
comment:6 follow-ups: 7 8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Ok, this log says:
:info:build /opt/local/bin/perl5.16 -Mblib -MInline=NOISY,_INSTALL_ -MMail::ClamAV -e1 0.29 blib/arch :info:build Error. You have specified 'C' as an Inline programming language. :info:build :info:build I currently only know about the following languages: :info:build Foo, foo :info:build :info:build If you have installed a support module for this language, try deleting the :info:build config-darwin-thread-multi-2level-5.016003 file from the following Inline DIRECTORY, and run again: :info:build :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-mail-clamav/p5.16-mail-clamav/work/Mail-ClamAV-0.29/_Inline :info:build :info:build (And if that works, please file a bug report.)
I get this too... I'm not sure of the solution. It seems like maybe we need to make a port p5-inline-c, and make that a dependency of p5-mail-clamav, but then I don't understand why this problem is only showing up now; the port hasn't been updated in over 5 years and presumably worked back then.
comment:7 Changed 10 years ago by dm@…
Replying to ryandesign@…:
Ok, this log says: ...
I have the same problem with p5.12-mail-clamav and p5.16-mail-clamav. I am not able to uprade amavis-new. Thank You.
Changed 10 years ago by KiyoshiGotow
Attachment: | main.140825.log added |
---|
comment:8 Changed 10 years ago by KiyoshiGotow
Replying to ryandesign@…:
I upgraded p5.16-inline from 0.740.0_0 to 0.760.0_0. I tried to install p5.16-mail-clamav after cleaning port, though, I got an error message almost the same before. I uploaded the main.log as main.140825.log.
I am not able to upgrade amavisd-new, either.
comment:9 Changed 10 years ago by jmroot (Joshua Root)
Port: | p5-mail-clamav added |
---|
comment:10 follow-up: 11 Changed 10 years ago by danielluke (Daniel J. Luke)
Cc: | devans@… added |
---|
Upstream removed Inline::C from Inline in version 0.56 (http://cpansearch.perl.org/src/INGY/Inline-0.76/Changes), so this has been broken since the version bump in r123914.
comment:11 Changed 10 years ago by dbevans (David B. Evans)
Replying to dluke@…:
Upstream removed Inline::C from Inline in version 0.56 (http://cpansearch.perl.org/src/INGY/Inline-0.76/Changes), so this has been broken since the version bump in r123914.
New port p5-inline-c committed in r124724.
comment:12 Changed 10 years ago by dbevans (David B. Evans)
p5-mail-clamav dependencies updated in r124725 to depend on p5-inline-c rather than p5-inline. Port now builds for me.
Changed 10 years ago by hbsimon (Horst Simon)
Attachment: | main.4.log added |
---|
comment:13 follow-up: 14 Changed 10 years ago by hbsimon (Horst Simon)
Port does not build for me I am still getting error: :info:build Error. You have specified 'C' as an Inline programming language. :info:build :info:build I currently only know about the following languages: :info:build Foo, foo
comment:14 follow-up: 15 Changed 10 years ago by dbevans (David B. Evans)
Replying to horst.simon@…:
Port does not build for me I am still getting error: :info:build Error. You have specified 'C' as an Inline programming language. :info:build :info:build I currently only know about the following languages: :info:build Foo, foo
You need to update and clean your ports before doing the install
sudo port selfupdate sudo port clean p5.16-mail-clamav sudo port install p5.16-mail-clamav
comment:15 Changed 10 years ago by hbsimon (Horst Simon)
Replying to devans@…:
Replying to horst.simon@…:
Port does not build for me I am still getting error: :info:build Error. You have specified 'C' as an Inline programming language. :info:build :info:build I currently only know about the following languages: :info:build Foo, foo
You need to update and clean your ports before doing the install
sudo port selfupdate sudo port clean p5.16-mail-clamav sudo port install p5.16-mail-clamav
I did this and it is still failing, will try to remove macports and do a fresh install
comment:16 Changed 10 years ago by hbsimon (Horst Simon)
It is working, I should have checked more closely the error message. I had to force the activation, because clamav and clamav-server are already installed and it complaint about creating ClamAV.bs that it already exist and not belonging to the port.
comment:17 Changed 10 years ago by dbevans (David B. Evans)
Yes, I see this failure on the buildbots as well. The port is erroneously trying to install a copy of the contents of blib/arch back into the build path
${prefix}/var/macports/build/_opt_macports_trunk_dports_perl_p5-mail-clamav/p5.16-mail-clamav/work/Mail-ClamAV-0.29/blib/arch
in addition to the correct path
${prefix}/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-2level/auto
so forcing the activation is not the right solution.
comment:18 follow-up: 19 Changed 10 years ago by dbevans (David B. Evans)
comment:19 Changed 10 years ago by KiyoshiGotow
I could install p5.16-mail-clamav 0.290.0_5 and upgrade amavisd-new 2.8.1_1. All ports installed with p5.12-* ports on my OSX 10.8.5 have been switched to use perl 5.16 version that is current MacPorts default. Now amavisd-new 2.8.1_1 with perl 5.16 and p5.16-* ports seems to be running properly.
Thank every one who contributed to solving the problem with p5.16-mail-clamav installation.
comment:20 Changed 10 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I'm not able to reproduce this problem. Perhaps you got an incomplete download. Could you clean it out and try again:
If that again fails, please show us the transcript so that we can see what server the bad file came from.