Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889390 - app-arch/dpkg-1.21.15-r2 - nfmalloc.c:(.text+<snip>): undefined reference to _obstack_free
Summary: app-arch/dpkg-1.21.15-r2 - nfmalloc.c:(.text+<snip>): undefined reference to ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-02 18:27 UTC by Toralf Förster
Modified: 2023-02-14 08:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.84 KB, text/plain)
2023-01-02 18:27 UTC, Toralf Förster
Details
app-arch:dpkg-1.21.1:20230102-030858.log (app-arch:dpkg-1.21.1:20230102-030858.log,76.59 KB, text/plain)
2023-01-02 18:28 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,62.80 KB, application/x-bzip)
2023-01-02 18:28 UTC, Toralf Förster
Details
environment (environment,75.13 KB, text/plain)
2023-01-02 18:28 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,570 bytes, application/x-bzip)
2023-01-02 18:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.45 KB, application/x-bzip)
2023-01-02 18:28 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,16.34 KB, application/x-bzip)
2023-01-02 18:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.81 KB, application/x-bzip)
2023-01-02 18:28 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 2023-01-02 18:27:58 UTC
too long lines were shrinked:

x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/share/locale\" -idirafter ../lib/compat -I.. -I../lib   -pipe -march=native -fno-diagnostics-color -O2 -c -o extract.o extract.c
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/share/locale\" -idirafter ../lib/compat -I.. -I../lib   -pipe -march=native -fno-diagnostics-color -O2 -c -o main.o main.c
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/share/locale\" -idirafter ../lib/compat -I.. -I../lib   -pipe -march=native -fno-diagnostics-color -O2 -c -o info.o info.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-gentoo-linux-musl-gcc  -pipe -march=native -fno-diagnostics-color -O2  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o dpkg-deb build.o extract.o info.o main.o ../lib/dpkg/libdpkg.la  -lz -llzma -lbz2 
libtool: link: x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o dpkg-deb build.o extract.o info.o main.o  -Wl,--as-needed ../lib/dpkg/.libs/libdpkg.a -lz -llzma -lbz2
/usr/lib/gcc/x86_64-gentoo-linux-musl/12.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: ../lib/dpkg/.libs/libdpkg.a(nfmalloc.o): in function `nffreeall':
nfmalloc.c:(.text+0x39e): undefined reference to `_obstack_free'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:485: dpkg-deb] Error 1 shuffle=85181919

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

  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):
clang version 15.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
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:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit f1028f5c6c6f0378f747f81f78d98926fff38ed8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 2 01:16:58 2023 +0000

    2023-01-02 01:16:58 UTC

emerge -qpvO app-arch/dpkg
[ebuild  N    ] app-arch/dpkg-1.21.1  USE="bzip2 lzma unicode update-alternatives zlib -libmd (-nls) (-selinux) -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2023-01-02 18:27:59 UTC
Created attachment 846624 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-01-02 18:28:00 UTC
Created attachment 846626 [details]
app-arch:dpkg-1.21.1:20230102-030858.log
Comment 3 Toralf Förster gentoo-dev 2023-01-02 18:28:01 UTC
Created attachment 846628 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-01-02 18:28:02 UTC
Created attachment 846630 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-01-02 18:28:04 UTC
Created attachment 846632 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-01-02 18:28:04 UTC
Created attachment 846634 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-01-02 18:28:05 UTC
Created attachment 846636 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-01-02 18:28:06 UTC
Created attachment 846638 [details]
temp.tar.bz2
Comment 9 Georgy Yakovlev archtester gentoo-dev 2023-01-02 20:45:50 UTC
Probably needs a dep on obstack-standalone on musl.
Comment 10 Agostino Sarubbo gentoo-dev 2023-02-14 08:30:16 UTC
tinderbox_musl has reproduced this issue with version 1.21.15-r2 - Updating summary.