Re: USES=iconv Q/A issues: ...not declared as a dependency

From: Felix Palmen <>
Date: Mon, 18 Jul 2022 12:32:48 UTC
* Nuno Teixeira <> [20220718 12:52]:
> Error: /usr/local/bin/strawberry is linked to /usr/local/lib/
> from converters/libiconv but it is not declared as a dependency
> I've did run some tests and both 'iconv:wchar_t' and 'iconv:translit' pets
> Q/A tests (but 'iconv' do not).

My wild guess is: the glib dependency pulls in the external libiconv (it
has USES iconv:wchar_t) and the "find_package(Iconv)" in upstream's
CMakeLists.txt detects and uses it, although the implementation in base
libc would be sufficient.

I have no idea what would be the best solution though. Just using
iconv:wchar_t would work...

BR, Felix

 Dipl.-Inform. Felix Palmen  <>   ,.//..........
 {web}  {jabber} [see email]   ,//
 {pgp public key}   //   """""""""""
 {pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A