Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609348 - www-client/seamonkey pulls in libexecinfo and friends on a musl profile
Summary: www-client/seamonkey pulls in libexecinfo and friends on a musl profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-14 15:19 UTC by tt_1
Modified: 2017-02-21 13:15 UTC (History)
1 user (show)

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


Attachments
small patch for the ebuild to fix this (ebuild.patch,465 bytes, patch)
2017-02-14 18:10 UTC, tt_1
Details | Diff
updated patch for in tree ebuild (ebuild.patch,467 bytes, patch)
2017-02-20 08:47 UTC, tt_1
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2017-02-14 15:19:26 UTC
the output of emerge -pv seamonkey on a musl profile 

Calculating dependencies... done!
[ebuild  N     ] sys-devel/pmake-1.111.3.3::gentoo  290 KiB
[ebuild  N     ] virtual/pmake-0::gentoo  0 KiB
[ebuild  N    ~] sys-freebsd/freebsd-mk-defs-11.0::gentoo  USE="-profile" 136966 KiB
[ebuild  N    *] dev-libs/libexecinfo-1.1::gentoo  USE="-profile" 5 KiB
[ebuild  N    ] www-client/seamonkey-2.46-r1::gentoo  USE="chatzilla crypt dbus ipc jemalloc jit minimal skia system-harfbuzz system-icu system-jpeg (system-libevent) system-libvpx system-sqlite -calendar -custom-cflags -custom-optimization -debug -gmp-autoupdate -gtk3 (-neon) -pulseaudio -roaming (-selinux) -startup-notification (-system-cairo) {-test} -wifi" L10N="de -be -ca -cs -en-GB -es-AR -es-ES -fi -fr -gl -hu -it -ja -lt -nb -nl -pl -pt-PT -ru -sk -sv -tr -uk -zh-CN -zh-TW" 0 KiB

It seems as if the ebuild is designed to pull in those for versions of elibc_ with the exception of elibc_glibc and elibc_uclibc. My guess is that adding elibc_musl in the list of exceptions will solve this problem. For sure it is not needed at compile time.
Comment 1 tt_1 2017-02-14 18:10:29 UTC
Created attachment 463722 [details, diff]
small patch for the ebuild to fix this

this patch should be working I guess
Comment 2 tt_1 2017-02-20 08:47:12 UTC
Created attachment 464396 [details, diff]
updated patch for in tree ebuild

fixed a typo, should be good to commit
Comment 3 Felix Janda 2017-02-20 11:47:18 UTC
Unlike glibc and uclibc, musl does not have execinfo. So if seamonkey
builds on musl without execinfo.h, it will likely do so on all other
systems as well (possibly at the expense of functionality).

Please try building seamonkey without libexexinfo, and attach the
resulting build log.
Comment 4 tt_1 2017-02-20 12:42:21 UTC
It builds just fine without libexecinfo, pmake and the likes I listed in the first posting, as they get pulled in for no reason by the ebuild. The bug can be solved be inheriting eclibc_musl into the list of exceptions as I tried to demonstrate with the patch for the ebuild.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-02-21 13:15:44 UTC
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Tue Feb 21 14:14:55 2017

    www-client/seamonkey: no dev-libs/libexecinfo on musl (bug #609348).

    Package-Manager: Portage-2.3.3, Repoman-2.3.1