From owner-freebsd-ports Tue Feb 6 8:20:23 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B938137B4EC for ; Tue, 6 Feb 2001 08:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f16GK2u48726; Tue, 6 Feb 2001 08:20:02 -0800 (PST) (envelope-from gnats) Received: from matrix.eurocontrol.fr (matrix.eurocontrol.fr [147.196.254.254]) by hub.freebsd.org (Postfix) with ESMTP id EB40837B4EC for ; Tue, 6 Feb 2001 08:16:14 -0800 (PST) Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.51.214]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "caerdonn.eurocontrol.fr", Issuer CN "CA ITM" (verified OK)) by matrix.eurocontrol.fr (Postfix/TLS) with ESMTP id 5B1235C5B for ; Tue, 6 Feb 2001 17:16:14 +0100 (CET) Received: by caerdonn.eurocontrol.fr (Postfix/TLS, from userid 1193) id 007D34E77; Tue, 6 Feb 2001 17:16:13 +0100 (CET) Message-Id: <20010206161613.007D34E77@caerdonn.eurocontrol.fr> Date: Tue, 6 Feb 2001 17:16:13 +0100 (CET) From: roberto@eurocontrol.fr Reply-To: roberto@eurocontrol.fr To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/24901: gnomevfs 0.5 broken by recent libc/libc_r changes Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24901 >Category: ports >Synopsis: Problem with some threaded ports (e.g.gnomevfs) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 06 08:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Ollivier Robert >Release: FreeBSD 5.0-CURRENT i386 >Organization: Usenet Canal Historique >Environment: System: FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #50: Fri Jan 26 10:00:25 CET 2001 roberto@caerdonn.eurocontrol.fr:/src/src/sys/compile/CAERDONN i386 CURRENT ports as of today. >Description: The recent change in libc/libc_r where -lc_r is now only the pthreads library and doesn't contain any libc code seems to break some threaded ports. glib 1.2.8 is such a port and the definition inside glib12-config doesn't show any call to -lc_r, thus the ports depending on that fails. >How-To-Repeat: Try to compile gnomevfs. ===> Patching for gnomevfs-0.5 ===> Applying FreeBSD patches for gnomevfs-0.5 ===> Configuring for gnomevfs-0.5 creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel ... checking for GLIB - version >= 1.2.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB was incorrectly installed *** or that you have moved GLIB since it was installed. In the latter case, you *** may want to edit the glib-config script: /usr/local/bin/glib12-config configure: error: *** GLIB 1.2.0 or better is required. The latest version of GLIB *** is always available from ftp://ftp.gtk.org/. ===> Script "configure" failed: here are the contents of "config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. The config.log file shows: configure:2414: checking for GLIB - version >= 1.2.0 configure:2513: cc -o conftest -O -pipe -I/usr/X11R6/include -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include -L/usr/X11R6/lib conftest.c -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12 -lglib12 -pthread -L/usr/local/lib 1>&5 /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x56): undefined reference to `atexit' /usr/lib/crt1.o(.text+0x66): undefined reference to `atexit' /usr/lib/crt1.o(.text+0x7f): undefined reference to `exit' /tmp/ccNN9Uo3.o: In function `main': ... >Fix: Add -lc_r to the flags in glib12-config maybe? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message