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

Bug 579104

Summary: sys-libs/timezone-data on musl - ld: cannot find -lintl
Product: Gentoo Linux Reporter: Fabio Scaccabarozzi <fsvm88>
Component: [OLD] UnspecifiedAssignee: Gentoo musl team <musl>
Severity: normal CC: blueness, fsvm88
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: Ebuild patch for timezone-data

Description Fabio Scaccabarozzi 2016-04-05 18:59:57 UTC
When emerging timezone-data with USE=nls for use with musl libc, timezone-data fails to link because we add -lintl to LDLIBS, because of bug #154181. It turns out also musl doesn't need this (see =virtual/libintl-0-r2 RDEPENDS).
We can drop it for musl as well, see attached patch.

Reproducible: Always

Steps to Reproduce:
1. USE="nls" emerge -1 =sys-libs/timezone-data-2015g
Actual Results:  
Failure due to -lintl LDLIBS

Expected Results:  
Emerge should succeed
Comment 1 Fabio Scaccabarozzi 2016-04-05 19:01:03 UTC
Created attachment 429704 [details, diff]
Ebuild patch for timezone-data
Comment 2 Felix Janda 2016-04-06 10:47:21 UTC
Thanks for reporting!

I've just noticed that this is actually a duplicate of bug 578424
(which is not linked to the musl tracker bug and does not contain musl
in its title).
Comment 3 Fabio Scaccabarozzi 2016-04-06 11:19:48 UTC
Sorry, didn't spot it because I was looking specifically for timezone-data+musl.
I guess this bug should be closed as a duplicate, and the other one should be updated accordingly. Maybe we should also mention bug #154181 and the link to virtual/libintl, in case someone wonders where we picked up that code in the ebuild and why it's ok to fix it this way.
Bug #578424 also has a better patch, which includes IUSE update.
Comment 4 Anthony Basile gentoo-dev 2016-04-08 10:29:33 UTC

*** This bug has been marked as a duplicate of bug 578424 ***