[MacPorts] #31635: xattr fails to build with latest version of xcode due to depricated -buildstyle switch

MacPorts noreply at macports.org
Sun Oct 16 08:18:44 PDT 2011


#31635: xattr fails to build with latest version of xcode due to depricated
-buildstyle switch
-----------------------------------------+----------------------------------
 Reporter:  pkutzner+macports@…          |       Owner:  macports-tickets@…                   
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                       
Component:  ports                        |     Version:  2.0.3                                
 Keywords:  xattr                        |        Port:  xattr                                
-----------------------------------------+----------------------------------

Comment(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 at 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>

-- 
Ticket URL: <https://trac.macports.org/ticket/31635#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list