Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 2002 17:42:15 +0100
From:      Steve Peck <stevepeck@pavilion.co.uk>
To:        ports@FreeBSD.org
Subject:   aalib wont install...
Message-ID:  <20020802174215.A3870@localhost>

next in thread | raw e-mail | index | archive | help
Hi,

I hope this is the right email address. I got it out of the Makefile for aalib.

I was trying to install the Gimp and one of the dependencies (aalib) through up this error.
/////////////////////////////////////////////////////////////////////////////////////////

===>  Patching for aalib-1.4.r5_1
===>  Applying FreeBSD patches for aalib-1.4.r5_1
Ignoring previously applied (or reversed) patch.
2 out of 2 hunks ignored--saving rejects to src/aafire.c.rej
>> Patch patch-ag failed to apply cleanly.
*** Error code 1

////////////////////////////////////////////////////////////////////////////////////////
the /src/aafire.c.rej has this in it..
////////////////////////////////////////////////////////////////////////////////////////

***************
*** 48,53 ****
  initialize (void)
  {
    int i;
    context = aa_autoinit (&aa_defparams);
    if (context == NULL)
      {
--- 48,54 ----
  initialize (void)
  {
    int i;
+   srandomdev();
    context = aa_autoinit (&aa_defparams);
    if (context == NULL)
      {
***************
*** 114,133 ****
    height++;
    loop--;
    if (loop < 0)
-     loop = rand () % 3, sloop++;;
    i1 = 1;
    i2 = 4 * XSIZ + 1;
    for (p = (char *) bitmap + XSIZ * (YSIZ + 0);
         p < ((unsigned char *) bitmap + XSIZ * (YSIZ + 1));
         p++, i1 += 4, i2 -= 4)
      {
-       last1 = rand () % min (i1, min (i2, height));
-       i = rand () % 6;
        for (; p < (unsigned char *) bitmap + XSIZ * (YSIZ + 1) && i != 0;
           p++, i--, i1 += 4, i2 -= 4)
-       *p = last1, last1 += rand () % 6 - 2, *(p + XSIZ) = last1, last1 +=
-         rand () % 6 - 2;
-       *(p + 2 * XSIZ) = last1, last1 += rand () % 6 - 2;
      }
    i = 0;
    firemain ();
--- 115,134 ----
    height++;
    loop--;
    if (loop < 0)
+     loop = random () % 3, sloop++;;
    i1 = 1;
    i2 = 4 * XSIZ + 1;
    for (p = (char *) bitmap + XSIZ * (YSIZ + 0);
         p < ((unsigned char *) bitmap + XSIZ * (YSIZ + 1));
         p++, i1 += 4, i2 -= 4)
      {
+       last1 = random () % min (i1, min (i2, height));
+       i = random () % 6;
        for (; p < (unsigned char *) bitmap + XSIZ * (YSIZ + 1) && i != 0;
           p++, i--, i1 += 4, i2 -= 4)
+       *p = last1, last1 += random () % 6 - 2, *(p + XSIZ) = last1, last1 +=
+         random () % 6 - 2;
+       *(p + 2 * XSIZ) = last1, last1 += random () % 6 - 2;
      }
    i = 0;
    firemain ();




////////////////////////////////////////////////////////////////////////////////////////
and the patch-ag file is this..
////////////////////////////////////////////////////////////////////////////////////////

--- src/aafire.c.orig   Fri Apr 27 00:30:03 2001
+++ src/aafire.c        Sat Mar  2 22:51:46 2002
@@ -48,6 +48,7 @@
 initialize (void)
 {
   int i;
+  srandomdev();
   context = aa_autoinit (&aa_defparams);
   if (context == NULL)
     {
@@ -114,20 +115,20 @@
   height++;
   loop--;
   if (loop < 0)
-    loop = rand () % 3, sloop++;;
+    loop = random () % 3, sloop++;;
   i1 = 1;
   i2 = 4 * XSIZ + 1;
   for (p = (char *) bitmap + XSIZ * (YSIZ + 0);
        p < ((unsigned char *) bitmap + XSIZ * (YSIZ + 1));
        p++, i1 += 4, i2 -= 4)
     {
-      last1 = rand () % min (i1, min (i2, height));
-      i = rand () % 6;
+      last1 = random () % min (i1, min (i2, height));
+      i = random () % 6;
       for (; p < (unsigned char *) bitmap + XSIZ * (YSIZ + 1) && i != 0;
           p++, i--, i1 += 4, i2 -= 4)
-       *p = last1, last1 += rand () % 6 - 2, *(p + XSIZ) = last1, last1 +=
-         rand () % 6 - 2;
-      *(p + 2 * XSIZ) = last1, last1 += rand () % 6 - 2;
+       *p = last1, last1 += random () % 6 - 2, *(p + XSIZ) = last1, last1 +=
+         random () % 6 - 2;
+      *(p + 2 * XSIZ) = last1, last1 += random () % 6 - 2;
     }
   i = 0;
   firemain ();


/////////////////////////////////////////////////////////////////////////////////

Now, I updated the graphics port using cvsup WITHOUT updating the ports-base. Then I tried to
install Gimp1 ( MD5 (gimp-1.2.3.tar.bz2) = b19235f19f524f772a4aef597a69b1da ). And had the
above error.

I then updated the ports collection completely and tried to install gimp again.
But I still get this error.

Is there any way you can point me in the right direction.

Cheers
Steve Peck
(stevepeck@pavilion.co.uk)

ps 

Just let me know if you need any more information.
////////////////////////////////////////////////////////////////////////////////
dmesg output...
////////////////////////////////////////////////////////////////////////////////////////

Copyright (c) 1992-2002 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 4.5-RELEASE #7: Fri May 24 16:17:06 BST 2002
    root@Orac:/usr/src/sys/compile/ORAC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (933.35-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR,SSE>
real memory  = 335478784 (327616K bytes)
config> di sn0
config> di lnc0
config> di ie0
config> di cs0
avail memory = 321007616 (313484K bytes)
Preloaded elf kernel "kernel" at 0xc04ec000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc04ec09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00fdbc0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 10
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xc000-0xc00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 3 at device 7.2 on pci
0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 3 at device 7.3 on pci
0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
chip1: <VIA 82C686 ACPI interface> at device 7.4 on pci0
pcm0: <VIA VT82C686A> port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 5 at de
vice 7.5 on pci0
chip2: <VIA 82C686 AC97 Modem> port 0xd800-0xd8ff irq 5 at device 7.6 on pci0
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xdc00-0xdcff mem 0xde000000-0xde0
000ff irq 10 at device 8.0 on pci0
rl0: Ethernet address: 00:10:b5:86:d5:09
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: <Accton MPX 5030/5038 10/100BaseTX> port 0xe000-0xe0ff mem 0xde001000-0xde0
010ff irq 11 at device 9.0 on pci0
rl1: Ethernet address: 00:10:b5:86:dc:a4
miibus1: <MII bus> on rl1
rlphy1: <RealTek internal media interface> on miibus1
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROM> at iomem 0xc0000-0xcb7ff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> flags 0x8000 irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pca0 at port 0x40 on isa0
unknown: <PNP0000> can't assign resources
unknown: <PNP0303> can't assign resources
pca1: <AT-style speaker sound> at port 0x61 on isa0
unknown: <PNP0f13> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0400> can't assign resources
ad0: 38166MB <ST340823A> [77545/16/63] at ata0-master UDMA66
acd0: DVD-ROM <sf03 SAMSUNG DVD-ROM SD-612S> at ata1-master using PIO4
acd1: CD-RW <SONY CD-RW CRX140E> at ata1-slave using PIO4
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
IP packet filtering initialized, divert disabled, rule-based forwarding disabled
, default to deny, logging disabled
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
Limiting icmp unreach response from 201 to 200 packets per second
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
pid 1302 (xpaint), uid 1001: exited on signal 11 (core dumped)
pid 1306 (xpaint), uid 1001: exited on signal 11 (core dumped)
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
ppp0: no carrier
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
Limiting icmp unreach response from 201 to 200 packets per second
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4
ppp0: no compressor for [15 3 29], 3
ppp0: no compressor for [1a 4 8], 4
ppp0: no compressor for [18 4 8], 4






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020802174215.A3870>