From owner-freebsd-database@FreeBSD.ORG Wed Nov 24 04:31:24 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7293216A4CE for ; Wed, 24 Nov 2004 04:31:24 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2585C43D2D for ; Wed, 24 Nov 2004 04:31:21 +0000 (GMT) (envelope-from nomadlogic@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so43487rnf for ; Tue, 23 Nov 2004 20:31:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=T7jEIhN6/jz9OzC59omwkRR/5PO4c1Jvgnjm5mmaaGrvtOv7rgHDgIC9ZRXIJbUkQVelcLjgvv4cmjYg6vbVjTA/fZtFskrnIVQyzmp3wimPtuhLeUYPIm/dtnNdo8aS820pniVxlf3fqKfUizIpldzUabn/nJMKVC5YluGQif0= Received: by 10.38.15.61 with SMTP id 61mr172634rno; Tue, 23 Nov 2004 20:31:17 -0800 (PST) Received: by 10.38.14.26 with HTTP; Tue, 23 Nov 2004 20:31:17 -0800 (PST) Message-ID: <57d71000041123203135e2d63b@mail.gmail.com> Date: Tue, 23 Nov 2004 20:31:17 -0800 From: pete wright To: freebsd-database@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: problem compiling /usr/ports/databases/postgresql7 X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pete wright List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 04:31:24 -0000 Hi list, I've looked through the archives and google and have not found anything relating to this issue. When I attempt to compile /usr/ports/databases/postgresql7 from ports it fails with what looks like an error while trying to compile a preproc file. System is a sun ultra5: %uname -r 5.3-STABLE % here is the error message: gmake[4]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.4.6/src/interfaces/ecpg/ecpglib' gmake -C compatlib all gmake[4]: Entering directory `/usr/ports/databases/postgresql7/work/postgresql-7.4.6/src/interfaces/ecpg/compatlib' cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC -I../../../../src/interfaces/ecpg/include -I../../. ./../src/interfaces/libpq -I../../../../src/include/utils -I../../../../src/include -I/usr/local/include -c -o informix.o informix.c ar cr libecpg_compat.a `lorder informix.o | tsort` ranlib libecpg_compat.a cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC -shared -Wl,-x,-soname,libecpg_compat.so.1 informix .o -L../../../../src/port -L/usr/local/lib -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes -L../../../../src/interfaces/libpq -lpq -lintl -lssl -lcryp to -lcrypt -lm -R/usr/local/lib -o libecpg_compat.so.1 rm -f libecpg_compat.so ln -s libecpg_compat.so.1 libecpg_compat.so gmake[4]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.4.6/src/interfaces/ecpg/compatlib' gmake -C preproc all gmake[4]: Entering directory `/usr/ports/databases/postgresql7/work/postgresql-7.4.6/src/interfaces/ecpg/preproc' gmake -C ../../../../src/port all gmake[5]: Entering directory `/usr/ports/databases/postgresql7/work/postgresql-7.4.6/src/port' gmake[5]: Nothing to be done for `all'. gmake[5]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.4.6/src/port' cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error -I./../include -I. -I../../../../src/include -I/usr/ local/include -DMAJOR_VERSION=3 -DMINOR_VERSION=1 -DPATCHLEVEL=1 -DINCLUDEDIR=\"/usr/local/include\" -DPKGINCLUDEDIR=\"/usr/local/include/postgresq l\" -c -o preproc.o preproc.c In file included from preproc.y:6331: pgc.c: In function `yylex': pgc.c:1440: warning: label `find_rule' defined but not used cc: {standard input}: Assembler messages: {standard input}:123489: Warning: end of file not at end of a line; newline inserted Internal error: Killed (program cc1) Please submit a full bug report. See for instructions. gmake[4]: *** [preproc.o] Error 1 gmake[4]: *** Deleting file `preproc.o' gmake[4]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.4.6/src/interfaces/ecpg/preproc' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.4.6/src/interfaces/ecpg' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.4.6/src/interfaces' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.4.6/src' gmake: *** [all] Error 2 *** Error code 2 I am not sure if this enough information, i can post the script(1) file I created when I began the make if neccessary. Also for completeness here is a dmesg: %dmesg Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...2 1 1 1 0 1 0 0 done No buffers busy after final sync Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-STABLE #0: Mon Nov 22 09:49:12 PST 2004 root@sun.nomadlogic.org:/usr/obj/usr/src/sys/SUN Timecounter "tick" frequency 360000000 Hz quality 1000 real memory = 134217728 (128 MB) avail memory = 120963072 (115 MB) cpu0: Sun Microsystems UltraSparc-IIi Processor (360.00 MHz CPU) nexus0: pcib0: on nexus0 pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0 dvma: DVMA map: 0xc0000000 to 0xc3ffffff pci0: on pcib0 pcib1: at device 1.1 on pci0 pci1: on pcib1 ebus0: mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 1.0 on pci1 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver attached) ebus0: addr 0x1400724000-0x1400724003 irq 37 (no driver attached) ebus0: addr 0x1400504000-0x1400504002 (no driver attached) sab0: addr 0x1400400000-0x140040007f irq 43 on ebus0 sab0: [FAST] sabtty0: on sab0 sabtty1: on sab0 ebus0: addr 0x14003083f8-0x14003083ff irq 41 (no driver attached) ebus0: addr 0x14003062f8-0x14003062ff irq 42 (no driver attached) ebus0: addr 0x1400700000-0x140070000f,0x140030015c-0x140030015d,0x14003043bc-0x14003043cb irq 34 (no driver attached) ebus0: addr 0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0-0x14003023f7 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 80cff1dd ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000-0x140070200f,0x1400200000-0x14002000ff irq 36,35 (no driver attached) hme0: mem 0xe0000000-0xe0007fff at device 1.1 on pci1 miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme0: Ethernet address: 08:00:20:cf:f1:dd hme0: if_start running deferred for Giant hme0: [GIANT-LOCKED] pci1: at device 2.0 (no driver attached) atapci0: port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc00010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 at device 3.0 on pci1 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 pcib2: at device 1.0 on pci0 pci2: on pcib2 ahc0: port 0x400-0x4ff mem 0x2000-0x2fff at device 1.0 on pci2 ahc0: [GIANT-LOCKED] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs Timecounters tick every 10.000 msec ad0: 114473MB [232581/16/63] at ata2-master WDMA2 acd0: CDRW at ata3-master PIO4 Waiting 10 seconds for SCSI devices to settle Mounting root from ufs:/dev/ad0a cheers, -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group