Date: Mon, 6 Nov 2023 08:27:34 -0700 From: The Doctor <doctor@doctor.nl2k.ab.ca> To: Baptiste Daroussin <bapt@freebsd.org> Cc: Glen Barber <gjb@freebsd.org>, freebsd-current@freebsd.org, freebsd-stable@freebsd.org, freebsd-snapshots@freebsd.org, FreeBSD Release Engineering Team <re@freebsd.org> Subject: Re: Radius challenges in FreeBSD 14.0 Re: FreeBSD 14.0-RC4 Now Available Message-ID: <ZUkF5vK8bRKg_L1U@doctor.nl2k.ab.ca> In-Reply-To: <efbefkav36ppxj6lciuallwid2iv3acksq7gfztjwfwmyomaxq@cjnvpita5sni> References: <20231103234232.GK1289@FreeBSD.org> <ZUfRvHmIqo0wq2ua@doctor.nl2k.ab.ca> <ZUfoyoPlGwwJq5fK@doctor.nl2k.ab.ca> <5p6sszthbhskientm4tki4pq4hyzws4fnmzgq4cagh7yvkrwyo@hhmf5cy4gmsu> <ZUia0xL5cBkOHTxo@doctor.nl2k.ab.ca> <xjwuutjiqy2ltmjfg5rrk3fu2bxdraqdtgsfoye7bkq3veqghu@v5dmwofwuwk7> <efbefkav36ppxj6lciuallwid2iv3acksq7gfztjwfwmyomaxq@cjnvpita5sni>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 06, 2023 at 09:50:18AM +0100, Baptiste Daroussin wrote: > On Mon, Nov 06, 2023 at 09:04:15AM +0100, Baptiste Daroussin wrote: > > On Mon, Nov 06, 2023 at 12:50:43AM -0700, The Doctor wrote: > > > On Mon, Nov 06, 2023 at 08:43:05AM +0100, Baptiste Daroussin wrote: > > > > On Sun, Nov 05, 2023 at 12:11:06PM -0700, The Doctor wrote: > > > > > On Sun, Nov 05, 2023 at 10:32:44AM -0700, The Doctor wrote: > > > > > > On Fri, Nov 03, 2023 at 11:42:32PM +0000, Glen Barber wrote: > > > > > > > The fourth RC build of the 14.0-RELEASE release cycle is now available. > > > > > > > > > > > > > > Installation images are available for: > > > > > > > > > > > > > > o 14.0-RC4 amd64 GENERIC > > > > > > > > > > > > > > > > > > > > > > > > > > I am having a problem witb Freeradius and GNU radius. > > > > > > > > > > > > Anyone else? > > > > > > > > > > > > > > > > > > > > > > I found the problem. Replace /usr/lib/libncursesw.so as a symbolic > > > > > link to /lib/libncursesw.so.9 > > > > > > > > can you provide more inputs here, please where do you get your freeradious or > > > > gnu radius implementation from, what is failing an so on? > > > > > > > > Best regards, > > > > Bapt > > > > > > freeradius looks like a TLS issue with openssl 3 > > > > > > . > > > > > > gnu Radius was biuld by me and not a port. > > > > > > Trying to recode is a challenge. > > > > > > What is happening is that > > > > > > the so file is not being recognised so > > > I have to symlink in order to get GNU radius 1.6.X to work . > > > > > > It will work with /lib/libncursesw.so.9 if the so file is found in > > > /usr/lib . > > > > OK I will dig into gnu-radius, and fix the port if needed! thank you > > > > Best regards, > > Bapt > > I just checked here, and I built gnu-radius on a vanilla freebsd 14.0 rc4 and a > vanilla 15 current, and in both case it perfectly links to libncursesw.so.9 and > does not require any change of the .so, at least from all the binary analysis > that I have done, do you have a specific command that will expose the issue? > > Can you provide me you gnu-radius package as created by pkg create gnu-radius ? > > Best regards, > Bapt Try to build from ports, here is what I get cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../include -I../include/radius -I../include/radius -I../lib -I../gnu -I../gnu -I/usr/local/include/guile/1.8 -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -DSYSCONFDIR=\"/usr/local/etc\" -DRADPID_DIR=\"/var/run\" -DRADLOG_DIR=\"/var/log\" -DRADIUS_DATADIR=\"/usr/local/share/radius/1.6.1\" -DRADIUS_LIBDIR=\"/usr/local/lib/radius/1.6.1\" -I/usr/local/include/ -I/usr/local/include -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT builddbm.o -MD -MP -MF .deps/builddbm.Tpo -c -o builddbm.o builddbm.c builddbm.c:101:13: warning: call to undeclared function 'grad_dbm_insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (grad_dbm_insert(closure->dbmfile, named, contentd)) { ^ builddbm.c:141:13: warning: call to undeclared function 'grad_dbm_create'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (grad_dbm_create(db_file, &closure.dbmfile)) { ^ builddbm.c:147:39: error: incompatible function pointer types passing 'int (DBM_closure *, User_symbol *)' (aka 'int (DBM_closure *, struct user_symbol *)') to parameter of type 'int (*)(void *, grad_symbol_t *)' (aka 'int (*)(void *, struct symbol *)') [-Wincompatible-function-pointer-types] grad_symtab_iterate(user_tab, append_symbol, &closure); ^~~~~~~~~~~~~ ../include/radius/symtab.h:48:11: note: passing argument to parameter 'fn' here int (*fn)(void *, grad_symbol_t *), ^ builddbm.c:243:13: warning: call to undeclared function 'paircmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (paircmp(req, check_tmp) == 0) { ^ builddbm.c:252:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = grad_avl_find(check_tmp, DA_MATCH_PROFILE)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ builddbm.c:252:23: note: place parentheses around the assignment to silence this warning if (p = grad_avl_find(check_tmp, DA_MATCH_PROFILE)) { ^ ( ) builddbm.c:252:23: note: use '==' to turn this assignment into an equality comparison if (p = grad_avl_find(check_tmp, DA_MATCH_PROFILE)) { ^ == builddbm.c:308:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*fn)(buffer, sizeof(buffer), name, i), ^ builddbm.c:323:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = grad_avl_find(*reply_pairs, DA_MATCH_PROFILE)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ builddbm.c:323:23: note: place parentheses around the assignment to silence this warning if (p = grad_avl_find(*reply_pairs, DA_MATCH_PROFILE)) { ^ ( ) builddbm.c:323:23: note: use '==' to turn this assignment into an equality comparison if (p = grad_avl_find(*reply_pairs, DA_MATCH_PROFILE)) { ^ == builddbm.c:336:22: warning: call to undeclared function 'fallthrough'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!fallthrough(*reply_pairs)) ^ 7 warnings and 1 error generated. gmake[6]: *** [Makefile:743: builddbm.o] Error 1 gmake[6]: Leaving directory '/usr/ports/net/gnu-radius/work/radius-1.6.1/radiusd' gmake[5]: *** [Makefile:641: all] Error 2 gmake[5]: Leaving directory '/usr/ports/net/gnu-radius/work/radius-1.6.1/radiusd' gmake[4]: *** [Makefile:745: all-recursive] Error 1 gmake[4]: Leaving directory '/usr/ports/net/gnu-radius/work/radius-1.6.1' gmake[3]: *** [Makefile:621: all] Error 2 gmake[3]: Leaving directory '/usr/ports/net/gnu-radius/work/radius-1.6.1' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[2]: stopped in /usr/ports/net/gnu-radius *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/gnu-radius *** Error code 1 Stop. make: stopped in /usr/ports/net/gnu-radius -- Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism ; unsubscribe from Google Groups to be seen Suffering will continue until we stop believing lies. -unknown Beware https://mindspring.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZUkF5vK8bRKg_L1U>