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

Bug 639044

Summary: media-libs/rubberband-1.8.1-r2: can't compile anymore
Product: Gentoo Linux Reporter: Nikita Zlobin <cook60020tmp>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nikita Zlobin 2017-11-28 09:34:15 UTC
All time before last gcc/glibc upgrade it did not meet problems. Now i'm doing full rebuild, and during rubberband rebuild get this error:

/----------------------
x86_64-pc-linux-gnu-g++ -m32 -shared -Wl,-Bsymbolic -Wl,-soname=librubberband.so.2 src/rubberband-c.o src/RubberBandStretcher.o src/StretcherProcess.o src/StretchCalculator.o src/base/Profiler.o src/dsp/AudioCurveCalculator.o src/audiocurves/CompoundAudioCurve.o src/audiocurves/SpectralDifferenceAudioCurve.o src/audiocurves/HighFrequencyAudioCurve.o src/audiocurves/SilentAudioCurve.o src/audiocurves/ConstantAudioCurve.o src/audiocurves/PercussiveAudioCurve.o src/dsp/Resampler.o src/dsp/FFT.o src/system/Allocators.o src/system/sysutils.o src/system/Thread.o src/StretcherChannelData.o src/StretcherImpl.o -o lib/librubberband.so -lsamplerate -lfftw3  -Wl,--as-needed -lpthread -Wl,--as-needed
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot open output file lib/librubberband.so: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:127: lib/librubberband.so] Error 1
\----------------------

For now i simply bypassed it by manually creating necessary dirs, checking its owner/group and runing:
$ ebuild merge and postinst phases (or it seems i need only merge...).

Looking by genlop glibc output, last rebuild should be in Fri Sep 8.

What else could be source of trouble... I had make 4.2.1 from begining of 2017, gcc 6.4.0 - could it be due to possible ld behavior change?

Can't test gcc 5.4.0 right now, because rebuild is still in progress (1942 pkgs remaining), don't want to break it.

------------
I checked for possible updates for rubberband... 1.8.1 seems to be since 2012, promised 1.8.2, as in github version, should have fixed various build system issues, probably this too, but already released 1.9.0 and 1.9.1 are not packaged for Linux :/ (or there is separate Linux branch...)
Comment 1 Jonas Stein gentoo-dev 2017-12-02 19:40:43 UTC
Thank you for the report. Please *attach* the logfiles,
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29
and reopen this ticket (Status:unconfirmed).

Please retry, when the update it complete after
libtoollibtool --finish /usr/lib64
Comment 2 Nikita Zlobin 2017-12-03 06:28:40 UTC
After some more upgrade progress i can't reproduce this bug (about 800 or less lackages remaining).
During upgrade i rebooted several times due to total freeze.