Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931217 - www-client/elinks-0.16.1.1-r2 fails to build on x64-macos
Summary: www-client/elinks-0.16.1.1-r2 fails to build on x64-macos
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Felix Janda
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-04 22:05 UTC by Jonathan Lovelace
Modified: 2024-06-24 07:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,283.94 KB, application/octet-stream)
2024-05-04 22:05 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,5.66 KB, text/plain)
2024-05-04 22:06 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-05-04 22:05:52 UTC
Created attachment 892268 [details]
build.log

When I try to build www-client/elinks in my new macOS Prefix, it fails with this:

ld: warning: text-based stub file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libbz2.tbd and library file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libbz2.tbd are out of sync. Falling back to library file for linking.
Undefined symbols for architecture x86_64:
  "__nl_msg_cat_cntr", referenced from:
      _set_language in intl_libintl.c.o
  "_libintl_bind_textdomain_codeset", referenced from:
      _xbeltree_to_bookmarks_list in bookmarks_backend_xbel.c.o
      _get_bookmark_info in bookmarks_dialogs.c.o
      _bookmark_terminal_tabs_dialog in bookmarks_dialogs.c.o
      _push_add_server_button in cookies_dialogs.c.o
      _build_edit_dialog in cookies_dialogs.c.o
      _add_cookie_info_to_string in cookies_dialogs.c.o
      _get_cookie_info in cookies_dialogs.c.o
      ...
  "_libintl_bindtextdomain", referenced from:
      _init in main_main.c.o
  "_libintl_gettext", referenced from:
      _xbeltree_to_bookmarks_list in bookmarks_backend_xbel.c.o
      _read_bookmarks_xbel in bookmarks_backend_xbel.c.o
      _get_bookmark_info in bookmarks_dialogs.c.o
      _bookmark_terminal_tabs_dialog in bookmarks_dialogs.c.o
      _push_add_server_button in cookies_dialogs.c.o
      _build_edit_dialog in cookies_dialogs.c.o
      _add_cookie_info_to_string in cookies_dialogs.c.o
      ...
  "_libintl_ngettext", referenced from:
      __ZL17get_resource_infoP8terminalPv in dialogs_info.cpp.o
  "_libintl_setlocale", referenced from:
      _init_osdep in osdep_osdep.c.o
  "_libintl_textdomain", referenced from:
      _init in main_main.c.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status

This looks to me like it's trying to link in the host-system version of libbz2, instead of that provided by app-arch/bzip2?
Comment 1 Jonathan Lovelace 2024-05-04 22:06:25 UTC
Created attachment 892269 [details]
emerge-info.txt
Comment 2 Jonathan Lovelace 2024-05-04 22:11:50 UTC
I just tried again with USE=bzip2 disabled, and it still fails with this error:

Undefined symbols for architecture x86_64:
  "__nl_msg_cat_cntr", referenced from:
      _set_language in intl_libintl.c.o
  "_libintl_bind_textdomain_codeset", referenced from:
      _xbeltree_to_bookmarks_list in bookmarks_backend_xbel.c.o
      _get_bookmark_info in bookmarks_dialogs.c.o
      _bookmark_terminal_tabs_dialog in bookmarks_dialogs.c.o
      _push_add_server_button in cookies_dialogs.c.o
      _build_edit_dialog in cookies_dialogs.c.o
      _add_cookie_info_to_string in cookies_dialogs.c.o
      _get_cookie_info in cookies_dialogs.c.o
      ...
  "_libintl_bindtextdomain", referenced from:
      _init in main_main.c.o
  "_libintl_gettext", referenced from:
      _xbeltree_to_bookmarks_list in bookmarks_backend_xbel.c.o
      _read_bookmarks_xbel in bookmarks_backend_xbel.c.o
      _get_bookmark_info in bookmarks_dialogs.c.o
      _bookmark_terminal_tabs_dialog in bookmarks_dialogs.c.o
      _push_add_server_button in cookies_dialogs.c.o
      _build_edit_dialog in cookies_dialogs.c.o
      _add_cookie_info_to_string in cookies_dialogs.c.o
      ...
  "_libintl_ngettext", referenced from:
      __ZL17get_resource_infoP8terminalPv in dialogs_info.cpp.o
  "_libintl_setlocale", referenced from:
      _init_osdep in osdep_osdep.c.o
  "_libintl_textdomain", referenced from:
      _init in main_main.c.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status

So it looks like the error goes deeper than the bzip2 support.