Package: monodoc-browser
Version: 1.0.4-1
Severity: serious
Justification: Policy 7.2

This package claims to be a Gtk+ browser for documentation, but depends
on none of the CIL bindings to Gtk+/etc that are necessary to make it
work, and there is nothing else in the package which could be conceived
of as useful by itself.

Obviously this is horribly broken according to Policy 7.2:
  "The Depends field should be used if the depended-on package is
   required for the depending package to provide a significant amount
   of functionality."

As far as I can tell, these dependencies should include libgtk-cil,
libglade-cil, and libgnome-cil. Viz:

$ sudo apt-get install monodoc-browser
...
Setting up monodoc-browser (1.0.4-1) ...
generating monodoc search index...

** (browser.exe:9864): WARNING **: Could not find assembly gtk-sharp, 
references from /usr/share/dotnet/monodoc/browser.exe (assemblyref_index=2)
     Major/Minor: 1,0
     Build:       0,0
     Token:       35e10195dab3c99f
System error: No such file or directory

cannot open assembly browser.exe

$ sudo apt-get install libgtk-cil
...
$ monodoc
** (browser.exe:9917): WARNING **: Could not find assembly glade-sharp, 
references from /usr/share/dotnet/monodoc/browser.exe (assemblyref_index=3)
...
cannot open assembly browser.exe

$ sudo apt-get install libglade-cil
...
$ monodoc
** (browser.exe:9946): WARNING **: Could not find assembly gtkhtml-sharp, 
references from /usr/share/dotnet/monodoc/browser.exe (assemblyref_index=6)
...
cannot open assembly browser.exe

$ sudo apt-get install libgnome-cil
...
$ monodoc

Finally! Except the search doesn't work, because even though the postinst
failed to generate a search index due to the missing dependencies, the
script didn't return an error, so I have the package installed with no
index. Heinous missing dependencies aside, errors in this process should
also be caught and flagged up appropriately by making the postinst
script fail.

Regards,
Rob

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-alpha2
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages monodoc-browser depends on:
ii  mono-jit                      1.0.5-2    fast CLI/.NET JIT compiler for Mon
ii  monodoc-base                  1.0.4-1    shared MonoDoc binaries
ii  monodoc-manual                1.0.4-1    compiled XML documentation from th

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to