jpcima / fverb

Plugin version of reverb effect to include in sfizz
BSD 2-Clause "Simplified" License
16 stars 2 forks source link

sudo make install does't install anything #4

Closed magnetophon closed 4 years ago

magnetophon commented 4 years ago

When I build https://github.com/jpcima/fverb/commit/24cbe398fa3f6e6d11d3b544ca71397c0c093f64, I get:

configuring
no configure script, doing nothing
building
build flags: SHELL=/nix/store/z1l2n01xdfcm9bkkir83c32mkpvv51zq-bash-4.4-p23/bin/bash PREFIX=\$out
make all -C plugins/fverb
make[1]: Entering directory '/tmp/nix-build-fverb-unstable-2020-05-28.drv-0/source/plugins/fverb'
Compiling PluginFverb.cpp
Compiling dsp/Fverb.cpp
Compiling DistrhoPluginMain.cpp (LV2)
Creating LV2 plugin library for fverb
Compiling DistrhoPluginMain.cpp (VST)
Creating VST plugin for fverb
Compiling DistrhoPluginMain.cpp (LADSPA)
Creating LADSPA plugin for fverb
make[1]: Leaving directory '/tmp/nix-build-fverb-unstable-2020-05-28.drv-0/source/plugins/fverb'
make -C dpf/utils/lv2-ttl-generator
make[1]: Entering directory '/tmp/nix-build-fverb-unstable-2020-05-28.drv-0/source/dpf/utils/lv2-ttl-generator'
gcc lv2_ttl_generator.c  -o ../lv2_ttl_generator -ldl
make[1]: Leaving directory '/tmp/nix-build-fverb-unstable-2020-05-28.drv-0/source/dpf/utils/lv2-ttl-generator'
Generate ttl data for './fverb_dsp.so', basename: 'fverb_dsp'
Writing manifest.ttl... done!
Writing fverb_dsp.ttl... done!
installing
install flags: SHELL=/nix/store/z1l2n01xdfcm9bkkir83c32mkpvv51zq-bash-4.4-p23/bin/bash PREFIX=\$out install
make all -C plugins/fverb
make[1]: Entering directory '/tmp/nix-build-fverb-unstable-2020-05-28.drv-0/source/plugins/fverb'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/nix-build-fverb-unstable-2020-05-28.drv-0/source/plugins/fverb'
Generate ttl data for './fverb_dsp.so', basename: 'fverb_dsp'
Writing manifest.ttl... done!
Writing fverb_dsp.ttl... done!
make install -C plugins/fverb
make[1]: Entering directory '/tmp/nix-build-fverb-unstable-2020-05-28.drv-0/source/plugins/fverb'
make[1]: Leaving directory '/tmp/nix-build-fverb-unstable-2020-05-28.drv-0/source/plugins/fverb'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9n4i9c80pfx9db4wa98k48mhgg3lqhax-fverb-unstable-2020-05-28
strip is /nix/store/p1y0xl8dp4s1x1vvxxb5sn84wj6lsh8s-binutils-2.31.1/bin/strip
patching script interpreter paths in /nix/store/9n4i9c80pfx9db4wa98k48mhgg3lqhax-fverb-unstable-2020-05-28
checking for references to /tmp/nix-build-fverb-unstable-2020-05-28.drv-0/ in /nix/store/9n4i9c80pfx9db4wa98k48mhgg3lqhax-fverb-unstable-2020-05-28...
principal> process result: Terminated 199
copying 1 paths...
copying path '/nix/store/9n4i9c80pfx9db4wa98k48mhgg3lqhax-fverb-unstable-2020-05-28' from 'ssh://nxb-4'...
building '/nix/store/8pvvb1w7c9h3lzwi3mbbz6fkb03ix0vg-user-environment.drv'...
created 1159 symlinks in user environment

This leaves the $PREFIX directory empty.

jpcima commented 4 years ago

Hello, I added the ability to prints the install commands. Can you do again with VERBOSE? make install [...] VERBOSE=true

magnetophon commented 4 years ago

Thanks!

That gives me:

 nix-env -f $NIXPKGS -iA fverb
replacing old 'fverb-unstable-2020-05-28'
installing 'fverb-unstable-2020-06-09'
these derivations will be built:
  /nix/store/1ghcajkffh42r8hjapkkxk0z1ms22sh2-fverb-unstable-2020-06-09.drv
