Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716412 - sci-libs/votca-tools-1.6_rc1 : /.../ld: /.../libexpat.so: undefined reference to _assert_fail@GLIBC_2.2.5
Summary: sci-libs/votca-tools-1.6_rc1 : /.../ld: /.../libexpat.so: undefined reference...
Status: RESOLVED INVALID
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: 2020-04-06 07:14 UTC by Toralf Förster
Modified: 2020-04-06 13:04 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.01 KB, text/plain)
2020-04-06 07:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,350.46 KB, text/plain)
2020-04-06 07:14 UTC, Toralf Förster
Details
environment (environment,90.46 KB, text/plain)
2020-04-06 07:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.93 KB, application/x-bzip)
2020-04-06 07:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.37 KB, application/x-bzip)
2020-04-06 07:14 UTC, Toralf Förster
Details
sci-libs:votca-tools-1.6_rc1:20200406-005907.log (sci-libs:votca-tools-1.6_rc1:20200406-005907.log,31.28 KB, text/plain)
2020-04-06 07:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.94 KB, application/x-bzip)
2020-04-06 07:14 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 2020-04-06 07:14:13 UTC
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: warning: libc.so.6, needed by /opt/tivoli/tsm/client/ba/bin/libexpat.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /opt/tivoli/tsm/client/ba/bin/libexpat.so: undefined reference to __assert_fail@GLIBC_2.2.5
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /opt/tivoli/tsm/client/ba/bin/libexpat.so: undefined reference to memcpy@GLIBC_2.2.5
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /opt/tivoli/tsm/client/ba/bin/libexpat.so: undefined reference to malloc@GLIBC_2.2.5
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /opt/tivoli/tsm/client/ba/bin/libexpat.so: undefined reference to getpid@GLIBC_2.2.5

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Apr  5 22:42:02 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO sci-libs/votca-tools
[ebuild  N    ] sci-libs/votca-tools-1.6_rc1
Comment 1 Toralf Förster gentoo-dev 2020-04-06 07:14:17 UTC
Created attachment 630634 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-06 07:14:20 UTC
Created attachment 630636 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-06 07:14:24 UTC
Created attachment 630638 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-06 07:14:27 UTC
Created attachment 630640 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-06 07:14:30 UTC
Created attachment 630642 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-06 07:14:32 UTC
Created attachment 630644 [details]
sci-libs:votca-tools-1.6_rc1:20200406-005907.log
Comment 7 Toralf Förster gentoo-dev 2020-04-06 07:14:35 UTC
Created attachment 630646 [details]
temp.tbz2
Comment 8 Christoph Junghans (RETIRED) gentoo-dev 2020-04-06 12:45:28 UTC
Look like you forgot to recompile expat.
Comment 9 Michael 'veremitz' Everitt 2020-04-06 12:56:32 UTC
(In reply to Christoph Junghans from comment #8)
> Look like you forgot to recompile expat.

I think you're missing a few key facts here. This is musl-libc *not* glibc. You will also note that 'emerge-history' does, in fact, contain dev-libs/expat.
Comment 10 Christoph Junghans (RETIRED) gentoo-dev 2020-04-06 13:04:27 UTC
(In reply to Michael 'veremitz' Everitt from comment #9)
> (In reply to Christoph Junghans from comment #8)
> > Look like you forgot to recompile expat.
> 
> I think you're missing a few key facts here. This is musl-libc *not* glibc.
> You will also note that 'emerge-history' does, in fact, contain
> dev-libs/expat.
You are right, but the wrong libexpat.so is loaded, /opt/tivoli/tsm/client/ba/bin/libexpat.so seems to be from an external Tivoli installation and was build against glibc.