Opened 13 years ago
Last modified 12 years ago
#31635 closed defect
xattr fails to build with latest version of xcode due to depricated -buildstyle switch — at Version 2
Reported by: | pkutzner+macports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | xattr |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
xattr will not build due to the -buildstyle switch being removed from xcode in the most recent update. Build fails with the following text:
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_xattr/xattr/work/eXttra" && /usr/bin/xcodebuild -project "eXttra.xcode" -target "xattr" -buildstyle Deployment " returned error 64 Error: Target org.macports.build returned: shell command failed (see log for details) Warning: the following items did not execute (for xattr): org.macports.activate org.macports.build org.macports.destroot org.macports.install Log for xattr is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_xattr/xattr/main.log Error: Status 1 encountered during processing.
Change History (3)
Changed 13 years ago by pkutzner+macports@…
comment:1 Changed 13 years ago by pkutzner+macports@…
As an update, here's the full error output to the screen when attempting to build, along with the command used to build. I realized I had only pasted the tail-end of it:
pkutzner@masami:~$ POSIXLY_CORRECT=1 sudo port -v install xattr Password: ---> Computing dependencies for xattr. ---> Building xattr xcodebuild: error: option '-buildstyle' is no longer supported Usage: xcodebuild [-project <projectname>] [[-target <targetname>]...|-alltargets] [-configuration <configurationname>] [-arch <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [<buildsetting>=<value>]... [<buildaction>]... xcodebuild -workspace <workspacename> -scheme <schemeName> [-configuration <configurationname>] [-arch <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [<buildsetting>=<value>]... [<buildaction>]... xcodebuild -version [-sdk [<sdkfullpath>|<sdkname>] [<infoitem>] ] xcodebuild -list [[-project <projectname>]|[-workspace <workspacename>]] xcodebuild -showsdks Options: -usage print full usage -verbose provide additional status output -project NAME build the project NAME -target NAME build the target NAME -alltargets build all targets -workspace NAME build the workspace NAME -scheme NAME build the scheme NAME -configuration NAME use the build configuration NAME for building each target -xcconfig PATH apply the build settings defined in the file at PATH as overrides -arch ARCH build each target for the architecture ARCH; this will override architectures defined in the project -sdk SDK use SDK as the name or path of the base SDK when building the project -parallelizeTargets build independent targets in parallel -jobs NUMBER specify the maximum number of concurrent build operations -showsdks display a compact list of the installed SDKs -list lists the targets and configurations in a project, or the schemes in a workspace -find BINARY display the full path to BINARY in the provided SDK -version display the version of Xcode; with -sdk will display info about one or all installed SDKs shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_xattr/xattr/work/eXttra" && /usr/bin/xcodebuild -project "eXttra.xcode" -target "xattr" -buildstyle Deployment " returned error 64 Error: Target org.macports.build returned: shell command failed (see log for details) Warning: the following items did not execute (for xattr): org.macports.activate org.macports.build org.macports.destroot org.macports.install Log for xattr is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_xattr/xattr/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | xattr removed |
Please remember to use WikiFormatting.
Note: See
TracTickets for help on using
tickets.
Build log for xattr failing to build under latest xcode tools