[MacPorts] #32890: port fails to parse Portfile (and completely loses that port) if xcrun not available
#32890: port fails to parse Portfile (and completely loses that port) if xcrun not available --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: --------------------------------+------------------------------------------- Eg, {{{ Failed to parse file x11/wine-devel/Portfile: can't read "configure.compiler": Failed to locate 'xcrun' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? Total number of ports parsed: 398 Ports successfully parsed: 356 Ports failed: 42 Up-to-date ports skipped: 12965 The following installed ports are outdated: clang-3.1 3.1-r146339_1 < 3.1-r147925_1 coreutils 8.14_0 < 8.15_0 ImageMagick 6.7.4-0_0 < 6.7.4-6_0 llvm-3.1 3.1-r146339_1 < 3.1-r147925_1 py25-crypto 2.4.1_0 < 2.5_0 py25-wxpython 2.8.9.1_0 < 2.8.12.1_0 py26-crypto 2.4.1_0 < 2.5_0 py27-crypto 2.4.1_0 < 2.5_0 wideload:src/MacPorts 0:31$ which xcrun xcrun not found wideload:src/MacPorts 0:32$ man xcrun No manual entry for xcrun wideload:src/MacPorts 0:47$ port cat wine-devel Error: Port wine-devel not found wideload:src/MacPorts 0:48$ }}} MacPorts (including base) at r88965, Mac OS X 10.5.8, Xcode 3.1.2. Note that this affects more than 10% of ports updated in svn for me. -- Ticket URL: <https://trac.macports.org/ticket/32890> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32890: port fails to parse Portfile (and completely loses that port) if xcrun not available --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by stephen@…): Replying to [ticket:32890 stephen@…]:
Note that this affects more than 10% of ports updated in svn for me.
Oops, no, it's worse than that. I can't upgrade any of the ports listed as outdated, either, without xcrun. -- Ticket URL: <https://trac.macports.org/ticket/32890#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32890: port fails to parse Portfile (and completely loses that port) if xcrun not available --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jberry@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: --------------------------------+------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jberry@… -- Ticket URL: <https://trac.macports.org/ticket/32890#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32890: port fails to parse Portfile (and completely loses that port) if xcrun not available --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jberry@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by pixilla@…): MacPorts trunk r89102, Mac OS X 10.5.8 PPC, Xcode 3.1.2. {{{ $ sudo port configure mmencode ---> Configuring mmencode Error: Target org.macports.configure returned: can't read "configure.compiler": Failed to locate 'xcrun' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? }}} -- Ticket URL: <https://trac.macports.org/ticket/32890#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32890: port fails to parse Portfile (and completely loses that port) if xcrun not available --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jberry@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by pixilla@…): Looks like xcrun was introduced in Xcode 3.1.3. After upgrading to Xcode 3.1.4 I now have /usr/bin/xcrun. -- Ticket URL: <https://trac.macports.org/ticket/32890#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32890: port fails to parse Portfile (and completely loses that port) if xcrun not available --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jberry@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by stephen@…): Replying to [comment:4 pixilla@…]:
Looks like xcrun was introduced in Xcode 3.1.3. After upgrading to Xcode 3.1.4 I now have /usr/bin/xcrun.
Thank you very much for the hint! In the spirit of paying forward, I learned that Apple hides their old dev tools, but doesn't make them completely inaccessible. A post on the web pointed me to http://connect.apple.com/cgi- bin/WebObjects/MemberSite.woa/wo/5.1.17.2.1.3.3.1.0.1.1.0.3.1.3.3.1 You will need to log in as an ADC member (AFAIK you can sign up for free at http://developer.apple.com/). You may need to change the section of that page from Applications to Developer Tools in the right-hand "Dowloads" sidebar. The XCode 3.1.4 download link is way down the page, approximately bottom of the middle third. -- Ticket URL: <https://trac.macports.org/ticket/32890#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32890: port fails to parse Portfile (and completely loses that port) if xcrun not available ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: jberry@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.0.99 Resolution: fixed | Keywords: Port: | ---------------------------------+------------------------------------------ Changes (by jberry@…): * status: new => closed * resolution: => fixed Comment: Resolved in r89359. The check for xcrun is now guarded inside the catch clause. If xcrun is not present, then the conventional compiler search will still find it. -- Ticket URL: <https://trac.macports.org/ticket/32890#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts