Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411981 - dev-libs/glib-2.32.1 fails to configure when gnustep-base is installed: Foundation.h
Summary: dev-libs/glib-2.32.1 fails to configure when gnustep-base is installed: Found...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 412011 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-14 15:25 UTC by Carlos Konstanski
Modified: 2012-04-16 03:24 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Konstanski 2012-04-14 15:25:18 UTC
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
Comment 1 Philipp Riegger 2012-04-15 10:58:00 UTC
Same here.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-16 01:18:20 UTC
*** Bug 412011 has been marked as a duplicate of this bug. ***
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-16 03:24:15 UTC
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).