#16429 closed defect (fixed)
macstl-0.3.1 build failure - xcode -project arg required?
Reported by: | dstndstn@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | macstl | Cc: | jmroot (Joshua Root) |
Port: |
Description
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.
Change History (4)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Cc: | jmr@… added |
---|
comment:3 Changed 16 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Should be fixed by r39721, please confirm.