Package: openoffice.org-bin
Version: 1.1.2dfsg1-2
Severity: normal
Tags: patch

Hi,

this patch displays error messages from prelink, which is very helpful
when oooprelink fails on postinst. Without this patch output looks like:
[...]
Undoing prelinking of OpenOffice.org binaries...
run-parts: /usr/share/openoffice.org-debian-files/hooks/postinst.d/prelink 
exited with return code 1           
dpkg: error processing openoffice.org-bin (--configure):
 subprocess post-installation script returned error exit status 1

This is not very helpful. With the patch it looks like:
[...]
Undoing prelinking of OpenOffice.org binaries... /usr/sbin/prelink.bin: cannot 
open ELF file: I/O error: raw read


And I don't know if the postinst should fail when prelink fails.


Regards,
  Bastian


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-rc1-bk12-ap-lnx-bastiank1
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages openoffice.org-bin depends on:
hi  debconf [debconf-2.0]    1.4.40          Debian configuration management sy
hi  libart-2.0-2             2.3.16-6        Library of functions for 2D graphi
hi  libaudio2                1.6d-2          The Network Audio System (NAS). (s
hi  libc6                    2.3.2.ds1-18    GNU C Library: Shared libraries an
ii  libcurl3                 7.12.2-2        Multi-protocol file transfer libra
ii  libdb4.2++               4.2.52-17       Berkeley v4.2 Database Libraries f
hi  libfontconfig1           2.2.3-3         generic font configuration library
hi  libfreetype6             2.1.7-2.2       FreeType 2 font engine, shared lib
hi  libgcc1                  1:4.0-0pre0     GCC support library
hi  libice6                  4.3.0.dfsg.1-8  Inter-Client Exchange library
hi  libmyspell3              1:3.1-10        MySpell spellchecking library
ii  libneon23                0.23.9.dfsg.3-2 An HTTP and WebDAV client library 
hi  libsm6                   4.3.0.dfsg.1-8  X Window System Session Management
hi  libstdc++5               1:3.3.5-2       The GNU Standard C++ Library v3
ii  libstlport4.6            4.6.2-2         STLport C++ class library
hi  libx11-6                 4.3.0.dfsg.1-8  X Window System protocol client li
hi  libxaw7                  4.3.0.dfsg.1-8  X Athena widget set library
hi  libxext6                 4.3.0.dfsg.1-8  X Window System miscellaneous exte
hi  libxt6                   4.3.0.dfsg.1-8  X Toolkit Intrinsics
hi  openoffice.org           1.1.2dfsg1-2    high-quality office productivity s
hi  xlibs                    4.3.0.dfsg.1-8  X Window System client libraries m
hi  zlib1g                   1:1.2.2-3       compression library - runtime

-- debconf information:
* openoffice.org-bin/prelink: false

--- oooprelink.orig     2004-11-12 11:36:53.000000000 +0100
+++ oooprelink  2004-11-12 11:37:02.000000000 +0100
@@ -64,8 +64,7 @@
                echo -n "Undoing prelinking of OpenOffice.org binaries... "
                /usr/sbin/prelink --undo $DEBUG \
                        --ld-library-path=/usr/lib/openoffice/program \
-                       --conserve-memory /usr/lib/openoffice \
-                       2>/dev/null
+                       --conserve-memory /usr/lib/openoffice
                #/usr/sbin/prelink --undo $DEBUG \
                #       --ld-library-path=/usr/lib/openoffice/program \
                #       --conserve-memory \

Reply via email to