On a system that has gnustep-base installed, the file /usr/include/Foundation/Foundation.h exists. The glib configure scripts take the existence of this file to mean that the host is a Mac with Cocoa support. It then writes subsequent gcc command lines with -framework Foundation, which fails on Linux. The first failure is when it tries to compile a program to test for iconv_open(). The real reason this test fails is because the gcc command line is faulty. Reproducible: Always Steps to Reproduce: 1. Install gnustep-base 2. Attempt to install glib-2.32.1
Same here.
*** Bug 412011 has been marked as a duplicate of this bug. ***
Thanks for reporting. Fixed in the glib-2.32.1 ebuild in cvs, patch submitted upstream at https://bugzilla.gnome.org/show_bug.cgi?id=674172 > 16 Apr 2012; Alexandre Rostovtsev <tetromino@gentoo.org> glib-2.32.1.ebuild, > +files/glib-2.32.1-gnustep-not-cocoa.patch: > Fix building on systems with gnustep-base installed (bug #411981, thanks to > Carlos Konstanski et al. for reporting).