Debian Bug report logs - #870733
openhpi: Fix SNMPFLAGS FTBFS

version graph

Package: src:openhpi; Maintainer for src:openhpi is Mohan Devarajulu <mohan.devarajulu@hpe.com>;

Reported by: Adrian Bunk <bunk@debian.org>

Date: Fri, 4 Aug 2017 15:15:07 UTC

Severity: serious

Tags: buster, patch, sid

Found in version openhpi/3.6.1-2.2

Fixed in version openhpi/3.6.1-3

Done: Mohan Devarajulu <mohan.devarajulu@hpe.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Bryan Sutula <bryan.sutula@hpe.com>:
Bug#870733; Package src:openhpi. (Fri, 04 Aug 2017 15:15:10 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to Bryan Sutula <bryan.sutula@hpe.com>. (Fri, 04 Aug 2017 15:15:10 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: openhpi: Fix SNMPFLAGS FTBFS
Date: Fri, 04 Aug 2017 18:13:48 +0300
Source: openhpi
Version: 3.6.1-2.2
Severity: serious
Tags: patch

It is bad luck, but with 10 release architectures it is
actually not that unlikely to sometimes hit this problem:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/openhpi.html

...
Making all in snmp
make[3]: Entering directory '/build/1st/openhpi-3.6.1/snmp'
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DG_LOG_DOMAIN=\"snmp\" -I../include -I../utils -I../utils -I../clients -Wdate-time -D_FORTIFY_SOURCE=2 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g  -fdebug-prefix-map=/build/net-snmp -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/usr/include -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include         -Wall         -Wmissing-prototypes         -Wmissing-declarations         -Wstrict-prototypes         -Wpointer-arith         -Wformat=2         -Wformat-security         -Wformat-nonliteral         -Wno-format-y2k         -Wcast-qual         -Wcast-align         -Wno-strict-aliasing 	-fno-strict-alias
 ing         -Wno-unused-value  -D_GNU_SOURCE -D_REENTRANT -fexceptions -MT snmp_utils.lo -MD -MP -MF .deps/snmp_utils.Tpo -c -o snmp_utils.lo snmp_utils.c
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"snmp\" -I../include -I../utils -I../utils -I../clients -Wdate-time -D_FORTIFY_SOURCE=2 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -fdebug-prefix-map=/build/net-snmp -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/usr/include -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-qual -Wcast-align -Wno-strict-aliasing -fno-strict-aliasing -Wno-unused-value -D_GNU_SOURCE -D_REENTRANT -fexceptions -MT snmp_utils.lo -MD -MP -MF .deps/snmp_utils.Tpo -c snmp_utils.c
   -fPIC -DPIC -o .libs/snmp_utils.o
cc1: error: invalid argument '/build/net-snmp' to -fdebug-prefix-map
Makefile:497: recipe for target 'snmp_utils.lo' failed
make[3]: *** [snmp_utils.lo] Error 1


The root cause is that net-snmp shouldn't expose these flags in
"net-snmp-config --cflags", I'll submit a separate bug against
net-snmp.



Information forwarded to debian-bugs-dist@lists.debian.org, Bryan Sutula <bryan.sutula@hpe.com>:
Bug#870733; Package src:openhpi. (Fri, 04 Aug 2017 15:21:09 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
Extra info received and forwarded to list. Copy sent to Bryan Sutula <bryan.sutula@hpe.com>. (Fri, 04 Aug 2017 15:21:09 GMT) (full text, mbox, link).


