Undefined symbols: "_gettext", referenced from: _ExpandOptions in misc.o _ExpandOptions in misc.o _ExpandOptions in misc.o _ExpandOptions in misc.o "_dgettext", referenced from: _translateMenuTitle in rootmenu.o ld: symbol(s) not found collect2: ld returned 1 exit status
This stuff is happening alot lately. 10:02 < desp> >>> Failed to emerge app-misc/pax-utils-0.1.19 10:04 < desp> (OS X 10.5.5 x86) 10:07 <@darkside_> =/ 10:07 < desp> Undefined symbols: 10:07 < desp> "_strndup", referenced from: 10:07 < desp> _scanelf_file_sym in scanelf.o 10:07 < desp> _scanelf_file_sym in scanelf.o calculus also reports issues with the 'tree' app. What is going on?
darwin linker is stricter, and the "symbols" reside in a different library. gettext is in -lgettext strndup is a GNUism, so we should kill it.
Created attachment 176076 [details, diff] gettext patch with this patch, windowmaker works perfectly fine on x86-macos and can be keyworded
[22:05] @ grobian | it passes --disable-locale if USE=-nls [22:08] + pipping | yeah, that's what i said [22:09] + pipping | misc.c: title ? gettext(title):_("Program Arguments"), [22:09] + pipping | misc.c: prompt ? gettext(prompt):_("Enter command arguments:"), [22:09] + pipping | misc.c: title ? gettext(title):_("Program Arguments"), [22:09] + pipping | misc.c: prompt ? gettext(prompt):_("Enter command arguments:"), [22:09] + pipping | hm [22:09] + pipping | i think those are unguarded [22:10] + pipping | wmaker_SOURCES = \ [22:10] + pipping | [ .. ] [22:10] + pipping | misc.c \ [22:10] + pipping | [ .. ] [22:10] + pipping | it's compiled unconditionally [22:10] + pipping | and has gettext() in it. there's our problem i'd say.
I fixed this for ppc-macos, can you try on x86-macos?
grobian made sure it works on x86-macos