Linuxbrew-core: rubberband: "ladspa.h: No such file or directory"

Created on 11 Feb 2019  Â·  7Comments  Â·  Source: Homebrew/linuxbrew-core

To help us debug your issue please explain:

  • What you were trying to do (and why): brew install rubberband
  • What happened (include command output):
➜ brew install rubberband 
==> Downloading https://breakfastquay.com/files/releases/rubberband-1.8.2.tar.bz2
Already downloaded: /home/werner/.cache/Homebrew/downloads/d5120ec06f35130415c35ee046068847e2a4c5f172b470f36971e0270fb8348c--rubberband-1.8.2.tar.bz2
==> ./configure --disable-silent-rules --prefix=/home/linuxbrew/.linuxbrew/Cellar/rubberband/1.8.2_1
==> make install
Last 15 lines from /home/werner/.cache/Homebrew/Logs/rubberband/02.make:
g++-8 -DHAVE_LIBSAMPLERATE -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DUSE_PTHREADS -DNO_TIMING -DNDEBUG -I. -Isrc -Irubberband -g -O2 -fPIC -Wall -I/home/linuxbrew/.linuxbrew/Cellar/libsamplerate/0.1.9_1/include -I/home/linuxbrew/.linuxbrew/Cellar/libsndfile/1.0.28/include -I/home/linuxbrew/.linuxbrew/Cellar/fftw/3.3.8/include -I/home/linuxbrew/.linuxbrew/Cellar/vamp-plugin-sdk/2.7.1/include    -c -o src/system/sysutils.o src/system/sysutils.cpp
g++-8 -DHAVE_LIBSAMPLERATE -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DUSE_PTHREADS -DNO_TIMING -DNDEBUG -I. -Isrc -Irubberband -g -O2 -fPIC -Wall -I/home/linuxbrew/.linuxbrew/Cellar/libsamplerate/0.1.9_1/include -I/home/linuxbrew/.linuxbrew/Cellar/libsndfile/1.0.28/include -I/home/linuxbrew/.linuxbrew/Cellar/fftw/3.3.8/include -I/home/linuxbrew/.linuxbrew/Cellar/vamp-plugin-sdk/2.7.1/include    -c -o src/system/Thread.o src/system/Thread.cpp
g++-8 -DHAVE_LIBSAMPLERATE -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DUSE_PTHREADS -DNO_TIMING -DNDEBUG -I. -Isrc -Irubberband -g -O2 -fPIC -Wall -I/home/linuxbrew/.linuxbrew/Cellar/libsamplerate/0.1.9_1/include -I/home/linuxbrew/.linuxbrew/Cellar/libsndfile/1.0.28/include -I/home/linuxbrew/.linuxbrew/Cellar/fftw/3.3.8/include -I/home/linuxbrew/.linuxbrew/Cellar/vamp-plugin-sdk/2.7.1/include    -c -o src/StretcherChannelData.o src/StretcherChannelData.cpp
g++-8 -DHAVE_LIBSAMPLERATE -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DUSE_PTHREADS -DNO_TIMING -DNDEBUG -I. -Isrc -Irubberband -g -O2 -fPIC -Wall -I/home/linuxbrew/.linuxbrew/Cellar/libsamplerate/0.1.9_1/include -I/home/linuxbrew/.linuxbrew/Cellar/libsndfile/1.0.28/include -I/home/linuxbrew/.linuxbrew/Cellar/fftw/3.3.8/include -I/home/linuxbrew/.linuxbrew/Cellar/vamp-plugin-sdk/2.7.1/include    -c -o src/StretcherImpl.o src/StretcherImpl.cpp
g++-8 -DHAVE_LIBSAMPLERATE -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DUSE_PTHREADS -DNO_TIMING -DNDEBUG -I. -Isrc -Irubberband -g -O2 -fPIC -Wall -I/home/linuxbrew/.linuxbrew/Cellar/libsamplerate/0.1.9_1/include -I/home/linuxbrew/.linuxbrew/Cellar/libsndfile/1.0.28/include -I/home/linuxbrew/.linuxbrew/Cellar/fftw/3.3.8/include -I/home/linuxbrew/.linuxbrew/Cellar/vamp-plugin-sdk/2.7.1/include    -c -o main/main.o main/main.cpp
g++-8 -DHAVE_LIBSAMPLERATE -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DUSE_PTHREADS -DNO_TIMING -DNDEBUG -I. -Isrc -Irubberband -g -O2 -fPIC -Wall -I/home/linuxbrew/.linuxbrew/Cellar/libsamplerate/0.1.9_1/include -I/home/linuxbrew/.linuxbrew/Cellar/libsndfile/1.0.28/include -I/home/linuxbrew/.linuxbrew/Cellar/fftw/3.3.8/include -I/home/linuxbrew/.linuxbrew/Cellar/vamp-plugin-sdk/2.7.1/include    -c -o vamp/RubberBandVampPlugin.o vamp/RubberBandVampPlugin.cpp
g++-8 -DHAVE_LIBSAMPLERATE -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DUSE_PTHREADS -DNO_TIMING -DNDEBUG -I. -Isrc -Irubberband -g -O2 -fPIC -Wall -I/home/linuxbrew/.linuxbrew/Cellar/libsamplerate/0.1.9_1/include -I/home/linuxbrew/.linuxbrew/Cellar/libsndfile/1.0.28/include -I/home/linuxbrew/.linuxbrew/Cellar/fftw/3.3.8/include -I/home/linuxbrew/.linuxbrew/Cellar/vamp-plugin-sdk/2.7.1/include    -c -o vamp/libmain.o vamp/libmain.cpp
g++-8 -DHAVE_LIBSAMPLERATE -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DUSE_PTHREADS -DNO_TIMING -DNDEBUG -I. -Isrc -Irubberband -g -O2 -fPIC -Wall -I/home/linuxbrew/.linuxbrew/Cellar/libsamplerate/0.1.9_1/include -I/home/linuxbrew/.linuxbrew/Cellar/libsndfile/1.0.28/include -I/home/linuxbrew/.linuxbrew/Cellar/fftw/3.3.8/include -I/home/linuxbrew/.linuxbrew/Cellar/vamp-plugin-sdk/2.7.1/include    -c -o ladspa/RubberBandPitchShifter.o ladspa/RubberBandPitchShifter.cpp
In file included from ladspa/RubberBandPitchShifter.cpp:24:
ladspa/RubberBandPitchShifter.h:27:10: fatal error: ladspa.h: No such file or directory
 #include <ladspa.h>
          ^~~~~~~~~~
