Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#39977 closed defect (worksforme)

expat: extract failure

Reported by: tristanshakespeare@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: mavericks Cc: ryandesign (Ryan Schmidt), razzfazz (Daniel Becker), richard.t.lloyd@…, cooljeanius (Eric Gallager)
Port:

Description (last modified by larryv (Lawrence Velázquez))

Here's what it says:

tristanearesmbp:~ mattwillems$ sudo port install hydra
--->  Computing dependencies for hydra
--->  Dependencies to be installed: libssh01 openssl zlib xz gettext expat libiconv gperf ncurses
--->  Extracting expat
Error: org.macports.extract for port expat returned: command execution failed
Error: Failed to install expat
Please see the log file for port expat for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
Error: The following dependencies were not installed: libssh01 openssl zlib xz gettext expat libiconv gperf ncurses
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port hydra failed

Change History (25)

comment:1 Changed 9 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Priority: HighNormal
Summary: There is an error i keep getting no clue whyexpat: extract failure

Please do not set the Priority field.

Clean, try again, and attach the main.log mentioned in the error message.

% sudo port clean expat hydra
% sudo port install hydra

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added

Cc Me!

comment:3 Changed 9 years ago by tristanshakespeare@…

Last edited 9 years ago by tristanshakespeare@… (previous) (diff)

comment:4 in reply to:  2 Changed 9 years ago by tristanshakespeare@…

Replying to ryandesign@…:

Cc Me!

So after I tried

% sudo port clean expat hydra
% sudo port install hydra

I received the following:

-bash: fg: %: no such job

This came after both the lines you suggested

Thanks!

Last edited 9 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:5 Changed 9 years ago by ryandesign (Ryan Schmidt)

Don't actually type the "%"; it's meant to represent your shell prompt.

Last edited 9 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:6 in reply to:  5 Changed 9 years ago by tristanshakespeare@…

Replying to ryandesign@…:

Don't actually type the "%"; it's meant to represent your shell prompt.

Ok so I did what you said and I continue to get the same error...

tristanearesmbp:~ mattwillems$ sudo port clean expat hydra
Password:
--->  Cleaning expat
--->  Cleaning hydra
tristanearesmbp:~ mattwillems$ sudo port install hydra
--->  Computing dependencies for hydra
--->  Dependencies to be installed: libssh01 openssl zlib xz gettext expat libiconv gperf ncurses
--->  Fetching archive for expat
--->  Attempting to fetch expat-2.1.0_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/expat
--->  Attempting to fetch expat-2.1.0_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/expat
--->  Attempting to fetch expat-2.1.0_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/expat
--->  Fetching distfiles for expat
--->  Verifying checksums for expat
--->  Extracting expat
Error: org.macports.extract for port expat returned: command execution failed
Error: Failed to install expat
Please see the log file for port expat for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
Error: The following dependencies were not installed: libssh01 openssl zlib xz gettext expat libiconv gperf ncurses
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port hydra failed
Last edited 9 years ago by tristanshakespeare@… (previous) (diff)

comment:7 Changed 9 years ago by ryandesign (Ryan Schmidt)

Great. Please attach the main.log file so we can see what went wrong.

comment:8 Changed 9 years ago by tristanshakespeare@…

Okay, I have 3 so I'll send them all.

main.log:

