[MacPorts] #65820: libsdl_ttf @2.0.11: rev-upgrade fails due to undefined symbols for architecture x86_64
MacPorts
noreply at macports.org
Sun Sep 11 00:21:46 UTC 2022
#65820: libsdl_ttf @2.0.11: rev-upgrade fails due to undefined symbols for
architecture x86_64
-------------------------+------------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: | Port: libsdl_ttf
-------------------------+------------------------
rev-upgrade reports libsdl_ttf as broken:
{{{
Incompatible library version: /opt/local/lib/libSDL_ttf-2.0.0.dylib
requires version 12.0.0 or later, but /opt/local/lib/libSDL-1.2.0.dylib
provides version 1.0.0
DEBUG: Marking /opt/local/lib/libSDL_ttf-2.0.0.dylib as broken
}}}
...
{{{
---> Found 4 broken files, matching files to ports
---> Found 4 broken ports, determining rebuild order
DEBUG: Broken: SilentKnight
DEBUG: Broken: libsdl_ttf
DEBUG: Broken: iulib
DEBUG: Broken: boost171-numpy
DEBUG: Processing port SilentKnight @0:1.21_0
DEBUG: Processing port libsdl_ttf @0:2.0.11_0
DEBUG: Processing port libsdl_ttf-framework @0:20110120_0
DEBUG: Processing port iulib @0:0.4-20141216_2
DEBUG: Processing port boost171-numpy
@0:1.71.0_4+cmake_scripts+no_single+no_static+python39
---> Rebuilding in order
SilentKnight @1.21_0
libsdl_ttf @2.0.11_0
iulib @0.4-20141216_2
boost171-numpy @1.71.0_4+cmake_scripts+no_single+no_static+python39
}}}
...so, it tries to rebuild it, but that fails with this error:
{{{
libtool: link: /usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch
x86_64 -I/opt/local/include/freetype2 -I/opt/local/include/SDL
-D_THREAD_SAFE -DHAVE_OPENGL -Wl,-headerpad_max_install_names
-Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
-arch x86_64 -o .libs/glfont glfont.o -Wl,-framework -Wl,OpenGL
-Wl,-framework -Wl,Cocoa -L/opt/local/lib ./.libs/libSDL_ttf.dylib
-lfreetype -lSDLmain -lSDL
Undefined symbols for architecture x86_64:
"_libiconv", referenced from:
_SDL_main in showfont.o
"_libiconv_close", referenced from:
_SDL_main in showfont.o
"_libiconv_open", referenced from:
_SDL_main in showfont.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [showfont] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl_ttf/libsdl_ttf/work/SDL_ttf-2.0.11'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl_ttf/libsdl_ttf/work/SDL_ttf-2.0.11"
&& /usr/bin/make -j16 -w all
Exit code: 2
}}}
This looks like that common libtool error. Maybe it needs an autoreconf?
Anyways I'm on Big Sur with Xcode 13.2.1
--
Ticket URL: <https://trac.macports.org/ticket/65820>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list