Package: mono
Version: 2.10.8.1-8
Severity: normal

Installing gbrainy into a chroot failed.
It didn't say *why*.
I've seen java fail because /proc wasn't mounted,
so I specifically went looking for that.

mono-gac.postinst
-> /usr/share/cli-common/gac-install mono
-> /usr/share/cli-common/gac-package-install libglib2.0-cil
-> /usr/share/cli-common/runtimes.d/mono install libglib2.0-cil 
/usr/lib/cli/glib-sharp-2.0/glib-sharp.dll

None of these mention /proc.
But stracing them shows the problem immediately:

    (bootstrap)# strace -f /usr/share/cli-common/gac-install mono |& grep /proc 
| head -6
    open("/proc/meminfo", O_RDONLY)         = -1 ENOENT (No such file or 
directory)
    [pid  6373] readlink("/proc/self/exe", 0x7fff5952eab0, 4095) = -1 ENOENT 
(No such file or directory)
    [pid  6374] readlink("/proc/self/exe", 0x7fff47709210, 4095) = -1 ENOENT 
(No such file or directory)
    [pid  6375] readlink("/proc/self/exe", 0x7fff1e52a8a0, 4095) = -1 ENOENT 
(No such file or directory)
    [pid  6377] access("/proc/self/maps", F_OK) = -1 ENOENT (No such file or 
directory)
    [pid  6377] write(1, "Mono requires /proc to be mounte"..., 35) = 35

One of the subprocesses is writing the important information, "Mono
requires /proc", to stderr.  But something further up the chain
(/usr/share/cli-common/runtimes.d/mono or below) is hiding that
information.

I'm not filing a bug "shouldn't need /proc at install time" -- I'm
assuming that's a lost cause.

But can mono please let the "needs /proc" error reach the user, so he
can see just from "apt-get install gbrainy" what went wrong?


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to