compilation terminated.
make: *** [<builtin>: ladspa/RubberBandPitchShifter.o] Error 1
make: *** Waiting for unfinished jobs....
  • What you expected to happen: Installation succeeds
  • Step-by-step reproduction instructions (by running brew install commands): brew install rubberband
bug outdated

All 7 comments

  1. Same issue here.
    Maybe you could overcome it with carla or lrdf packages from linuxbrew.
    Where
    carla: Audio plugin host supporting LADSPA, LV2, VST2/3, SF2 and more. Or with
    lrdf : RDF library for accessing plugin metadata in the LADSPA plugin system.

  2. Now on Linuxbrew 2.0 some updates come in unstable shape. And we wait for bottles from maintainers.

  3. Maybe valuable for you will be line export HOMEBREW_INSTALL_CLEANUP=0 in ~/.profile file and when you like to upgrade linuxbrew after you found out what after upgrade no errors happend and all formulae are in place(in Cellar dir) when may remove remaining old formulae versions-directories with brew cleanup command.

Tried brew install lrdf; CONFIGURE_OPTS="$(brew --prefix lrdf)" CFLAGS='-g -O2' RUBY_CONFIGURE_OPTS="$(brew --prefix lrdf)" brew install rubberband
gist-logs now error

cp: cannot stat 'lib/librubberband-jni.so': No such file or directory

PR#https://github.com/Linuxbrew/homebrew-core/pull/11570

I already made an attempt to get this to work #7923. It looks like we need to revive my attempt to add the ladspa formula.

I got ladspa to build: #11612

I will pull the bottle as soon as possible and start working on rubberband.

That's awesome, thanks for your help! I wouldn't even know where to start.

ladspa is now there. Trying to get rubberband to build here: #11570

Fixed by #11570

Was this page helpful?
0 / 5 - 0 ratings