version:1
:debug:main Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib/work
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (zlib)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Sat Aug  3 05:12:58 PDT 2013
:msg:archivefetch --->  Fetching archive for zlib
:warn:archivefetch Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports.
:debug:archivefetch Executing org.macports.archivefetch (zlib)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  zlib-1.2.8_0.darwin_13.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch zlib-1.2.8_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/zlib
:msg:archivefetch --->  Attempting to fetch zlib-1.2.8_0.darwin_13.x86_64.tbz2.rmd160 from http://packages.macports.org/zlib
:debug:archivefetch failed verification with key /opt/local/share/macports/macports-pubkey.pem
:debug:archivefetch openssl output: Verification Failure
child process exited abnormally
:warn:archivefetch Failed to verify signature for archive!
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Sat Aug  3 05:12:59 PDT 2013
:notice:fetch --->  Fetching distfiles for zlib
:debug:fetch Can't run fetch on this port without elevated privileges. Escalating privileges back to root.
:debug:fetch euid changed to: 0. egid changed to: 0.
:debug:fetch changing euid/egid - current euid: 0 - current egid: 0
:debug:fetch egid changed to: 501
:debug:fetch euid changed to: 502
:debug:fetch Executing org.macports.fetch (zlib)
:info:fetch --->  zlib-1.2.8.tar.xz doesn't seem to exist in /opt/local/var/macports/distfiles/zlib
:notice:fetch --->  Attempting to fetch zlib-1.2.8.tar.xz from http://distfiles.macports.org/zlib
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sat Aug  3 05:13:02 PDT 2013
:notice:checksum --->  Verifying checksums for zlib
:debug:checksum Executing org.macports.checksum (zlib)
:info:checksum --->  Checksumming zlib-1.2.8.tar.xz
:error:checksum Checksum (rmd160) mismatch for zlib-1.2.8.tar.xz
:info:checksum Portfile checksum: zlib-1.2.8.tar.xz rmd160 2675993cab2db4a1eb69beb885c118e87bf86c64
:info:checksum Distfile checksum: zlib-1.2.8.tar.xz rmd160 ce9ffd59b3cf4aa1cf87421e5833435591314309
:error:checksum Checksum (sha256) mismatch for zlib-1.2.8.tar.xz
:info:checksum Portfile checksum: zlib-1.2.8.tar.xz sha256 831df043236df8e9a7667b9e3bb37e1fcb1220a0f163b6de2626774b9590d057
:info:checksum Distfile checksum: zlib-1.2.8.tar.xz sha256 ba77e989ffb921e0d9baa817763a45eb8e95c55724de061b3e27f4451a08419e
:notice:checksum ***
:notice:checksum The non-matching file appears to be HTML. See this page for possible reasons
:notice:checksum for the checksum mismatch:
:notice:checksum <https://trac.macports.org/wiki/MisbehavingServers>
:notice:checksum ***
:notice:checksum The file has been moved to: /opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz.html
:error:checksum org.macports.checksum for port zlib returned: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
:info:checksum Warning: targets not executed for zlib: 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:checksum Failed to install zlib
:debug:checksum couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:checksum Please see the log file for port zlib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/main.log

main 2.log:

version:1
:debug:main Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat/work
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (expat)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Sat Aug  3 17:22:17 PDT 2013
:msg:archivefetch --->  Fetching archive for expat
:debug:archivefetch Executing org.macports.archivefetch (expat)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  expat-2.1.0_0.darwin_13.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch expat-2.1.0_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/expat
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch expat-2.1.0_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/expat
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch expat-2.1.0_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/expat
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Sat Aug  3 17:22:20 PDT 2013
:notice:fetch --->  Fetching distfiles for expat
:debug:fetch Executing org.macports.fetch (expat)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sat Aug  3 17:22:20 PDT 2013
:notice:checksum --->  Verifying checksums for expat
:debug:checksum Executing org.macports.checksum (expat)
:info:checksum --->  Checksumming expat-2.1.0.tar.gz
:debug:checksum Correct (rmd160) checksum for expat-2.1.0.tar.gz
:debug:checksum Correct (sha256) checksum for expat-2.1.0.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Sat Aug  3 17:22:20 PDT 2013
:notice:extract --->  Extracting expat
:debug:extract Executing org.macports.extract (expat)
:info:extract --->  Extracting expat-2.1.0.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
:info:extract sh: /usr/bin/gnutar: No such file or directory
:info:extract gzip: error writing to output: Broken pipe
:info:extract gzip: /opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz: uncompress failed
:info:extract Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
:info:extract Exit code: 127
:error:extract org.macports.extract for port expat returned: command execution failed
:debug:extract Error code: NONE
:debug:extract Backtrace: command execution failed
    while executing
"$procedure $targetname"
:info:extract Warning: targets not executed for expat: org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:extract Failed to install expat
:debug:extract couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:extract Please see the log file for port expat for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
 

main 3.log:

version:1
:msg:main --->  Computing dependencies for hydra:info:main .:debug:main hydra has no conflicts
:debug:main Searching for dependency: openssl
:debug:main Didn't find receipt, going to depspec regex for: openssl
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: libssh01
:debug:main Didn't find receipt, going to depspec regex for: libssh01
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libssh01
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main openssl has no conflicts
:debug:main Searching for dependency: zlib
:debug:main Didn't find receipt, going to depspec regex for: zlib
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main zlib has no conflicts
:debug:main Searching for dependency: xz
:debug:main Didn't find receipt, going to depspec regex for: xz
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/xz
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main xz has no conflicts
:debug:main Searching for dependency: libiconv
:debug:main Didn't find receipt, going to depspec regex for: libiconv
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: gettext
:debug:main Didn't find receipt, going to depspec regex for: gettext
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main compiler clang 425.0.28 not blacklisted because does not match {clang < 211.10.1}
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main libiconv has no conflicts
:debug:main Searching for dependency: gperf
:debug:main Didn't find receipt, going to depspec regex for: gperf
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gperf
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main gperf has no conflicts
:info:main .:debug:main gettext has no conflicts
:debug:main Searching for dependency: expat
:debug:main Didn't find receipt, going to depspec regex for: expat
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: ncurses
:debug:main Didn't find receipt, going to depspec regex for: ncurses
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main expat has no conflicts
:info:main .:debug:main ncurses has no conflicts
:info:main .:debug:main libssh01 has no conflicts
:msg:main 
:msg:main --->  Dependencies to be installed: libssh01 openssl zlib xz gettext expat libiconv gperf ncurses
:debug:main Starting logging for expat
:error:extract The following dependencies were not installed: libssh01 openssl zlib xz gettext expat libiconv gperf ncurses
:notice:extract To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
:error:extract Processing of port hydra failed

Sorry for the bother, I'm clueless with this...

Last edited 9 years ago by tristanshakespeare@… (previous) (diff)

comment:9 in reply to:  8 ; Changed 9 years ago by ryandesign (Ryan Schmidt)

Replying to tristanshakespeare@…:

Okay, I have 3 so I'll send them all.

It's better to attach logs rather than paste them.

Regarding the zlib log:

:notice:checksum --->  Verifying checksums for zlib
:debug:checksum Executing org.macports.checksum (zlib)
:info:checksum --->  Checksumming zlib-1.2.8.tar.xz
:error:checksum Checksum (rmd160) mismatch for zlib-1.2.8.tar.xz
:info:checksum Portfile checksum: zlib-1.2.8.tar.xz rmd160 2675993cab2db4a1eb69beb885c118e87bf86c64
:info:checksum Distfile checksum: zlib-1.2.8.tar.xz rmd160 ce9ffd59b3cf4aa1cf87421e5833435591314309
:error:checksum Checksum (sha256) mismatch for zlib-1.2.8.tar.xz
:info:checksum Portfile checksum: zlib-1.2.8.tar.xz sha256 831df043236df8e9a7667b9e3bb37e1fcb1220a0f163b6de2626774b9590d057
:info:checksum Distfile checksum: zlib-1.2.8.tar.xz sha256 ba77e989ffb921e0d9baa817763a45eb8e95c55724de061b3e27f4451a08419e
:notice:checksum ***
:notice:checksum The non-matching file appears to be HTML. See this page for possible reasons
:notice:checksum for the checksum mismatch:
:notice:checksum <https://trac.macports.org/wiki/MisbehavingServers>
:notice:checksum ***
:notice:checksum The file has been moved to: /opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz.html

Read the MisbehavingServers page and check the contents of the /opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz.html file.

Regarding the expat log:

:info:extract sh: /usr/bin/gnutar: No such file or directory
:info:extract gzip: error writing to output: Broken pipe

Does /usr/bin/gnutar in fact exist and work correctly? MacPorts expects it to.

I note that you're on Mavericks, which MacPorts doesn't support yet because it hasn't been released yet and MacPorts developers do not have access to it yet. The non-disclosure agreement you signed with Apple to gain access to a prerelease of Mavericks may also prevent you from disclosing that you have it or talking about it. So we may not be able to fix this problem until Mavericks is officially released later this year.

