Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888952 - www-client/elinks-0.16.0 - libintl.c:(.text+<snip>): undefined reference to _nl_msg_cat_cntr
Summary: www-client/elinks-0.16.0 - libintl.c:(.text+<snip>): undefined reference to _...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-12-30 09:18 UTC by Toralf Förster
Modified: 2023-05-10 01:32 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.18 KB, text/plain)
2022-12-30 09:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,49.12 KB, text/plain)
2022-12-30 09:19 UTC, Toralf Förster
Details
environment (environment,115.24 KB, text/plain)
2022-12-30 09:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,5.40 KB, application/x-bzip)
2022-12-30 09:19 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,14.84 KB, application/x-bzip)
2022-12-30 09:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,38.58 KB, application/x-bzip)
2022-12-30 09:19 UTC, Toralf Förster
Details
www-client:elinks-0.16.0:20221229-232956.log (www-client:elinks-0.16.0:20221229-232956.log,216.73 KB, text/plain)
2022-12-30 09:19 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-30 09:18:59 UTC
too long lines were shrinked:

[228/239] x86_64-gentoo-linux-musl-g++ -Isrc/elinks.p -Isrc -I../elinks-0.16.0/src -I. -I../elinks-0.16.0 -I/usr/include/ncursesw -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu++17 -pipe -march=native -fno-diagnostics-color -O2 -DNCURSES_WIDECHAR -DHAVE_CONFIG_H -fno-
[229/239] x86_64-gentoo-linux-musl-g++  -o src/elinks src/elinks.p/bookmarks_backend_common.c.o src/elinks.p/bookmarks_backend_default.c.o src/elinks.p/bookmarks_bookmarks.c.o src/elinks.p/bookmarks_dialogs.c.o src/elinks.p/cookies_cookies.c.o src/elinks.p/cookies_dialogs.c.o src/elinks.p/cookies_pa
FAILED: src/elinks 
x86_64-gentoo-linux-musl-g++  -o src/elinks src/elinks.p/bookmarks_backend_common.c.o src/elinks.p/bookmarks_backend_default.c.o src/elinks.p/bookmarks_bookmarks.c.o src/elinks.p/bookmarks_dialogs.c.o src/elinks.p/cookies_cookies.c.o src/elinks.p/cookies_dialogs.c.o src/elinks.p/cookies_path.c.o src
/usr/lib/gcc/x86_64-gentoo-linux-musl/12.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: src/elinks.p/intl_libintl.c.o: warning: relocation against `_nl_msg_cat_cntr' in read-only section `.text'
/usr/lib/gcc/x86_64-gentoo-linux-musl/12.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: src/elinks.p/intl_libintl.c.o: in function `set_language':
libintl.c:(.text+0x3c2): undefined reference to `_nl_msg_cat_cntr'
/usr/lib/gcc/x86_64-gentoo-linux-musl/12.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20221229-143533

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.2.0 *
clang/llvm (if any):
Python 3.10.9
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.66.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php8.2 *

  HEAD of ::gentoo
commit 30ff0aa69f4a6486f6d4d5667af5405600cf3c37
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 29 23:17:04 2022 +0000

    2022-12-29 23:17:04 UTC

emerge -qpvO www-client/elinks
[ebuild  N    ] www-client/elinks-0.16.0  USE="bzip2 mouse nls ssl unicode zlib -X -bittorrent -brotli -debug -finger -ftp -gnutls -gopher -gpm (-guile) -idn (-javascript) -lua -lzma -nntp -perl -samba -test -tre -xml -zstd" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit"
Comment 1 Toralf Förster gentoo-dev 2022-12-30 09:19:00 UTC
Created attachment 845748 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-30 09:19:01 UTC
Created attachment 845750 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-30 09:19:03 UTC
Created attachment 845752 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-30 09:19:03 UTC
Created attachment 845754 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-30 09:19:04 UTC
Created attachment 845756 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-30 09:19:05 UTC
Created attachment 845758 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-30 09:19:07 UTC
Created attachment 845760 [details]
www-client:elinks-0.16.0:20221229-232956.log
Comment 8 Larry the Git Cow gentoo-dev 2023-05-10 01:31:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46f7da87b8160cd6d809c568270b2857f67a8d35

commit 46f7da87b8160cd6d809c568270b2857f67a8d35
Author:     Felix Janda <felix.janda@posteo.de>
AuthorDate: 2023-05-09 22:40:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-10 01:26:58 +0000

    www-client/elinks: fix compilation with USE="-nls"
    
    USE="-nls" indicates no nls/gettext, so we should pass -Dgettext=false
    in that case.
    
    Bug: https://bugs.gentoo.org/888952
    Signed-off-by: Felix Janda <felix.janda@posteo.de>
    Closes: https://github.com/gentoo/gentoo/pull/30963
    Signed-off-by: Sam James <sam@gentoo.org>

 www-client/elinks/elinks-0.16.1.1-r1.ebuild | 2 +-
 www-client/elinks/elinks-9999.ebuild        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)