Meson tries to find `iconv_open` for use with glib, but fails to autodetect it. Manually specifying -Diconv=gnu in the ebuild for meson options lets it build properly. Setting USE=iconv for uclibc-ng doesn't let meson find iconv_open in libc, so specifying iconv=gnu is needed even in that case. Reproducible: Always Steps to Reproduce: Set up a new chroot by unpacking the uclibc stage 3. After emerge-webrsync and other inital setup, `emerge -av dev-libs/glib` Note the meson failure. Actual Results: Emerging dev-libs/glib fails when meson cannot find iconv_open Expected Results: Emerging dev-libs/glib succeeds.
Please attach the entire build log to this bug report. Please post your `emerge --info' output in a comment.
Created attachment 598924 [details] ebuild log
Created attachment 598926 [details] emerge info
This is on a brand new chroot, after setting resolv.conf and running emerge-webrsync, only command run was emerge -av dev-libs/glib
I don't know why meson can't figure out for itself that the iconv implementation it should test for is gnu. Anyway, if you pass a -Diconv=gnu to meson the whole thing will work.
It seems to build correctly on 2.62.5 For now bump the ebuild if you are using uclibc_ng
*** Bug 713516 has been marked as a duplicate of this bug. ***