problem compiling /usr/ports/databases/postgresql7

pete wright <[email protected]>
Newsgroups gmane.os.freebsd.devel.database
Message-ID <[email protected]>
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 <URL:http://gcc.gnu.org/bugs.html> 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
    [email protected]:/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: <Open Firmware Nexus device>
pcib0: <U2P UPA-PCI bridge> 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: <OFW PCI bus> on pcib0
pcib1: <APB PCI-PCI bridge> at device 1.1 on pci0
pci1: <OFW PCI bus> on pcib1
ebus0: <PCI-EBus2 bridge> mem
0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 1.0 on pci1
ebus0: <auxio> addr
0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003
(no driver attached)
ebus0: <power> addr 0x1400724000-0x1400724003 irq 37 (no driver attached)
ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached)
sab0: <Siemens SAB 82532 v3.2> addr 0x1400400000-0x140040007f irq 43 on ebus0
sab0: [FAST]
sabtty0: <ttya> on sab0
sabtty1: <ttyb> on sab0
ebus0: <su> addr 0x14003083f8-0x14003083ff irq 41 (no driver attached)
ebus0: <su> addr 0x14003062f8-0x14003062ff irq 42 (no driver attached)
ebus0: <ecpp> addr
0x1400700000-0x140070000f,0x140030015c-0x140030015d,0x14003043bc-0x14003043cb
irq 34 (no driver attached)
ebus0: <fdthree> addr
0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0-0x14003023f7
irq 39 (no driver attached)
eeprom0: <EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0
eeprom0: model mk48t59
eeprom0: hostid 80cff1dd
ebus0: <flashprom> addr 0x1000000000-0x10000fffff (no driver attached)
ebus0: <SUNW,CS4231> addr
0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000-0x140070200f,0x1400200000-0x14002000ff
irq 36,35 (no driver attached)
hme0: <Sun HME 10/100 Ethernet> mem 0xe0000000-0xe0007fff at device 1.1 on pci1
miibus0: <MII bus> on hme0
nsphy0: <DP83840 10/100 media interface> 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: <display, VGA> at device 2.0 (no driver attached)
atapci0: <CMD 646 WDMA2 controller> 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: <APB PCI-PCI bridge> at device 1.0 on pci0
pci2: <OFW PCI bus> on pcib2
ahc0: <Adaptec 29160 Ultra160 SCSI adapter> 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 <ST3120026A/8.54> [232581/16/63] at ata2-master WDMA2
acd0: CDRW <CRD-8322B/1.05> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-database
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.