Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888954 - app-arch/rpm-4.18.0 - /.../ld: .../librpm.so: undefined reference to _nl_msg_cat_cntr
Summary: app-arch/rpm-4.18.0 - /.../ld: .../librpm.so: undefined reference to _nl_msg_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Takuya Wakazono
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-12-30 09:19 UTC by Toralf Förster
Modified: 2024-02-02 04:00 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.40 KB, text/plain)
2022-12-30 09:19 UTC, Toralf Förster
Details
app-arch:rpm-4.18.0:20221230-035732.log (app-arch:rpm-4.18.0:20221230-035732.log,125.82 KB, text/plain)
2022-12-30 09:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,80.12 KB, text/plain)
2022-12-30 09:19 UTC, Toralf Förster
Details
environment (environment,141.36 KB, text/plain)
2022-12-30 09:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,5.54 KB, application/x-bzip)
2022-12-30 09:19 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,16.45 KB, application/x-bzip)
2022-12-30 09:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,55.11 KB, application/x-bzip)
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:19:23 UTC
too long lines were shrinked:

libtool: link: x86_64-gentoo-linux-musl-ranlib .libs/libcliutils.a
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H   -I. -I. -I./include/ -I./build -I./lib -I./rpmio -I./misc -DLOCALEDIR="\"/usr/share/locale\"" -DLIBRPMALIAS_FILENAME="\"rpmpopt-4.18.0\""  -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -fno-strict-aliasing -fno-strict-overflow -fno-del
libtool: link: x86_64-gentoo-linux-musl-gcc -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -fno-strict-aliasing -fno-strict-overflow -fno-delete-null-pointer-checks -Wempty-body -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/rp
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H   -I. -I. -I./include/ -I./build -I./lib -I./rpmio -I./misc -DLOCALEDIR="\"/usr/share/locale\"" -DLIBRPMALIAS_FILENAME="\"rpmpopt-4.18.0\""  -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -fno-strict-aliasing -fno-strict-overflow -fno-del
libtool: link: ( cd ".libs" && rm -f "libcliutils.la" && ln -s "../libcliutils.la" "libcliutils.la" )
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H   -I. -I. -I./include/ -I./build -I./lib -I./rpmio -I./misc -DLOCALEDIR="\"/usr/share/locale\"" -DLIBRPMALIAS_FILENAME="\"rpmpopt-4.18.0\""  -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -fno-strict-aliasing -fno-strict-overflow -fno-del
/usr/lib/gcc/x86_64-gentoo-linux-musl/12.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: lib/.libs/librpm.so: undefined reference to `_nl_msg_cat_cntr'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:933: rpm2cpio] Error 1 shuffle=1372542406

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

  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-bin-1.66.0
  [2]   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 5bf5bfaf3e5f1e8aa6e1afedd14367edaf34f341
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 30 01:47:07 2022 +0000

    2022-12-30 01:47:07 UTC

emerge -qpvO app-arch/rpm
[ebuild  N    ] app-arch/rpm-4.18.0  USE="acl nls openmp readline sqlite zstd -audit -berkdb -caps -dbus -doc -python (-selinux) -test" LUA_SINGLE_TARGET="lua5-4 -lua5-3" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-12-30 09:19:24 UTC
Created attachment 845762 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-30 09:19:25 UTC
Created attachment 845764 [details]
app-arch:rpm-4.18.0:20221230-035732.log
Comment 3 Toralf Förster gentoo-dev 2022-12-30 09:19:27 UTC
Created attachment 845766 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-30 09:19:28 UTC
Created attachment 845768 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-30 09:19:29 UTC
Created attachment 845770 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-30 09:19:30 UTC
Created attachment 845772 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-30 09:19:31 UTC
Created attachment 845774 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2024-02-02 03:58:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=191bd72e6913e1c56736e801e0fb9e1f7262cfb2

commit 191bd72e6913e1c56736e801e0fb9e1f7262cfb2
Author:     Takuya Wakazono <pastalian46@gmail.com>
AuthorDate: 2024-01-18 15:00:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-02 03:56:56 +0000

    app-arch/rpm: fix musl build
    
    Closes: https://bugs.gentoo.org/888954
    Closes: https://bugs.gentoo.org/922286
    Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/rpm/files/rpm-4.18.1-musl-nls.patch    | 42 ++++++++++++++++++
 app-arch/rpm/files/rpm-4.19.1-musl-compat.patch | 59 +++++++++++++++++++++++++
 app-arch/rpm/rpm-4.18.1.ebuild                  |  1 +
 app-arch/rpm/rpm-4.19.1.ebuild                  |  2 +
 4 files changed, 104 insertions(+)