summaryrefslogtreecommitdiff
path: root/open_issues/fakeroot-tcp_vs_eintr.mdwn
blob: 36707cd286ea7ba7d411e3d7c4fd8d335eec23f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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]]

[[!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