From 7d8f7a8ca75634549751c3a140684f20761cc7fe Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 3 Dec 2011 18:49:49 +0100 Subject: open_issues/fakeroot_exit_0: Remaining fakeroot-tcp issue. --- open_issues/fakeroot-tcp_vs_eintr.mdwn | 51 ---------------------------------- open_issues/fakeroot_exit_0.mdwn | 35 +++++++++++++++++++++++ 2 files changed, 35 insertions(+), 51 deletions(-) delete mode 100644 open_issues/fakeroot-tcp_vs_eintr.mdwn create mode 100644 open_issues/fakeroot_exit_0.mdwn diff --git a/open_issues/fakeroot-tcp_vs_eintr.mdwn b/open_issues/fakeroot-tcp_vs_eintr.mdwn deleted file mode 100644 index 36707cd2..00000000 --- a/open_issues/fakeroot-tcp_vs_eintr.mdwn +++ /dev/null @@ -1,51 +0,0 @@ -[[!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]] - -[[!message-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 diff --git a/open_issues/fakeroot_exit_0.mdwn b/open_issues/fakeroot_exit_0.mdwn new file mode 100644 index 00000000..c6075b17 --- /dev/null +++ b/open_issues/fakeroot_exit_0.mdwn @@ -0,0 +1,35 @@ +[[!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]]."]]"""]] + + $ 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 [[!debbug desc="fixed" 641200]].) + +`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