[MacPorts] #20235: libsdl does not build 64-bit

MacPorts noreply at macports.org
Tue Sep 22 12:16:19 PDT 2009


#20235: libsdl does not build 64-bit
-------------------------------+--------------------------------------------
  Reporter:  hussein@…         |       Owner:  nox@…           
      Type:  defect            |      Status:  closed          
  Priority:  Normal            |   Milestone:                  
 Component:  ports             |     Version:                  
Resolution:  fixed             |    Keywords:  LP64            
      Port:  libsdl            |  
-------------------------------+--------------------------------------------

Comment(by sava.chankov@…):

 I cannot get 1.2.14 to compile 64 bit.
 {{{
 > sudo port install libsdl +no_x11 +universal
 --->  Computing dependencies for libsdl
 --->  Fetching libsdl
 --->  Attempting to fetch SDL-1.2.14.tar.gz from
 http://www.libsdl.org/tmp/
 --->  Verifying checksum(s) for libsdl
 --->  Extracting libsdl
 --->  Applying patches to libsdl
 --->  Configuring libsdl
 --->  Configuring libsdl for architecture i386
 --->  Configuring libsdl for architecture x86_64
 --->  Building libsdl
 --->  Building libsdl for architecture i386
 --->  Building libsdl for architecture x86_64
 Error: Target org.macports.build returned: shell command " cd
 "/Users/sava/Downloads/mports64/var/macports/build/_Users_sava_Downloads_mports64_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.14-x86_64"
 && /usr/bin/make -j2 all " returned error 2
 Command output:  /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/video/dummy/SDL_nullvideo.c  -fno-common -DPIC -o
 build/.libs/SDL_nullvideo.o
 /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/audio/disk/SDL_diskaudio.c  -o build/SDL_diskaudio.lo
  /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/video/dummy/SDL_nullvideo.c -o build/SDL_nullvideo.o >/dev/null 2>&1
  /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/audio/disk/SDL_diskaudio.c  -fno-common -DPIC -o
 build/.libs/SDL_diskaudio.o
 /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/audio/dummy/SDL_dummyaudio.c  -o build/SDL_dummyaudio.lo
  /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/audio/disk/SDL_diskaudio.c -o build/SDL_diskaudio.o >/dev/null 2>&1
 /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/loadso/dlopen/SDL_sysloadso.c  -o build/SDL_sysloadso.lo
  /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/audio/dummy/SDL_dummyaudio.c  -fno-common -DPIC -o
 build/.libs/SDL_dummyaudio.o
  /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/audio/dummy/SDL_dummyaudio.c -o build/SDL_dummyaudio.o >/dev/null
 2>&1
 /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/video/quartz/SDL_QuartzEvents.m  -o build/SDL_QuartzEvents.lo
  /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/loadso/dlopen/SDL_sysloadso.c  -fno-common -DPIC -o
 build/.libs/SDL_sysloadso.o
  /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/loadso/dlopen/SDL_sysloadso.c -o build/SDL_sysloadso.o >/dev/null
 2>&1
 /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/video/quartz/SDL_QuartzGL.m  -o build/SDL_QuartzGL.lo
  /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/video/quartz/SDL_QuartzEvents.m  -fno-common -DPIC -o
 build/.libs/SDL_QuartzEvents.o
  /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/video/quartz/SDL_QuartzGL.m  -fno-common -DPIC -o
 build/.libs/SDL_QuartzGL.o
 ./src/video/quartz/SDL_QuartzEvents.m: In function 'QZ_InitOSKeymap':
 ./src/video/quartz/SDL_QuartzEvents.m:203: warning:
 'GetScriptManagerVariable' is deprecated (declared at
 /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h:993)
 ./src/video/quartz/SDL_QuartzEvents.m: In function 'QZ_PumpEvents':
 ./src/video/quartz/SDL_QuartzEvents.m:736: error: 'UsrActivity' undeclared
 (first use in this function)
 ./src/video/quartz/SDL_QuartzEvents.m:736: error: (Each undeclared
 identifier is reported only once
 ./src/video/quartz/SDL_QuartzEvents.m:736: error: for each function it
 appears in.)
 make: *** [build/SDL_QuartzEvents.lo] Error 1
 make: *** Waiting for unfinished jobs....
 ./src/video/quartz/SDL_QuartzGL.m: In function 'QZ_SetupOpenGL':
 ./src/video/quartz/SDL_QuartzGL.m:158: warning: passing argument 1 of
 'setValues:forParameter:' from incompatible pointer type
 ./src/video/quartz/SDL_QuartzGL.m:180: warning: passing argument 3 of
 'CGLSetParameter' from incompatible pointer type
 ./src/video/quartz/SDL_QuartzGL.m:181: warning: passing argument 3 of
 'CGLSetParameter' from incompatible pointer type
 ./src/video/quartz/SDL_QuartzGL.m: In function 'QZ_GL_GetAttribute':
 ./src/video/quartz/SDL_QuartzGL.m:275: warning: passing argument 1 of
 'getValues:forParameter:' from incompatible pointer type
  /usr/bin/gcc-4.0 -O2 -arch x86_64
 -I/Users/sava/Downloads/mports64/include -I./include -D_GNU_SOURCE=1
 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
 -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c
 ./src/video/quartz/SDL_QuartzGL.m -o build/SDL_QuartzGL.o >/dev/null 2>&1
 }}}

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


More information about the macports-tickets mailing list