summaryrefslogtreecommitdiff
path: root/open_issues/fakeroot_exit_0.mdwn
blob: c6075b17490a7eddc176054d1f12ac710dc7ae55 (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
[[!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