Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670140 - media-libs/libsvgtiny-0.1.7 src/svgtiny.c:24:10: fatal error: autogenerated_colors.c: No such file or directory
Summary: media-libs/libsvgtiny-0.1.7 src/svgtiny.c:24:10: fatal error: autogenerated_c...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-02 11:01 UTC by Hadrien Lacour
Modified: 2018-11-04 22:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (libsvgtiny-build.log,3.67 KB, text/plain)
2018-11-02 11:01 UTC, Hadrien Lacour
Details
emerge --info (emerge-info.txt,13.75 KB, text/plain)
2018-11-02 11:02 UTC, Hadrien Lacour
Details
emerge -pqv (emerge-pqv.txt,98 bytes, text/plain)
2018-11-02 11:02 UTC, Hadrien Lacour
Details

Note You need to log in before you can comment on or make changes to this bug.
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.