Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 670140

Summary: media-libs/libsvgtiny-0.1.7 src/svgtiny.c:24:10: fatal error: autogenerated_colors.c: No such file or directory
Product: Gentoo Linux Reporter: Hadrien Lacour <hadrien.lacour>
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED INVALID    
Severity: normal CC: vdupras
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info
emerge -pqv

Description Hadrien Lacour 2018-11-02 11:01:30 UTC
Created attachment 553850 [details]
build log

Build failure (fortunately, svg can be disabled for netsurf)

x86_64-pc-linux-gnu-gcc -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/tmp/portage/media-libs/libsvgtiny-0.1.7/work/libsvgtiny-0.1.7-abi_x86_64.amd64/include/ -I/var/tmp/portage/media-libs/libsvgtiny-0.1.7/work/libsvgtiny-0.1.7-abi_x86_64.amd64/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pedantic -Werror -O3 -march=native -pipe -D_ALIGNED="__attribute__((aligned))" -DNDEBUG  -std=c99 -I/usr/include/libxml2 -fPIC -DPIC -o build-release-x86_64-pc-linux-gnu-release-lib-shared/src_svgtiny.o -c src/svgtiny.c
gperf --output-file=src/autogenerated_colors.c.tmp src/colors.gperf
src/svgtiny.c:24:10: fatal error: autogenerated_colors.c: No such file or directory
 #include "autogenerated_colors.c"
          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/var/tmp/portage/media-libs/libsvgtiny-0.1.7/work/buildsystem-1.7/makefiles/Makefile.top:585: build-release-x86_64-pc-linux-gnu-release-lib-shared/src_svgtiny.o] Error 1
make: *** Waiting for unfinished jobs....
sed -e 's/^\(const struct svgtiny_named_color\)/static \1/' src/autogenerated_colors.c.tmp >src/autogenerated_colors.c


The last line generating the needed file makes me think it's a make parallelism problem.
Comment 1 Hadrien Lacour 2018-11-02 11:02:26 UTC
Created attachment 553852 [details]
emerge --info
Comment 2 Hadrien Lacour 2018-11-02 11:02:55 UTC
Created attachment 553854 [details]
emerge -pqv
Comment 3 Virgil Dupras (RETIRED) gentoo-dev 2018-11-04 20:34:12 UTC
I can't easily reproduce the error. With -j4, I compile it a couple of times without getting the error. Hadrien, could you confirm that it's a parallelism error with a MAKEOPTS="-j1" run?
Comment 4 Hadrien Lacour 2018-11-04 22:08:46 UTC
Sorry about the bad report, you can ignore it. I removed a bad stick of RAM from my computer a day ago; it was causing a lot of ICEs for big packages like qtwebengine or gcc.