Opened 13 years ago

Closed 13 years ago

#28164 closed defect (wontfix)

libsdl_ttf fails to build against libsdl-devel

Reported by: mail@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: libsdl_ttf

Description

user@host % sudo port -d install libsdl_ttf
Password:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_ttf
DEBUG: OS darwin/10.6.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Starting logging for libsdl_ttf
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: pkgconfig 0.25_2 exists in the ports tree
DEBUG: pkgconfig 0.25_2  is the latest installed
DEBUG: pkgconfig 0.25_2  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: OS darwin/10.6.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! pkgconfig 0.25_2 >= pkgconfig 0.25_2
DEBUG: Found Dependency: path: /opt/local/lib/pkgconfig filename: sdl.pc regex: ^sdl.pc$
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: freetype 2.4.4_0 exists in the ports tree
DEBUG: freetype 2.4.4_0  is the latest installed
DEBUG: freetype 2.4.4_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/freetype
DEBUG: OS darwin/10.6.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: No need to upgrade! freetype 2.4.4_0 >= freetype 2.4.4_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.5_0 exists in the ports tree
DEBUG: zlib 1.2.5_0  is the latest installed
DEBUG: zlib 1.2.5_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: OS darwin/10.6.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0
--->  Computing dependencies for libsdl_ttf
DEBUG: Searching for dependency: pkgconfig
DEBUG: Found Dependency: receipt exists for pkgconfig
DEBUG: Searching for dependency: libsdl
DEBUG: Didn't find receipt, going to depspec regex for: libsdl
DEBUG: Found Dependency: path: /opt/local/lib/pkgconfig filename: sdl.pc regex: ^sdl.pc$
DEBUG: Found Dependency: path: /opt/local/lib/pkgconfig filename: sdl.pc regex: ^sdl.pc$
DEBUG: Searching for dependency: freetype
DEBUG: Found Dependency: receipt exists for freetype
DEBUG: Executing org.macports.main (libsdl_ttf)
DEBUG: Skipping completed org.macports.fetch (libsdl_ttf)
DEBUG: Skipping completed org.macports.checksum (libsdl_ttf)
DEBUG: Skipping completed org.macports.extract (libsdl_ttf)
DEBUG: Skipping completed org.macports.patch (libsdl_ttf)
DEBUG: Skipping completed org.macports.configure (libsdl_ttf)
--->  Building libsdl_ttf
DEBUG: build phase started at Wed Jan 26 10:48:21 CET 2011
DEBUG: Executing org.macports.build (libsdl_ttf)
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf/work/SDL_ttf-2.0.10" && /usr/bin/make -j2 all'
/bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.10\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I.   -I/opt/local/include  -pipe -O2 -arch x86_64 -I/opt/local/include/freetype2 -I/opt/local/include -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include/SDL   -DHAVE_OPENGL -MT SDL_ttf.lo -MD -MP -MF .deps/SDL_ttf.Tpo -c -o SDL_ttf.lo SDL_ttf.c
/usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.10\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I.   -I/opt/local/include  -pipe -O2 -arch x86_64 -I/opt/local/include/freetype2 -I/opt/local/include -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include/SDL   -DHAVE_OPENGL -MT showfont.o -MD -MP -MF .deps/showfont.Tpo -c -o showfont.o showfont.c
In file included from showfont.c:35:
/opt/local/include/SDL/SDL.h:33:23: error: SDL_cdrom.h: No such file or directory
In file included from /opt/local/include/SDL/SDL.h:37,
                 from showfont.c:35:
/opt/local/include/SDL/SDL_events.h:33:24: error: SDL_active.h: No such file or directory
make: *** [showfont.o] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile:  /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.10\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I/opt/local/include -pipe -O2 -arch x86_64 -I/opt/local/include/freetype2 -I/opt/local/include -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include/SDL -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
In file included from SDL_ttf.c:49:
/opt/local/include/SDL/SDL.h:33:23: error: SDL_cdrom.h: No such file or directory
In file included from /opt/local/include/SDL/SDL.h:37,
                 from SDL_ttf.c:49:
/opt/local/include/SDL/SDL_events.h:33:24: error: SDL_active.h: No such file or directory
make: *** [SDL_ttf.lo] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf/work/SDL_ttf-2.0.10" && /usr/bin/make -j2 all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for libsdl_ttf): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for libsdl_ttf is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
user@host% locate SDL_cdrom.h
/Library/Frameworks/SDL.framework/Versions/A/Headers/SDL_cdrom.h
/opt/local/include/SDL/SDL_cdrom.h
/opt/local/var/macports/software/libsdl/1.2.14_8/opt/local/include/SDL/SDL_cdrom.h

user@host% locate SDL_active.h
/Library/Frameworks/SDL.framework/Versions/A/Headers/SDL_active.h
/opt/local/include/SDL/SDL_active.h
/opt/local/var/macports/software/libsdl/1.2.14_8/opt/local/include/SDL/SDL_active.h

Looks like there are some path-problems. If you need more information, let me know.

Change History (2)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to jmr@…

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Keywords: sdl removed
Resolution: wontfix
Status: newclosed
Summary: libsdl_ttf failed to build (SDL_cdrom.h, SDL_active.h missing)libsdl_ttf fails to build against libsdl-devel

Specifically requiring libsdl as of r75485.

Note: See TracTickets for help on using tickets.