openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.88k stars 3.39k forks source link

freeradius3: add PKG_BUILD_PARALLEL:=0 #24464

Closed esaaprillia closed 5 days ago

esaaprillia commented 5 days ago

Maintainer: Compile tested: Run tested:

Description:

freeradius-3.2.4 had a build failure in the snapshoot release but it builds successfully when doing a pull request

https://downloads.openwrt.org/snapshots/faillogs/aarch64_generic/packages/freeradius3/compile.txt

https://github.com/openwrt/packages/pull/24417

as a solution we need to add

PKG_BUILD_PARALLEL:=0

to prevent freeradius3 from doing the build in parallel

esaaprillia commented 5 days ago

@neheb

esaaprillia commented 4 days ago

@neheb

I don't understand what's wrong with freeradius3 failing to build in the snapshoot release

https://downloads.openwrt.org/snapshots/packages/armeb_xscale/packages/

esaaprillia commented 4 days ago

I'm not sure but it might have something to do with this

PKG_FIXUP:=autoreconf
predators46 commented 2 days ago

I'm not sure but it might have something to do with this

PKG_FIXUP:=autoreconf
CONFIGURE_VARS += LIBREADLINE="-L$(STAGING_DIR)/usr/lib -lreadline"
neheb commented 1 day ago

yeah the problem is instead of using pkgconfig it's using find_library. even autoreconf complains

configure.ac:1191: warning: The macro `VL_LIB_READLINE' is obsolete.
configure.ac:1191: You should run autoupdate.
neheb commented 1 day ago

uhhh, why is

ac_cv_lib_readline=no

in CONFIGURE_VARS?