Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 761226 - dev-libs/libtomcrypt: incorrectly links to math libraries (was: games-strategy/wargus-3.0.0-r1 : /.../ld: /.../libtomcrypt.so.1: undefined reference to _gmpz_gcd)
Summary: dev-libs/libtomcrypt: incorrectly links to math libraries (was: games-strateg...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 732664
  Show dependency tree
 
Reported: 2020-12-22 09:24 UTC by Toralf Förster
Modified: 2020-12-23 19:44 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.63 KB, text/plain)
2020-12-22 09:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,79.75 KB, text/plain)
2020-12-22 09:24 UTC, Toralf Förster
Details
environment (environment,89.69 KB, text/plain)
2020-12-22 09:24 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.16 KB, application/x-bzip)
2020-12-22 09:24 UTC, Toralf Förster
Details
games-strategy:wargus-3.0.0-r1:20201222-005735.log (games-strategy:wargus-3.0.0-r1:20201222-005735.log,17.29 KB, text/plain)
2020-12-22 09:24 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.69 KB, application/x-bzip)
2020-12-22 09:24 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.91 KB, application/x-bzip)
2020-12-22 09:24 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-12-22 09:24:12 UTC
: && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color  -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0    -rdynamic CMakeFiles/wartool.dir/pud.cpp.o CMakeFiles/wartool.dir/wartool.cpp.o CMakeFiles/wartool.dir/xmi2mid.cpp.o CMakeFiles/wartool.dir/rip_music_unix.cpp.o -o wartool  -lz  -lpng  -lz  -lz  -lstorm  -lbz2  -lpng  -lstorm  -lbz2 && :
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libtomcrypt.so.1: undefined reference to `__gmpz_gcd'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libtomcrypt.so.1: undefined reference to `__gmpz_divexact_ui'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libtomcrypt.so.1: undefined reference to `__gmpz_cmp_ui'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libtomcrypt.so.1: undefined reference to `mp_mulmod'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20201219-115221

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.9
  [2]   python3.8 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Dec 22 12:05:35 AM UTC 2020

emerge -qpvO games-strategy/wargus
[ebuild  N    ] games-strategy/wargus-3.0.0-r1  USE="bne"
Comment 1 Toralf Förster gentoo-dev 2020-12-22 09:24:13 UTC
Created attachment 679179 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-12-22 09:24:15 UTC
Created attachment 679182 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-12-22 09:24:16 UTC
Created attachment 679185 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-12-22 09:24:17 UTC
Created attachment 679188 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-12-22 09:24:19 UTC
Created attachment 679191 [details]
games-strategy:wargus-3.0.0-r1:20201222-005735.log
Comment 6 Toralf Förster gentoo-dev 2020-12-22 09:24:20 UTC
Created attachment 679194 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-12-22 09:24:21 UTC
Created attachment 679197 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-12-22 09:47:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3cd2703835fc0e25c47695c0ed1eeea4e59bb2

commit 1a3cd2703835fc0e25c47695c0ed1eeea4e59bb2
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-12-22 09:46:40 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-12-22 09:46:40 +0000

    dev-libs/libtomcrypt: Fix linking to math libs
    
    Closes: https://bugs.gentoo.org/761226
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 ...-1.18.2.ebuild => libtomcrypt-1.18.2-r1.ebuild} | 32 ++++++++++------------
 1 file changed, 14 insertions(+), 18 deletions(-)