I just finished installing OpenBSD 4.0 on a
machine of mine.  After installation first
thing I did was to get some ports installed.
First post was PostgreSQL.  Running 'make build'
failed with an error pointing in configure
script.  I looked at it to see if it was the
patch process that messed up or not.  I couldn't
be too sure.  I did a 'make clean' and started
the build over again.  This time configure
went on and the build process began, but soon
after failed again with:

cc -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels
-fno-strict-aliasing -fpic -DPIC -I../../../../../../src/include
-I/usr/include/kerberosV  -c -o utf8_and_gb18030.o utf8_and_gb18030.c
In file included from utf8_and_gb18030.c:17:
../../Unicode/gb18030_to_utf8.map:29313: error: syntax error before '{' token
gmake[3]: *** [utf8_and_gb18030.o] Error 1
gmake[3]: Leaving directory
`/usr/ports/databases/postgresql/w-postgresql-8.1.4/postgresql-8.1.4/src/backend/utils/mb/conversion_procs/utf8_and_gb18030'
gmake[2]: *** [all] Error 2



I thought that was strange.  This wasn't one
of the patched files.

I wondered if something might be wrong with
the dist-file.  I untared it in my home dir
and ran a recursive 'diff -qr' on both dirs
and found a handful of files different.

I did a manual diff on these files and strange
difference appear (see pasted output at end
of message).

So, I untared the dist-file again in my home
dir, in a different dir and ran the diff -rq
on the two "virgin" directories in my home.
Again a few files came up different.

I checksums on the dist-file are matching fine,
so it isn't the source of the problem.

I've not see this type of problem before, so I
turn to you guys.  Is this a sign that maybe
a drive is going bad?  Or sign of bad memory?

What's going on here!?  I know it is almost
Halloween and all, but this is kinda _spooky_
to say the least.


Idea? Please? :-)



gmake[3]: Leaving directory
`/usr/ports/databases/postgresql/w-postgresql-8.1.4/postgresql-8.1.4/src/backend/utils/mb/conversion_procs/utf8_and_euc_tw'
gmake[3]: Entering directory
`/usr/ports/databases/postgresql/w-postgresql-8.1.4/postgresql-8.1.4/src/backend/utils/mb/conversion_procs/utf8_and_gb18030'
cc -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels
-fno-strict-aliasing -fpic -DPIC -I../../../../../../src/include
-I/usr/include/kerberosV  -c -o utf8_and_gb18030.o utf8_and_gb18030.c
In file included from utf8_and_gb18030.c:17:
../../Unicode/gb18030_to_utf8.map:29313: error: syntax error before '{' token
gmake[3]: *** [utf8_and_gb18030.o] Error 1
gmake[3]: Leaving directory
`/usr/ports/databases/postgresql/w-postgresql-8.1.4/postgresql-8.1.4/src/backend/utils/mb/conversion_procs/utf8_and_gb18030'
gmake[2]: *** [all] Error 2


--- src/backend/utils/mb/Unicode/gb18030_to_utf8.map    Sat Aug 23 22:18:04
2003
+++
/home/sidster/src/postgresql-8.1.4/src/backend/utils/mb/Unicode//gb18030_to_utf8.map
       Sat Aug 23 22:18:04 2003
