Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631360 - media-gfx/icoutils fails to build on elibc_musl due to spurious -lintl
Summary: media-gfx/icoutils fails to build on elibc_musl due to spurious -lintl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-19 03:20 UTC by hanetzer
Modified: 2017-10-29 17:42 UTC (History)
1 user (show)

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


Attachments
https://github.com/gentoo/gentoo/pull/5393 (musl-icoutils.patch,2.05 KB, patch)
2017-09-19 03:20 UTC, hanetzer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hanetzer 2017-09-19 03:20:04 UTC
Created attachment 495290 [details, diff]
https://github.com/gentoo/gentoo/pull/5393

As the title says. $CHOST does not match *-linux-gnu*, so an unneeded -lintl
is added to the ./configure call, which results in 'c compiler cannot build executables'.

The following patch fixes that, and replaces the $CHOST comparison with checks
for elibc_glibc and elibc_musl.
Comment 1 Larry the Git Cow gentoo-dev 2017-10-29 17:42:21 UTC
The bug has been closed via the following commit(s):

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

commit 11af7de2cc8e6ff58ed74e58709a91a630bb4dc1
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2017-10-29 17:39:39 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2017-10-29 17:42:14 +0000

    media-gfx/icoutils: Bump to v0.32.0
    
    Thanks to Marty Plummer for the musl build fix (bug #631360).
    
    Closes: https://github.com/gentoo/gentoo/pull/5393
    Fixes: https://bugs.gentoo.org/631360
    Bug: https://bugs.gentoo.org/605138
    Closes: https://bugs.gentoo.org/635814
    
    Package-Manager: Portage-2.3.13, Repoman-2.3.4

 media-gfx/icoutils/Manifest               |  1 +
 media-gfx/icoutils/icoutils-0.32.0.ebuild | 49 +++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)