Skip to contentSkip to conversation

openldap: fix build failure with autoconf 2.71

PATCH New hongxu 1 participant 1 message Feb 7, 2021 1 message not in the archive

lore
Share & tools
lore

hongxu

author
#1 lore raw

PATCH v2 1/1 openldap: fix build failure with autoconf 2.71

In reply to a message not in the archive

The do_configure failed with autoconf 2.71
...
configure: error: cannot find required auxiliary files: compile missing
...

Run libtoolize with option --install to copy missing auxiliary files and manually copy the others could workaround the failure

---
 meta-oe/recipes-support/openldap/openldap_2.4.57.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-support/openldap/openldap_2.4.57.bb +4 -2
index a282523a3..b2a766614 100644
@@ -151,10 +151,12 @@ CPPFLAGS_append = " -D_GNU_SOURCE -DURANDOM_DEVICE=\'/dev/urandom\' -fPIC"
 LDFLAGS_append = " -pthread"
 
 do_configure() {
-    cp ${STAGING_DATADIR_NATIVE}/libtool/build-aux/ltmain.sh ${S}/build
     rm -f ${S}/libtool
     aclocal
-    libtoolize --force --copy
+    libtoolize --force --copy --install
+    for f in compile missing; do
+        cp ${STAGING_DATADIR_NATIVE}/libtool/build-aux/$f ${S}/build
+    done
     gnu-configize
     autoconf
     oe_runconf
Signature · 1 line
2.27.0