Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715392

Summary: net-misc/olsrd-0.9.8: fails to install on musl (/sbin/ldconfig -n /var/tmp/portage/net-misc/olsrd-0.9.8/image/usr/lib/olsrd: Unimplemented option: -n)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: jer, maintainer-needed, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-misc:olsrd-0.9.8:20200330-071054.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-30 07:16:10 UTC
install -D -m 755 olsrd_arprefresh.so.0.1 /var/tmp/portage/net-misc/olsrd-0.9.8/image/usr/lib/olsrd/olsrd_arprefresh.so.0.1; /sbin/ldconfig -n /var/tmp/portage/net-misc/olsrd-0.9.8/image/usr/lib/olsrd
Unimplemented option: -n
make[1]: *** [Makefile:60: install] Error 1
make[1]: Leaving directory /var/tmp/portage/net-misc/olsrd-0.9.8/work/olsrd-0.9.8/lib/arprefresh
make: *** [Makefile:256: install_libs] Error 2
 * ERROR: net-misc/olsrd-0.9.8::gentoo failed (install phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200328-141627

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 06:38:57 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO net-misc/olsrd
[ebuild  N    ] net-misc/olsrd-0.9.8  USE="-gtk -pud"
Comment 1 Toralf Förster gentoo-dev 2020-03-30 07:16:14 UTC
Created attachment 627150 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 07:16:17 UTC
Created attachment 627152 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-30 07:16:21 UTC
Created attachment 627154 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-30 07:16:25 UTC
Created attachment 627156 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-30 07:16:28 UTC
Created attachment 627158 [details]
net-misc:olsrd-0.9.8:20200330-071054.log
Comment 6 Toralf Förster gentoo-dev 2020-03-30 07:16:31 UTC
Created attachment 627160 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-10-09 04:30:41 UTC
The bug has been referenced in the following commit(s):

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

commit b102d60d6af470bfd9a8463b86722df37316fda4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-09 04:29:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-09 04:29:09 +0000

    net-misc/olsrd: add 20210612 snapshot
    
    Fixes build failure with >= bison 3.7.
    
    Thanks-to: Christoph Loesc
    Closes: https://bugs.gentoo.org/735572
    Bug: https://bugs.gentoo.org/715392
    Bug: https://bugs.gentoo.org/776742
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/olsrd/Manifest                     |   1 +
 net-misc/olsrd/olsrd-0.9.8_p20210612.ebuild | 121 ++++++++++++++++++++++++++++
 2 files changed, 122 insertions(+)
Comment 8 Larry the Git Cow gentoo-dev 2021-12-03 02:22:50 UTC
The bug has been closed via the following commit(s):

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

commit 1ad21549d28eefca927be1c89f935ff31d86875e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-03 02:22:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-03 02:22:21 +0000

    net-misc/olsrd: don't call ldconfig (fix musl install)
    
    We already call ldconfig post-emerge and -n is not implemented
    in our musl ldconfig wrapper/script/implementation.
    
    Closes: https://bugs.gentoo.org/715392
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/olsrd/olsrd-0.9.8_p20210612.ebuild | 2 ++
 1 file changed, 2 insertions(+)