[Pkg-ofed-devel] Bug#769630: libmlx5: disable -Werror to fix FTBFS on other arches

Logan Rosen logan at ubuntu.com
Sat Nov 15 06:26:03 UTC 2014

Package: libmlx5
Version: 1.0.1-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu vivid ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

 * debian/patches/disable-werror.diff: Don't build with -Werror. infiniband/arch.h warns about missing archtecture-specific implementations, which lets the build fail on these architectures.
   - Use dh-autoreconf to make this change apply.
 * Build on all architectures.

Previously, all arches other than certain ones were disabled, but, with this patch, we can switch back to "any" again.

Thanks for considering the patch.

Logan Rosen

-- System Information:
Debian Release: jessie/sid
  APT prefers vivid-updates
  APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, 'vivid'), (100, 'vivid-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-24-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmlx5_1.0.1-2ubuntu1.debdiff
Type: text/x-diff
Size: 2900 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ofed-devel/attachments/20141115/2a5a4ddc/attachment.diff>

More information about the Pkg-ofed-devel mailing list