[MacPorts] #16429: macstl-0.3.1 build failure - xcode -project arg required?
MacPorts
noreply at macports.org
Sun Aug 31 11:04:56 PDT 2008
#16429: macstl-0.3.1 build failure - xcode -project arg required?
--------------------------------+-------------------------------------------
Reporter: dstndstn at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: macstl |
--------------------------------+-------------------------------------------
Hi,
This is on OSX 10.3.
{{{
# port install macstl
---> Building macstl
Error: Target org.macports.build returned: shell command "cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_macstl/work/macstl/mac"
&& xcodebuild -target "macstl" -buildstyle "Optimized for G4" build
OBJROOT=build/ SYMROOT=build/ " returned error 1
Command output: xcodebuild: Error: the directory
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_macstl/work/macstl/mac
contains more than one Xcode project (it has 2 of them). You will need to
specify the project to build with the -project option.
Error: Status 1 encountered during processing.
}}}
The following works:
{{{
# cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_macstl/work/macstl/mac"
&& xcodebuild -project macstl.xcode -target "macstl" -buildstyle
"Optimized for G4" build OBJROOT=build/ SYMROOT=build/
=== BUILDING NATIVE TARGET macstl USING BUILD STYLE Optimized for G4 ===
** BUILD SUCCEEDED **
}}}
(note the addition of "-project macstl.xcode")
So perhaps it's an easy fix... but what do I know. :)
Thanks very much!
--dustin.
--
Ticket URL: <http://trac.macports.org/ticket/16429>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list