Package: cpushare
Version: 0.48-1
Severity: wishlist
Tags: patch

When building 'cpushare' on ppc64/unstable, I get the following error:

gcc -m32 -mcpu=750 -mtune=970 -fno-common -O2 -Wall -Iglibc -I. 
seccomp-loader.c -o seccomp-loader
In file included from /usr/include/features.h:354,
                 from /usr/include/sys/resource.h:22,
                 from seccomp-loader.c:26:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make[1]: *** [seccomp-loader] Error 1
make[1]: Leaving directory `/cpushare-0.48'
make: *** [build-indep-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

With the attached patch 'cpushare' can be built on ppc64.

The patch adds 'ppc64' to the Build-Depends on gcc-multilib.

Regards
Andreas Jochens

diff -urN ../tmp-orig/cpushare-0.48/debian/control ./debian/control
--- ../tmp-orig/cpushare-0.48/debian/control    2008-04-20 06:15:36.000000000 
+0000
+++ ./debian/control    2008-04-20 06:15:25.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Scientific Computing Team <[EMAIL PROTECTED]>
 Uploaders: Sam Hocevar (Debian packages) <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 6.0.7), quilt, python-support (>= 0.4.1), 
gcc-multilib [amd64]
+Build-Depends: debhelper (>= 6.0.7), quilt, python-support (>= 0.4.1), 
gcc-multilib [amd64 ppc64]
 Standards-Version: 3.7.3
 Vcs-Svn: svn://svn.debian.org/pkg-scicomp/cpushare/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/cpushare/



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

Reply via email to