Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2006 04:43:51 -0700 (PDT)
From:      Cy Schubert <cy@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/99076: libgsf-gnome configure failure
Message-ID:  <200606171143.k5HBhpuT050623@cwsys.cwsent.com>
Resent-Message-ID: <200606171150.k5HBoGUg080586@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         99076
>Category:       ports
>Synopsis:       libgsf-gnome configure failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 17 11:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Cy Schubert
>Release:        FreeBSD-2.0
>Organization:
FreeBSD
>Environment:
System: FreeBSD cwsys 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Jun 14 17:55:44 PDT 2006 root@cwsys:/export/obj/opt/src/cvs-stable6/src/sys/KOMQUATS i386


>Description:
Libgsf-gnome fails to configure as follows:

cwsys# make
===>  Extracting for libgsf-gnome-1.14.1
=> MD5 Checksum OK for gnome2/libgsf-1.14.1.tar.bz2.
=> SHA256 Checksum OK for gnome2/libgsf-1.14.1.tar.bz2.
===>  Patching for libgsf-gnome-1.14.1
===>   libgsf-gnome-1.14.1 depends on file: /usr/local/bin/libtool - found
===>  Applying FreeBSD patches for libgsf-gnome-1.14.1
===>   libgsf-gnome-1.14.1 depends on executable: gmake - found
===>   libgsf-gnome-1.14.1 depends on file: /usr/local/bin/libtool - found
===>   libgsf-gnome-1.14.1 depends on file: /usr/local/bin/intltool-extract - found
===>   libgsf-gnome-1.14.1 depends on file: /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
===>   libgsf-gnome-1.14.1 depends on executable: pkg-config - found
===>   libgsf-gnome-1.14.1 depends on shared library: intl - found
===>   libgsf-gnome-1.14.1 depends on shared library: atk-1.0.0 - found
===>   libgsf-gnome-1.14.1 depends on shared library: gconf-2.4 - found
===>   libgsf-gnome-1.14.1 depends on shared library: glib-2.0.0 - found
===>   libgsf-gnome-1.14.1 depends on shared library: gnomevfs-2.0 - found
===>   libgsf-gnome-1.14.1 depends on shared library: gtk-x11-2.0.0 - found
===>   libgsf-gnome-1.14.1 depends on shared library: bonobo-2.0 - found
===>   libgsf-gnome-1.14.1 depends on shared library: gsf-1.114 - found
===>   libgsf-gnome-1.14.1 depends on shared library: IDL-2.0 - found
===>   libgsf-gnome-1.14.1 depends on shared library: xml2.5 - found
===>   libgsf-gnome-1.14.1 depends on shared library: linc.1 - found
===>   libgsf-gnome-1.14.1 depends on shared library: ORBit-2.0 - found
===>   libgsf-gnome-1.14.1 depends on shared library: pango-1.0.0 - found
===>   libgsf-gnome-1.14.1 depends on shared library: X11.6 - found
===>  Configuring for libgsf-gnome-1.14.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/export2/wrkdir/usr/ports/devel/libgsf-gnome/work/libgsf-1.14.1/config.log",
(b) the output of the failed make command, and (c) the gnomelogalyzer output.
Also, it might be a good idea to provide an overview of all packages installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing
lists are usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/devel/libgsf-gnome.
cwsys#

>How-To-Repeat:
See description above.
>Fix:
Seems that adding -pthread to the options passed to gcc fixes the problem.

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/libgsf-gnome/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	30 Apr 2006 00:46:51 -0000	1.6
+++ Makefile	17 Jun 2006 11:40:27 -0000
@@ -8,6 +8,7 @@
 
 CATEGORIES=	devel gnome
 PKGNAMESUFFIX=	-gnome
+PORTREVISION=	1
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	A GNOME wrapper for libgsf
@@ -19,7 +20,7 @@
 USE_GNOME=	gnomehack libgsf gnomevfs2 ltverhack intlhack
 CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc/gsf \
 		--disable-gtk-doc --with-bz2 --with-gnome
-CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
+CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include -pthread" \
 		LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lgsf-1"
 
 GCONF_SCHEMAS=
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606171143.k5HBhpuT050623>