[MacPorts] #23496: libsdl_ttf build fails with libsdl-devel

MacPorts noreply at macports.org
Sat Jan 30 15:22:51 PST 2010


#23496: libsdl_ttf build fails with libsdl-devel
------------------------------------------+---------------------------------
 Reporter:  macsforever2000@…             |       Owner:  nox@…           
     Type:  defect                        |      Status:  new             
 Priority:  Normal                        |   Milestone:                  
Component:  ports                         |     Version:  1.8.2           
 Keywords:                                |        Port:  libsdl_ttf      
------------------------------------------+---------------------------------
 Mac OS X 10.6.2. Xcode 3.2.1.

 {{{
 $ port installed libsdl libsdl-devel
 The following ports are currently installed:
   libsdl-devel @1.3.0-5543_0 (active)
 }}}

 {{{
 version:1
 :debug:main Attempting ln -sf
 /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_ttf/work
 /opt/mports/trunk/dports/devel/libsdl_ttf/work
 :debug:main Executing org.macports.main (libsdl_ttf)
 :msg:main --->  Fetching libsdl_ttf
 :debug:fetch fetch phase started at Sat Jan 30 15:35:29 MST 2010
 :debug:fetch Executing org.macports.fetch (libsdl_ttf)
 :info:fetch --->  SDL_ttf-2.0.9.tar.gz doesn't seem to exist in
 /opt/local/var/macports/distfiles/libsdl_ttf
 :debug:fetch Pinging www.libsdl.org...
 :debug:fetch Pinging distfiles.macports.org...
 :debug:fetch Pinging arn.se.distfiles.macports.org...
 :debug:fetch Pinging aarnet.au.distfiles.macports.org...
 :debug:fetch www.libsdl.org ping time is 75.070
 :debug:fetch distfiles.macports.org ping time is 10000
 :debug:fetch arn.se.distfiles.macports.org ping time is 10000
 :debug:fetch aarnet.au.distfiles.macports.org ping time is 10000
 :msg:fetch --->  Attempting to fetch SDL_ttf-2.0.9.tar.gz from
 http://www.libsdl.org/projects/SDL_ttf/release/
 :msg:fetch --->  Verifying checksum(s) for libsdl_ttf
 :debug:checksum checksum phase started at Sat Jan 30 15:35:51 MST 2010
 :debug:checksum Executing org.macports.checksum (libsdl_ttf)
 :info:checksum --->  Checksumming SDL_ttf-2.0.9.tar.gz
 :debug:checksum Correct (md5) checksum for SDL_ttf-2.0.9.tar.gz
 :debug:checksum Correct (sha1) checksum for SDL_ttf-2.0.9.tar.gz
 :debug:checksum Correct (rmd160) checksum for SDL_ttf-2.0.9.tar.gz
 :msg:checksum --->  Extracting libsdl_ttf
 :debug:extract extract phase started at Sat Jan 30 15:35:51 MST 2010
 :debug:extract Executing org.macports.extract (libsdl_ttf)
 :info:extract --->  Extracting SDL_ttf-2.0.9.tar.gz
 :debug:extract setting option extract.args to
 /opt/local/var/macports/distfiles/libsdl_ttf/SDL_ttf-2.0.9.tar.gz
 :debug:extract Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_ttf/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:extract Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_ttf/work"
 && /usr/bin/gzip -dc
 /opt/local/var/macports/distfiles/libsdl_ttf/SDL_ttf-2.0.9.tar.gz |
 /usr/bin/gnutar --no-same-owner -xf -'
 :debug:patch patch phase started at Sat Jan 30 15:35:51 MST 2010
 :debug:patch Executing org.macports.patch (libsdl_ttf)
 :msg:patch --->  Configuring libsdl_ttf
 :debug:patch Using compiler 'Mac OS X gcc 4.2'
 :debug:configure configure phase started at Sat Jan 30 15:35:51 MST 2010
 :debug:configure Executing org.macports.configure (libsdl_ttf)
 :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch
 x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64'
 LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6'
 CXX='/usr/bin/g++-4.2'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_ttf/work/.CC_PRINT_OPTIONS'
 F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
 OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c'
 OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC_PRINT_OPTIONS='YES'
 CC='/usr/bin/gcc-4.2'
 :debug:configure Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_ttf/work/SDL_ttf-2.0.9"
 && ./configure --prefix=/opt/local --disable-sdltest'
 :info:configure checking build system type... i686-apple-darwin10.2.0
 :info:configure checking host system type... i686-apple-darwin10.2.0
 :info:configure checking for a BSD-compatible install... /usr/bin/install
 -c
 :info:configure checking whether build environment is sane... yes
 :info:configure checking for gawk... gawk
 :info:configure checking whether make sets $(MAKE)... yes
 :info:configure checking for style of include used by make... GNU
 :info:configure checking for gcc... /usr/bin/gcc-4.2
 :info:configure checking for C compiler default output file name... a.out
 :info:configure checking whether the C compiler works... yes
 :info:configure checking whether we are cross compiling... no
 :info:configure checking for suffix of executables...
 :info:configure checking for suffix of object files... o
 :info:configure checking whether we are using the GNU C compiler... yes
 :info:configure checking whether /usr/bin/gcc-4.2 accepts -g... yes
 :info:configure checking for /usr/bin/gcc-4.2 option to accept ANSI C...
 none needed
 :info:configure checking dependency style of /usr/bin/gcc-4.2... gcc3
 :info:configure checking for a sed that does not truncate output...
 /opt/local/bin/gsed
 :info:configure checking for egrep... grep -E
 :info:configure checking for ld used by /usr/bin/gcc-4.2...
 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
 :info:configure checking if the linker (/usr/libexec/gcc/i686-apple-
 darwin10/4.2.1/ld) is GNU ld... no
 :info:configure checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
 option to reload object files... -r
 :info:configure checking for BSD-compatible nm... /usr/bin/nm
 :info:configure checking whether ln -s works... yes
 :info:configure checking how to recognise dependent libraries... pass_all
 :info:configure checking how to run the C preprocessor... /usr/bin/gcc-4.2
 -E
 :info:configure checking for ANSI C header files... yes
 :info:configure checking for sys/types.h... yes
 :info:configure checking for sys/stat.h... yes
 :info:configure checking for stdlib.h... yes
 :info:configure checking for string.h... yes
 :info:configure checking for memory.h... yes
 :info:configure checking for strings.h... yes
 :info:configure checking for inttypes.h... yes
 :info:configure checking for stdint.h... yes
 :info:configure checking for unistd.h... yes
 :info:configure checking dlfcn.h usability... yes
 :info:configure checking dlfcn.h presence... yes
 :info:configure checking for dlfcn.h... yes
 :info:configure checking whether we are using the GNU C++ compiler... yes
 :info:configure checking whether /usr/bin/g++-4.2 accepts -g... yes
 :info:configure checking dependency style of /usr/bin/g++-4.2... gcc3
 :info:configure checking how to run the C++ preprocessor...
 /usr/bin/g++-4.2 -E
 :info:configure checking for g77... no
 :info:configure checking for f77... no
 :info:configure checking for xlf... no
 :info:configure checking for frt... no
 :info:configure checking for pgf77... no
 :info:configure checking for fort77... no
 :info:configure checking for fl32... no
 :info:configure checking for af77... no
 :info:configure checking for f90... no
 :info:configure checking for xlf90... no
 :info:configure checking for pgf90... no
 :info:configure checking for epcf90... no
 :info:configure checking for f95... no
 :info:configure checking for fort... no
 :info:configure checking for xlf95... no
 :info:configure checking for ifc... no
 :info:configure checking for efc... no
 :info:configure checking for pgf95... no
 :info:configure checking for lf95... no
 :info:configure checking for gfortran... no
 :info:configure checking whether we are using the GNU Fortran 77
 compiler... no
 :info:configure checking whether  accepts -g... no
 :info:configure checking the maximum length of command line arguments...
 196608
 :info:configure checking command to parse /usr/bin/nm output from
 /usr/bin/gcc-4.2 object... ok
 :info:configure checking for objdir... .libs
 :info:configure checking for ar... ar
 :info:configure checking for ranlib... ranlib
 :info:configure checking for strip... strip
 :info:configure checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-
 exceptions... no
 :info:configure checking for /usr/bin/gcc-4.2 option to produce PIC...
 -fno-common
 :info:configure checking if /usr/bin/gcc-4.2 PIC flag -fno-common works...
 yes
 :info:configure checking if /usr/bin/gcc-4.2 static flag -static works...
 no
 :info:configure checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
 :info:configure checking whether the /usr/bin/gcc-4.2 linker
 (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
 libraries... yes
 :info:configure checking dynamic linker characteristics... darwin10.2.0
 dyld
 :info:configure checking how to hardcode library paths into programs...
 immediate
 :info:configure checking whether stripping libraries is possible... yes
 :info:configure checking if libtool supports shared libraries... yes
 :info:configure checking whether to build shared libraries... yes
 :info:configure checking whether to build static libraries... yes
 :info:configure configure: creating libtool
 :info:configure appending configuration tag "CXX" to libtool
 :info:configure checking for ld used by /usr/bin/g++-4.2...
 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
 :info:configure checking if the linker (/usr/libexec/gcc/i686-apple-
 darwin10/4.2.1/ld) is GNU ld... no
 :info:configure checking whether the /usr/bin/g++-4.2 linker
 (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
 libraries... yes
 :info:configure checking for /usr/bin/g++-4.2 option to produce PIC...
 -fno-common
 :info:configure checking if /usr/bin/g++-4.2 PIC flag -fno-common works...
 yes
 :info:configure checking if /usr/bin/g++-4.2 static flag -static works...
 no
 :info:configure checking if /usr/bin/g++-4.2 supports -c -o file.o... yes
 :info:configure checking whether the /usr/bin/g++-4.2 linker
 (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
 libraries... yes
 :info:configure checking dynamic linker characteristics... darwin10.2.0
 dyld
 :info:configure checking how to hardcode library paths into programs...
 immediate
 :info:configure appending configuration tag "F77" to libtool
 :info:configure checking for gcc... (cached) /usr/bin/gcc-4.2
 :info:configure checking whether we are using the GNU C compiler...
 (cached) yes
 :info:configure checking whether /usr/bin/gcc-4.2 accepts -g... (cached)
 yes
 :info:configure checking for /usr/bin/gcc-4.2 option to accept ANSI C...
 (cached) none needed
 :info:configure checking dependency style of /usr/bin/gcc-4.2... (cached)
 gcc3
 :info:configure checking for a BSD-compatible install... /usr/bin/install
 -c
 :info:configure checking whether make sets $(MAKE)... (cached) yes
 :info:configure checking for windres... no
 :info:configure checking for darwin10.2.0-windres... no
 :info:configure checking for working alloca.h... yes
 :info:configure checking for alloca... yes
 :info:configure checking for freetype-config... /opt/local/bin/freetype-
 config
 :info:configure checking for sdl-config... /opt/local/bin/sdl-config
 :info:configure checking for SDL - version >= 1.2.4... yes
 :info:configure checking for OpenGL support... yes
 :info:configure configure: creating ./config.status
 :info:configure config.status: creating Makefile
 :info:configure config.status: creating SDL_ttf.spec
 :info:configure config.status: executing depfiles commands
 :msg:configure --->  Building libsdl_ttf
 :debug:build build phase started at Sat Jan 30 15:35:58 MST 2010
 :debug:build Executing org.macports.build (libsdl_ttf)
 :debug:build Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_ttf/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_ttf/work/SDL_ttf-2.0.9"
 && /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_ttf\"
 -DVERSION=\"2.0.9\" -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 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1  -I. -I.
 -I/opt/local/include  -O2 -arch x86_64 -I/opt/local/include/freetype2
 -I/opt/local/include -I/opt/local/include/SDL -D_THREAD_SAFE -DHAVE_OPENGL
 -MT SDL_ttf.lo -MD -MP -MF ".deps/SDL_ttf.Tpo" -c -o SDL_ttf.lo SDL_ttf.c;
 \
 :info:build     then mv -f ".deps/SDL_ttf.Tpo" ".deps/SDL_ttf.Plo"; else
 rm -f ".deps/SDL_ttf.Tpo"; exit 1; fi
 :info:build if /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
 -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.9\" -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 -DHAVE_ALLOCA_H=1
 -DHAVE_ALLOCA=1  -I. -I.   -I/opt/local/include  -O2 -arch x86_64
 -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/SDL -D_THREAD_SAFE -DHAVE_OPENGL -MT showfont.o -MD
 -MP -MF ".deps/showfont.Tpo" -c -o showfont.o showfont.c; \
 :info:build     then mv -f ".deps/showfont.Tpo" ".deps/showfont.Po"; else
 rm -f ".deps/showfont.Tpo"; exit 1; fi
 :info:build if /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
 -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.9\" -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 -DHAVE_ALLOCA_H=1
 -DHAVE_ALLOCA=1  -I. -I.   -I/opt/local/include  -O2 -arch x86_64
 -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/SDL -D_THREAD_SAFE -DHAVE_OPENGL -MT glfont.o -MD -MP
 -MF ".deps/glfont.Tpo" -c -o glfont.o glfont.c; \
 :info:build     then mv -f ".deps/glfont.Tpo" ".deps/glfont.Po"; else rm
 -f ".deps/glfont.Tpo"; exit 1; fi
 :info:build glfont.c: In function 'SDL_GL_LoadTexture':
 :info:build glfont.c:140: error: 'SDL_PixelFormat' has no member named
 'alpha'
 :info:build make: *** [glfont.o] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build mkdir .libs
 :info:build  /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
 -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.9\" -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 -DHAVE_ALLOCA_H=1
 -DHAVE_ALLOCA=1 -I. -I. -I/opt/local/include -O2 -arch x86_64
 -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/SDL -D_THREAD_SAFE -DHAVE_OPENGL -MT SDL_ttf.lo -MD
 -MP -MF .deps/SDL_ttf.Tpo -c SDL_ttf.c  -fno-common -DPIC -o
 .libs/SDL_ttf.o
 :info:build  /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
 -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.9\" -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 -DHAVE_ALLOCA_H=1
 -DHAVE_ALLOCA=1 -I. -I. -I/opt/local/include -O2 -arch x86_64
 -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/SDL -D_THREAD_SAFE -DHAVE_OPENGL -MT SDL_ttf.lo -MD
 -MP -MF .deps/SDL_ttf.Tpo -c SDL_ttf.c -o SDL_ttf.o >/dev/null 2>&1
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libsdl_ttf/work/SDL_ttf-2.0.9"
 && /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_ttf):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :msg:build Log for libsdl_ttf is at:
 /opt/local/var/macports/logs/libsdl_ttf/main.log
 }}}

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


More information about the macports-tickets mailing list