Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#31212 closed defect (fixed)

pkgconfig 0.26 checksum mismatch due to kernel.org being down

Reported by: francescoagnoletto@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: aubreyja@…
Port: pkgconfig

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm trying to install imagemagick on OSX 10.7 The problem on i'm blocked is on pkgconfig

sudo port checksum pkgconfig
--->  Fetching pkgconfig
--->  Attempting to fetch pkg-config-0.26.tar.gz from http://www.vg.kernel.org/pub/mirrors/gentoo/source/distfiles/
--->  Verifying checksum(s) for pkgconfig
Error: Checksum (sha1) mismatch for pkg-config-0.26.tar.gz
Error: Checksum (rmd160) mismatch for pkg-config-0.26.tar.gz
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for pkgconfig is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/pkgconfig/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

This is the entire log:

$ sudo port -d install pkgconfig
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: OS darwin/11.1.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/pkgconfig/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig/work
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Starting logging for pkgconfig
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: glib2 2.28.8_0 exists in the ports tree
DEBUG: glib2 2.28.8_0  is the latest installed
DEBUG: glib2 2.28.8_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/glib2
DEBUG: OS darwin/11.1.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! glib2 2.28.8_0 >= glib2 2.28.8_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gettext 0.18.1.1_2 exists in the ports tree
DEBUG: gettext 0.18.1.1_2  is the latest installed
DEBUG: gettext 0.18.1.1_2  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
DEBUG: OS darwin/11.1.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: No need to upgrade! gettext 0.18.1.1_2 >= gettext 0.18.1.1_2
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libiconv 1.14_0 exists in the ports tree
DEBUG: libiconv 1.14_0  is the latest installed
DEBUG: libiconv 1.14_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: OS darwin/11.1.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncurses 5.9_1 exists in the ports tree
DEBUG: ncurses 5.9_1  is the latest installed
DEBUG: ncurses 5.9_1  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: OS darwin/11.1.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! ncurses 5.9_1 >= ncurses 5.9_1
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: expat 2.0.1_1 exists in the ports tree
DEBUG: expat 2.0.1_1  is the latest installed
DEBUG: expat 2.0.1_1  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: OS darwin/11.1.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! expat 2.0.1_1 >= expat 2.0.1_1
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.5_0 exists in the ports tree
DEBUG: zlib 1.2.5_0  is the latest installed
DEBUG: zlib 1.2.5_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: OS darwin/11.1.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: perl5 5.12.3_1 exists in the ports tree
DEBUG: perl5 5.12.3_1 +perl5_12 is the latest installed
DEBUG: perl5 5.12.3_1 +perl5_12 is active
DEBUG: Merging existing variants '+perl5_12' into variants
DEBUG: new fully merged portvariants: perl5_12 +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
DEBUG: OS darwin/11.1.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: Executing variant perl5_12 provides perl5_12
DEBUG: No need to upgrade! perl5 5.12.3_1 >= perl5 5.12.3_1
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: perl5.12 5.12.3_2 exists in the ports tree
DEBUG: perl5.12 5.12.3_2  is the latest installed
DEBUG: perl5.12 5.12.3_2  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.12
DEBUG: OS darwin/11.1.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! perl5.12 5.12.3_2 >= perl5.12 5.12.3_2
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gdbm 1.9.1_0 exists in the ports tree
DEBUG: gdbm 1.9.1_0  is the latest installed
DEBUG: gdbm 1.9.1_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/gdbm
DEBUG: OS darwin/11.1.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: No need to upgrade! gdbm 1.9.1_0 >= gdbm 1.9.1_0
--->  Computing dependencies for pkgconfig
DEBUG: Searching for dependency: glib2
DEBUG: Found Dependency: receipt exists for glib2
DEBUG: Executing org.macports.main (pkgconfig)
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: archivefetch phase started at Sun Sep 11 00:24:01 CEST 2011
--->  Fetching archive for pkgconfig
DEBUG: Executing org.macports.archivefetch (pkgconfig)
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/software/pkgconfig to macports
DEBUG: euid/egid changed to: 502/501
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/incoming to macports
DEBUG: euid/egid changed to: 502/501
--->  pkgconfig-0.26_0.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/pkgconfig
--->  Attempting to fetch pkgconfig-0.26_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/pkgconfig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
DEBUG: Fetching archive failed:: The requested URL returned error: 404
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: fetch phase started at Sun Sep 11 00:24:02 CEST 2011
--->  Fetching pkgconfig
DEBUG: Can't run fetch on this port without elevated privileges. Escalating privileges back to root.
DEBUG: euid changed to: 0. egid changed to: 0.
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Executing org.macports.fetch (pkgconfig)
--->  pkg-config-0.26.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/pkgconfig
DEBUG: Pinging pkg-config.freedesktop.org...
DEBUG: Pinging www.vg.kernel.org...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging aarnet.au.distfiles.macports.org...
DEBUG: Pinging her.gr.distfiles.macports.org...
DEBUG: Pinging lil.fr.distfiles.macports.org...
DEBUG: Pinging sea.us.distfiles.macports.org...
DEBUG: Pinging ykf.ca.distfiles.macports.org...
DEBUG: pkg-config.freedesktop.org ping time is 247.217
DEBUG: www.vg.kernel.org ping time is 82.122
DEBUG: distfiles.macports.org ping time is 239.466
DEBUG: aarnet.au.distfiles.macports.org ping time is 388.000
DEBUG: her.gr.distfiles.macports.org ping time is 138.807
DEBUG: lil.fr.distfiles.macports.org ping time is 89.335
DEBUG: sea.us.distfiles.macports.org ping time is 10000
DEBUG: ykf.ca.distfiles.macports.org ping time is 173.056
--->  Attempting to fetch pkg-config-0.26.tar.gz from http://www.vg.kernel.org/pub/mirrors/gentoo/source/distfiles/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0  1499    0     0    432      0 --:--:--  0:00:03 --:--:--   432
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: checksum phase started at Sun Sep 11 00:24:08 CEST 2011
--->  Verifying checksum(s) for pkgconfig
DEBUG: Executing org.macports.checksum (pkgconfig)
--->  Checksumming pkg-config-0.26.tar.gz
Error: Checksum (sha1) mismatch for pkg-config-0.26.tar.gz
Portfile checksum: pkg-config-0.26.tar.gz sha1 fd71a70b023b9087c8a7bb76a0dc135a61059652
Distfile checksum: pkg-config-0.26.tar.gz sha1 e48526ac51650ed4027a54866d15d54ad644e3ae
Error: Checksum (rmd160) mismatch for pkg-config-0.26.tar.gz
Portfile checksum: pkg-config-0.26.tar.gz rmd160 face3d16ec338b9b1ab41d56d6e4d1a5624b52d0
Distfile checksum: pkg-config-0.26.tar.gz rmd160 cc60fdc76a773e3765105359dfd77b9b3ca6dab6
The correct checksum line may be:
checksums           sha1    e48526ac51650ed4027a54866d15d54ad644e3ae \
                   rmd160  cc60fdc76a773e3765105359dfd77b9b3ca6dab6
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
Error: Target org.macports.checksum returned: Unable to verify file checksums
DEBUG: Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for pkgconfig): org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Log for pkgconfig is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/pkgconfig/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (7)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Please use WikiFormatting and Cc the maintainer of the port.

