When I try to emerge quagga-0.97.1, I get a compliation error in libzebra See the attached information from the compliation. Reproducible: Always Steps to Reproduce: 1. 2. 3. ../lib/.libs/libzebra: undefined reference to `cap_init' ../lib/.libs/libzebra: undefined reference to `cap_get_flag' ../lib/.libs/libzebra: undefined reference to `cap_clear' ../lib/.libs/libzebra: undefined reference to `cap_set_flag' ../lib/.libs/libzebra: undefined reference to `cap_set_proc' ../lib/.libs/libzebra: undefined reference to `cap_free' collect2: ld returned 1 exit status make[2]: *** [zebra] Error 1 make[2]: Leaving directory `/var/tmp/portage/quagga-0.97.1/work/quagga-0.97.1/ze bra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/quagga-0.97.1/work/quagga-0.97.1' make: *** [all] Error 2 !!! ERROR: net-misc/quagga-0.97.1 failed. !!! Function src_compile, Line 97, Exitcode 2 !!! (no error message)
Sounds like it should be linked with -lcap
amir can you remove me from the metadata.xml. quagga is your baby.
The problem is related to the new libcap-1.10-r4! Using libcap-1.10-r3 everything works fine. As a fast fix I changed the dependency to =libcap-1.10-r3. As far as I can see the only thing that changed in the new libcap ebuild is that it does not build the static library by default... This has to be investigated further. Solar, I've removed you. I've also merged a new quagga-0.97.2 ebuild. It uses libcap-1.10-r3 too for the moment.
currently, the tcpmd5 useflag pulls in a patch that fails to patch as well. Do you want a seperate bug for that or do you want me to include info in here?
Please include it here...
Calculating dependencies ...done! >>> emerge (1 of 1) net-misc/quagga-0.97.2 to / >>> md5 src_uri ;-) quagga-0.97.2.tar.gz >>> md5 src_uri ;-) ht-20040525-0.96.5-bgp-md5.patch >>> Unpacking source... >>> Unpacking quagga-0.97.2.tar.gz to /var/tmp/portage/quagga-0.97.2/work >>> Unpacking ht-20040525-0.96.5-bgp-md5.patch to /var/tmp/portage/quagga-0.97.2/work unpack ht-20040525-0.96.5-bgp-md5.patch: file format not recognized. Ignoring. >>> Source unpacked. snmp pam tcpmd5 tcpmd5 * Applying ht-20040525-0.96.5-bgp-md5.patch ... * Failed Patch: ht-20040525-0.96.5-bgp-md5.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/quagga-0.97.2/temp/ht-20040525-0.96.5-bgp-md5.patch-23616.out !!! ERROR: net-misc/quagga-0.97.2 failed. !!! Function epatch, Line 402, Exitcode 0 !!! Failed Patch: ht-20040525-0.96.5-bgp-md5.patch! !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 42889 [details] Patch failure log
Any update on this?
Check out the new quagga-0.98.2 ebuild. It should fix this.