Description of problem: Our internal rpmdiff tool reports, that net-snmp has problems on multilib architectures: Subpackage net-snmp is not multilib-clean for x86_64 vs i386: 2 files have non-equal 32/64bit content: /usr/share/man/man5/snmpd.conf.5.gz /usr/share/man/man5/snmp_config.5.gz Subpackage net-snmp-devel is not multilib-clean for ia64 vs i386: 8 files have non-equal 32/64bit content: /usr/lib/libsnmp.a /usr/lib/libnetsnmptrapd.a /usr/lib/libnetsnmpmibs.a /usr/lib/libnetsnmphelpers.a /usr/lib/libnetsnmpagent.a /usr/lib/libnetsnmp.a /usr/include/net-snmp/agent/mib_module_includes.h /usr/include/net-snmp/agent/mib_module_config.h Version-Release number of selected component (if applicable): net-snmp-5.3.1-24.el5_2.3
1) man pages in net-snmp can be easily fixed 2) headers in net-snmp-devel can probably be fixed, though it won't be easy 3) static libraries are the real problem here. Rpm does not relocate them to /emul/whatever, so ia64 and i386 versions conflict in /usr/lib
I have created new bug for relocation of static libraries to bug #527960, it's fault of RPM. Only items 1) and 2) apply to this bug.
Created attachment 364218 [details] test application to check new include files Usage: yum install net-snmp-devel gcc -o net-snmp-test `net-snmp-config --cflags --ldflags --netsnmp-agent-libs --libs --external-agent-libs` net-snmp-test.c Resulting executable should start (it won't do anything useful) and GCC should not spit any errors/warnings. Also check preprocessor output (gcc -E) if mib_module_config.h leads to mib_module_config-$ARCH.h.
Solution to 2): have dummy agent/mib_module_includes.h, which just detects current architecture and include e.g. mib_module_includes-ia64.h. Each net-snmp-devel.$arch has then it's own version of mib_module_includes-$arch.h. Dtto for agent/mib_module_config.h.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0253.html