You have been subscribed to a public bug by Robie Basak (racb):

The --base-lib-cflags option to net-snmp-config added by Debian
developers is broken as it outputs @LIBCFLAGS@ among others.

The problem comes from the fact that when it was introduced (version
5.4.2.1~dsfg-4), the original patch modified the configure.in file as
well.  In the meantime, the structure of configure.ac has changed and
when the patch was adapted, the modification to configure.ac was
dropped, resulting in a substitution left aside.

The attached patch is an attempt to restore the original behavior.  It
is meant as a replacement of debian/patches/62_add_lib_cflags.patch .

Nevertheless, the way information output by net-snmp-config --base-lib-
cflags is gathered is wrong.  There shouldn't IMHO be any GCC
optimization flags like -O2 in the substitution, among others.  The
variable to substitute @LIBCFLAGS@ should be carefully constructed
during the configure process instead.

** Affects: net-snmp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: needs-upstream-report patch
-- 
net-snmp-config --base-lib-cflags is broken
https://bugs.launchpad.net/bugs/1513569
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to the bug report.

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to