[MacPorts] #21550: libsdl-framework +universal fails to build on 10.6.1

MacPorts noreply at macports.org
Tue Sep 22 07:43:50 PDT 2009


#21550: libsdl-framework +universal fails to build on 10.6.1
---------------------------------+------------------------------------------
 Reporter:  jhr@…                |       Owner:  nox@…           
     Type:  defect               |      Status:  new             
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  1.8.0           
 Keywords:                       |        Port:  libsdl-framework
---------------------------------+------------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => nox@…


Old description:

> Attempting to install libsdl-framework (universal variant) fails on Snow
> Leopard.  The compile errors appear to involve the CDPlayer.c file.  Here
> is a transcript:
>
> <jhr at woton> sudo port install libsdl-framework +universal
> --->  Computing dependencies for libsdl-framework
> --->  Building libsdl-framework
> 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_libsdl-framework/work/SDL-1.2.13" && xcodebuild
> -project "Xcode/SDL/SDL.xcodeproj" -target "Framework Without X11 Stuff
> (for those who didn't install the X11 headers with Xcode)" -configuration
> Deployment build OBJROOT=build/ SYMROOT=build/
> MACOSX_DEPLOYMENT_TARGET=10.6 ARCHS="x86_64 i386" SDKROOT= ARCHS='x86_64
> i386'" returned error 1
> Command output:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_libsdl-
> framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:264:
> warning: type-punning to incomplete type might break strict-aliasing
> rules
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_libsdl-
> framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:265:
> warning: type-punning to incomplete type might break strict-aliasing
> rules
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_libsdl-
> framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c: In
> function 'ListTrackFiles':
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_libsdl-
> framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:349:
> warning: type-punning to incomplete type might break strict-aliasing
> rules
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_libsdl-
> framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:350:
> warning: type-punning to incomplete type might break strict-aliasing
> rules
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_libsdl-
> framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c: In
> function 'CheckInit':
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_libsdl-
> framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:554:
> error: 'kAudioUnitComponentType' undeclared (first use in this function)
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_libsdl-
> framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:554:
> error: (Each undeclared identifier is reported only once
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_libsdl-
> framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:554:
> error: for each function it appears in.)
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_libsdl-
> framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:555:
> error: 'kAudioUnitSubType_Output' undeclared (first use in this function)
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_libsdl-
> framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:556:
> error: 'kAudioUnitID_DefaultOutput' undeclared (first use in this
> function)
> ** BUILD FAILED **

New description:

 Attempting to install libsdl-framework (universal variant) fails on Snow
 Leopard.  The compile errors appear to involve the CDPlayer.c file.  Here
 is a transcript:

 {{{
 <jhr at woton> sudo port install libsdl-framework +universal
 --->  Computing dependencies for libsdl-framework
 --->  Building libsdl-framework
 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_libsdl-framework/work/SDL-1.2.13" && xcodebuild
 -project "Xcode/SDL/SDL.xcodeproj" -target "Framework Without X11 Stuff
 (for those who didn't install the X11 headers with Xcode)" -configuration
 Deployment build OBJROOT=build/ SYMROOT=build/
 MACOSX_DEPLOYMENT_TARGET=10.6 ARCHS="x86_64 i386" SDKROOT= ARCHS='x86_64
 i386'" returned error 1
 Command output:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_libsdl-
 framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:264:
 warning: type-punning to incomplete type might break strict-aliasing rules
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_libsdl-
 framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:265:
 warning: type-punning to incomplete type might break strict-aliasing rules
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_libsdl-
 framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c: In
 function 'ListTrackFiles':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_libsdl-
 framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:349:
 warning: type-punning to incomplete type might break strict-aliasing rules
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_libsdl-
 framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:350:
 warning: type-punning to incomplete type might break strict-aliasing rules
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_libsdl-
 framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c: In
 function 'CheckInit':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_libsdl-
 framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:554:
 error: 'kAudioUnitComponentType' undeclared (first use in this function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_libsdl-
 framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:554:
 error: (Each undeclared identifier is reported only once
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_libsdl-
 framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:554:
 error: for each function it appears in.)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_libsdl-
 framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:555:
 error: 'kAudioUnitSubType_Output' undeclared (first use in this function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_libsdl-
 framework/work/SDL-1.2.13/Xcode/SDL/../../src/cdrom/macosx/CDPlayer.c:556:
 error: 'kAudioUnitID_DefaultOutput' undeclared (first use in this
 function)
 ** BUILD FAILED **
 }}}

--

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


More information about the macports-tickets mailing list