Message #10 received at 870733@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: 870733@bugs.debian.org
Subject: Re: Bug#870733: openhpi: Fix SNMPFLAGS FTBFS
Date: Fri, 4 Aug 2017 18:16:57 +0300
[Message part 1 (text/plain, inline)]
On Fri, Aug 04, 2017 at 06:13:48PM +0300, Adrian Bunk wrote:
> Source: openhpi
> Version: 3.6.1-2.2
> Severity: serious
> Tags: patch
> 
> It is bad luck, but with 10 release architectures it is
> actually not that unlikely to sometimes hit this problem:
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/openhpi.html
> 
> ...
> Making all in snmp
> make[3]: Entering directory '/build/1st/openhpi-3.6.1/snmp'
> /bin/bash ../libtool  --tag=CC   --mode=compile x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DG_LOG_DOMAIN=\"snmp\" -I../include -I../utils -I../utils -I../clients -Wdate-time -D_FORTIFY_SOURCE=2 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g  -fdebug-prefix-map=/build/net-snmp -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/usr/include -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include         -Wall         -Wmissing-prototypes         -Wmissing-declarations         -Wstrict-prototypes         -Wpointer-arith         -Wformat=2         -Wformat-security         -Wformat-nonliteral         -Wno-format-y2k         -Wcast-qual         -Wcast-align         -Wno-strict-aliasing 	-fno-strict-alias
>  ing         -Wno-unused-value  -D_GNU_SOURCE -D_REENTRANT -fexceptions -MT snmp_utils.lo -MD -MP -MF .deps/snmp_utils.Tpo -c -o snmp_utils.lo snmp_utils.c
> libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"snmp\" -I../include -I../utils -I../utils -I../clients -Wdate-time -D_FORTIFY_SOURCE=2 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -fdebug-prefix-map=/build/net-snmp -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/usr/include -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-qual -Wcast-align -Wno-strict-aliasing -fno-strict-aliasing -Wno-unused-value -D_GNU_SOURCE -D_REENTRANT -fexceptions -MT snmp_utils.lo -MD -MP -MF .deps/snmp_utils.Tpo -c snmp_utils.c
>    -fPIC -DPIC -o .libs/snmp_utils.o
> cc1: error: invalid argument '/build/net-snmp' to -fdebug-prefix-map
> Makefile:497: recipe for target 'snmp_utils.lo' failed
> make[3]: *** [snmp_utils.lo] Error 1
> 
> 
> The root cause is that net-snmp shouldn't expose these flags in
> "net-snmp-config --cflags", I'll submit a separate bug against
> net-snmp.

The patch is attached.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

[snmpflags-fix.patch (text/x-diff, attachment)]

Reply sent to Mohan Devarajulu <mohan.devarajulu@hpe.com>:
You have taken responsibility. (Tue, 26 Sep 2017 20:57:08 GMT) (full text, mbox, link).


Notification sent to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer. (Tue, 26 Sep 2017 20:57:08 GMT) (full text, mbox, link).


Message #15 received at 870733-close@bugs.debian.org (full text, mbox, reply):

From: Mohan Devarajulu <mohan.devarajulu@hpe.com>
To: 870733-close@bugs.debian.org
Subject: Bug#870733: fixed in openhpi 3.6.1-3
Date: Tue, 26 Sep 2017 20:54:48 +0000
Source: openhpi
Source-Version: 3.6.1-3

We believe that the bug you reported is fixed in the latest version of
openhpi, 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 870733@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mohan Devarajulu <mohan.devarajulu@hpe.com> (supplier of updated openhpi 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Tue, 12 Sep 2017 11:50:16 -0500
Source: openhpi
Binary: libopenhpi3 libopenhpi-dev openhpid openhpi-clients openhpi-plugin-ilo2-ribcl openhpi-plugin-ipmi openhpi-plugin-ipmidirect openhpi-plugin-oa-soap openhpi-plugin-slave openhpi-plugin-test-agent openhpi-plugin-snmp-bc openhpi-plugin-sysfs openhpi-plugin-watchdog openhpi-plugin-simulator openhpi-plugin-dynamic-simulator openhpi
Architecture: source
Version: 3.6.1-3
Distribution: unstable
Urgency: medium
Maintainer: Mohan Devarajulu <mohan.devarajulu@hpe.com>
Changed-By: Mohan Devarajulu <mohan.devarajulu@hpe.com>
Description:
 libopenhpi-dev - OpenHPI libraries (development files)
 libopenhpi3 - OpenHPI libraries (runtime and support files)
 openhpi    - SAF's HPI: Abstracted interface for managing computer hardware
 openhpi-clients - OpenHPI example client programs
 openhpi-plugin-dynamic-simulator - OpenHPI plugin module for a dynamic simulator
 openhpi-plugin-ilo2-ribcl - OpenHPI plugin module for HP's ProLiant rackmount servers
 openhpi-plugin-ipmi - OpenHPI plugin module for OpenIPMI
 openhpi-plugin-ipmidirect - OpenHPI plugin module for direct IPMI over LAN (RMCP) or SMI
 openhpi-plugin-oa-soap - OpenHPI plugin module for HP's BladeSystem c-Class
 openhpi-plugin-simulator - OpenHPI plugin module for a simulator that works without hardware
 openhpi-plugin-slave - OpenHPI plugin module for slave plugin
 openhpi-plugin-snmp-bc - OpenHPI plugin module for IBM's BladeCenter or RSA over SNMP
 openhpi-plugin-sysfs - OpenHPI plugin module for the sysfs filesystem
 openhpi-plugin-test-agent - OpenHPI plugin module for test agent plugin
 openhpi-plugin-watchdog - OpenHPI plugin module for the Linux watchdog interface
 openhpid   - OpenHPI daemon, supports gathering of manageability information
Closes: 853590 870733
Changes:
 openhpi (3.6.1-3) unstable; urgency=medium
 .
   * Fixed SNMPFLAGS FTBFS (Closes: #870733)
   * Fixed ftbfs with GCC-7 (Closes: #853590)
Checksums-Sha1:
 0a2396e5624170aeaa01d1bfbb8649d3661edb0b 3151 openhpi_3.6.1-3.dsc
 5f3ba8ffbc202bbf72f092961ddda75b1517f305 15152 openhpi_3.6.1-3.debian.tar.xz
 0cb7e76b6721116eab026d0e8be2e9f9c0243cb9 15558 openhpi_3.6.1-3_amd64.buildinfo
Checksums-Sha256:
 727d586a29b7352626f19f17d8a6bc8c74060dd9969c0f865bb279e40e07e24f 3151 openhpi_3.6.1-3.dsc
 ed59a70f5e14a7a92f61c1c0ebe0c304dce16a3456dbd76145b4be986ef3f8c1 15152 openhpi_3.6.1-3.debian.tar.xz
 eb6165536d87df7c995dc7b321a2596d24f6b80cf43a70103da85b662e569d41 15558 openhpi_3.6.1-3_amd64.buildinfo
Files:
 3c777f7a4dd8c93df8bc49d378315d99 3151 admin optional openhpi_3.6.1-3.dsc
 17a98f1bfddec4aeee6797f9f63288b2 15152 admin optional openhpi_3.6.1-3.debian.tar.xz
 c017b7b070224c513306879938677f6a 15558 admin optional openhpi_3.6.1-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEELNgYv/ZGGerbWCE0zVihsX7QM/oFAlnKujMACgkQzVihsX7Q
M/qbdRAAnQUhPRx6mbDp9p3k+Dg6K2Imxc6LfhVBTuu7ODiFX8mLqXxcs3pebI2e
/CwDVyjRADr+iHsKMjJhS9DKaen/laJnJmA+bgArVrBSxcG3A4lqCQDzgsqBVMTr
f5yBYXP8hiv+heXW76msi8RXmDISjWAaxHE4Lo8GLvbKiKZCmhEdPwg29FKhLlxh
Ef2ywfXaO5ivv3xTGs5Uw9CSlyasuCiCA4AV8g3vJyZPMYrJvofojlpGzZslma8x
z3ft07kVunJVCnS0IQh6qphou5LHtUPboS8LgkV0uCk7fmNxvh7wJmWXVtjiBRED
T8AKG067WRtb0UZFrAISeO1Y+FmuoTY/Mh/tVtp6cmgL/BWOzUcwR6k3h9WSfgDh
EJxjuY4wSckGnYqbsCDJDUjSz0dxVgTpDd2hn/fxy/9WJgAqlwck39fAAs0FjyAX
8HVuwsB+yoW/aZPJzW4kZiCEVfpiupRY7S5MrJTiija0ndnK6hTyEO4GObI9MCzq
RUY/IIRv4mnvWkNf2Ls+OPeFVG3wFXrtWx9uth3FCVN8h8vD8IIlHhVaUvT3jIOF
FvNw+559idBcc0e6EnbSKxBedcKk3+dpVQlFkXr18dRhAMqLZASYQjJyJTLx6RLG
ZfSN0J87Uf0/cw1MHqFAsOOW2s0kpoYdCIoUKGXT4HIIIDf0Jx4=
=TQxq
-----END PGP SIGNATURE-----




Added tag(s) sid and buster. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Thu, 28 Sep 2017 06:33:09 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 30 Oct 2017 07:26:22 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:56:23 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.