From owner-freebsd-ports@FreeBSD.ORG Thu Jan 27 18:06:41 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C34B716A4CE for ; Thu, 27 Jan 2005 18:06:41 +0000 (GMT) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3944843D39 for ; Thu, 27 Jan 2005 18:06:39 +0000 (GMT) (envelope-from vivek@khera.org) Received: from [192.168.7.148] (host-148.int.kcilink.com [192.168.7.148]) by yertle.kcilink.com (Postfix) with ESMTP id 055B2B869 for ; Thu, 27 Jan 2005 13:06:37 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: ports@freebsd.org From: Vivek Khera Date: Thu, 27 Jan 2005 13:06:36 -0500 X-Mailer: Apple Mail (2.619.2) Subject: advice on building textproc/sp on amd64 FreeBSD 5-STABLE. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 18:06:41 -0000 When attempting to install textproc/sp on an amd64 system running FreeBSD 5-STABLE (about a month old) this happens, since sp has a USE_GCC=2.95 requirement: ===> sp-1.3.4 depends on executable: gcc295 - not found ===> Verifying install for gcc295 in /usr/ports/lang/gcc295 ===> gcc-2.95.3_2 is only for alpha i386, and you are running amd64. *** Error code 1 So, I figure gcc 3.4.2 is newer than 2.95, so perhaps it will work. I comment out the USE_GCC line and then I get syntax errors: => Checksum OK for sp-1.3.4.tar.gz. /usr/ports/distfiles//sp-1.3.4.tar.gz: 80.2% ===> Patching for sp-1.3.4 ===> Applying FreeBSD patches for sp-1.3.4 /usr/bin/sed -i.bak -e 's,=/usr/local,=/usr/local,g' /var/tmp/u/yertle1/sources/ports/textproc/sp/work/sp-1.3.4/Makefile* ===> Configuring for sp-1.3.4 ===> Building for sp-1.3.4 c++ -fno-implicit-templates -O -pipe -march=nocona -ansi -I. -I./../include -I./../generic -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_HAVE_LOCALE -DSP_HAVE_SOCKET -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c -o Allocator.o Allocator.cxx c++ -fno-implicit-templates -O -pipe -march=nocona -ansi -I. -I./../include -I./../generic -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_HAVE_LOCALE -DSP_HAVE_SOCKET -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c -o Link.o Link.cxx [ ... ] c++ -fno-implicit-templates -O -pipe -march=nocona -ansi -I. -I./../include -I./../generic -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_HAVE_LOCALE -DSP_HAVE_SOCKET -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c -o CharsetInfo.o CharsetInfo.cxx In file included from ./../include/UnivCharsetDesc.h:13, from ./../include/CharsetInfo.h:11, from CharsetInfo.cxx:8: ./../include/RangeMap.h:57: error: expected `;' before "ptr_" ./../include/RangeMap.h: In member function `Boolean RangeMapIter::next(From&, From&, To&)': ./../include/RangeMap.h:47: error: `ptr_' undeclared (first use this function) ./../include/RangeMap.h:47: error: (Each undeclared identifier is reported only once for each function it appears in.) *** Error code 1 Stop in /var/tmp/u/yertle1/sources/ports/textproc/sp/work/sp-1.3.4/lib. Not being a C++ type person, I don't know how to debug this. Any hints? Or is sp just broken on amd64 anyway (it is marked broken for sparc64 so perhaps it has some 64-bit issues).