Testing for package connman Reproducible: Always Steps to Reproduce: 1. # USE="debug -doc -examples -google -ntpd -ofono -openvpn -threads tools -vpnc wimax" emerge connman 2. 3. Actual Results: tools/alg-test.c: In function ‘create_socket’: tools/alg-test.c:82:18: error: ‘AF_ALG’ undeclared (first use in this function) tools/alg-test.c:82:18: note: each undeclared identifier is reported only once for each function i$ tools/alg-test.c:88:14: error: ‘PF_ALG’ undeclared (first use in this function) make[1]: *** [tools/alg-test.o] Error 1 Expected Results: To compile This is likely related to linux headers. archtester connman-0.75 # grep -r PF_ALG . ./tools/alg-test.c: sk = socket(PF_ALG, SOCK_SEQPACKET, 0); archtester connman-0.75 # grep -r AF_ALG . ./tools/alg-test.c: .salg_family = AF_ALG, This is where it puzzles. My guess is these functions were present in the previous linux headers. These functions appear to not be defined anywhere in the source! Nor do they make an appearance in /usr/include. This may assist; archtester connman-0.75 # grep -r _ALG . ./config.h.in:#undef HAVE_LINUX_IF_ALG_H Binary file ./src/rtnl.o matches Binary file ./src/6to4.o matches ./tools/alg-test.c: .salg_family = AF_ALG, ./tools/alg-test.c: sk = socket(PF_ALG, SOCK_SEQPACKET, 0); ./config.log:#define HAVE_LINUX_IF_ALG_H 1 ./config.status:D["HAVE_LINUX_IF_ALG_H"]=" 1" ./config.h:#define HAVE_LINUX_IF_ALG_H 1 right; this /usr/include/linux/if_alg.h is the header missing in an include in the source.
Created attachment 289753 [details] the build log
According to git log, that kernel header is installed since 2.6.38.
yes, it's there, that's not in question. The source just needs an include statement in the .c file, or whichever config file, to find it.
Whilst I was unable to set USE="wimax" due to unrelated build failures; I am unable to make this happen with 0.78 and believe it to be fixed. I will ask for fast-track stabilisation of this version instead. Thank you for your bug report.