Public bug reported: 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 ** Patch added: "Replacement patch proposition." https://bugs.launchpad.net/bugs/1513569/+attachment/4513607/+files/62_add_lib_cflags.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1513569 Title: net-snmp-config --base-lib-cflags is broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1513569/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs