[MacPorts] #24825: zlib 1.2.5_0: Snow Leopard: libz.dylib contains unexpected architecture cputype
MacPorts
noreply at macports.org
Fri May 7 19:08:19 PDT 2010
#24825: zlib 1.2.5_0: Snow Leopard: libz.dylib contains unexpected architecture
cputype
---------------------------------------+------------------------------------
Reporter: msb2@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: Snow Leopard zlib cputype | Port: zlib
---------------------------------------+------------------------------------
On Snow Lepoard (10.6.3, Xcode 3.2.2) Intel 64-bit, ports depending on
zlib fail to upgrade/install. For example, the following error is
obtained at the end of the output for
{{{port -d install bzr}}} :
{{{
---> Configuring freetype
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: Executing proc-pre-org.macports.configure-configure-0
Error: File /opt/local/lib/libz.dylib contains unexpected architecture
cputype.
Error: This may be a bug in the archcheck portgroup.
Error: Target org.macports.configure returned: unexpected architecture
DEBUG: Backtrace: unexpected architecture
while executing
"$pre $targetname"
Warning: the following items did not execute (for freetype):
org.macports.destroot org.macports.configure org.macports.build
DEBUG: couldn't read file
"/opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl": no such file
or directory
while executing
"source [file join $dir pkgIndex.tcl]"
Error: Unable to upgrade port: 1
DEBUG: upgrade python26 failed
while executing
"macports::_upgrade_mport_deps $mport $target"
(procedure "mportexec" line 27)
invoked from within
"mportexec $workername $target"
Error: Unable to execute port: upgrade python26 failed
}}}
The information about zlib ''earlier'' in the output is:
{{{
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
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 Platform: darwin
DEBUG: OS Version: 10.3.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
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: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
DEBUG: No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0
}}}
The command {{{file /opt/local/lib/libz.dylib}}} produces
{{{
/opt/local/lib/libz.dylib: Mach-O 64-bit dynamically linked shared library
x86_64
}}}
--
Ticket URL: <http://trac.macports.org/ticket/24825>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list