Somehow the TOPDIR environment doesn't get expanded in configure.ac. Suspecting
a clash with OE's internal TOPDIR variable, I tried replacing it with JDKTOPDIR
but that resulted in the same error.
| autoreconf: configure.ac: creating directory $TOPDIR/common/autoconf/build-aux
| autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux: No such
file or directory
The workaround implemented here is to replace $TOPDIR in the file by its
assigned
value ${S}. This makes the error go away and the native build succeed.
Signed-off-by: Mike Looijmans <[email protected]>
---
recipes-core/openjdk/openjdk-8-common.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipes-core/openjdk/openjdk-8-common.inc
b/recipes-core/openjdk/openjdk-8-common.inc
index 70585a6..7d45585 100644
--- a/recipes-core/openjdk/openjdk-8-common.inc
+++ b/recipes-core/openjdk/openjdk-8-common.inc
@@ -28,6 +28,7 @@ SRC_URI = "\
do_configure_prepend () {
export TOPDIR=${S}
+ sed -i 's#\$TOPDIR#${S}#g' ${S}/common/autoconf/configure.ac
}
do_unpack_extract_submodules () {
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90291):
https://lists.openembedded.org/g/openembedded-devel/message/90291
Mute This Topic: https://lists.openembedded.org/mt/81571977/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-