New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13137 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

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

comment:1 Changed 6 years ago by nox@…

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

What is your OS? Tiger? Leopard?

comment:2 Changed 5 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 5 years ago by nox@…

What is your platform? x86? ppc?

comment:4 Changed 5 years ago by pydave@…

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

comment:5 Changed 5 years ago by nox@…

  • Status changed from new to assigned

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

comment:6 Changed 5 years ago by nox@…

  • Summary changed from libsdl-framework doesn't define some constants needed to build frameworks to Some 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 5 years ago by nox@…

  • Status changed from assigned to closed
  • Resolution set to fixed

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

comment:8 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.