[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Self-hosting Debian NetBSD system available



Blech; it would appear fakeroot does an explicit dlopen of
/lib/libc.so.6.  Since I don't have root in your chroot, and, well,
fakeroot doesn't work, try changing LIBCPATH at the top of libfakeroot.c
to /usr/lib/libc.so.12 and recompiling.. 


On Sun, Feb 03, 2002 at 11:02:22PM +0000, Matthew Garrett wrote:
[...]
> 
> Fakeroot is compiled, but fails its test suite
> 
> ../scripts/fakeroot -f /tmp/fakeroot-0.4.5/faked -l
> /tmp/fakeroot-0.4.5/.libs/libfakeroot.so.0 -- "touch tmp/foo; install
> tmp/foo tmp/bar; ls -al tmp/bar" | grep "root.*root.*tmp/bar"
> dlsym(open): Undefined symbol "open"
> dlsym(fopen): Undefined symbol "fopen"
> dlsym(freopen): Undefined symbol "freopen"
> dlsym(freopen): Undefined symbol "freopen"
> dlsym(lstat): Undefined symbol "lstat"
> dlsym(stat): Undefined symbol "stat"
> dlsym(fstat): Undefined symbol "fstat"
> dlsym(mknod): Undefined symbol "mknod"
> dlsym(chown): Undefined symbol "chown"
> dlsym(lchown): Undefined symbol "lchown"
> dlsym(fchown): Undefined symbol "fchown"
> dlsym(chmod): Undefined symbol "chmod"
> dlsym(fchmod): Undefined symbol "fchmod"
> dlsym(mkdir): Undefined symbol "mkdir"
> dlsym(unlink): Undefined symbol "unlink"
> dlsym(rmdir): Undefined symbol "rmdir"
> dlsym(remove): Undefined symbol "remove"
> dlsym(rename): Undefined symbol "rename"
> dlsym(getuid): Undefined symbol "getuid"
> dlsym(getgid): Undefined symbol "getgid"
> dlsym(geteuid): Undefined symbol "geteuid"
> dlsym(getegid): Undefined symbol "getegid"
> ../scripts/fakeroot: line 85: 27418 Segmentation fault      (core
> dumped) FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH=$PATHS LD_PRELOAD=$LIB sh
> -c "$*"
> make: *** [4] Error 1
> make: Leaving directory `/tmp/fakeroot-0.4.5/test'
> 
> and running it gives me a shell but claims that I'm still me. I'll look
> into this.
> 
> Although it's less useful without fakeroot running, I can provide access
> to this system now for anybody who's interested in developing on it.
> 
> -- 
> Matthew Garrett | mjg59@srcf.ucam.org
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-bsd-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
"I think a lot of the basis of the open source movement comes from
  procrastinating students..."
	-- Andrew Tridgell <http://www.linux-mag.com/2001-07/tridgell_04.html>



Reply to: