Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628014 - net-dialup/freeradius USE=ssl - Can not find suitable object file for build/objs/src/modules/rlm_eap/types/rlm_eap_fast/.lo
Summary: net-dialup/freeradius USE=ssl - Can not find suitable object file for build/o...
Status: RESOLVED DUPLICATE of bug 625524
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-16 13:19 UTC by Marcel Sondaar
Modified: 2017-09-04 14:08 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,5.13 KB, text/plain)
2017-08-16 13:19 UTC, Marcel Sondaar
Details
build.log (build.log,573.18 KB, text/plain)
2017-08-16 13:26 UTC, Marcel Sondaar
Details
Workaround patch (file_628014.txt,508 bytes, patch)
2017-08-17 08:54 UTC, Marcel Sondaar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Sondaar 2017-08-16 13:19:13 UTC
Created attachment 489262 [details]
emerge --info

Building freeradius with SSL enabled fails at this step:

sed  -e 's/#.*//' -e 's,^/var/tmp/portage/net-dialup/freeradius-3.0.14/work/freeradius-server-3.0.14,${top_srcdir},' -e 's, /var/tmp/portage/net-dialup/freeradius-3.0.14/work/freeradius-server-3.0.14, ${top_srcdir},' -e 's,^build,${BUILD_DIR},' -e 's, build/make/include/[^ :]*,,' -e 's, build, ${BUILD_DIR},' -e 's, /[^: ]*,,g' -e 's,^ *[^:]* *: *$,,' -e '/: </ d' -e 's/\.o: /.${OBJ_EXT}: /' -e '/^ *\\$/ d' < build/objs/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast_crypto.d | sed -e '$!N; /^\(.*\)\n\1$/!P; D' >  build/make/src/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast_crypto.mk
sed -e 's/#.*//' -e 's, build/make/include/[^ :]*,,' -e 's, /[^: ]*,,g' -e 's,^ *[^:]* *: *$,,' -e '/: </ d' -e 's/^[^:]*: *//' -e 's/ *\\$//' -e 's/$/ :/' < build/objs/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast_crypto.d | sed -e '$!N; /^\(.*\)\n\1$/!P; D' >> build/make/src/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast_crypto.mk
mkdir -p build/lib/local//
build/make/jlibtool --mode=link --shared x86_64-pc-linux-gnu-gcc -o build/lib/local/.la -rpath /var/tmp/portage/net-dialup/freeradius-3.0.14/work/freeradius-server-3.0.14/build/lib/local//.libs   -Wl,-O1 -Wl,--as-needed   build/objs/src/modules/rlm_eap/types/rlm_eap_fast/.lo build/objs/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.lo build/objs/src/modules/rlm_eap/types/rlm_eap_fast/eap_fast_crypto.lo   build/lib/local/libfreeradius-eap.la
Can not find suitable object file for build/objs/src/modules/rlm_eap/types/rlm_eap_fast/.lo

Emerging with USE=-ssl results in a successful build.
I have tried both stable 3.0.14 and unstable 3.0.15 with the same result.
As per https://forums.gentoo.org/viewtopic-p-8098542.html?sid=29a58f5751bf7327d4c24ec58dcec47f I tried rebuilding stable openssl-1.0.2k, which did not help, updating to 1.0.2l did not help. I have not tried openssl 1.1.0 due to the mask warning.
Comment 1 Marcel Sondaar 2017-08-16 13:26:33 UTC
Created attachment 489266 [details]
build.log
Comment 2 Marcel Sondaar 2017-08-17 08:54:17 UTC
Created attachment 489378 [details, diff]
Workaround patch

I've managed to get a working radius server with this ebuild change. I can perform WPA-Enterprise authentication, so SSL is sufficiently working, but I'm not an expert enough to claim this is production-worthy or not.
Comment 3 Ben Kohler gentoo-dev 2017-09-04 14:08:56 UTC

*** This bug has been marked as a duplicate of bug 625524 ***