Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778881 - sci-libs/libnova-0.16.0 - /.../ld: cannot find -lelp
Summary: sci-libs/libnova-0.16.0 - /.../ld: cannot find -lelp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-28 10:14 UTC by Toralf Förster
Modified: 2021-05-04 15:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.19 KB, text/plain)
2021-03-28 10:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,338.72 KB, text/plain)
2021-03-28 10:14 UTC, Toralf Förster
Details
environment (environment,66.47 KB, text/plain)
2021-03-28 10:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,42.39 KB, application/x-bzip)
2021-03-28 10:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.58 KB, application/x-bzip)
2021-03-28 10:14 UTC, Toralf Förster
Details
sci-libs:libnova-0.16.0:20210327-210940.log (sci-libs:libnova-0.16.0:20210327-210940.log,106.25 KB, text/plain)
2021-03-28 10:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.75 KB, application/x-bzip)
2021-03-28 10:14 UTC, Toralf Förster
Details
https://sourceforge.net/p/libnova/libnova/merge-requests/2/ (0001-build-Link-with-the-libelp-.la-file.patch,577 bytes, patch)
2021-03-28 15:00 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-28 10:14:01 UTC
rdlibtool: lconf: found "/var/tmp/portage/sci-libs/libnova-0.16.0/work/libnova-0.16.0/libtool".
rdlibtool: link: x86_64-pc-linux-gnu-gcc libnova_config.o -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L../src/.libs -lnova -L../src/elp/ -lelp -lm -o .libs/libnovaconfig
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lelp
collect2: error: ld returned 1 exit status
rdlibtool: exec error upon slbt_exec_link_create_executable(), line 1614: (see child process error messages).
rdlibtool: < returned to > slbt_exec_link(), line 1934.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210320-151517

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Mar 27 20:50:46 UTC 2021

emerge -qpvO sci-libs/libnova
[ebuild  N    ] sci-libs/libnova-0.16.0  USE="-doc -examples"
Comment 1 Toralf Förster gentoo-dev 2021-03-28 10:14:02 UTC
Created attachment 695235 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-28 10:14:04 UTC
Created attachment 695238 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-28 10:14:06 UTC
Created attachment 695241 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-28 10:14:07 UTC
Created attachment 695244 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-28 10:14:08 UTC
Created attachment 695247 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-28 10:14:10 UTC
Created attachment 695250 [details]
sci-libs:libnova-0.16.0:20210327-210940.log
Comment 7 Toralf Förster gentoo-dev 2021-03-28 10:14:11 UTC
Created attachment 695253 [details]
temp.tar.bz2
Comment 8 orbea 2021-03-28 15:00:21 UTC
Created attachment 695532 [details, diff]
https://sourceforge.net/p/libnova/libnova/merge-requests/2/

I made a MR upstream, but upstream might not be active. For a description of the issue see:

https://wiki.gentoo.org/wiki/Slibtool#ld_cannot_find_linker_flag
Comment 9 Larry the Git Cow gentoo-dev 2021-05-04 15:15:23 UTC
The bug has been closed via the following commit(s):

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

commit dd96e548ff290f898c7707057d028ec72433ab9d
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-05-04 14:35:57 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-05-04 15:13:12 +0000

    sci-libs/libnova: Fix for slibtool
    
    Thanks-to: orbea <orbea@riseup.net>
    Upstream-PR: https://sourceforge.net/p/libnova/libnova/merge-requests/2/
    Closes: https://bugs.gentoo.org/778881
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../libnova/files/libnova-0.16.0-slibtool.patch    | 26 ++++++++++++++++++++++
 sci-libs/libnova/libnova-0.16.0.ebuild             |  2 ++
 2 files changed, 28 insertions(+)