From owner-freebsd-x11@FreeBSD.ORG Wed Jan 25 09:54:59 2006 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C428316A41F; Wed, 25 Jan 2006 09:54:59 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20FF243D49; Wed, 25 Jan 2006 09:54:58 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id k0P9sUMR020812; Wed, 25 Jan 2006 20:54:45 +1100 Received: from [61.8.36.144] (ppp2490.dyn.pacific.net.au [61.8.36.144]) by mailproxy2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id k0P9sHvr012666; Wed, 25 Jan 2006 20:54:19 +1100 Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Sam Lawrance Date: Wed, 25 Jan 2006 20:54:26 +1100 To: ports@freebsd.org X-Mailer: Apple Mail (2.746.2) Cc: x11@freebsd.org Subject: imake / xorg build error X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ports@freebsd.org List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 09:54:59 -0000 In case anybody else comes across this error in devel/imake-6 (and other xorg ports): ------------------------------ 8< ------------------------------ + mv imake bootstrap cd ./config/imake && make -f Makefile.proto imakeonly cc -O2 -fno-strict-aliasing -pipe -O2 -fno-strength-reduce -fno- strict-aliasing -ansi -pedantic -Wno-system-headers -Dasm=__asm - Wall -Wpointer-arith -Wundef -I../../include -I../../exports/ include/X11 -I../.. -I../../exports/include -DCSRG_BASED - DFUNCPROTO=15 -DNARROWPROTO -DCPP_PROGRAM="\"/usr/bin/cpp\"" - DHAS_MERGE_CONSTANTS=`if cc -fmerge-constants -xc /dev/null -S -o / dev/null 2> /dev/null 1> /dev/null; then echo 1; else echo 0; fi` -DMONOLITH -c imake.c rm -f imake cc -o imake -O2 -fno-strength-reduce -fno-strict-aliasing -ansi - pedantic -Wno-system-headers -Dasm=__asm -Wall -Wpointer-arith - Wundef imake.o -L/usr/X11R6/lib -lgnumalloc -Wl,-rpath,/usr/ X11R6/lib -Wl,-rpath-link,../../exports/lib /usr/bin/ld: cannot find -lgnumalloc *** Error code 1 Stop in /usr/ports/devel/imake-6/work/xc/config/imake. *** Error code 1 Stop in /usr/ports/devel/imake-6/work/xc. make: cannot open xmakefile. *** Error code 2 Stop in /usr/ports/devel/imake-6. ------------------------------ 8< ------------------------------ The problem was that I was running a release built with RELEASENAME set to something not matching the usual form (eg RELEASENAME=blah vs. RELEASENAME=6.0-STABLE). It seems that xorg uses that string for some pre-build configuration. I used a faked-up uname from ports/Tools/portbuild/5/bindist/usr/bin/ uname as a workaround.