Subject: lsb-core: please add support for sparc and other architectures
Package: lsb-core
Version: 2.0-7
Severity: important
Tags: patch

*** Please type your report below this line ***

Installing lsb-core gives this error:

Setting up lsb-core (2.0-7) ...
ld-lsb-*.so.1 symlink for sparc is unknown!

This also stops lsbappchk from building, as documented in bug #212043
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=212043

The build status of lsbappchk shows several architectures suffer
from the same problem.
http://buildd.debian.org/~jeroen/status/package.php?p=lsbappchk

The patch below against lsb-3.1 attempts to fix this issue for all the
architectures mentioned above.

Martin Habets

--- lsb-3.1/debian/postinst.orig        2006-06-25 17:43:06.000000000 +0100
+++ lsb-3.1/debian/postinst     2006-06-25 17:44:16.000000000 +0100
@@ -3,7 +3,7 @@
 setup_ldso_symlink () {
     ARCH=`dpkg --print-installation-architecture`
     case "$ARCH" in
-        s390|ppc64)
+        s390|ppc64|sparc|sparc64|alpha|hppa|m68k|mipsel)
             ln -sf ld.so.1 /lib/ld-lsb-$ARCH.so.1
             ln -sf ld.so.1 /lib/ld-lsb-$ARCH.so.2
             ln -sf ld.so.1 /lib/ld-lsb-$ARCH.so.3
--- lsb-3.1/debian/prerm.orig   2006-06-25 18:14:27.000000000 +0100
+++ lsb-3.1/debian/prerm        2006-06-25 18:14:53.000000000 +0100
@@ -3,7 +3,7 @@
 remove_ldso_symlink () {
     ARCH=`dpkg --print-installation-architecture`
     case "$ARCH" in
-        s390|ia64|ppc64)
+        s390|ia64|ppc64|sparc|sparc64|alpha|hppa|m68k|mipsel)
             rm -f /lib/ld-lsb-$ARCH.so.[123]
             ;;
         powerpc)

-- System Information:
Debian Release: 3.1
Architecture: sparc
Kernel: Linux 2.6.17-rc3-mph3
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages lsb-core depends on:
ii  alien                8.52                install non-native packages with d
ii  at                   3.1.8-11            Delayed job execution and batch pr
ii  bc                   1.06-15             The GNU bc arbitrary precision cal
ii  binutils             2.16.1cvs20060117-1 The GNU assembler, linker and bina
ii  bsdmainutils         6.0.17              collection of more utilities from 
ii  cpio                 2.5-1.3             GNU cpio -- a program to manage ar
ii  cron                 3.0pl1-86           management of regular background p
ii  debconf [debconf-2.0 1.4.30.13           Debian configuration management sy
ii  exim4                4.32-2              An MTA (Mail Transport Agent)
ii  exim4-daemon-light [ 4.32-2              Lightweight version of the Exim (v
ii  file                 4.12-1              Determines file type using "magic"
ii  gawk                 1:3.1.4-2           GNU awk, a pattern scanning and pr
ii  libc6-dev [libc-dev] 2.3.5-13            GNU C Library: Development Librari
ii  locales              2.3.5-13            GNU C Library: National Language (
ii  lpr                  1:2003.09.23-7      BSD lpr/lpd line printer spooling 
ii  lsb-base             2.0-7               Linux Standard Base 2.0 init scrip
ii  lsb-release          1.4-8               LSB release command
ii  m4                   1.4.2-1             a macro processing language
ii  make                 3.80-9              The GNU version of the "make" util
ii  man-db               2.4.2-21            The on-line manual pager
ii  mawk                 1.3.3-11            a pattern scanning and text proces
ii  ncurses-term         5.4-4               Additional terminal type definitio
ii  passwd               1:4.0.3-31sarge5    change and administer password and
ii  patch                2.5.9-2             Apply a diff file to an original
ii  pax                  1:1.5-15            Portable Archive Interchange
ii  procps               1:3.2.1-2           The /proc file system utilities
ii  psmisc               21.5-1              Utilities that use the proc filesy
ii  python               2.3.5-2             An interactive high-level object-o
ii  rsync                2.6.4-6             fast remote file copy program (lik
ii  zlib1g [libz1]       1:1.2.2-4.sarge.2   compression library - runtime

-- debconf information:
  lsb/shadowconfig: true


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

Reply via email to