diff options
author | Armin Kuster <akuster808@gmail.com> | 2017-09-10 10:36:59 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-09-15 08:01:07 -0700 |
commit | 62d54856e5f0c52e836062c58c81499c71ac8b7d (patch) | |
tree | c6d8cd2637fe22a4cb519212254f324697e8f5e5 /recipes-security | |
parent | 169a02dff0c2c0d7d5f02fd7e5b346c48159cce5 (diff) | |
download | meta-security-62d54856e5f0c52e836062c58c81499c71ac8b7d.tar.gz |
apparmor: fix a few build issues
configure.ac:8: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
| configure.ac:8: error: version mismatch. This is Automake 1.15.1,
| configure.ac:8: but the definition used by this AM_INIT_AUTOMAKE
add aclocal
and
make: Entering directory '/home/akuster/oss/clean/poky/build/tmp/work/mips64-poky-linux/apparmor/2.11.0-r0/apparmor-2.11.0/binutils'
| error: ../libraries/libapparmor//src/.libs/libapparmor.a is missing. Pick one of these possible solutions:
remove --disable-static
and
ERROR: apparmor-2.11.0-r0 do_package_qa: QA Issue: /usr/lib/apparmor/ptest/testsuite/parser/tst/gen-dbus.pl contained in package apparmor-ptest requires /usr/bin/perl, but no providers found in RDEPENDS_apparmor-ptest? [file-rdeps]
add perl to ptest RDEPENDS
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security')
-rw-r--r-- | recipes-security/AppArmor/apparmor_2.11.0.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes-security/AppArmor/apparmor_2.11.0.bb b/recipes-security/AppArmor/apparmor_2.11.0.bb index ae3391d..a83c2c3 100644 --- a/recipes-security/AppArmor/apparmor_2.11.0.bb +++ b/recipes-security/AppArmor/apparmor_2.11.0.bb | |||
@@ -50,11 +50,14 @@ python() { | |||
50 | raise bb.parse.SkipRecipe('Requires meta-webserver to be present.') | 50 | raise bb.parse.SkipRecipe('Requires meta-webserver to be present.') |
51 | } | 51 | } |
52 | 52 | ||
53 | CONFIGUREOPTS_remove = "--disable-static" | ||
54 | EXTRA_OECONF_append = " --enable-static" | ||
53 | 55 | ||
54 | do_configure() { | 56 | do_configure() { |
55 | cd ${S}/libraries/libapparmor | 57 | cd ${S}/libraries/libapparmor |
58 | aclocal | ||
56 | autoconf --force | 59 | autoconf --force |
57 | libtoolize --automake -c | 60 | libtoolize --automake -c --force |
58 | automake -ac | 61 | automake -ac |
59 | ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} | 62 | ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} |
60 | sed -i -e 's#^YACC.*#YACC := bison#' ${S}/parser/Makefile | 63 | sed -i -e 's#^YACC.*#YACC := bison#' ${S}/parser/Makefile |
@@ -148,4 +151,4 @@ ALLOW_EMPTY_${PN} = "1" | |||
148 | RDEPENDS_${PN} += "bash lsb" | 151 | RDEPENDS_${PN} += "bash lsb" |
149 | RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','python','python3 python3-modules','', d)}" | 152 | RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','python','python3 python3-modules','', d)}" |
150 | RDEPENDS_${PN}_remove += "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}" | 153 | RDEPENDS_${PN}_remove += "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}" |
151 | RDEPENDS_${PN}-ptest += "coreutils dbus-lib" | 154 | RDEPENDS_${PN}-ptest += "perl coreutils dbus-lib" |