All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/znc: set WANT_SWIG
@ 2019-10-15  6:11 Fabrice Fontaine
  2019-10-26 10:33 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2019-10-15  6:11 UTC (permalink / raw)
  To: buildroot

Set WANT_SWIG={ON,OFF} to {en,dis}able swig and avoid a random build
failures probably due to parallel build issue when extracting
pre-generated tarball:

CMake Error: Problem with archive_write_header(): Can't unlink already-existing object
CMake Error: Current file: swigpyrun.h
CMake Error: Problem extracting tar: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/znc-1.7.5/modules/modpython/generated.tar.gz

Fixes:
 - http://autobuild.buildroot.org/results/f3394de616cea4f474b6d5887aa0d5f5dff05281

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/znc/znc.mk | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/package/znc/znc.mk b/package/znc/znc.mk
index 54dc63f4ea..3932c98020 100644
--- a/package/znc/znc.mk
+++ b/package/znc/znc.mk
@@ -42,9 +42,12 @@ ifeq ($(BR2_PACKAGE_ICU)$(BR2_PACKAGE_PYTHON3),yy)
 ZNC_DEPENDENCIES += python3 host-swig
 ZNC_CONF_OPTS += \
 	-DWANT_PYTHON=ON \
-	-DWANT_PYTHON_VERSION=python3
+	-DWANT_PYTHON_VERSION=python3 \
+	-DWANT_SWIG=ON
 else
-ZNC_CONF_OPTS += -DWANT_PYTHON=OFF
+ZNC_CONF_OPTS += \
+	-DWANT_PYTHON=OFF \
+	-DWANT_SWIG=OFF
 endif
 
 $(eval $(cmake-package))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/znc: set WANT_SWIG
  2019-10-15  6:11 [Buildroot] [PATCH 1/1] package/znc: set WANT_SWIG Fabrice Fontaine
@ 2019-10-26 10:33 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-10-26 10:33 UTC (permalink / raw)
  To: buildroot

On Tue, 15 Oct 2019 08:11:28 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Set WANT_SWIG={ON,OFF} to {en,dis}able swig and avoid a random build
> failures probably due to parallel build issue when extracting
> pre-generated tarball:
> 
> CMake Error: Problem with archive_write_header(): Can't unlink already-existing object
> CMake Error: Current file: swigpyrun.h
> CMake Error: Problem extracting tar: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/znc-1.7.5/modules/modpython/generated.tar.gz
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/f3394de616cea4f474b6d5887aa0d5f5dff05281
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/znc/znc.mk | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-26 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-15  6:11 [Buildroot] [PATCH 1/1] package/znc: set WANT_SWIG Fabrice Fontaine
2019-10-26 10:33 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.