On Mon, 2014-12-08 at 13:26 +0100, Samuel Thibault wrote: > Svante Signell, le Mon 08 Dec 2014 13:24:16 +0100, a écrit : > > what is wrong with writing to a file? > > Nothing wrong, except that you must be sure that the translator > can write to it. Making the root translator write to its own > /tmp/foobar.log is probably deemed to fail, for instance.
Ok, but the ext2fs translator I started is only working on /my_chroot/DEBs/test_fakeroot-hurd/test_ext2fs. Update: The printouts and the bugfix works now (hopefully) :) I had to add LD_LIBRARY_PATH in two places in the fakeroot-hurd script: (one for fakeauth and one for fakeroot) exec /my_chroot/DEBs/test_fakeroot-hurd/settrans --chroot \ /usr/bin/env LD_LIBRARY_PATH=/my_chroot/DEBs/test_fakeroot-hurd/libs \ /my_chroot/DEBs/test_fakeroot-hurd/fakeauth \ /bin/sh -c 'cd "$1" || exit ; shift ; exec "$@"' \ "$1" "$PWD" "$@" \ -- / /usr/bin/env LD_LIBRARY_PATH=/my_chroot/DEBs/test_fakeroot-hurd/libs \ /my_chroot/DEBs/test_fakeroot-hurd/fakeroot Next I'll try the modified hurd (w/o print statements) building gnat-4.9 with fakeroot-hurd (in a new VM, not to risk anything)