From 392ac32ff880baa97deae8348b2e61e1e474498d Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 3 Oct 2011 21:10:57 +0200 Subject: open_issues/fakeroot-tcp_vs_eintr: New. --- open_issues/fakeroot-tcp_vs_eintr.mdwn | 51 ++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 open_issues/fakeroot-tcp_vs_eintr.mdwn diff --git a/open_issues/fakeroot-tcp_vs_eintr.mdwn b/open_issues/fakeroot-tcp_vs_eintr.mdwn new file mode 100644 index 00000000..00b57059 --- /dev/null +++ b/open_issues/fakeroot-tcp_vs_eintr.mdwn @@ -0,0 +1,51 @@ +[[!meta copyright="Copyright © 2011 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!toc]] + + +# [[!debbug 641200]] + +`id:"87litvz9me.fsf@kepler.schwinge.homeip.net"` + + [...] + if test -z "$*"; then + FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" ${SHELL:-/bin/sh} + RESULT=$? + else + FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@" + RESULT=$? + fi + + test -z './scripts/mkinstalldirs /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/debian/tmp-libc/usr/include' + + FAKEROOTKEY=2040 + + 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 + + +## `exit(1)` + +`connect() < 0` invokes `fail()` which invokes `exit(1)`. Not yet figured out +why the process exits 0 dispite that. `LD_PRELOAD` issue? ([[!taglink +open_issue_glibc]].) + + +# Build + +`libacl1-dev` is missing. + + $ DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -b -d -- cgit v1.2.3