@@ -29309,9 +29309,8 @@ static pg_local_to_utf LUmapGB18030[ 633
   {0x8134a137, 0xe19895},
   {0x8134a138, 0xe19896},
   {0x8134a139, 0xe19897},
-  {0x8134a230, 0xe19898
-  {0x8134a136, 0xe19894},
- 
+  {0x8134a230, 0xe19898},
+  {0x8134a231, 0xe19899},
   {0x8134a232, 0xe1989a},
   {0x8134a233, 0xe1989b},
   {0x8134a234, 0xe1989c},

$ ls -l src/backend/utils/mb/Unicode/gb18030_to_utf8.map
-rw-r--r--  1 root  wheel  1547811 Aug 23  2003
src/backend/utils/mb/Unicode/gb18030_to_utf8.map

$ ls -l
/home/sidster/src/postgresql-8.1.4/src/backend/utils/mb/Unicode//gb18030_to_utf8.map
-rw-r--r--  1 sidster  sidster  1547811 Aug 23  2003
/home/sidster/src/postgresql-8.1.4/src/backend/utils/mb/Unicode//gb18030_to_utf8.map


$ md5 src/backend/utils/mb/Unicode/gb18030_to_utf8.map
/home/sidster/src/postgresql-8.1.4/src/backend/utils/mb/Unicode//gb18030_to_utf8.map
MD5 (src/backend/utils/mb/Unicode/gb18030_to_utf8.map) =
c38472696883c20280cabe6aa122d1ac
MD5 (/home/sidster/src/postgresql-8.1.4/src/backend/utils/mb/Unicode/) =
d41d8cd98f00b204e9800998ecf8427e


$ diff -qr . /home/sidster/src/postgresql-8.1.4/ | grep -v ^Only
diff -qr ./config/config.sub
/home/sidster/src/postgresql-8.1.4/config/config.sub
Files ./config/config.sub and
/home/sidster/src/postgresql-8.1.4/config/config.sub differ
diff -qr ./configure /home/sidster/src/postgresql-8.1.4/configure
Files ./configure and /home/sidster/src/postgresql-8.1.4/configure differ
diff -qr ./src/Makefile.shlib
/home/sidster/src/postgresql-8.1.4/src/Makefile.shlib
Files ./src/Makefile.shlib and
/home/sidster/src/postgresql-8.1.4/src/Makefile.shlib differ
diff -qr ./src/backend/po/ru.po
/home/sidster/src/postgresql-8.1.4/src/backend/po/ru.po
Files ./src/backend/po/ru.po and
/home/sidster/src/postgresql-8.1.4/src/backend/po/ru.po differ
diff -qr ./src/backend/utils/mb/Unicode/gb18030_to_utf8.map
/home/sidster/src/postgresql-8.1.4/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
Files ./src/backend/utils/mb/Unicode/gb18030_to_utf8.map and
/home/sidster/src/postgresql-8.1.4/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
differ
diff -qr ./src/backend/utils/mb/Unicode/utf8_to_euc_cn.map
/home/sidster/src/postgresql-8.1.4/src/backend/utils/mb/Unicode/utf8_to_euc_cn.map
Files ./src/backend/utils/mb/Unicode/utf8_to_euc_cn.map and
/home/sidster/src/postgresql-8.1.4/src/backend/utils/mb/Unicode/utf8_to_euc_cn.map
differ
diff -qr ./src/interfaces/ecpg/compatlib/Makefile
/home/sidster/src/postgresql-8.1.4/src/interfaces/ecpg/compatlib/Makefile
Files ./src/interfaces/ecpg/compatlib/Makefile and
/home/sidster/src/postgresql-8.1.4/src/interfaces/ecpg/compatlib/Makefile
differ
diff -qr ./src/interfaces/ecpg/ecpglib/Makefile
/home/sidster/src/postgresql-8.1.4/src/interfaces/ecpg/ecpglib/Makefile
Files ./src/interfaces/ecpg/ecpglib/Makefile and
/home/sidster/src/postgresql-8.1.4/src/interfaces/ecpg/ecpglib/Makefile differ
diff -qr ./src/interfaces/ecpg/pgtypeslib/Makefile
/home/sidster/src/postgresql-8.1.4/src/interfaces/ecpg/pgtypeslib/Makefile
Files ./src/interfaces/ecpg/pgtypeslib/Makefile and
/home/sidster/src/postgresql-8.1.4/src/interfaces/ecpg/pgtypeslib/Makefile
differ
diff -qr ./src/interfaces/libpq/Makefile
/home/sidster/src/postgresql-8.1.4/src/interfaces/libpq/Makefile
Files ./src/interfaces/libpq/Makefile and
/home/sidster/src/postgresql-8.1.4/src/interfaces/libpq/Makefile differ


--- ./config/config.sub Sun Oct 29 22:36:24 2006
+++ /home/sidster/src/postgresql-8.1.4/config/config.sub        Fri Jul  1
11:17:31 2005
@@ -3,7 +3,7 @@
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 #   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
-timestamp='2005-07-01'
+timestamp='2005-06-30'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -260,7 +260,7 @@ case $basic_machine in
        | ms1 \
        | msp430 \
        | ns16k | ns32k \
-       | or32 \
+       | openrisc | or32 \
        | pdp10 | pdp11 | pj | pjl \
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
        | pyramid \
@@ -771,8 +771,9 @@ case $basic_machine in
                basic_machine=hppa1.1-oki
                os=-proelf
                ;;
-       openrisc | openrisc-*)
+       or32 | or32-*)
                basic_machine=or32-unknown
