Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705318 - sci-mathematics/unuran-1.8.1 : /.../ld: ../.../libunuran.so: undefined reference to prng_new
Summary: sci-mathematics/unuran-1.8.1 : /.../ld: ../.../libunuran.so: undefined refere...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on: 790857
Blocks:
  Show dependency tree
 
Reported: 2020-01-12 22:46 UTC by Toralf Förster
Modified: 2021-05-19 21:38 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.40 KB, text/plain)
2020-01-12 22:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,117.81 KB, text/plain)
2020-01-12 22:46 UTC, Toralf Förster
Details
environment (environment,21.45 KB, text/plain)
2020-01-12 22:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.61 KB, application/x-bzip)
2020-01-12 22:46 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.37 KB, application/x-bzip)
2020-01-12 22:46 UTC, Toralf Förster
Details
sci-mathematics:unuran-1.8.1:20200112-215013.log (sci-mathematics:unuran-1.8.1:20200112-215013.log,164.25 KB, text/plain)
2020-01-12 22:46 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.46 KB, application/x-bzip)
2020-01-12 22:46 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-01-12 22:46:16 UTC
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wextra  -Wshadow -O2 -pipe -march=native -L../src -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o make_timing_table make_timing_table.o ../src/libunuran.la -lrngstreams -lm 
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wshadow -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/make_timing_table make_timing_table.o  -L/var/tmp/portage/sci-mathematics/unuran-1.8.1/work/unuran-1.8.1_build/src ../src/.libs/libunuran.so -lrngstreams -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src/.libs/libunuran.so: undefined reference to `prng_new'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:265: make_timing_table] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-mathematics/unuran-1.8.1/work/unuran-1.8.1_build/experiments'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20200109-231533

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 12 Jan 2020 21:05:55 +0000

emerge -qpvO sci-mathematics/unuran
[ebuild  N    ] sci-mathematics/unuran-1.8.1  USE="prng rngstreams -doc -examples -gsl"
Comment 1 Toralf Förster gentoo-dev 2020-01-12 22:46:19 UTC
Created attachment 603116 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-12 22:46:23 UTC
Created attachment 603118 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-12 22:46:27 UTC
Created attachment 603120 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-12 22:46:30 UTC
Created attachment 603122 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-12 22:46:33 UTC
Created attachment 603124 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-12 22:46:36 UTC
Created attachment 603126 [details]
sci-mathematics:unuran-1.8.1:20200112-215013.log
Comment 7 Toralf Förster gentoo-dev 2020-01-12 22:46:39 UTC
Created attachment 603128 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-05-18 22:02:57 UTC
The bug has been referenced in the following commit(s):

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

commit fcbf9252166ef3f04d46343fb5886aa7e91a58ea
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2021-05-18 21:58:26 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2021-05-18 22:02:47 +0000

    sci-mathematics/prng: fix unresolved symbols
    
    Some symbols were unresolved because functions were inlined.
    This caused build failure of other packages like unurun.
    
    Bug: https://bugs.gentoo.org/705318
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 .../prng-3.0.2-fix-all-c99-inline-semantics.patch  | 404 +++++++++++++++++++++
 sci-mathematics/prng/prng-3.0.2-r3.ebuild          |  44 +++
 2 files changed, 448 insertions(+)
Comment 9 Andrew Savchenko gentoo-dev 2021-05-18 22:06:01 UTC
Unuran itself has no problems, but sci-mathematics/prng-3.0.2-r2 is broken and contains unresolved symbols, that's why unuran build fails. This is fixed in sci-mathematics/prng-3.0.2-r3 and this bug can be closed when prng-3.0.2-r3 will go stable.