| Summary: | net-misc/quagga-0.98.6-r1: fails to compile with +snmp | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | solar (RETIRED) <solar> |
| Component: | New packages | Assignee: | Amir Guindehi (RETIRED) <amir> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | mrness |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
solar (RETIRED)
2006-05-29 05:57:58 UTC
Your gcc doesn't report the error. Try to update system tools or at least gcc. That profile does not let you go past gcc-2.95 (so thats not an option) To me it looks like a libtool error. So I'll make sure those parts are all up2date and give it another run. updated libtool had no effect. But the error reported appears to be that it hates alot of redefs. (quagga uses -Werror but hides it?) bash# grep PACKAGE ./quagga-0.98.6/config.h ; echo ; grep PACKAGE /usr/include/net-snmp/net-snmp-config.h #define PACKAGE "quagga" #define PACKAGE_BUGREPORT "http://bugzilla.quagga.net" #define PACKAGE_NAME "Quagga" #define PACKAGE_STRING "Quagga 0.98.6" #define PACKAGE_TARNAME "quagga" #define PACKAGE_VERSION "0.98.6" #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" #define PACKAGE_NAME "Net-SNMP" #define PACKAGE_STRING "Net-SNMP 5.2.1.2" #define PACKAGE_TARNAME "net-snmp" #define PACKAGE_VERSION "5.2.1.2" 1) -Werror isn't used anywhere: mrness@alin /var/tmp/portage/quagga-0.99.4/work $ grep -r Werror . ./quagga-0.99.4/aclocal.m4: # or remarks (even with -Werror). So we grep stderr for any message ./quagga-0.99.4/configure: # or remarks (even with -Werror). So we grep stderr for any message ./quagga-0.99.4/configure: # or remarks (even with -Werror). So we grep stderr for any message ./quagga-0.99.4/autom4te.cache/output.0: # or remarks (even with -Werror). So we grep stderr for any message ./quagga-0.99.4/autom4te.cache/output.0: # or remarks (even with -Werror). So we grep stderr for any message ./quagga-0.99.4/autom4te.cache/traces.1: # or remarks (even with -Werror). So we grep stderr for any message ./quagga-0.99.4/autom4te.cache/output.1: # or remarks (even with -Werror). So we grep stderr for any message ./quagga-0.99.4/autom4te.cache/output.1: # or remarks (even with -Werror). So we grep stderr for any message 2) net-snmp is to blame for defining PACKAGE* in /usr/include, not quagga. 3) The failing command isn't the one which generates those warnings but the following: DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/quagga/\" -I. -I. -I.. -I.. -I.. -I../lib -march=i686 -O2 -pipe -I/usr/include/net-snmp -I/usr/include/net-snmp/library -c rip_peer.c Either depcomp script hides the errors (I doubt that) or you hit some bug of your gcc version. Try to run that command manually, without using depcomp. Did you had the time to run the test I've asked you to? (see previous comment, below point 3) Sorry no I've not. quagga got uninstalled from that box and then I moved it away from me. I don't think I'll be able to try it with 2.95 anytime soonish. If you reproduce the bug on another machine with gcc-2.95, reopen it. |