Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failing to build neural-amp-modeler-lv2 for moddwarf on Ubuntu 22.04.4 LTS #180

Open
evilsocket opened this issue Mar 13, 2024 · 0 comments

Comments

@evilsocket
Copy link

As per title, I installed and successfully bootstrapped the builder for moddwarf on an Ubuntu 22.04.4 x86_64 server.

However if I try to compile the NAM plugin with:

./build moddwarf neural-amp-modeler-lv2

I get the following compilation error:

  GEN     /home/evilsocket/mod-workdir/moddwarf/Makefile
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/evilsocket/mod-workdir/moddwarf/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/evilsocket/mod-workdir/moddwarf/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/evilsocket/mod-workdir/moddwarf/build/buildroot-config/tristate.config BR2_CONFIG=/home/evilsocket/mod-workdir/moddwarf/.config BR2_EXTERNAL=/home/evilsocket/lab/mod/mod-plugin-builder/plugins-dep HOST_GCC_VERSION="11" SKIP_LEGACY= /home/evilsocket/mod-workdir/moddwarf/build/buildroot-config/conf --silentoldconfig Config.in
>>> neural-amp-modeler-lv2 bae8b0a6275a42ebbfe9c9d957512419700dc797 Building
PATH="/home/evilsocket/mod-workdir/moddwarf/host/bin:/home/evilsocket/mod-workdir/moddwarf/host/sbin:/home/evilsocket/mod-workdir/moddwarf/host/usr/bin:/home/evilsocket/mod-workdir/moddwarf/host/usr/sbin:/home/evilsocket/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/evilsocket/.local/bin:/home/evilsocket/dotfiles/bin:/home/evilsocket/ida-7.0/:/opt/google/android/sdk/tools:/opt/google/android/sdk/platform-tools:/opt/google/android/ndk:/opt/google/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:/opt/google/android/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin:/home/evilsocket/clang-static-analyzer/bin:/opt/google/android/jadx/bin:/usr/local/cuda/bin:/usr/local/go/bin:/home/evilsocket/gocode/bin:/home/evilsocket/.local/bin:/home/evilsocket/.local/bin:/home/evilsocket/dotfiles/bin:/home/evilsocket/ida-7.0/:/opt/google/android/sdk/tools:/opt/google/android/sdk/platform-tools:/opt/google/android/ndk:/opt/google/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:/opt/google/android/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin:/home/evilsocket/clang-static-analyzer/bin:/opt/google/android/jadx/bin:/usr/local/cuda/bin:/usr/local/go/bin:/home/evilsocket/gocode/bin:/home/evilsocket/.local/bin"  /usr/bin/make -j17  -C /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/
[  8%] Building CXX object src/CMakeFiles/neural_amp_modeler.dir/nam_lv2.cpp.o
[ 16%] Building CXX object src/CMakeFiles/neural_amp_modeler.dir/nam_plugin.cpp.o
[ 25%] Building CXX object src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/NAM/dsp.cpp.o
[ 41%] Building CXX object src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/NAM/lstm.cpp.o
[ 41%] Building CXX object src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/NAM/get_dsp.cpp.o
[ 50%] Building CXX object src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/NAM/wavenet.cpp.o
[ 58%] Building CXX object src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/dsp/dsp.cpp.o
[ 66%] Building CXX object src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/NAM/convnet.cpp.o
[ 75%] Building CXX object src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/dsp/RecursiveLinearFilter.cpp.o
/home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/dsp.cpp:4:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
/home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/convnet.cpp:4:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [src/CMakeFiles/neural_amp_modeler.dir/build.make:132: src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/NAM/dsp.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [src/CMakeFiles/neural_amp_modeler.dir/build.make:188: src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/NAM/convnet.cpp.o] Error 1
In file included from /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/get_dsp.cpp:6:0:
/home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/dsp.h:3:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [src/CMakeFiles/neural_amp_modeler.dir/build.make:146: src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/NAM/get_dsp.cpp.o] Error 1
/home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/dsp/dsp.cpp:4:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [src/CMakeFiles/neural_amp_modeler.dir/build.make:202: src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/dsp/dsp.cpp.o] Error 1
In file included from /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/dsp/RecursiveLinearFilter.h:11:0,
                 from /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/dsp/RecursiveLinearFilter.cpp:13:
/home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/dsp/dsp.h:3:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [src/CMakeFiles/neural_amp_modeler.dir/build.make:216: src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/dsp/RecursiveLinearFilter.cpp.o] Error 1
In file included from /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/src/nam_plugin.h:24:0,
                 from /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/src/nam_plugin.cpp:6:
/home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/dsp.h:3:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [src/CMakeFiles/neural_amp_modeler.dir/build.make:90: src/CMakeFiles/neural_amp_modeler.dir/nam_plugin.cpp.o] Error 1
In file included from /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/src/nam_plugin.h:24:0,
                 from /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/src/nam_lv2.cpp:14:
/home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/dsp.h:3:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [src/CMakeFiles/neural_amp_modeler.dir/build.make:76: src/CMakeFiles/neural_amp_modeler.dir/nam_lv2.cpp.o] Error 1
In file included from /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/lstm.h:9:0,
                 from /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/lstm.cpp:5:
/home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/dsp.h:3:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [src/CMakeFiles/neural_amp_modeler.dir/build.make:118: src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/NAM/lstm.cpp.o] Error 1
In file included from /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/wavenet.h:9:0,
                 from /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/wavenet.cpp:7:
/home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/deps/NeuralAmpModelerCore/NAM/dsp.h:3:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [src/CMakeFiles/neural_amp_modeler.dir/build.make:174: src/CMakeFiles/neural_amp_modeler.dir/__/deps/NeuralAmpModelerCore/NAM/wavenet.cpp.o] Error 1
make[3]: *** [CMakeFiles/Makefile2:126: src/CMakeFiles/neural_amp_modeler.dir/all] Error 2
make[2]: *** [Makefile:156: all] Error 2
make[1]: *** [package/pkg-generic.mk:198: /home/evilsocket/mod-workdir/moddwarf/build/neural-amp-modeler-lv2-bae8b0a6275a42ebbfe9c9d957512419700dc797/.stamp_built] Error 2
make: *** [Makefile:36: _all] Error 2

This seems related to the compiler version somehow, if I run:

/home/evilsocket/mod-workdir/moddwarf/toolchain/bin/aarch64-mod-linux-gnu-g++ -v

I get this:

Using built-in specs.
COLLECT_GCC=/home/evilsocket/mod-workdir/moddwarf/toolchain/bin/aarch64-mod-linux-gnu-g++
COLLECT_LTO_WRAPPER=/home/evilsocket/mod-workdir/moddwarf/toolchain/libexec/gcc/aarch64-mod-linux-gnu/7.5.0/lto-wrapper
Target: aarch64-mod-linux-gnu
Configured with: /home/evilsocket/mod-workdir/moddwarf/build/crosstool-ng-1.24.0/build/aarch64-mod-linux-gnu/src/gcc/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu --target=aarch64-mod-linux-gnu --prefix=/home/evilsocket/mod-workdir/moddwarf/toolchain --with-sysroot=/home/evilsocket/mod-workdir/moddwarf/toolchain/aarch64-mod-linux-gnu/sysroot --enable-languages=c,c++,fortran --with-cpu=cortex-a35 --with-pkgversion='crosstool-NG 1.24.0' --enable-__cxa_atexit --disable-libmudflap --enable-libgomp --disable-libssp --enable-libquadmath --enable-libquadmath-support --disable-libsanitizer --disable-libmpx --with-gmp=/home/evilsocket/mod-workdir/moddwarf/build/crosstool-ng-1.24.0/build/aarch64-mod-linux-gnu/buildtools --with-mpfr=/home/evilsocket/mod-workdir/moddwarf/build/crosstool-ng-1.24.0/build/aarch64-mod-linux-gnu/buildtools --with-mpc=/home/evilsocket/mod-workdir/moddwarf/build/crosstool-ng-1.24.0/build/aarch64-mod-linux-gnu/buildtools --with-isl=/home/evilsocket/mod-workdir/moddwarf/build/crosstool-ng-1.24.0/build/aarch64-mod-linux-gnu/buildtools --enable-lto --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --enable-threads=posix --enable-target-optspace --with-linker-hash-style=gnu --disable-plugin --disable-nls --disable-multilib --with-local-prefix=/home/evilsocket/mod-workdir/moddwarf/toolchain/aarch64-mod-linux-gnu/sysroot --enable-long-long
Thread model: posix
gcc version 7.5.0 (crosstool-NG 1.24.0) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant