* [Buildroot] [PATCH 1/1] audit: disable python3 support
@ 2015-07-22 21:06 Ryan Barnett
2015-07-22 21:21 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Ryan Barnett @ 2015-07-22 21:06 UTC (permalink / raw)
To: buildroot
With the version bump to 2.4.3, python3 support was added for
libaudit. With host machines that have python3 installed, this will
cause build issues such as:
make[5]: Entering directory `/tmp/ryan/buildroot/output/build/audit-2.4.3/bindings/swig/python3'
swig -o audit_wrap.c -python -py3 -modern -I. -I../../.. -I../../../lib -I/usr/include/python3.4m -I/usr/include/python3.4m ./../src/auditswig.i
make[5]: swig: Command not found
Solution is to disable python3 support such as we do with python2.7.
Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
---
package/audit/audit.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/audit/audit.mk b/package/audit/audit.mk
index ab3e087..99fc0c2 100644
--- a/package/audit/audit.mk
+++ b/package/audit/audit.mk
@@ -14,7 +14,7 @@ AUDIT_INSTALL_STAGING = YES
# Patching configure.ac and Makefile.am
AUDIT_AUTORECONF = YES
-AUDIT_CONF_OPTS = --without-python --disable-zos-remote
+AUDIT_CONF_OPTS = --without-python --without-python3 --disable-zos-remote
ifeq ($(BR2_PACKAGE_LIBCAP_NG),y)
AUDIT_DEPENDENCIES += libcap-ng
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] audit: disable python3 support
2015-07-22 21:06 [Buildroot] [PATCH 1/1] audit: disable python3 support Ryan Barnett
@ 2015-07-22 21:21 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-07-22 21:21 UTC (permalink / raw)
To: buildroot
Dear Ryan Barnett,
On Wed, 22 Jul 2015 16:06:40 -0500, Ryan Barnett wrote:
> With the version bump to 2.4.3, python3 support was added for
> libaudit. With host machines that have python3 installed, this will
> cause build issues such as:
>
> make[5]: Entering directory `/tmp/ryan/buildroot/output/build/audit-2.4.3/bindings/swig/python3'
> swig -o audit_wrap.c -python -py3 -modern -I. -I../../.. -I../../../lib -I/usr/include/python3.4m -I/usr/include/python3.4m ./../src/auditswig.i
> make[5]: swig: Command not found
>
> Solution is to disable python3 support such as we do with python2.7.
>
> Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
> ---
> package/audit/audit.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-22 21:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22 21:06 [Buildroot] [PATCH 1/1] audit: disable python3 support Ryan Barnett
2015-07-22 21:21 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox