[MacPorts] #23482: libsdl_net build error on Snow Leopard

MacPorts noreply at macports.org
Fri Jan 29 19:47:17 PST 2010


#23482: libsdl_net build error on Snow Leopard
------------------------------------------+---------------------------------
 Reporter:  macsforever2000@…             |       Owner:  nox@…           
     Type:  defect                        |      Status:  new             
 Priority:  Normal                        |   Milestone:                  
Component:  ports                         |     Version:  1.8.2           
 Keywords:                                |        Port:  libsdl_net      
------------------------------------------+---------------------------------
 I see the following error trying to build libsdl_net on Mac OS X 10.6.2
 with Xcode 3.2.1.

 {{{
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_net/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_net/work/SDL_net-1.2.7"
 && /usr/bin/make -j2 all'
 :info:build if /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2
 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
 -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_net\"
 -DVERSION=\"1.2.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_DLFCN_H=1  -I. -I.   -I/opt/local/include  -O2 -arch x86_64
 -I/opt/local/include/SDL -D_THREAD_SAFE -MT SDLnet.lo -MD -MP -MF
 ".deps/SDLnet.Tpo" -c -o SDLnet.lo SDLnet.c; \
 :info:build     then mv -f ".deps/SDLnet.Tpo" ".deps/SDLnet.Plo"; else rm
 -f ".deps/SDLnet.Tpo"; exit 1; fi
 :info:build if /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2
 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
 -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_net\"
 -DVERSION=\"1.2.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_DLFCN_H=1  -I. -I.   -I/opt/local/include  -O2 -arch x86_64
 -I/opt/local/include/SDL -D_THREAD_SAFE -MT SDLnetTCP.lo -MD -MP -MF
 ".deps/SDLnetTCP.Tpo" -c -o SDLnetTCP.lo SDLnetTCP.c; \
 :info:build     then mv -f ".deps/SDLnetTCP.Tpo" ".deps/SDLnetTCP.Plo";
 else rm -f ".deps/SDLnetTCP.Tpo"; exit 1; fi
 :info:build mkdir .libs
 :info:build  /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
 -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.7\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I.
 -I/opt/local/include -O2 -arch x86_64 -I/opt/local/include/SDL
 -D_THREAD_SAFE -MT SDLnetTCP.lo -MD -MP -MF .deps/SDLnetTCP.Tpo -c
 SDLnetTCP.c  -fno-common -DPIC -o .libs/SDLnetTCP.o
 :info:build  /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
 -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.7\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I.
 -I/opt/local/include -O2 -arch x86_64 -I/opt/local/include/SDL
 -D_THREAD_SAFE -MT SDLnet.lo -MD -MP -MF .deps/SDLnet.Tpo -c SDLnet.c
 -fno-common -DPIC -o .libs/SDLnet.o
 :info:build SDLnet.c:27:27: error: SDL_byteorder.h: No such file or
 directory
 :info:build make: *** [SDLnet.lo] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build  /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
 -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE=\"SDL_net\" -DVERSION=\"1.2.7\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I.
 -I/opt/local/include -O2 -arch x86_64 -I/opt/local/include/SDL
 -D_THREAD_SAFE -MT SDLnetTCP.lo -MD -MP -MF .deps/SDLnetTCP.Tpo -c
 SDLnetTCP.c -o SDLnetTCP.o >/dev/null 2>&1
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_net/work/SDL_net-1.2.7"
 && /usr/bin/make -j2 all " returned error 2
 :error:build Target org.macports.build returned: shell command failed
 :debug:build Backtrace: shell command failed
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for libsdl_net):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 }}}

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


More information about the macports-tickets mailing list