diff options
-rw-r--r-- | recipes-containers/singularity/singularity/0001-configure.ac-drop-2nd-AM_INIT_AUTOMAKE.patch | 34 | ||||
-rw-r--r-- | recipes-containers/singularity/singularity_git.bb | 1 |
2 files changed, 35 insertions, 0 deletions
diff --git a/recipes-containers/singularity/singularity/0001-configure.ac-drop-2nd-AM_INIT_AUTOMAKE.patch b/recipes-containers/singularity/singularity/0001-configure.ac-drop-2nd-AM_INIT_AUTOMAKE.patch new file mode 100644 index 00000000..d5744a23 --- /dev/null +++ b/recipes-containers/singularity/singularity/0001-configure.ac-drop-2nd-AM_INIT_AUTOMAKE.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 13ee3e016490e74868b64e3a07dcccf9feafebdf Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Tue, 30 Nov 2021 05:59:06 -0800 | ||
4 | Subject: [PATCH] configure.ac: drop 2nd AM_INIT_AUTOMAKE | ||
5 | |||
6 | * automake-1.16.5 introduced in oe-core: | ||
7 | https://git.openembedded.org/openembedded-core/commit/?id=851167b3a41b1728407d331c1666827fb730daa1 | ||
8 | doesn't like this after: | ||
9 | http://git.savannah.gnu.org/cgit/automake.git/commit/?id=f4a3a70f69e1dbccb6578f39ef47835098a04624 | ||
10 | |||
11 | and do_configure fails with: | ||
12 | configure.ac:38: error: AM_INIT_AUTOMAKE expanded multiple times | ||
13 | |||
14 | There is no point in upstreaming this, because singularity-2.3.1 is very old and | ||
15 | whole autotools support is removed in version 3 (currently 3.8.5) with: | ||
16 | https://github.com/hpcng/singularity/commit/a06e3d13a822080d7a9bc55085ee1bb32026a96e | ||
17 | |||
18 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
19 | --- | ||
20 | configure.ac | 7 +++---- | ||
21 | 1 file changed, 3 insertions(+), 4 deletions(-) | ||
22 | |||
23 | diff --git a/configure.ac b/configure.ac | ||
24 | index 8ffa5ab32..a5a35c43a 100644 | ||
25 | --- a/configure.ac | ||
26 | +++ b/configure.ac | ||
27 | @@ -35,7 +35,6 @@ AC_GNU_SOURCE | ||
28 | AC_PROG_INSTALL | ||
29 | AC_PROG_LIBTOOL | ||
30 | AC_PROG_CC | ||
31 | -AM_INIT_AUTOMAKE | ||
32 | AM_PROG_CC_C_O | ||
33 | AC_ENABLE_SHARED | ||
34 | AC_PROG_LIBTOOL(libtool) | ||
diff --git a/recipes-containers/singularity/singularity_git.bb b/recipes-containers/singularity/singularity_git.bb index f7296579..321a9a61 100644 --- a/recipes-containers/singularity/singularity_git.bb +++ b/recipes-containers/singularity/singularity_git.bb | |||
@@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT.md;md5=be78c34e483dd7d8439358b1e024b294 \ | |||
12 | 12 | ||
13 | SRC_URI = "git://github.com/singularityware/singularity.git;protocol=https;branch=master \ | 13 | SRC_URI = "git://github.com/singularityware/singularity.git;protocol=https;branch=master \ |
14 | file://0001-Use-python3.patch \ | 14 | file://0001-Use-python3.patch \ |
15 | file://0001-configure.ac-drop-2nd-AM_INIT_AUTOMAKE.patch \ | ||
15 | " | 16 | " |
16 | PV = "2.3.1+git${SRCPV}" | 17 | PV = "2.3.1+git${SRCPV}" |
17 | SRCREV = "e214d4ebf0a1274b1c63b095fd55ae61c7e92947" | 18 | SRCREV = "e214d4ebf0a1274b1c63b095fd55ae61c7e92947" |