building '/nix/store/1ghcajkffh42r8hjapkkxk0z1ms22sh2-fverb-unstable-2020-06-09.drv' on 'ssh://nxb-4'...
Warning: Permanently added 'beta.nixbuild.net,148.251.182.157' (ED25519) to the list of known hosts.
copying 1 paths...
copying path '/nix/store/k5cdvmbd14cyafkp2fg1icgkxldvll6p-source' to 'ssh://nxb-4'...
10789: start build
principal> starting
fs> mounting /nix/store-ro
agent> boot time: 0.406046
agent> executing /nix/bin/nix-store
unpacking sources
unpacking source archive /nix/store/k5cdvmbd14cyafkp2fg1icgkxldvll6p-source
source root is source
patching sources
patching script interpreter paths in ./dpf/utils/generate-ttl.sh
./dpf/utils/generate-ttl.sh: interpreter directive changed from "/bin/bash" to "/nix/store/z1l2n01xdfcm9bkkir83c32mkpvv51zq-bash-4.4-p23/bin/bash"
configuring
no configure script, doing nothing
building
build flags: SHELL=/nix/store/z1l2n01xdfcm9bkkir83c32mkpvv51zq-bash-4.4-p23/bin/bash PREFIX=\$out VERBOSE=true
make all -C plugins/fverb
make[1]: Entering directory '/tmp/nix-build-fverb-unstable-2020-06-09.drv-0/source/plugins/fverb'
Compiling PluginFverb.cpp
g++ PluginFverb.cpp -Wall -Wextra -pipe -MD -MP -fPIC -DPIC -DNDEBUG -O3 -ffast-math -fdata-sections -ffunction-sections -mtune=generic -msse -msse2 -fvisibility=hidden  -std=gnu++0x -fvisibility-inlines-hidden -I. -I../../dpf/distrho -I../../dpf/dgl -Ithirdparty/blink -c -o ../../build/fverb/PluginFverb.cpp.o
Compiling dsp/Fverb.cpp
g++ dsp/Fverb.cpp -Wall -Wextra -pipe -MD -MP -fPIC -DPIC -DNDEBUG -O3 -ffast-math -fdata-sections -ffunction-sections -mtune=generic -msse -msse2 -fvisibility=hidden  -std=gnu++0x -fvisibility-inlines-hidden -I. -I../../dpf/distrho -I../../dpf/dgl -Ithirdparty/blink -c -o ../../build/fverb/dsp/Fverb.cpp.o
Compiling DistrhoPluginMain.cpp (LV2)
g++ ../../dpf/distrho/DistrhoPluginMain.cpp -Wall -Wextra -pipe -MD -MP -fPIC -DPIC -DNDEBUG -O3 -ffast-math -fdata-sections -ffunction-sections -mtune=generic -msse -msse2 -fvisibility=hidden  -std=gnu++0x -fvisibility-inlines-hidden -I. -I../../dpf/distrho -I../../dpf/dgl -Ithirdparty/blink -DDISTRHO_PLUGIN_TARGET_LV2 -c -o ../../build/fverb/DistrhoPluginMain_LV2.cpp.o
Creating LV2 plugin library for fverb
g++ ../../build/fverb/PluginFverb.cpp.o ../../build/fverb/dsp/Fverb.cpp.o ../../build/fverb/DistrhoPluginMain_LV2.cpp.o -Wall -Wextra -pipe -MD -MP -fPIC -DPIC -DNDEBUG -O3 -ffast-math -fdata-sections -ffunction-sections -mtune=generic -msse -msse2 -fvisibility=hidden  -std=gnu++0x -fvisibility-inlines-hidden -I. -I../../dpf/distrho -I../../dpf/dgl -Ithirdparty/blink -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -Wl,--strip-all  -Wl,--no-undefined -shared -o ../../bin/fverb.lv2/fverb_dsp.so
Compiling DistrhoPluginMain.cpp (VST)
g++ ../../dpf/distrho/DistrhoPluginMain.cpp -Wall -Wextra -pipe -MD -MP -fPIC -DPIC -DNDEBUG -O3 -ffast-math -fdata-sections -ffunction-sections -mtune=generic -msse -msse2 -fvisibility=hidden  -std=gnu++0x -fvisibility-inlines-hidden -I. -I../../dpf/distrho -I../../dpf/dgl -Ithirdparty/blink -DDISTRHO_PLUGIN_TARGET_VST -c -o ../../build/fverb/DistrhoPluginMain_VST.cpp.o
Creating VST plugin for fverb
g++ ../../build/fverb/PluginFverb.cpp.o ../../build/fverb/dsp/Fverb.cpp.o ../../build/fverb/DistrhoPluginMain_VST.cpp.o -Wall -Wextra -pipe -MD -MP -fPIC -DPIC -DNDEBUG -O3 -ffast-math -fdata-sections -ffunction-sections -mtune=generic -msse -msse2 -fvisibility=hidden  -std=gnu++0x -fvisibility-inlines-hidden -I. -I../../dpf/distrho -I../../dpf/dgl -Ithirdparty/blink -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -Wl,--strip-all  -Wl,--no-undefined  -shared -o ../../bin/fverb-vst.so
Compiling DistrhoPluginMain.cpp (LADSPA)
g++ ../../dpf/distrho/DistrhoPluginMain.cpp -Wall -Wextra -pipe -MD -MP -fPIC -DPIC -DNDEBUG -O3 -ffast-math -fdata-sections -ffunction-sections -mtune=generic -msse -msse2 -fvisibility=hidden  -std=gnu++0x -fvisibility-inlines-hidden -I. -I../../dpf/distrho -I../../dpf/dgl -Ithirdparty/blink -DDISTRHO_PLUGIN_TARGET_LADSPA -c -o ../../build/fverb/DistrhoPluginMain_LADSPA.cpp.o
Creating LADSPA plugin for fverb
g++ ../../build/fverb/PluginFverb.cpp.o ../../build/fverb/dsp/Fverb.cpp.o ../../build/fverb/DistrhoPluginMain_LADSPA.cpp.o -Wall -Wextra -pipe -MD -MP -fPIC -DPIC -DNDEBUG -O3 -ffast-math -fdata-sections -ffunction-sections -mtune=generic -msse -msse2 -fvisibility=hidden  -std=gnu++0x -fvisibility-inlines-hidden -I. -I../../dpf/distrho -I../../dpf/dgl -Ithirdparty/blink -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -Wl,--strip-all  -Wl,--no-undefined -shared -o ../../bin/fverb-ladspa.so
make[1]: Leaving directory '/tmp/nix-build-fverb-unstable-2020-06-09.drv-0/source/plugins/fverb'
make -C dpf/utils/lv2-ttl-generator
make[1]: Entering directory '/tmp/nix-build-fverb-unstable-2020-06-09.drv-0/source/dpf/utils/lv2-ttl-generator'
gcc lv2_ttl_generator.c  -o ../lv2_ttl_generator -ldl
make[1]: Leaving directory '/tmp/nix-build-fverb-unstable-2020-06-09.drv-0/source/dpf/utils/lv2-ttl-generator'
Generate ttl data for './fverb_dsp.so', basename: 'fverb_dsp'
Writing manifest.ttl... done!
Writing fverb_dsp.ttl... done!
installing
install flags: SHELL=/nix/store/z1l2n01xdfcm9bkkir83c32mkpvv51zq-bash-4.4-p23/bin/bash PREFIX=\$out VERBOSE=true install
make all -C plugins/fverb
make[1]: Entering directory '/tmp/nix-build-fverb-unstable-2020-06-09.drv-0/source/plugins/fverb'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/nix-build-fverb-unstable-2020-06-09.drv-0/source/plugins/fverb'
Generate ttl data for './fverb_dsp.so', basename: 'fverb_dsp'
Writing manifest.ttl... done!
Writing fverb_dsp.ttl... done!
make install -C plugins/fverb
make[1]: Entering directory '/tmp/nix-build-fverb-unstable-2020-06-09.drv-0/source/plugins/fverb'
mkdir -p -m755 ut/lib/ladspa && \
  install -m755 ../../bin/fverb-ladspa.so ut/lib/ladspa
