Unfortunately a different issue appears to have arisen from the fix at e5f756d16daf09e712863bc7f34a814c36fe09c4
As before, the commit prior to a5e2bfa444c88c83f5d3a1618df2b47751d93f49 worked cross-compiling with identical build parameters, however as can be seen from the log below an unexpected issue now arises:
../meson.build:131:0: ERROR: Could not execute Java compiler: javac
Is it me, should I be doing something differently ?
( I rather do prefer not to have to research and find and build a cross-compiling java compiler :) )
Log:
[20:57:44][INFO] Meson'ing 'rubberband' with: --prefix=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32 --libdir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib --default-library=static --strip --buildtype=release --backend=ninja -Dresampler=libsamplerate -Dfft=fftw --cross-file=/home/u/Desktop/_working/workdir/meson_environment.txt ./ ..
[20:57:44][DEBUG] meson --prefix=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32 --libdir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib --default-library=static --strip --buildtype=release --backend=ninja -Dresampler=libsamplerate -Dfft=fftw --cross-file=/home/u/Desktop/_working/workdir/meson_environment.txt ./ ..
[20:57:44][DEBUG] Running 'meson --prefix=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32 --libdir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib --default-library=static --strip --buildtype=release --backend=ninja -Dresampler=libsamplerate -Dfft=fftw --cross-file=/home/u/Desktop/_working/workdir/meson_environment.txt ./ ..' in '/home/u/Desktop/_working/workdir/x86_64/rubberband_git/build'
DEPRECATION: c_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
The Meson build system
Version: 0.63.2
Source dir: /home/u/Desktop/_working/workdir/x86_64/rubberband_git
Build dir: /home/u/Desktop/_working/workdir/x86_64/rubberband_git/build
Build type: cross build
Project name: Rubber Band Library
Project version: 3.1.0-pre
C compiler for the host machine: x86_64-w64-mingw32-gcc (gcc 12.2.0 "x86_64-w64-mingw32-gcc (GCC) 12.2.0")
C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.37
C++ compiler for the host machine: x86_64-w64-mingw32-g++ (gcc 12.2.0 "x86_64-w64-mingw32-g++ (GCC) 12.2.0")
C++ linker for the host machine: x86_64-w64-mingw32-g++ ld.bfd 2.37
C compiler for the build machine: cc (gcc 12.1.0 "cc (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0")
C linker for the build machine: cc ld.bfd 2.38
C++ compiler for the build machine: c++ (gcc 12.1.0 "c++ (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0")
C++ linker for the build machine: c++ ld.bfd 2.38
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Found pkg-config: /home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/bin/pkg-config (0.29.2)
Run-time dependency fftw3 found: YES 3.3.10
Found CMake: /usr/bin/cmake (3.23.2)
Run-time dependency sleef found: NO (tried pkgconfig and cmake)
Run-time dependency sleefdft found: NO (tried pkgconfig and cmake)
Run-time dependency samplerate found: YES 0.2.2
Run-time dependency speexdsp found: YES 1.2.1
Run-time dependency sndfile found: YES 1.1.0
Run-time dependency vamp-sdk found: YES 2.9
Run-time dependency Boost found: NO (tried system)
Run-time dependency threads found: YES
Has header "ladspa.h" : YES
Has header "lv2.h" : NO
Checking for function "sincos" : YES
../meson.build:131:0: ERROR: Could not execute Java compiler: javac
A full log can be found at /home/u/Desktop/_working/workdir/x86_64/rubberband_git/build/meson-logs/meson-log.txt
[20:57:45][ERROR] Error [1] running process: 'meson --prefix=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32 --libdir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib --default-library=static --strip --buildtype=release --backend=ninja -Dresampler=libsamplerate -Dfft=fftw --cross-file=/home/u/Desktop/_working/workdir/meson_environment.txt ./ ..' in '/home/u/Desktop/_working/workdir/x86_64/rubberband_git/build'
[20:57:45][ERROR] You can try deleting the product/dependency folder: '/home/u/Desktop/_working/workdir/x86_64/rubberband_git/build' and re-run the script
:) Oh dear. I suppose I should post a new issue rather than comment on the old one at https://github.com/breakfastquay/rubberband/issues/68#issuecomment-1257857818.
Unfortunately a different issue appears to have arisen from the fix at e5f756d16daf09e712863bc7f34a814c36fe09c4 As before, the commit prior to a5e2bfa444c88c83f5d3a1618df2b47751d93f49 worked cross-compiling with identical build parameters, however as can be seen from the log below an unexpected issue now arises:
../meson.build:131:0: ERROR: Could not execute Java compiler: javac
Is it me, should I be doing something differently ?
( I rather do prefer not to have to research and find and build a cross-compiling java compiler :) )
Log: