From owner-freebsd-ports Tue Feb 6 8:40:22 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 CD91737B401 for ; Tue, 6 Feb 2001 08:40:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f16Ge4p51150; Tue, 6 Feb 2001 08:40:04 -0800 (PST) (envelope-from gnats) Date: Tue, 6 Feb 2001 08:40:04 -0800 (PST) Message-Id: <200102061640.f16Ge4p51150@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Maxim Sobolev Subject: Re: ports/24901: gnomevfs 0.5 broken by recent libc/libc_r changes Reply-To: Maxim Sobolev Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/24901; it has been noted by GNATS. From: Maxim Sobolev To: roberto@eurocontrol.fr Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/24901: gnomevfs 0.5 broken by recent libc/libc_r changes Date: Tue, 06 Feb 2001 18:37:34 +0200 roberto@eurocontrol.fr wrote: > >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': > ... Have you recompiled/reinstalled all pthread-using ports after upgrading your -current system? If not please do so, because it's likely to be the source of this problem. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message