+               os=-coff
                ;;
        os400)
                basic_machine=powerpc-ibm
--- ./src/backend/po/ru.po      Mon Jan 17 12:27:44 2005
+++ /home/sidster/src/postgresql-8.1.4/src/backend/po/ru.po     Mon Jan 17
12:27:44 2005
@@ -2219,7 +2219,7 @@ msgid "there are multiple rules named \"
 msgstr "U≈≈ ,C≈ + !◊C! 
U≈≈U \"%s\""
 
 #: commands/comment.c:591
-msgid "Specify a relation name as well as a rule name."
+msgi,K∞ps well as a rule name."
 msgstr "ı@!w≈ U ≈  [EMAIL PROTECTED]≈ U
!◊C!."
 
 #: commands/comment.c:619
--- ./src/backend/utils/mb/Unicode/gb18030_to_utf8.map  Sat Aug 23 22:18:04
2003
+++
/home/sidster/src/postgresql-8.1.4/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
Sat Aug 23 22:18:04 2003
@@ -29309,9 +29309,8 @@ static pg_local_to_utf LUmapGB18030[ 633
   {0x8134a137, 0xe19895},
   {0x8134a138, 0xe19896},
   {0x8134a139, 0xe19897},
-  {0x8134a230, 0xe19898
-  {0x8134a136, 0xe19894},
- 
+  {0x8134a230, 0xe19898},
+  {0x8134a231, 0xe19899},
   {0x8134a232, 0xe1989a},
   {0x8134a233, 0xe1989b},
   {0x8134a234, 0xe1989c},
--- ./src/backend/utils/mb/Unicode/utf8_to_euc_cn.map   Sun Apr 15 23:10:19
2001
+++
/home/sidster/src/postgresql-8.1.4/src/backend/utils/mb/Unicode/utf8_to_euc_cn.map
 Sun Apr 15 23:10:19 2001
@@ -105,9 +105,8 @@ static pg_utf_to_local ULmapEUC_CN[ 7445
   {0xd0a3, 0xa7b5},
   {0xd0a4, 0xa7b6},
   {0xd0a5, 0xa7b7},
-  {0xd0a6, 0xa7b8},
-  {0xd0a7, 0xa7b9},
-  {0xd0a8, 0xa7ba},
+  {0xd0a6, 0x, 0xa7b5},
+  {0xd0a4, 0xa7b6 {0xd0a8, 0xa7ba},
   {0xd0a9, 0xa7bb},
   {0xd0aa, 0xa7bc},
   {0xd0ab, 0xa7bd},


dmesg:
OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) Processor ("AuthenticAMD" 686-class, 256KB L2 cache) 909
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 670576640 (654860K)
avail mem = 602943488 (588812K)
using 4256 buffers containing 33632256 bytes (32844K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(1a) BIOS, date 03/06/01, BIOS32 rev. 0 @ 0xf0f50,
SMBIOS rev. 2.3 @ 0xf2910 (48 entries)
bios0: ASUSTeK Computer INC. <A7V133>
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x17d2
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1720/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:04:0 ("VIA VT82C686 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xd0000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "VIA VT8363 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Rage 128 SM" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 4 function 0 "VIA VT82C686 ISA" rev 0x40
pciide0 at pci0 dev 4 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel 0
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <IC35L120AVVA07-0>
wd0: 16-sector PIO, LBA, 117800MB, 241254720 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CD/DVDW SH-S182M, SB01> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 4 function 2 "VIA VT83C572 USB" rev 0x16: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 4 function 3 "VIA VT83C572 USB" rev 0x16: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viaenv0 at pci0 dev 4 function 4 "VIA VT82C686 SMBus" rev 0x40: HWM disabled
rl0 at pci0 dev 11 function 0 "Realtek 8139" rev 0x10: irq 10, address
00:48:54:64:93:36
rlphy0 at rl0 phy 0: RTL internal PHY
pciide1 at pci0 dev 17 function 0 "Promise PDC20265" rev 0x02: DMA, channel 0
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 10 for native-PCI interrupt
pciide1: channel 0 disabled (no drives)
pciide1: channel 1 disabled (no drives)
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef65 netmask ef65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



 
____________________________________________________________________________________
Get your email and see which of your friends are online - Right on the New 
Yahoo.com 
(http://www.yahoo.com/preview) 

Reply via email to