All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libsvgtiny: disable parallel build
@ 2019-11-11  9:25 Fabrice Fontaine
  2019-11-11 15:26 ` Thomas Petazzoni
  2019-11-18 12:54 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-11-11  9:25 UTC (permalink / raw)
  To: buildroot

Build can sometimes fails on:

src/svgtiny.c:21:10: fatal error: autogenerated_colors.c: No such file or directory
 #include "autogenerated_colors.c"
          ^~~~~~~~~~~~~~~~~~~~~~~~

because svgtiny.c does not properly depends on autogenerated_colors.c
that is built by gperf. So, just disable parallel build instead of
trying to fix this issue especially because libsvgtiny uses the netsurf
buildsystem

Fixes:
 - http://autobuild.buildroot.org/results/48e7a7f7c72634d59cca817778d31661bfe8e72f

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

diff --git a/package/libsvgtiny/libsvgtiny.mk b/package/libsvgtiny/libsvgtiny.mk
index febd3fcec8..fe7dc0a6d2 100644
--- a/package/libsvgtiny/libsvgtiny.mk
+++ b/package/libsvgtiny/libsvgtiny.mk
@@ -12,6 +12,8 @@ LIBSVGTINY_DEPENDENCIES = \
 	libxml2 host-gperf host-pkgconf host-netsurf-buildsystem
 LIBSVGTINY_LICENSE = MIT
 LIBSVGTINY_LICENSE_FILES = README
+# Package does not build in parallel due to improper make rules
+LIBSVGTINY_MAKE = $(MAKE1)
 
 # The libsvgtiny build system cannot build both the shared and static
 # libraries. So when the Buildroot configuration requests to build
-- 
2.23.0

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

* [Buildroot] [PATCH 1/1] package/libsvgtiny: disable parallel build
  2019-11-11  9:25 [Buildroot] [PATCH 1/1] package/libsvgtiny: disable parallel build Fabrice Fontaine
@ 2019-11-11 15:26 ` Thomas Petazzoni
  2019-11-18 12:54 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-11-11 15:26 UTC (permalink / raw)
  To: buildroot

On Mon, 11 Nov 2019 10:25:08 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Build can sometimes fails on:
> 
> src/svgtiny.c:21:10: fatal error: autogenerated_colors.c: No such file or directory
>  #include "autogenerated_colors.c"
>           ^~~~~~~~~~~~~~~~~~~~~~~~
> 
> because svgtiny.c does not properly depends on autogenerated_colors.c
> that is built by gperf. So, just disable parallel build instead of
> trying to fix this issue especially because libsvgtiny uses the netsurf
> buildsystem
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/48e7a7f7c72634d59cca817778d31661bfe8e72f
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/libsvgtiny/libsvgtiny.mk | 2 ++
>  1 file changed, 2 insertions(+)

Applied to master, thanks.

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

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

* [Buildroot] [PATCH 1/1] package/libsvgtiny: disable parallel build
  2019-11-11  9:25 [Buildroot] [PATCH 1/1] package/libsvgtiny: disable parallel build Fabrice Fontaine
  2019-11-11 15:26 ` Thomas Petazzoni
@ 2019-11-18 12:54 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-11-18 12:54 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Build can sometimes fails on:
 > src/svgtiny.c:21:10: fatal error: autogenerated_colors.c: No such file or directory
 >  #include "autogenerated_colors.c"
 >           ^~~~~~~~~~~~~~~~~~~~~~~~

 > because svgtiny.c does not properly depends on autogenerated_colors.c
 > that is built by gperf. So, just disable parallel build instead of
 > trying to fix this issue especially because libsvgtiny uses the netsurf
 > buildsystem

 > Fixes:
 >  - http://autobuild.buildroot.org/results/48e7a7f7c72634d59cca817778d31661bfe8e72f

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2019.02.x and 2019.08.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2019-11-18 12:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11  9:25 [Buildroot] [PATCH 1/1] package/libsvgtiny: disable parallel build Fabrice Fontaine
2019-11-11 15:26 ` Thomas Petazzoni
2019-11-18 12:54 ` Peter Korsgaard

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.