diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2021-02-07 16:15:11 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-02-07 20:38:39 -0800 |
commit | c0ccc8b90190c95ba455c2d11315b641ea0fa8a0 (patch) | |
tree | 0747d747f42e3284ce9a7a171e46bde7eacf079a /meta-networking/recipes-connectivity/freeradius | |
parent | 98bad0652647e2ef807c12552ac20041d335f412 (diff) | |
download | meta-openembedded-c0ccc8b90190c95ba455c2d11315b641ea0fa8a0.tar.gz |
freeradius: fix build failure with autoconf 2.71
While using autoconf 2.71, the AM_MISSING_PROG caused unexpected error:
...
configure.ac: error: required file 'missing' not found
...
Since these tools were explicitly added by autotools bbclass,
remove the testing to workaround the error with autoconf 2.7
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/freeradius')
-rw-r--r-- | meta-networking/recipes-connectivity/freeradius/files/0001-workaround-error-with-autoconf-2.7.patch | 42 | ||||
-rw-r--r-- | meta-networking/recipes-connectivity/freeradius/freeradius_3.0.20.bb | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0001-workaround-error-with-autoconf-2.7.patch b/meta-networking/recipes-connectivity/freeradius/files/0001-workaround-error-with-autoconf-2.7.patch new file mode 100644 index 0000000000..80c571df98 --- /dev/null +++ b/meta-networking/recipes-connectivity/freeradius/files/0001-workaround-error-with-autoconf-2.7.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 3b4ba29c7c5800df87eecd65214244619e01162b Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Sun, 7 Feb 2021 16:02:36 +0800 | ||
4 | Subject: [PATCH] workaround error with autoconf 2.7 | ||
5 | |||
6 | While using autoconf 2.7, the AM_MISSING_PROG caused unexpected error: | ||
7 | ... | ||
8 | configure.ac: error: required file 'missing' not found | ||
9 | ... | ||
10 | |||
11 | Since these tools were explicitly added by autotools bbclass, | ||
12 | remove the testing to workaround the error with autoconf 2.7 | ||
13 | |||
14 | Upstream-Status: Inappropriate [oe specific] | ||
15 | |||
16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
17 | --- | ||
18 | configure.ac | 8 -------- | ||
19 | 1 file changed, 8 deletions(-) | ||
20 | |||
21 | diff --git a/configure.ac b/configure.ac | ||
22 | index 609efb104b..2d761cf62c 100644 | ||
23 | --- a/configure.ac | ||
24 | +++ b/configure.ac | ||
25 | @@ -693,14 +693,6 @@ fi | ||
26 | |||
27 | AC_PATH_PROG(RUSERS, rusers, /usr/bin/rusers) | ||
28 | |||
29 | -dnl # | ||
30 | -dnl # FIXME This is truly gross. | ||
31 | -dnl # | ||
32 | -missing_dir=`cd $ac_aux_dir && pwd` | ||
33 | -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) | ||
34 | -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) | ||
35 | -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) | ||
36 | - | ||
37 | AC_PATH_PROG(LOCATE,locate) | ||
38 | AC_PATH_PROG(DIRNAME,dirname) | ||
39 | AC_PATH_PROG(GREP,grep) | ||
40 | -- | ||
41 | 2.27.0 | ||
42 | |||
diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.20.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.20.bb index 2c39c4c443..608d66b1b3 100644 --- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.20.bb +++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.20.bb | |||
@@ -29,6 +29,7 @@ SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.0.x;lfs=0 | |||
29 | file://0001-rlm_python3-add-PY_INC_DIR-in-search-dir.patch \ | 29 | file://0001-rlm_python3-add-PY_INC_DIR-in-search-dir.patch \ |
30 | file://0001-raddb-certs-Makefile-fix-the-existed-certificate-err.patch \ | 30 | file://0001-raddb-certs-Makefile-fix-the-existed-certificate-err.patch \ |
31 | file://0001-raddb-certs-Makefile-fix-the-occasional-verification.patch \ | 31 | file://0001-raddb-certs-Makefile-fix-the-occasional-verification.patch \ |
32 | file://0001-workaround-error-with-autoconf-2.7.patch \ | ||
32 | file://radiusd.service \ | 33 | file://radiusd.service \ |
33 | file://radiusd-volatiles.conf \ | 34 | file://radiusd-volatiles.conf \ |
34 | " | 35 | " |