Your message dated Thu, 09 Jan 2020 05:36:56 +0000
with message-id <[email protected]>
and subject line Bug#923455: fixed in netty 1:4.1.33-3
has caused the Debian Bug report #923455,
regarding FTBFS on 32 bit architectures
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.)


-- 
923455: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923455
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: netty
Version: 4.1.33-1
Severity: important
Tags: ftbfs
Justification: fails to build from source

Hey,

It seems that netty fails to build on 32 bit architectures, we hit that in our
rebuild on 32 bit as does the reproducible builder see e.g:
  https://tests.reproducible-builds.org/debian/rb-pkg/buster/armhf/netty.html

Tbh i was a bit surprised netty does some native building given it only ships
an architecture all package. In any case the issue seems to mostly be due to
building with -Werror which makes things fail on warnings. I've attached the
debdiff we used as workaround for this


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'proposed-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 4.19.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru netty-4.1.33/debian/changelog netty-4.1.33/debian/changelog
--- netty-4.1.33/debian/changelog       2019-01-22 14:06:25.000000000 +0100
+++ netty-4.1.33/debian/changelog       2019-02-28 11:08:13.000000000 +0100
@@ -1,3 +1,9 @@
+netty (1:4.1.33-1co1) apertis; urgency=medium
+
+  * Build native parts without Werror as that can cause build failures
+
+ -- Sjoerd Simons <[email protected]>  Thu, 28 Feb 2019 11:08:13 
+0100
+
 netty (1:4.1.33-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru netty-4.1.33/debian/patches/disable-Werror.patch 
netty-4.1.33/debian/patches/disable-Werror.patch
--- netty-4.1.33/debian/patches/disable-Werror.patch    1970-01-01 
01:00:00.000000000 +0100
+++ netty-4.1.33/debian/patches/disable-Werror.patch    2019-02-28 
11:08:11.000000000 +0100
@@ -0,0 +1,58 @@
+--- a/transport-native-unix-common/pom.xml
++++ b/transport-native-unix-common/pom.xml
+@@ -101,7 +101,7 @@
+                       <env key="LIB_DIR" value="${nativeLibOnlyDir}" />
+                       <env key="OBJ_DIR" value="${nativeObjsOnlyDir}" />
+                       <env key="JNI_PLATFORM" value="${jni.platform}" />
+-                      <env key="CFLAGS" value="-O3 -Werror -Wno-attributes 
-fPIC -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden" />
++                      <env key="CFLAGS" value="-O3 -Wno-attributes -fPIC 
-fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden" />
+                       <env key="LDFLAGS" value="-Wl,--no-as-needed -lrt" />
+                       <env key="LIB_NAME" value="${nativeLibName}" />
+                       <!-- support for __attribute__((weak_import)) by the 
linker was added in 10.2 so ensure we
+@@ -172,7 +172,7 @@
+                       <env key="LIB_DIR" value="${nativeLibOnlyDir}" />
+                       <env key="OBJ_DIR" value="${nativeObjsOnlyDir}" />
+                       <env key="JNI_PLATFORM" value="${jni.platform}" />
+-                      <env key="CFLAGS" value="-O3 -Werror -Wno-attributes 
-fPIC -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden" />
++                      <env key="CFLAGS" value="-O3 -Wno-attributes -fPIC 
-fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden" />
+                       <env key="LDFLAGS" value="-Wl,--no-as-needed -lrt" />
+                       <env key="LIB_NAME" value="${nativeLibName}" />
+                     </exec>
+@@ -242,7 +242,7 @@
+                       <env key="LIB_DIR" value="${nativeLibOnlyDir}" />
+                       <env key="OBJ_DIR" value="${nativeObjsOnlyDir}" />
+                       <env key="JNI_PLATFORM" value="${jni.platform}" />
+-                      <env key="CFLAGS" value="-O3 -Werror -Wno-attributes 
-fPIC -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden" />
++                      <env key="CFLAGS" value="-O3 -Wno-attributes -fPIC 
-fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden" />
+                       <env key="LDFLAGS" value="-Wl,--no-as-needed -lrt" />
+                       <env key="LIB_NAME" value="${nativeLibName}" />
+                     </exec>
+@@ -312,7 +312,7 @@
+                       <env key="LIB_DIR" value="${nativeLibOnlyDir}" />
+                       <env key="OBJ_DIR" value="${nativeObjsOnlyDir}" />
+                       <env key="JNI_PLATFORM" value="${jni.platform}" />
+-                      <env key="CFLAGS" value="-O3 -Werror -Wno-attributes 
-fPIC -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden" />
++                      <env key="CFLAGS" value="-O3 -Wno-attributes -fPIC 
-fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden" />
+                       <env key="LDFLAGS" value="-Wl,--no-as-needed -lrt" />
+                       <env key="LIB_NAME" value="${nativeLibName}" />
+                     </exec>
+--- a/transport-native-epoll/pom.xml
++++ b/transport-native-epoll/pom.xml
+@@ -265,7 +265,7 @@
+                   
<value>${linux.sendmmsg.support}${glibc.sendmmsg.support}</value>
+                   <!-- If glibc and linux kernel are both not 
sufficient...then define the CFLAGS -->
+                   <regex>.*IO_NETTY_SENDMSSG_NOT_FOUND.*</regex>
+-                  <replacement>CFLAGS=-O3 -DIO_NETTY_SENDMMSG_NOT_FOUND 
-Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden 
-I${unix.common.include.unpacked.dir}</replacement>
++                  <replacement>CFLAGS=-O3 -DIO_NETTY_SENDMMSG_NOT_FOUND 
-fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden 
-I${unix.common.include.unpacked.dir}</replacement>
+                   <failIfNoMatch>false</failIfNoMatch>
+                 </configuration>
+               </execution>
+@@ -281,7 +281,7 @@
+                   <value>${jni.compiler.args.cflags}</value>
+                   <!-- If glibc and linux kernel are both not 
sufficient...then define the CFLAGS -->
+                   <regex>^((?!CFLAGS=).)*$</regex>
+-                  <replacement>CFLAGS=-O3 -Werror -fno-omit-frame-pointer 
-Wunused-variable -fvisibility=hidden 
-I${unix.common.include.unpacked.dir}</replacement>
++                  <replacement>CFLAGS=-O3 -fno-omit-frame-pointer 
-Wunused-variable -fvisibility=hidden 
-I${unix.common.include.unpacked.dir}</replacement>
+                   <failIfNoMatch>false</failIfNoMatch>
+                 </configuration>
+               </execution>
diff -Nru netty-4.1.33/debian/patches/series netty-4.1.33/debian/patches/series
--- netty-4.1.33/debian/patches/series  2019-01-22 11:10:37.000000000 +0100
+++ netty-4.1.33/debian/patches/series  2019-02-28 11:06:13.000000000 +0100
@@ -9,3 +9,4 @@
 10-ignore-lzma.patch
 11-ignore-protobuf-nano.patch
 13-ignore-conscrypt.patch
+disable-Werror.patch

--- End Message ---
--- Begin Message ---
Source: netty
Source-Version: 1:4.1.33-3

We believe that the bug you reported is fixed in the latest version of
netty, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <[email protected]> (supplier of updated netty package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 08 Jan 2020 20:40:19 -0800
Source: netty
Architecture: source
Version: 1:4.1.33-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: tony mancill <[email protected]>
Closes: 923455
Changes:
 netty (1:4.1.33-3) unstable; urgency=medium
 .
   * Team upload.
   * Apply patch for FTBFS on 32-bit architectures. (Closes: #923455)
     Thank you to Sjoerd Simons for the patch.
   * Set "Rules-Requires-Root: no" in debian/control
   * Specify debhelper compat 12 via debhelper-compat dependency
   * Bump Standards-Version to 4.4.1
Checksums-Sha1:
 6fb737141d15cfa6bfb5fba812e3e593d5c390ca 2468 netty_4.1.33-3.dsc
 3d5f0f92fec28ad39f58a23686f36f26326b260d 13860 netty_4.1.33-3.debian.tar.xz
 8f5faf0750ea034ffeb20442cdcb0c3c8d370237 14125 netty_4.1.33-3_amd64.buildinfo
Checksums-Sha256:
 c0831456cb62320f249d6a305564ae9b36133491d3c48f9656e297a852e0e622 2468 
netty_4.1.33-3.dsc
 4d17a146b71fab7ffb7e408663678cdd5bc186f995907ca695430748c70d2d8a 13860 
netty_4.1.33-3.debian.tar.xz
 2d360be8f047e67142bf91c45ab19afa77a218d03544257bcf1dfb34952e6567 14125 
netty_4.1.33-3_amd64.buildinfo
Files:
 f5c40955f793f914c2e43b2216313492 2468 java optional netty_4.1.33-3.dsc
 b82ec67e5f0b31dd2159aa7c2c4a6f99 13860 java optional 
netty_4.1.33-3.debian.tar.xz
 984c95d68a3205a1cb97c16d086ec4ed 14125 java optional 
netty_4.1.33-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAl4WtLcUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpZMew//b0R/gNomCqoNxMmeme1BsDAxWY+c
m6xIo4i+uBm5XDDuYckG3w2a1lUgqF1eTxw+lb/zi6aHNl6BPDp4F2kf7yMOxxhT
T+mmm0+kMbRg3o/ie5KNRiuGW7NM4tAbQQCYEScgRR7ZVkD2z3RfxR3Ei9SSxshb
2/PzW6hZPLm+gtOpJ4pgDfEmz4jJ2U5qbrFO2/ROHA2UagQ6DNWGWQtdevLjiU2U
o+fTVSMt1qqfgQQjjg3FE1sn0aPvds727DirT1hOPbEFK0PBSrgPPE7B/aqVH0qI
7vFCeFWNVTwhYrhcJ/xavT/C4Q87XeDEOjzqy28BVyeDFiR1SAoVSWStnte08pfL
1Q7W3mDSkP0c5hGDOQ9f+F20ClCg6+u61ccM8NayZSve5CqFb5WpLBRIzTxktFEW
FM8P0LsaNv70EetTi94jJPqyjAUUTzjVR1dCaMDm9CTYFYPTJq4MQKr49YBBJqfp
cyufbezbvkg+xUjaqH+VNoFoVDHix8qAqpfdSNw/irznvq64WYFytHy/Jpe8O+7c
lu7a0/bqvz+EJ0qK5rRyNltItP1BLll5APRAsLWJ06J7EP7BzEXgq80hWIG5VlbL
ax0szc7lMU69by3Js1J5vcXNGl0yRMLOuXRpeyC7SM8uuYq2YU47ta6WcGF8KHAL
9Xzlhs4bry8+TKA=
=y7Y7
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to