Bug in package sc-7.16 (OpenBSD 4.9 amd64)

2011-08-15 Thread Marcel Logen
sc-7.16 is not usable, because you cannot input numbers
(with leading =) in cells. In this case occurs a syntax error.

- sc-7.16 from packages
- OpenBSD 4.9 amd64

dmesg output:

OpenBSD 4.9 (GENERIC) #477: Wed Mar  2 06:50:31 MST 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1072365568 (1022MB)
avail mem = 1029820416 (982MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xfc9b0 (7 entries)
bios0: vendor American Megatrends Inc. version P2.00 date 11/30/2005
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC OEMB
acpi0: wakeup devices HTT_(S4) PS2K(S4) PS2M(S4) UAR1(S4) AC97(S4)
MC97(S4) LAN_(S4) USB0(S4) USB1(S4) USB2(S4) UB20(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 Processor 3200+, 2000.15 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 2 (HTT_)
acpicpu0 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: Cool'n'Quiet K8 2000 MHz: speeds: 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Acer Labs M1689 PCI rev 0x00
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0 Acer Labs M5246 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon 9200 PRO rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16 (irq 10)
drm0 at radeondrm0
ppb1 at pci0 dev 2 function 0 Acer Labs M5249 PCI-PCI rev 0x00
pci2 at ppb1 bus 2
re0 at pci2 dev 7 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB
(0x1000), apic 1 int 19 (irq 3), address 00:b0:c2:01:d5:c1
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3
pcib0 at pci0 dev 3 function 0 Acer Labs M1563 ISA rev 0x70
Acer Labs M7101 Power rev 0x00 at pci0 dev 3 function 1 not configured
auacer0 at pci0 dev 4 function 0 Acer Labs M5455 Audio rev 0x20: apic
1 int 18 (irq 11)
ac97: codec id 0x414c4790 (Avance Logic ALC850 rev 0)
audio0 at auacer0
Acer Labs M5263 LAN rev 0x40 at pci0 dev 13 function 0 not configured
pciide0 at pci0 dev 14 function 0 Acer Labs M5229 UDMA IDE rev 0xc7:
DMA, channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
Acer Labs M5289 SATA rev 0x10 at pci0 dev 14 function 1 not configured
ohci0 at pci0 dev 15 function 0 Acer Labs M5237 USB rev 0x03: apic 1
int 20 (irq 5), version 1.0, legacy support
ohci1 at pci0 dev 15 function 1 Acer Labs M5237 USB rev 0x03: apic 1
int 21 (irq 5), version 1.0, legacy support
ohci2 at pci0 dev 15 function 2 Acer Labs M5237 USB rev 0x03: apic 1
int 22 (irq 11), version 1.0, legacy support
ehci0 at pci0 dev 15 function 3 Acer Labs M5239 USB2 rev 0x01: apic 1
int 23 (irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Acer Labs EHCI root hub rev 2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
pchb2 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
pchb3 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00
kate0 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
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
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41
lm1 at wbsio0 port 0x290/8: W83627HF
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 Acer Labs OHCI root hub rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 Acer Labs OHCI root hub rev 1.00/1.00 addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 Acer Labs OHCI root hub rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 7 configuration 1 interface 0 SanDisk Cruzer
Blade rev 2.00/1.02 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0:  SCSI2 0/direct 

Re: Bug in package sc-7.16 (OpenBSD 4.9 amd64)

2011-08-15 Thread Stuart Henderson
On 2011/08/15 21:48, Marcel Logen wrote:
 sc-7.16 is not usable, because you cannot input numbers
 (with leading =) in cells. In this case occurs a syntax error.

sc has various bugs triggered by the move to the gcc4 compiler; these
are fixed in -current ports. you should be able to update just this port
to -current, or you could just pull the latest version of patch-lex_c
(e.g. from cvsweb) and rebuild.