[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#596602: xprint: FTBFS on sparc64



Package: xprint
Version: 1.6.0-4
Severity: normal
Tags: patch
User: debian-sparc@lists.debian.org
Usertags: sparc64

xprint fails to build from source on sparc64 as it doesn't build-depend
on libselinux1-dev and libaudit-dev on this architecture.

Instead of adding yet another linux architecture to the list, I suggest
to use an architecture wildcard (this is now allowed by the policy), as
in the patch below:

diff -u xprint-1.6.0/debian/control xprint-1.6.0/debian/control
--- xprint-1.6.0/debian/control
+++ xprint-1.6.0/debian/control
@@ -50,8 +50,8 @@
  libgcrypt-dev,
  libdbus-1-dev [!hurd-i386],
  libhal-dev [!hurd-i386],
- libselinux1-dev (>= 2.0.80) [alpha amd64 arm armeb armel avr32 hppa i386 ia64 lpia m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc],
- libaudit-dev [alpha amd64 arm armeb armel avr32 hppa i386 ia64 lpia m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc],
+ libselinux1-dev (>= 2.0.80) [linux-any],
+ libaudit-dev [linux-any],
  x11proto-xf86dri-dev,
  libdrm-dev (>= 2.4.3) [!hurd-i386], 
  x11proto-gl-dev (>= 1.4.9),
diff -u xprint-1.6.0/debian/changelog xprint-1.6.0/debian/changelog

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: sparc64

Kernel: Linux 2.6.32-bpo.5-sparc64-smp (SMP w/32 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: