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

Bug 687924

Summary: media-plugins/swh-lv2-1.0.16: fails to emerge with some make -jN -lN options
Product: Gentoo Linux Reporter: Nikita Zlobin <cook60020tmp>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 351559    
Attachments: emerge --info swh-lv2
build log (first attempt)
build log (second attempt)

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)