$ fakeroot ./scripts/mkinstalldirs /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/debian/tmp-libc/usr/include
[...]
+ LD_LIBRARY_PATH=/usr/lib/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot
+ LD_PRELOAD=libfakeroot-tcp.so
+ ./scripts/mkinstalldirs /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/debian/tmp-libc/usr/include
libfakeroot: connect: Interrupted system call
+ RESULT=0

exit $RESULT
+ exit 0
kill -s HUP 23612
+ kill -s HUP 23612

(The EINTR issue has been fixed.)

connect() < 0 invokes fail() which invokes exit(1). Not yet figured out why the process exits 0 dispite that. LD_PRELOAD issue? (open issue glibc.)

Build

libacl1-dev is missing.

$ DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -b -d