Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708894 - media-libs/coin-4.0.0a_pre20191109 : /.../ld: /.../libsimage.so.1.8.0: undefined reference to sf_open
Summary: media-libs/coin-4.0.0a_pre20191109 : /.../ld: /.../libsimage.so.1.8.0: undefi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
: 753482 770913 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-09 21:50 UTC by Toralf Förster
Modified: 2021-04-28 21:23 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.85 KB, text/plain)
2020-02-09 21:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,234.84 KB, text/plain)
2020-02-09 21:50 UTC, Toralf Förster
Details
environment (environment,91.53 KB, text/plain)
2020-02-09 21:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.32 KB, application/x-bzip)
2020-02-09 21:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.61 KB, application/x-bzip)
2020-02-09 21:50 UTC, Toralf Förster
Details
media-libs:coin-4.0.0a_pre20191109:20200209-212910.log (media-libs:coin-4.0.0a_pre20191109:20200209-212910.log,878.63 KB, text/plain)
2020-02-09 21:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,45.56 KB, application/x-bzip)
2020-02-09 21:50 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-02-09 21:50:12 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_open'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_read_double'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_command'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_seek'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-test-20200203-215003

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

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.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.242_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 09 Feb 2020 19:50:47 +0000

emerge -qpvO media-libs/coin
[ebuild  N    ] media-libs/coin-4.0.0a_pre20191109  USE="exceptions test -debug -doc -javascript -man -openal -qthelp -threads"
Comment 1 Toralf Förster gentoo-dev 2020-02-09 21:50:14 UTC
Created attachment 613136 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-09 21:50:17 UTC
Created attachment 613138 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-09 21:50:20 UTC
Created attachment 613140 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-09 21:50:23 UTC
Created attachment 613142 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-09 21:50:25 UTC
Created attachment 613144 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-09 21:50:28 UTC
Created attachment 613146 [details]
media-libs:coin-4.0.0a_pre20191109:20200209-212910.log
Comment 7 Toralf Förster gentoo-dev 2020-02-09 21:50:31 UTC
Created attachment 613148 [details]
temp.tbz2
Comment 8 Maciej Mrozowski gentoo-dev 2020-09-27 00:06:24 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_open'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_read_double'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_command'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_seek'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_close'

These symbols are related to libsndfile support - in media-libs/simage-1.8.0.
But I tried to build media-libs/coin-4.0.0 with either simage[sndfile] and simage[-sndfile], also coin[-openal] (removing all potential deliverers of sndfile symbols - and I'm unable to reproduce this linking error.

Since coin-4.0.0 is now in portage and 4.0.0a_pre is nowhere to be found anymore, I'll close this bugreport.
Comment 9 Michael Moon 2021-01-05 05:31:20 UTC
I'm having these link errors with simage-1.8.0-r1 and coin-4.0.0 both compiled today, should we reopen this bug or shall I create a new one?
Comment 10 Michael Moon 2021-01-05 05:36:14 UTC
(In reply to Michael Moon from comment #9)
> I'm having these link errors with simage-1.8.0-r1 and coin-4.0.0 both
> compiled today, should we reopen this bug or shall I create a new one?

simage[-sndfile] by the way, seems like it ignores the use flag.
Comment 11 Maciej Mrozowski gentoo-dev 2021-01-17 22:45:56 UTC
Please attach your build logs.
Comment 12 Maciej Mrozowski gentoo-dev 2021-01-24 03:46:49 UTC
I noticed simage-1.8.0 seemingly compiled with sndfile but no libsndfile in readelf -d /usr/lib64/libsimage.so which means it silently failed. I imagine this is the problem here even though I was not able to reproduce #708894 or #753482.

Please try simage-1.8.1.
It should resolve all automatic dependencies and silently not found dependencies, like with sndfile here.
Comment 13 Maciej Mrozowski gentoo-dev 2021-02-21 03:01:08 UTC
*** Bug 770913 has been marked as a duplicate of this bug. ***
Comment 14 Maciej Mrozowski gentoo-dev 2021-02-21 03:07:50 UTC
*** Bug 753482 has been marked as a duplicate of this bug. ***
Comment 15 Maciej Mrozowski gentoo-dev 2021-04-28 21:23:40 UTC
I'm marking it as resolved. Please reopen this bug if you still see the problem with media-libs/simage-1.8.1.