Source: ceph
Version: 0.80.5-1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

Hi,

yasm is only used on amd64 by the ceph build system, but the
Debian package installs it on every architecture. x32 is mis‐
detected as amd64, which is not a problem except we must skip
the assembly part.

Attached patch fixes this by installing yasm on amd64 only.
Please apply.

-- System Information:
Debian Release: jessie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
diff -Nru ceph-0.80.5/debian/changelog ceph-0.80.5/debian/changelog
--- ceph-0.80.5/debian/changelog	2014-07-30 13:19:15.000000000 +0200
+++ ceph-0.80.5/debian/changelog	2014-09-03 13:51:15.000000000 +0200
@@ -1,3 +1,10 @@
+ceph (0.80.5-1+x32.1) unreleased; urgency=medium
+
+  * Make yasm dependency amd64 only, it isn’t used elsewhere
+    but breaks x32 (which is mis-detected as amd64)
+
+ -- Thorsten Glaser <t...@mirbsd.de>  Wed, 03 Sep 2014 13:50:51 +0200
+
 ceph (0.80.5-1) unstable; urgency=medium
 
   * New upstream stable release:
diff -Nru ceph-0.80.5/debian/control ceph-0.80.5/debian/control
--- ceph-0.80.5/debian/control	2014-07-30 11:13:31.000000000 +0200
+++ ceph-0.80.5/debian/control	2014-09-03 13:50:45.000000000 +0200
@@ -40,7 +40,7 @@
                uuid-dev,
                uuid-runtime,
                xfslibs-dev,
-               yasm
+               yasm [amd64]
 Build-Conflicts: libcrypto++-dev
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.6

Reply via email to