Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68540 - Failer to build quagga-0.97.1
Summary: Failer to build quagga-0.97.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Amir Guindehi (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-22 06:38 UTC by Ian Beck
Modified: 2011-03-12 18:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch failure log (ht-20040525-0.96.5-bgp-md5.patch-23616.out,15.25 KB, text/plain)
2004-10-29 19:24 UTC, Jason Wever (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Beck 2004-10-22 06:38:40 UTC
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)
Comment 1 solar (RETIRED) gentoo-dev 2004-10-22 07:44:32 UTC
Sounds like it should be linked with -lcap
Comment 2 solar (RETIRED) gentoo-dev 2004-10-22 07:58:33 UTC
amir can you remove me from the metadata.xml. quagga is your baby.
Comment 3 Amir Guindehi (RETIRED) gentoo-dev 2004-10-25 14:15:56 UTC
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.
Comment 4 Jason Wever (RETIRED) gentoo-dev 2004-10-28 20:02:32 UTC
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?
Comment 5 Amir Guindehi (RETIRED) gentoo-dev 2004-10-29 17:06:45 UTC
Please include it here...
Comment 6 Jason Wever (RETIRED) gentoo-dev 2004-10-29 19:23:12 UTC
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.
Comment 7 Jason Wever (RETIRED) gentoo-dev 2004-10-29 19:24:58 UTC
Created attachment 42889 [details]
Patch failure log
Comment 8 Jason Wever (RETIRED) gentoo-dev 2005-03-19 09:54:06 UTC
Any update on this?
Comment 9 Amir Guindehi (RETIRED) gentoo-dev 2005-03-24 14:10:00 UTC
Check out the new quagga-0.98.2 ebuild. It should fix this.