[MacPorts] #33540: pstree: ld: can't write output file: pstree for architecture x86_64
MacPorts
noreply at macports.org
Thu Mar 8 20:47:53 PST 2012
#33540: pstree: ld: can't write output file: pstree for architecture x86_64
--------------------------------------+-------------------------------------
Reporter: macports@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: pstree
--------------------------------------+-------------------------------------
Comment(by macports@…):
Oh, sorry, of course:
{{{
$ xcodebuild -version
Xcode 4.3
Build version 4E109
$ gcc --version | head -1
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.9.00)
}}}
But I don't know what this would have to do with Xcode? The actual
''compiling'' seems to go fine (see my example above), but MacPorts'
''install'' magic seems to do something strange. When compiling with
MacPorts' own ''apple-gcc-4.2'', the issue persists:
{{{
# port install pstree configure.compiler=apple-gcc-4.2
---> Fetching archive for pstree
---> Attempting to fetch pstree-2.33_1.darwin_11.x86_64.tbz2 from
http://packages.macports.org/pstree
---> Fetching pstree
---> Verifying checksum(s) for pstree
---> Extracting pstree
---> Configuring pstree
---> Building pstree
---> Staging pstree into destroot
unable to read unknown load command 0x24
unable to read unknown load command 0x26
---> Installing pstree @2.33_1
---> Activating pstree @2.33_1
---> Cleaning pstree
# /opt/local/bin/pstree
-sh: /opt/local/bin/pstree: Malformed Mach-o file
}}}
--
Ticket URL: <https://trac.macports.org/ticket/33540#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list