From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 14:22:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4941C106566B for ; Mon, 21 Apr 2008 14:22:48 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id B428A8FC14 for ; Mon, 21 Apr 2008 14:22:47 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 3708 invoked from network); 21 Apr 2008 09:22:46 -0500 Received: from 124-171-253-152.dyn.iinet.net.au (HELO ayiin) (124.171.253.152) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 21 Apr 2008 09:22:45 -0500 Date: Tue, 22 Apr 2008 00:22:41 +1000 From: Norberto Meijome To: FreeBSD Questions ML Message-ID: <20080422002241.41437eae@ayiin> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Need help with error building lang/guile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2008 14:22:48 -0000 Hi everyone, For a while now i've been unable to upgrade to the latest lang/guile port. I am running 7.0-STABLE (world and kernel up to date about twice weekly) on x86. my current guile is guile-1.6.8_3 GNU Ubiquitous Intelligent Language for Extension and wants to upgrade to 1.8.4. Going by the date of the package built for 1.6.8_3 , it was built when under FreeBSD 6.3. As far as I can tell, i've upgraded every other component of my laptop... The error i get is : --- make distclean; make [...] Making all in goops gmake[3]: Entering directory `/usr/ports/lang/guile/work/guile-1.8.4/oop/goops' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4/oop/goops' gmake[3]: Entering directory `/usr/ports/lang/guile/work/guile-1.8.4/oop' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4/oop' gmake[2]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4/oop' Making all in libguile gmake[2]: Entering directory `/usr/ports/lang/guile/work/guile-1.8.4/libguile' Generating libpath.h... sed < ./version.h.in > version.h.tmp \ -e s:@-GUILE_MAJOR_VERSION-@:1: \ -e s:@-GUILE_MINOR_VERSION-@:8: \ -e s:@-GUILE_MICRO_VERSION-@:4: mv version.h.tmp version.h if [ "no" = "yes" ]; then \ cc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -c -o gen-scmconfig.o gen-scmconfig.c; \ else \ cc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=pentium-m -Wall -Wmissing-prototypes -Werror -c -o gen-scmconfig.o gen-scmconfig.c; \ fi if [ "no" = "yes" ]; then \ cc -o gen-scmconfig gen-scmconfig.o; \ else \ /bin/sh ../libtool --tag=CC --mode=link cc -O2 -fno-strict-aliasing -pipe -march=pentium-m -Wall -Wmissing-prototypes -Werror -L/usr/local/lib -o gen-scmconfig gen-scmconfig.o -llthread -lgmp -lcrypt -lm -lltdl ; \ fi mkdir .libs cc -O2 -fno-strict-aliasing -pipe -march=pentium-m -Wall -Wmissing-prototypes -Werror -o gen-scmconfig gen-scmconfig.o -L/usr/local/lib -llthread /usr/local/lib/libgmp.so -lcrypt -lm /usr/local/lib/libltdl.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib rm -f scmconfig.h.tmp cat ./scmconfig.h.top > scmconfig.h.tmp ./gen-scmconfig >> scmconfig.h.tmp Segmentation fault (core dumped) gmake[2]: *** [scmconfig.h] Error 139 gmake[2]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4/libguile' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/lang/guile. I run ktrace on the gen-scmconfig that is dying on me: [root@ayiin] [Mon Apr 21 22:28:36 2008] /usr/ports/lang/guile/work/guile-1.8.4/libguile # ktrace ./gen-scmconfig >> scmconfig.h.tmp Segmentation fault: 11 (core dumped) and the calls before the core dump are: 89607 gen-scmconfig RET sigprocmask 0 89607 gen-scmconfig CALL __sysctl(0xbfbfea28,0x2,0x281fb920,0xbfbfea34,0,0) 89607 gen-scmconfig RET __sysctl 0 89607 gen-scmconfig CALL __sysctl(0xbfbfe538,0x2,0x2820807c,0xbfbfe540,0,0) 89607 gen-scmconfig RET __sysctl 0 89607 gen-scmconfig CALL __sysctl(0xbfbfe588,0x2,0xbfbfe594,0xbfbfe598,0,0) 89607 gen-scmconfig RET __sysctl 0 89607 gen-scmconfig CALL readlink(0x281e8e40,0xbfbfe627,0x400) 89607 gen-scmconfig NAMI "/etc/malloc.conf" 89607 gen-scmconfig RET readlink -1 errno 2 No such file or directory 89607 gen-scmconfig CALL issetugid 89607 gen-scmconfig RET issetugid 0 89607 gen-scmconfig CALL break(0x8100000) 89607 gen-scmconfig RET break 0 89607 gen-scmconfig PSIG SIGSEGV SIG_DFL 89607 gen-scmconfig NAMI "gen-scmconfig.core" The full ktrace.out can be found at http://www.meijome.net/files/freebsd/libguile_smconfig_ktrace.out.gz I have no malloc.conf . I am not too sure whether it is safe to create any as per malloc.conf... I tried with an empty file with no improvement on the outcome. My libmap.conf is all commented out. I've rebuilt each dependency of lang/guile, including gmake and tried after each individual upgrade, no change. My /etc/make.conf can be found in http://www.meijome.net/files/freebsd/20080422_make.conf Any points would be greatly appreciated :) B _________________________ {Beto|Norberto|Numard} Meijome "Imagination is more important than knowledge." Albert Einstein, On Science I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.