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 2. 3. Actual Results: Failure due to -lintl LDLIBS Expected Results: Emerge should succeed
Created attachment 429704 [details, diff] Ebuild patch for timezone-data
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).
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.
*** This bug has been marked as a duplicate of bug 578424 ***