Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688720 - sci-libs/coinor-csdp-6.1.1-r1 : /.../ld: ../.../libsdp.so: undefined reference to dpotrf_
Summary: sci-libs/coinor-csdp-6.1.1-r1 : /.../ld: ../.../libsdp.so: undefined referenc...
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 Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-25 20:46 UTC by Toralf Förster
Modified: 2021-11-26 21:56 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.94 KB, text/plain)
2019-06-25 20:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,104.48 KB, text/plain)
2019-06-25 20:47 UTC, Toralf Förster
Details
environment (environment,95.05 KB, text/plain)
2019-06-25 20:47 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.25 KB, application/x-bzip)
2019-06-25 20:47 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.01 KB, application/x-bzip)
2019-06-25 20:47 UTC, Toralf Förster
Details
sci-libs:coinor-csdp-6.1.1-r1:20190625-202359.log (sci-libs:coinor-csdp-6.1.1-r1:20190625-202359.log,13.88 KB, text/plain)
2019-06-25 20:47 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.68 KB, application/x-bzip)
2019-06-25 20:47 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 2019-06-25 20:46:55 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -DNOSHORTS -DUSEGETTIME -I../include -fopenmp -DUSEOPENMP -DBIT64 -Wl,-O1 -Wl,--as-needed -fopenmp -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include    -c -o csdp.o csdp.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -DNOSHORTS -DUSEGETTIME -I../include -fopenmp -DUSEOPENMP -DBIT64 -Wl,-O1 -Wl,--as-needed -fopenmp -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include  csdp.o -L../lib -lsdp -lm -o csdp
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/libsdp.so: undefined reference to `dpotrf_'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/libsdp.so: undefined reference to `ddot_'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/libsdp.so: undefined reference to `dgemm_'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/libsdp.so: undefined reference to `idamax_'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-systemd_libressl-test_20190623-103445

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)

Available Rust versions:
  (none found)



emerge -qpvO sci-libs/coinor-csdp
[ebuild  N    ] sci-libs/coinor-csdp-6.1.1-r1  USE="openmp -doc -examples -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-06-25 20:46:57 UTC
Created attachment 580924 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-25 20:47:01 UTC
Created attachment 580926 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-06-25 20:47:05 UTC
Created attachment 580928 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-06-25 20:47:07 UTC
Created attachment 580930 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-06-25 20:47:10 UTC
Created attachment 580932 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-25 20:47:13 UTC
Created attachment 580934 [details]
sci-libs:coinor-csdp-6.1.1-r1:20190625-202359.log
Comment 7 Toralf Förster gentoo-dev 2019-06-25 20:47:16 UTC
Created attachment 580936 [details]
temp.tbz2
Comment 8 Marek Szuba archtester gentoo-dev 2021-11-26 21:56:53 UTC
This one is a bit convoluted. As the log shows, the exact source of the problem here is that although =sci-libs/coinor-csdp-6.1.1-r1 did have virtual/lapack in DEPEND, 'pkg-config --libs lapack' failed to retrieve the necessary information. How could it have happened? Hard to say without digging because sci-libs/lapack-reference is no longer in the tree - but my hunch is that it might have something to do with USE=eselect-ldso (seeing as app-eselect/eselect-lapack got merged shortly before lapack-reference). Perhaps lapack-reference did not call 'eselect lapack' in its pkg_postinst, resulting in a system with a complete dependency tree but no lapack.pc symlink?

Anyway, a quick grep I ran a moment ago suggests that all possible providers of virtual/lapack currently in the tree do call 'eselect lapack' if need be so it's probably safe to consider the problem fixed. Hopefully I shall not be proven wrong... Oh, and for good measure the next version of coinor-csdp will error out immediately if the relevant pkg-config call fails.