Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687924 - media-plugins/swh-lv2-1.0.16: fails to emerge with some make -jN -lN options
Summary: media-plugins/swh-lv2-1.0.16: fails to emerge with some make -jN -lN options
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
Depends on:
Blocks: parallel-make
  Show dependency tree
Reported: 2019-06-12 10:48 UTC by Nikita Zlobin
Modified: 2022-03-19 22:45 UTC (History)
1 user (show)

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

emerge --info swh-lv2 (emerge-info-swh-lv2.gz,4.86 KB, application/gzip)
2019-06-12 10:48 UTC, Nikita Zlobin
build log (first attempt) (swh-lv2-attempt1.log.gz,8.08 KB, application/gzip)
2019-06-12 10:55 UTC, Nikita Zlobin
build log (second attempt) (swh-lv2-attempt2.log.gz,7.50 KB, application/gzip)
2019-06-12 10:56 UTC, Nikita Zlobin

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Zlobin 2019-06-12 10:48:17 UTC
Created attachment 579610 [details]
emerge --info swh-lv2

I'm in process of world rebuild with new toolchain (all latest, except gcc is still 7.3.0), swh-lv2 failed to build due to missing object files (obviously not made due to make parallelization).

First attempt failed at gverb-swh (meaningful excerpt from build log):
x86_64-pc-linux-gnu-gcc plugins/gverb-swh.lv2/plugin.o -shared -lm -O2 gverb/gverbdsp.o gverb/gverb.o -o plugins/gverb-swh.lv2/
x86_64-pc-linux-gnu-gcc: error: gverb/gverbdsp.o: No such file or directory
make: *** [Makefile:83: plugins/gverb-swh.lv2/] Error 1

Second - at bandpass_a_iir-swh (which succeed at previous attempt):
x86_64-pc-linux-gnu-gcc plugins/bandpass_a_iir-swh.lv2/plugin.o -shared -lm -O2 util/iir.o -o plugins/bandpass_a_iir-swh.lv2/
x86_64-pc-linux-gnu-gcc: error: util/iir.o: No such file or directory
make: *** [Makefile:83: plugins/bandpass_a_iir-swh.lv2/] Error 1

Looking at first log for more mentions of util/iir.o, it may be found in very begining:
x86_64-pc-linux-gnu-gcc -Wall -I. -Iinclude  -fPIC -DPIC -DFFTW3 -O2 -march=native -fomit-frame-pointer -pipe -fno-delete-null-pointer-checks -Wno-error -Wno-error -Wno-error -Wno-error -Wno-error  util/iir.c -c -o util/iir.o

In makefiles both missing files are mentioned as LDFLAGS in

Sorry to some gcc options spam - just don't want unexpected fails due to hardcoded -Werror :).
Comment 1 Nikita Zlobin 2019-06-12 10:55:27 UTC
Created attachment 579612 [details]
build log (first attempt)
Comment 2 Nikita Zlobin 2019-06-12 10:56:01 UTC
Created attachment 579614 [details]
build log (second attempt)
Comment 3 Nikita Zlobin 2019-06-12 12:19:42 UTC
I made experiments with various make -j and -l options, and it seems only some -lx -jy combinations trigger the failure. Yet when I did it with fresh git copy (24 commits since release), it failed only at util/iir.o.

failed combinations:
-j3 -l1.8
-j3 -l3
-j10 -l3 (I have only 2 cores)

while these are working:
-jN (any N)
-j3 -l5
-j2 -l1
Comment 4 Nikita Zlobin 2019-06-12 22:00:02 UTC

(though it looks like abandoned, unlike to ladspa version)