Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711200 - media-libs/libsvgtiny-0.1.7-r1 parallel build failure
Summary: media-libs/libsvgtiny-0.1.7-r1 parallel build failure
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: parallel-make
  Show dependency tree
Reported: 2020-03-01 18:12 UTC by Hadrien Lacour
Modified: 2021-11-20 11:32 UTC (History)
1 user (show)

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

ebuild log (media-libs:libsvgtiny-0.1.7-r1:20200316-061901.log,3.59 KB, text/x-log)
2020-03-16 09:33 UTC, CaptainBlood

Note You need to log in before you can comment on or make changes to this bug.
Description Hadrien Lacour 2020-03-01 18:12:35 UTC
Hello, I'm getting

 * Package:    media-libs/libsvgtiny-0.1.7-r1
 * Repository: gentoo
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libsvgtiny-0.1.7-src.tar.gz to /var/tmp/portage/media-libs/libsvgtiny-0.1.7-r1/work
>>> Source unpacked in /var/tmp/portage/media-libs/libsvgtiny-0.1.7-r1/work
>>> Preparing source in /var/tmp/portage/media-libs/libsvgtiny-0.1.7-r1/work/libsvgtiny-0.1.7 ...
 * Applying libsvgtiny-0.1.3-parallel-build.patch ...
patching file src/Makefile
Hunk #1 succeeded at 5 with fuzz 2.
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/libsvgtiny-0.1.7-r1/work/libsvgtiny-0.1.7 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/libsvgtiny-0.1.7-r1/work/libsvgtiny-0.1.7 ...
make -j16 -l16 NSSHARED=/usr/share/netsurf-buildsystem LIBDIR=lib64 PREFIX=/usr Q= CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-ld HOST_CC=$(CC) CCOPT= CCNOOPT= CCDBG= LDDBG= AR=x86_64-pc-linux-gnu-ar WARNFLAGS= COMPONENT_TYPE=lib-shared 
mkdir -p build-x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-release-lib-shared
mkdir -p build-x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-release-lib-shared/coverage
touch  build-x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-release-lib-shared/stamp
   GPERF: src/colors.gperf
mkdir -p src
 COMPILE: src/svgtiny.c
gperf --output-file=src/autogenerated_colors.c.tmp src/colors.gperf
x86_64-pc-linux-gnu-gcc -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/tmp/portage/media-libs/libsvgtiny-0.1.7-r1/work/libsvgtiny-0.1.7/include/ -I/var/tmp/portage/media-libs/libsvgtiny-0.1.7-r1/work/libsvgtiny-0.1.7/src  -O3 -march=native -pipe -D_ALIGNED="__attribute__((aligned))" -DNDEBUG  -std=c99 -I/usr/include/libxml2 -fPIC -DPIC -o build-x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-release-lib-shared/src_svgtiny.o -c src/svgtiny.c
[01m[Ksrc/svgtiny.c:24:10:[m[K [01;31m[Kfatal error: [m[Kautogenerated_colors.c: No such file or directory
   24 | #include [01;31m[K"autogenerated_colors.c"[m[K
      |          [01;31m[K^~~~~~~~~~~~~~~~~~~~~~~~[m[K
compilation terminated.
sed -e 's/^\(const struct svgtiny_named_color\)/static \1/' src/autogenerated_colors.c.tmp >src/autogenerated_colors.c
make: *** [/usr/share/netsurf-buildsystem/makefiles/ build-x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-release-lib-shared/src_svgtiny.o] Error 1
make: *** Waiting for unfinished jobs....
rm -f src/autogenerated_colors.c.tmp
 * ERROR: media-libs/libsvgtiny-0.1.7-r1::gentoo failed (compile phase):
 *   emake failed
 * If you need support, post the output of `emerge --info '=media-libs/libsvgtiny-0.1.7-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libsvgtiny-0.1.7-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/libsvgtiny-0.1.7-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libsvgtiny-0.1.7-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libsvgtiny-0.1.7-r1/work/libsvgtiny-0.1.7'
 * S: '/var/tmp/portage/media-libs/libsvgtiny-0.1.7-r1/work/libsvgtiny-0.1.7'

When trying to build it. Forcing MAKE=-j1 makes it pass. I gues that parallel build patch isn't doing its work; better to force it to -j1 for now.
Comment 1 CaptainBlood 2020-03-16 09:31:04 UTC
Same parallel build issue here while emerge -e world.
/etc/portage/package.env set as suggested above before emerge --resume.
Currently waiting for result, as emerge --resume doesn't restart at breaking point.
Comment 2 CaptainBlood 2020-03-16 09:33:31 UTC
Created attachment 620104 [details]
ebuild log
Comment 3 CaptainBlood 2020-03-16 10:09:57 UTC
Builds fine here with single thread.