Your message dated Tue, 5 Jul 2022 21:16:13 +0200
with message-id <[email protected]>
and subject line Re: libmlx5: disable -Werror to fix FTBFS on other arches
has caused the Debian Bug report #769630,
regarding libmlx5: disable -Werror to fix FTBFS on other arches
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
769630: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769630
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libmlx5
Version: 1.0.1-2
Severity: normal
Tags: patch
User: [email protected]
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
diff -Nru libmlx5-1.0.1/debian/control libmlx5-1.0.1/debian/control
--- libmlx5-1.0.1/debian/control	2014-09-16 02:52:29.000000000 -0400
+++ libmlx5-1.0.1/debian/control	2014-11-15 01:23:13.000000000 -0500
@@ -3,14 +3,14 @@
 Priority: optional
 Maintainer: OFED and Debian Developement and Discussion <[email protected]>
 Uploaders: Ana Beatriz Guerrero Lopez <[email protected]>
-Build-Depends: debhelper (>= 9), autotools-dev, libibverbs-dev
+Build-Depends: debhelper (>= 9), dh-autoreconf, libibverbs-dev
 Standards-Version: 3.9.5
 Homepage: https://www.openfabrics.org/downloads/mlx5/
 Vcs-Git: git://anonscm.debian.org/pkg-ofed/libml5.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ofed/libmlx5.git
 
 Package: libmlx5-1
-Architecture: amd64 i386 powerpc ppc64el sparc
+Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Userspace driver for Mellanox Connect-IB InfiniBand HCAs
  libmlx5 is a device-specific driver for Mellanox Connect-IB InfiniBand
@@ -22,7 +22,7 @@
 
 Package: libmlx5-dev
 Section: libdevel
-Architecture: amd64 i386 powerpc ppc64el sparc
+Architecture: any
 Depends: ${misc:Depends}, libmlx5-1 (= ${binary:Version})
 Description: Development files for the libmlx5 driver
  libmlx5 is a device-specific driver for Mellanox Connect-IB InfiniBand
@@ -36,7 +36,7 @@
 Package: libmlx5-1-dbg
 Section: debug
 Priority: extra
-Architecture: amd64 i386 powerpc ppc64el sparc
+Architecture: any
 Depends: ${misc:Depends}, libmlx5-1 (= ${binary:Version})
 Description: Debugging symbols for the libmlx5 driver
  libmlx5 is a device-specific driver for Mellanox Connect-IB InfiniBand
diff -Nru libmlx5-1.0.1/debian/patches/disable-werror.diff libmlx5-1.0.1/debian/patches/disable-werror.diff
--- libmlx5-1.0.1/debian/patches/disable-werror.diff	1969-12-31 19:00:00.000000000 -0500
+++ libmlx5-1.0.1/debian/patches/disable-werror.diff	2014-11-14 21:15:03.000000000 -0500
@@ -0,0 +1,13 @@
+Index: b/configure.in
+===================================================================
+--- a/configure.in
++++ b/configure.in
+@@ -31,8 +31,6 @@
+ 	CFLAGS="$CFLAGS -DMLX5_DEBUG"
+ fi
+ 
+-CFLAGS="$CFLAGS -Werror"
+-
+ dnl Checks for programs
+ AC_PROG_CC
+ 
diff -Nru libmlx5-1.0.1/debian/patches/series libmlx5-1.0.1/debian/patches/series
--- libmlx5-1.0.1/debian/patches/series	2014-09-16 02:45:04.000000000 -0400
+++ libmlx5-1.0.1/debian/patches/series	2014-11-14 21:18:01.000000000 -0500
@@ -1 +1,2 @@
 driver-plugin-directory.patch
+disable-werror.diff
diff -Nru libmlx5-1.0.1/debian/rules libmlx5-1.0.1/debian/rules
--- libmlx5-1.0.1/debian/rules	2014-09-16 02:45:04.000000000 -0400
+++ libmlx5-1.0.1/debian/rules	2014-11-14 21:26:47.000000000 -0500
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with autotools_dev --parallel
+	dh $@ --with autoreconf --parallel
 
 override_dh_strip:
 	dh_strip --dbg-package=libmlx5-1-dbg

--- End Message ---
--- Begin Message ---
Hi,

the package was removed from Debian, let's close the bug.

Best,
Philip

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply via email to