Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13137 closed defect (fixed)

Some SDL frameworks try to build universally

Reported by: pydave@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: libsdl framework undefined sdl_ttf sdl_image Cc: pydave@…, nox@…
Port:

Description

The libsdl provided by MacPorts doesn't seem to provide the following symbols: _FT_Done_Face _FT_Done_FreeType _FT_Get_Char_Index _FT_Get_Kerning _FT_Init_FreeType _FT_Load_Glyph _FT_MulFix _FT_Open_Face _FT_Outline_Transform _FT_Render_Glyph _FT_Set_Char_Size _FT_Set_Pixel_Sizes _SDL_CreateRGBSurface _SDL_FillRect _SDL_FreeSurface _SDL_GetError _SDL_RWFromFile _SDL_SetColorKey _SDL_SetError

This is noticable with libsdl_ttf-framework and libsdl_image-framework.

Note that libsdl-framework doesn't have problems when it installs, but the other libsdl frameworks fail.

Build output: ---> Fetching libsdl_ttf-framework ---> Verifying checksum(s) for libsdl_ttf-framework ---> Extracting libsdl_ttf-framework ---> Configuring libsdl_ttf-framework ---> Building libsdl_ttf-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_ttf-framework/work/SDL_ttf-2.0.9" && xcodebuild -project Xcode/SDL_ttf.xcodeproj -target "Framework" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ " returned error 1 Command output: _FT_Set_Char_Size _FT_Set_Pixel_Sizes _SDL_CreateRGBSurface _SDL_FillRect _SDL_FreeSurface _SDL_GetError _SDL_RWFromFile _SDL_SetColorKey _SDL_SetError /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_Done_Face /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_Done_FreeType /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_Get_Char_Index /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_Get_Kerning /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_Init_FreeType /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_Load_Glyph /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_MulFix /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_Open_Face /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_Outline_Transform /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_Render_Glyph /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_Set_Char_Size /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _FT_Set_Pixel_Sizes /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _SDL_CreateRGBSurface /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _SDL_FillRect /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _SDL_FreeSurface /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _SDL_GetError /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _SDL_RWFromFile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _SDL_SetColorKey /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf-framework/work/SDL_ttf-2.0.9/Xcode/build/SDL_ttf.build/Deployment/Framework.build/Objects-normal/i386/SDL_ttf.o reference to undefined _SDL_SetError /usr/bin/libtool: internal link edit command failed BUILD FAILED

Error: Status 1 encountered during processing.

MacPorts: 1.520

Change History (8)

comment:1 Changed 17 years ago by nox@…

Cc: pydave@… nox@… added
Milestone: Port Bugs
Owner: changed from macports-dev@… to nox@…

What is your OS? Tiger? Leopard?

comment:2 Changed 17 years ago by pydave@…

Tiger. At the time it would have been 10.4.9 or 10.4.10 I think.

-pydave

comment:3 Changed 17 years ago by nox@…

What is your platform? x86? ppc?

comment:4 Changed 17 years ago by pydave@…

I've got an iBook G4. One of the last PPC units sold.

comment:5 Changed 17 years ago by nox@…

Status: newassigned

Thus the real problem is that libsdl_ttf-framework should not try to build universally. I'll look into it.

comment:6 Changed 17 years ago by nox@…

Summary: libsdl-framework doesn't define some constants needed to build frameworksSome SDL frameworks try to build universally

I think I've fixed libsdl_ttf-framework in r32693. I've made a dumb mistake, universal variant was in fact disabling universal support.

Let's look at libsdl_image-framework now.

comment:7 Changed 17 years ago by nox@…

Resolution: fixed
Status: assignedclosed

Same problem in libsdl_image-framework, fixed in r32694. Have fun.

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.