Skip to contentSkip to conversation

package/libsvgtiny: disable parallel build

PATCH New Fabrice Fontaine 3 participants 3 messages Nov 11, 2019 – Nov 18, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libsvgtiny: disable parallel build

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

---
 package/libsvgtiny/libsvgtiny.mk | 2 ++
 1 file changed, 2 insertions(+)
package/libsvgtiny/libsvgtiny.mk +2 -0
index febd3fcec8..fe7dc0a6d2 100644
@@ -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
Signature · 1 line
2.23.0
#1 lore raw

PATCH 1/1 package/libsvgtiny: disable parallel build

Quoted 11 lines · On Mon, 11 Nov 2019 10:25:08 +0100 Fabrice Fontaine…

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

Quoted 7 lines

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

---
 package/libsvgtiny/libsvgtiny.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/libsvgtiny: disable parallel build

In reply to Fabrice Fontaine
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> 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

Quoted 4 lines

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

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

Signature · 1 line
Bye, Peter Korsgaard