comment:10 in reply to:  9 Changed 9 years ago by tristanshakespeare@…

Replying to ryandesign@…:

Replying to tristanshakespeare@…:

Okay, I have 3 so I'll send them all.

It's better to attach logs rather than paste them.

Regarding the zlib log:

:notice:checksum --->  Verifying checksums for zlib
:debug:checksum Executing org.macports.checksum (zlib)
:info:checksum --->  Checksumming zlib-1.2.8.tar.xz
:error:checksum Checksum (rmd160) mismatch for zlib-1.2.8.tar.xz
:info:checksum Portfile checksum: zlib-1.2.8.tar.xz rmd160 2675993cab2db4a1eb69beb885c118e87bf86c64
:info:checksum Distfile checksum: zlib-1.2.8.tar.xz rmd160 ce9ffd59b3cf4aa1cf87421e5833435591314309
:error:checksum Checksum (sha256) mismatch for zlib-1.2.8.tar.xz
:info:checksum Portfile checksum: zlib-1.2.8.tar.xz sha256 831df043236df8e9a7667b9e3bb37e1fcb1220a0f163b6de2626774b9590d057
:info:checksum Distfile checksum: zlib-1.2.8.tar.xz sha256 ba77e989ffb921e0d9baa817763a45eb8e95c55724de061b3e27f4451a08419e
:notice:checksum ***
:notice:checksum The non-matching file appears to be HTML. See this page for possible reasons
:notice:checksum for the checksum mismatch:
:notice:checksum <https://trac.macports.org/wiki/MisbehavingServers>
:notice:checksum ***
:notice:checksum The file has been moved to: /opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz.html

Read the MisbehavingServers page and check the contents of the /opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz.html file.

Regarding the expat log:

:info:extract sh: /usr/bin/gnutar: No such file or directory
:info:extract gzip: error writing to output: Broken pipe

Does /usr/bin/gnutar in fact exist and work correctly? MacPorts expects it to.

I note that you're on Mavericks, which MacPorts doesn't support yet because it hasn't been released yet and MacPorts developers do not have access to it yet. The non-disclosure agreement you signed with Apple to gain access to a prerelease of Mavericks may also prevent you from disclosing that you have it or talking about it. So we may not be able to fix this problem until Mavericks is officially released later this year.

Ok I understand, do you have any steps you would suggest to get around it?

comment:11 Changed 9 years ago by ryandesign (Ryan Schmidt)

Did you look at zlib-1.2.8.tar.xz.html and discover why the download failed?

Did you check whether /usr/bin/gnutar exists and works?

comment:12 Changed 9 years ago by tristanshakespeare@…

Where do I find why zlib-1.2.8.tar.xz.html 's download failed? and /usr/bin/gnutar is not found

comment:13 in reply to:  12 Changed 9 years ago by ryandesign (Ryan Schmidt)

Replying to tristanshakespeare@…:

Where do I find why zlib-1.2.8.tar.xz.html 's download failed?

Open the file /opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz.html in a text editor or web browser and see what it says. Or attach it to this ticket an I'll have a look.

and /usr/bin/gnutar is not found

Then MacPorts will not be able to extract or create tar files, which is an essential function for MacPorts to be able to install ports.

Since I haven't seen Mavericks, I don't know if this is an intended change (in which case MacPorts will need to be fixed to take this into account) or whether there is a problem with the OS installation on your system (in which case you would need to reinstall the OS).

comment:14 Changed 9 years ago by tristanshakespeare@…

Okay, this is what I read in /opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz.html :

HTTP/1.0 302 Found Location: /cgi-bin/ipdiags.ha Pragma: no-cache Content-Type: text/html

If there's nothing I can do, it's perfectly understandable.

Last edited 9 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:15 in reply to:  14 Changed 9 years ago by ryandesign (Ryan Schmidt)

Replying to tristanshakespeare@…:

Okay, this is what I read in /opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz.html :

HTTP/1.0 302 Found Location: /cgi-bin/ipdiags.ha Pragma: no-cache Content-Type: text/html

