Joel Klecker <[EMAIL PROTECTED]> writes:

> At 15:52 +0000 1999-01-26, Jules Bean wrote:
> >I now find that fakeroot doesn't work for me.  I'm building this package
> >as root, but there's another problem needing investigation.

Are you running on an UltraSparc?

> fakeroot simply doesn't work with glibc 2.1.

Fakeroot works for me.  I just built a package with it as a test.

The system is:
  Sun Ultra 5

running 

  fakeroot 0.0-17.1
  libc6 2.0.105-1.2
  libstdc++2.9 2.91.60-1

There is a bug in the UltraSparc kernel that breaks fakeroot and
postgresql, but David Miller was kind enough to fix this an post a
patch to the sparclinux mailing list.


Steve
[EMAIL PROTECTED]


The kernel patch is:

--- arch/sparc64/kernel/sys_sparc32.c.~1~       Mon Jan 18 23:57:00 1999
+++ arch/sparc64/kernel/sys_sparc32.c   Tue Jan 26 21:31:58 1999
@@ -234,7 +234,10 @@
        err = -EFAULT;
        if (get_user (pad, (u32 *)uptr))
                goto out;
-       fourth.__pad = (void *)A(pad);
+       if(third == SETVAL)
+               fourth.val = (int)pad;
+       else
+               fourth.__pad = (void *)A(pad);
        if (IPCOP_MASK (third) &
            (IPCOP_MASK (IPC_INFO) | IPCOP_MASK (SEM_INFO) | IPCOP_MASK 
(GETVAL) |
             IPCOP_MASK (GETPID) | IPCOP_MASK (GETNCNT) | IPCOP_MASK (GETZCNT) |

Reply via email to