comment:2 in reply to:  description Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to francescoagnoletto@…:

***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***

Did you read the MisbehavingServers page? Did you check the contents of the HTML file that was downloaded?

comment:3 Changed 13 years ago by aubreyja@…

I get the same error. Maybe there is a problem with the archive. I tried to check the contents of the HTML file:

$ tar -xzf pkg-config-0.26.tar.gz 
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
$ unzip pkg-config-0.26.tar.gz 
Archive:  pkg-config-0.26.tar.gz
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of pkg-config-0.26.tar.gz or
        pkg-config-0.26.tar.gz.zip, and cannot find pkg-config-0.26.tar.gz.ZIP, period.

comment:4 Changed 13 years ago by aubreyja@…

Cc: aubreyja@… added

Cc Me!

comment:5 in reply to:  3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Please use WikiFormatting.

Replying to aubreyja@…:

I get the same error. Maybe there is a problem with the archive. I tried to check the contents of the HTML file:

$ tar -xzf pkg-config-0.26.tar.gz 

No you didn't try to check the contents of the HTML file. You tried to decompress it as if it were a .tar.gz file. It is not a .tar.gz file. It is an HTML file. Do this:

sudo mv pkg-config-0.2.6.tar.gz pkg-config-0.2.6.tar.gz.html
open -a Safari pkg-config-0.2.6.tar.gz.html

Now what does it say in the browser?

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Summary: pkgconfig 0.26 checksumpkgconfig 0.26 checksum mismatch due to kernel.org being down

Sorry, I see now from the original report that it shows:

--->  Attempting to fetch pkg-config-0.26.tar.gz from http://www.vg.kernel.org/pub/mirrors/gentoo/source/distfiles/

So this is another consequence of kernel.org being down; see #31204. In this case www.vg.kernel.org was listed directly in the pkgconfig portfile. I've removed it in r83929.

comment:7 Changed 13 years ago by francescoagnoletto@…

thanks! now it works!

Note: See TracTickets for help on using tickets.