building fails because lib curl is missed. Reproducible: Always Steps to Reproduce: [ebuild N ] net-misc/strongswan-2.5.4 -curl +ldap -smartcard 0 kB Error Message: cc -O2 -mcpu=i686 -fomit-frame-pointer -DDEBUG -DNO_PLUTO -O2 -mcpu=i686 -fomit-frame-pointer -I../../linux/include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -o scepclient scepclient.o rsakey.o pkcs10.o loglite.o asn1.o ca.o certs.o constants.o crl.o defs.o fetch.o id.o keys.o lex.o md2.o md5.o ocsp.o oid.o pem.o pgp.o pkcs1.o rnd.o sha1.o smartcard.o x509.o ../../lib/libfreeswan/libfreeswan.a ../../lib/libdes/libdes.a -lgmp -lcurl /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.6/../../../../i386-pc-linux-gnu/bin/ld: cannot find -lcurl collect2: ld returned 1 exit status make[2]: *** [scepclient] Error 1 rm scepclient.o make[2]: Leaving directory `/var/tmp/portage/strongswan-2.5.4/work/strongswan-2.5.4/programs/scepclient' make[1]: *** [programs] Error 1 make[1]: Leaving directory `/var/tmp/portage/strongswan-2.5.4/work/strongswan-2.5.4/programs' make: *** [programs] Error 1
Created attachment 69635 [details, diff] Patch fixing the scepclient compilation problem Since in the current development stage scepclient doesn't need libcurl yet, the patch fixes the compilation problem by removing -lcurl from the Makefile.
2.5.6 is in portage now and fixes this issue. It was a bug in a makefile.