[MacPorts] #49300: port upgrade ld64-latest fails
#49300: port upgrade ld64-latest fails ------------------------+-------------------------------- Reporter: persramd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ------------------------+-------------------------------- I was just recently able to selfupdate after the recent problem with signature verification (49233) port upgrade outdated failed on ld64-latest. So I did a port clean ld64-latest, followed by port upgrade ld64-latest fails. {{{ declan@nona:~$ sudo port upgrade ld64-latest ---> Computing dependencies for ld64-latest ---> Building ld64-latest Error: org.macports.build for port ld64-latest returned: command execution failed Please see the log file for port ld64-latest for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} -- Ticket URL: <https://trac.macports.org/ticket/49300> MacPorts <https://www.macports.org/> Ports system for OS X
#49300: port upgrade ld64-latest fails --------------------------+------------------------ Reporter: persramd@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ld64-latest | --------------------------+------------------------ Changes (by mf2k@…): * owner: macports-tickets@… => jeremyhu@… * port: => ld64-latest Comment: In the future, please fill in the Port field and Cc the port maintainers ({{{port info --maintainers ld64-latest}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/49300#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49300: port upgrade ld64-latest fails --------------------------+------------------------ Reporter: persramd@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ld64-latest | --------------------------+------------------------ Description changed by mf2k@…: Old description:
I was just recently able to selfupdate after the recent problem with signature verification (49233)
port upgrade outdated failed on ld64-latest.
So I did a port clean ld64-latest, followed by
port upgrade ld64-latest
fails.
{{{ declan@nona:~$ sudo port upgrade ld64-latest ---> Computing dependencies for ld64-latest ---> Building ld64-latest Error: org.macports.build for port ld64-latest returned: command execution failed Please see the log file for port ld64-latest for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets
}}}
New description: I was just recently able to selfupdate after the recent problem with signature verification (49233) port upgrade outdated failed on ld64-latest. So I did a port clean ld64-latest, followed by {{{ port upgrade ld64-latest }}} fails. {{{ declan@nona:~$ sudo port upgrade ld64-latest ---> Computing dependencies for ld64-latest ---> Building ld64-latest Error: org.macports.build for port ld64-latest returned: command execution failed Please see the log file for port ld64-latest for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} -- -- Ticket URL: <https://trac.macports.org/ticket/49300#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49300: port upgrade ld64-latest fails --------------------------+------------------------ Reporter: persramd@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ld64-latest | --------------------------+------------------------ Comment (by jeremyhu@…): What version of Xcode do you have? Are your CLTools up to date with it? What's the output of: /usr/bin/clang++ --version -- Ticket URL: <https://trac.macports.org/ticket/49300#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49300: port upgrade ld64-latest fails --------------------------+------------------------ Reporter: persramd@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ld64-latest | --------------------------+------------------------ Comment (by persramd@…): Replying to [comment:4 jeremyhu@…]:
What version of Xcode do you have? Are your CLTools up to date with it? What's the output of:
/usr/bin/clang++ --version
{{{ declan@nona:~$ /usr/bin/clang++ --version Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix declan@nona:~$ }}} -- Ticket URL: <https://trac.macports.org/ticket/49300#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49300: port upgrade ld64-latest fails --------------------------+------------------------ Reporter: persramd@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ld64-latest | --------------------------+------------------------ Comment (by jeremyhu@…): Your command line tools are out of date. Your CLTools are from Xcode 4.4. If you update them, does the issue go away? -- Ticket URL: <https://trac.macports.org/ticket/49300#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49300: port upgrade ld64-latest fails --------------------------+------------------------ Reporter: persramd@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ld64-latest | --------------------------+------------------------ Comment (by persramd@…): Replying to [comment:6 jeremyhu@…]:
Your command line tools are out of date. Your CLTools are from Xcode 4.4. If you update them, does the issue go away?
4.6.3 is the most up-to-date version for OSX 10.7.5. Might there be a workaround? -- Ticket URL: <https://trac.macports.org/ticket/49300#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49300: port upgrade ld64-latest fails --------------------------+------------------------ Reporter: persramd@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ld64-latest | --------------------------+------------------------ Comment (by jeremyhu@…): Your version of Xcode is 4.6.3, but the version of the CLTools is from Xcode 4.4. You have not updated your CLTools to the 4.6.3 version. Please update your CLTools to 4.6.3. -- Ticket URL: <https://trac.macports.org/ticket/49300#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#49300: port upgrade ld64-latest fails --------------------------+------------------------ Reporter: persramd@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ld64-latest | --------------------------+------------------------ Comment (by p.ohanlon@…): In my case updating to CLTools 4.6.3 did address the problem. The catch was that when I installed the Command line tools with Xcode 4.6.3 they were installed into /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ and not into /usr/bin (possibly because I kept an older version installed there). Anyway I renamed the old versions of clang,clang++ and softlinked the new ones in its place, after which ld64 built ok. In case anyone else finds it useful I used the xcrun command to find clang's location: {{{ $ xcrun --find clang /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang }}} -- Ticket URL: <https://trac.macports.org/ticket/49300#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#49300: port upgrade ld64-latest fails --------------------------+------------------------ Reporter: persramd@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: worksforme | Keywords: Port: ld64-latest | --------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme Comment: Thanks for confirming. -- Ticket URL: <https://trac.macports.org/ticket/49300#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts