Opened 15 years ago

Closed 15 years ago

#21550 closed defect (fixed)

libsdl-framework +universal fails to build on 10.6.1

Reported by: jhr@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: libsdl-framework

Description (last modified by mf2k (Frank Schima))

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@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 **

Change History (4)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to nox@…

comment:2 Changed 15 years ago by tobypeterson

needs to be updated to 1.2.14, like #20235

Although I'm not really sure why we need these framework versions of all the SDL stuff...

comment:3 Changed 15 years ago by nox@…

$ port file all | xargs grep -E "libsdl(_[a-z]+)?-framework"
/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/esdl/Portfile:depends_build		port:libsdl-framework port:erlang
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl-framework/Portfile:name            libsdl-framework
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_gfx-framework/Portfile:name            libsdl_gfx-framework
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_gfx-framework/Portfile:depends_lib     port:libsdl-framework
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_image-framework/Portfile:name            libsdl_image-framework
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_image-framework/Portfile:                port:libsdl-framework
/opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libsdl_mixer-framework/Portfile:name            libsdl_mixer-framework
/opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libsdl_mixer-framework/Portfile:depends_lib     port:libsdl-framework
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_net-framework/Portfile:name            libsdl_net-framework
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_net-framework/Portfile:depends_lib     port:libsdl-framework
/opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libsdl_sound-framework/Portfile:name            libsdl_sound-framework
/opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libsdl_sound-framework/Portfile:depends_lib     port:libsdl-framework \
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_ttf-framework/Portfile:name            libsdl_ttf-framework
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_ttf-framework/Portfile:depends_lib     port:libsdl-framework \

Shall we get rid of them?

comment:4 Changed 15 years ago by nox@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.