mkdir -p -m755 ut/lib/vst && \
  install -m755 ../../bin/fverb-vst.so ut/lib/vst
mkdir -p -m755 ut/lib/lv2/fverb.lv2 && \
  install -m755 ../../bin/fverb.lv2/*.so ut/lib/lv2/fverb.lv2 && \
  install -m644 ../../bin/fverb.lv2/*.ttl ut/lib/lv2/fverb.lv2
make[1]: Leaving directory '/tmp/nix-build-fverb-unstable-2020-06-09.drv-0/source/plugins/fverb'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/n7095hq2fdk8adql05s3svn3g9bifx3c-fverb-unstable-2020-06-09
strip is /nix/store/p1y0xl8dp4s1x1vvxxb5sn84wj6lsh8s-binutils-2.31.1/bin/strip
patching script interpreter paths in /nix/store/n7095hq2fdk8adql05s3svn3g9bifx3c-fverb-unstable-2020-06-09
checking for references to /tmp/nix-build-fverb-unstable-2020-06-09.drv-0/ in /nix/store/n7095hq2fdk8adql05s3svn3g9bifx3c-fverb-unstable-2020-06-09...
principal> process result: Terminated 199
copying 1 paths...
copying path '/nix/store/n7095hq2fdk8adql05s3svn3g9bifx3c-fverb-unstable-2020-06-09' from 'ssh://nxb-4'...
building '/nix/store/2pyjmrprk0vwrm29gf9v8np57l3ml5q4-user-environment.drv'...
created 1163 symlinks in user environment
magnetophon commented 4 years ago

Now that I look over it again, the error is obvious: mkdir -p -m755 ut/lib/ladspa. I'll investigate.

magnetophon commented 4 years ago

It works now. Thanks, and sorry for the noise.