That looks like an HTTP header, which should not occur in the content of a page... Googling for that path suggests it's a problem that occurs sometimes when using AT&T Uverse internet service. So you can probably just clean and try again ("sudo port clean --all zlib") and hopefully it won't happen this time. You should ask AT&T for further assistance if you experience that problem again.

If there's nothing I can do, it's perfectly understandable.

You could see if copying /usr/bin/gnutar from OS X 10.8 into /usr/bin on your Mavericks system works. Once MacPorts officially supports Mavericks you should remove that again.

comment:16 Changed 9 years ago by tristanshakespeare@…

Okay, I'll try getting /usr/bin/gnutar from OS X 10.8 and see if that works, thank you for your help. I'll let you know how it works out.

comment:17 Changed 9 years ago by ryandesign (Ryan Schmidt)

Keywords: mavericks added

Or, if Apple has not removed gnutar but has just moved it somewhere else, you could try to find it with:

find / -type f -name gnutar 2>/dev/null

Then copy or symlink it from wherever it is into /usr/bin.

comment:18 Changed 9 years ago by razzfazz (Daniel Becker)

Cc: razzfazz@… added

Cc Me!

comment:19 Changed 9 years ago by richard.t.lloyd@…

I'm also having trouble with expat on Maverick with Xcode 5.0 Build 5A11386k and

Apple LLVM version 5.0 (clang-500.1.74) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

Screen output is:

[Users/richardlloyd] > install expat

invalid syntax:  should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?"

Please see the log file for port expat for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log

To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port expat failed
[Users/richardlloyd] >

The logfile mentioned tells me:

version:1 
:debug:archivefetch expat has no conflicts
:debug:main Executing org.macports.main (expat)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:info:archivefetch Warning: targets not executed for expat: org.macports.activate org.macports.archivefetch org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:archivefetch Please see the log file for port expat for details:

    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log

I understand the caveats re mac developer / non-disclosure / limited-availability. I hit this problem while trying to install rvm in order to limp past the dreaded certificate verify failed (OpenSSL::SSL::SSLError) bug. Most surely bleeding edge technology here...

Last edited 9 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:20 in reply to:  19 ; Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: richard.t.lloyd@… added

This ticket is about /usr/bin/gnutar not existing on Mavericks and extracts therefore failing.

Richard, your issue is entirely different and belongs in a different ticket:

Replying to richard.t.lloyd@…:

invalid syntax:  should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?"

My understanding is that Mavericks includes Tcl 8.6, with which MacPorts is not yet compatible, because Tcl 8.6 introduces a try/catch implementation, whereas MacPorts already includes a private try/catch implementation that works differently.

comment:21 in reply to:  20 Changed 9 years ago by richard.t.lloyd@…

Replying to ryandesign@…:

This ticket is about /usr/bin/gnutar not existing on Mavericks and extracts therefore failing.

Richard, your issue is entirely different and belongs in a different ticket:

Good enough, I'll open a new ticket specific to this issue.

Replying to richard.t.lloyd@…:

invalid syntax:  should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?"

My understanding is that Mavericks includes Tcl 8.6, with which MacPorts is not yet compatible, because Tcl 8.6 introduces a try/catch implementation, whereas MacPorts already includes a private try/catch implementation that works differently.

comment:22 Changed 9 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:23 Changed 9 years ago by ryandesign (Ryan Schmidt)

Resolution: worksforme
Status: newclosed

expat extracts fine for me on Mavericks when using MacPorts built from trunk, so please do that until we have a release that's compatible with Mavericks.

comment:24 in reply to:  17 ; Changed 9 years ago by sierkb@…

Replying to ryandesign@…:

Or, if Apple has not removed gnutar but has just moved it somewhere else, you could try to find it with:

find / -type f -name gnutar 2>/dev/null

Then copy or symlink it from wherever it is into /usr/bin.


Looking at http://www.opensource.apple.com/release/os-x-109/, GNU tar in fact IS part of OSX 10.9, but under a new location.

GNU tar on OSX 10.8.5 (gnutar-451): http://www.opensource.apple.com/source/gnutar/gnutar-451/

GNU tar on OSX 10.9.0 (gnutar-452): http://www.opensource.apple.com/source/gnutar/gnutar-452/

Makefile GNU tar on OSX 10.8.5 (gnutar-451): http://www.opensource.apple.com/source/gnutar/gnutar-451/Makefile

Makefile GNU tar on OSX 10.9.0 (gnutar-452): http://www.opensource.apple.com/source/gnutar/gnutar-452/Makefile

Look at both Makefiles to which destination Apple has put it on OSX le 10.8.5 and OSX 10.9.0 and see the differences (make a diff):

$ GNUtarML=`curl http://www.opensource.apple.com/source/gnutar/gnutar-451/Makefile?txt -s -o ${TMPDIR}Makefile_GNUtar_MountainLion`; GNUtarMav=`curl http://www.opensource.apple.com/source/gnutar/gnutar-452/Makefile?txt -s -o ${TMPDIR}Makefile_GNUtar_Mavericks`; diff -u "${TMPDIR}Makefile_GNUtar_MountainLion" "${TMPDIR}Makefile_GNUtar_Mavericks"

leads to:

--- /var/folders/p7/3h2r_j7x6j58crp3zy7lm80m0000gp/T/Makefile_GNUTar_MountainLion	2013-10-23 20:20:37.000000000 +0200
+++ /var/folders/p7/3h2r_j7x6j58crp3zy7lm80m0000gp/T/Makefile_GNUTar_Mavericks	2013-10-23 20:20:38.000000000 +0200
@@ -8,7 +8,10 @@
 ToolType              = Commands
 Extra_Configure_Flags = --program-prefix=gnu --includedir=/usr/local/include
 Extra_CC_Flags        = -mdynamic-no-pic
-GnuAfterInstall       = remove-dir install-man install-plist
+GnuAfterInstall       = remove-junk install-symlink install-plist
+
+Install_Prefix  = /usr/local
+Install_Info    = /usr/local/share/info
 
 # It's a GNU Source project
 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/GNUSource.make
@@ -42,15 +45,15 @@
 	done
 endif
 
-remove-dir:
-	$(RM) $(DSTROOT)/usr/share/info/dir
-	$(RM) $(DSTROOT)/usr/lib/charset.alias
-
-install-man:
-	$(MKDIR) $(DSTROOT)$(MANDIR)/man1/
-	$(INSTALL_FILE) $(SRCROOT)/gnutar.1 $(DSTROOT)$(MANDIR)/man1/gnutar.1
-	$(MKDIR) $(DSTROOT)$(MANDIR)/man8/
-	$(INSTALL_FILE) $(SRCROOT)/gnurmt.8 $(DSTROOT)$(MANDIR)/man8/gnurmt.8
+remove-junk:
+	$(RMDIR) $(DSTROOT)$(Install_Prefix)/lib/
+	$(RMDIR) $(DSTROOT)$(Install_Prefix)/libexec/
+	$(RMDIR) $(DSTROOT)$(Install_Prefix)/sbin/
+	$(RMDIR) $(DSTROOT)$(Install_Prefix)/share/
+
+install-symlink:
+	$(MKDIR) $(DSTROOT)/usr/bin/
+	$(LN) -fs $(Install_Prefix)/bin/gnutar $(DSTROOT)/usr/bin/gnutar
 
 OSV = $(DSTROOT)/usr/local/OpenSourceVersions
 OSL = $(DSTROOT)/usr/local/OpenSourceLicenses



So, the new install_Prefix of GNU tar is /usr/local, the binary is /usr/local/bin/gnutar, the libs in /usr/local/lib and so on...
AND there is a Symlink from /usr/local/bin/gnutar -> /usr/bin/gnutar

comment:25 in reply to:  24 Changed 9 years ago by ryandesign (Ryan Schmidt)

Replying to sierkb@…:

So, the new install_Prefix of GNU tar is /usr/local, the binary is /usr/local/bin/gnutar, the libs in /usr/local/lib and so on...
AND there is a Symlink from /usr/local/bin/gnutar -> /usr/bin/gnutar

No it isn't, and no there isn't; not provided by Apple, anyway.

This ticket is closed. The problem was not rebuilding MacPorts after upgrading to Mavericks, as explained in the migration instructions.

Note: See TracTickets for help on using tickets.