VCVRack / VCV-Prototype

Other
130 stars 22 forks source link

Build attempt january 2023 #65

Closed jpnielsen closed 1 year ago

jpnielsen commented 1 year ago
cd VCV-Prototype/

git log

commit f693e763335b5912ddfc2f8e26f687ffcf3693e6 (HEAD -> v2, origin/v2)
Author: Andrew Belt <andrewpbelt@gmail.com>
Date:   Mon Nov 29 18:05:51 2021 -0500

    Fix changed Rack v2 API

commit 3842dffe459d013f51dd5382ea951421987fcbfa
Author: Andrew Belt <andrewpbelt@gmail.com>
Date:   Mon Nov 29 18:05:37 2021 -0500

    Update manifest for v2.

commit d7b16f7f0740b0002317e1882a967787a4815b64 (origin/v1, origin/HEAD)
Author: clwe <clemens@chair.audio>
Date:   Mon Sep 20 13:03:22 2021 +0200

    LibPDEngine: correct Makefile flag command order for windows

commit b5efc01fdce16a34324d53334c82a9dedebe3200
Author: Stéphane Letz <letz@grame.fr>
Date:   Sat Jul 24 11:42:19 2021 +0200

    Update Faust.md

commit 57bd34e4fc448aaf99536beb37dee2ad85f183fd
Author: Stéphane Letz <letz@grame.fr>
Date:   Sat Jul 24 11:41:13 2021 +0200

    Update Faust.md
jpn@pc01:~/rack-plugin-toolchain/src/VCV-Prototype$ git submodule update --recursive --init
Submodule 'dep/efsw' (https://github.com/SpartanJ/efsw.git) registered for path 'efsw'
Cloning into '/home/jpn/rack-plugin-toolchain/src/VCV-Prototype/efsw'...
Submodule path 'efsw': checked out '36f27d7ccf0cfc1b0aa5c43476affc432760b59c'
jpn@pc01:~/rack-plugin-toolchain/src/VCV-Prototype$ cd ..
jpn@pc01:~/rack-plugin-toolchain/src$ cd ..
jpn@pc01:~/rack-plugin-toolchain$ make -j8 docker-plugin-build PLUGIN_DIR=/home/jpn/rack-plugin-toolchain/src/VCV-Prototype/
mkdir -p plugin-build
docker run --rm --interactive --tty --volume=/home/jpn/rack-plugin-toolchain/src/VCV-Prototype/:/home/build/plugin-src --volume=/home/jpn/rack-plugin-toolchain/plugin-build:/home/build/rack-plugin-toolchain/plugin-build --volume=/home/jpn/rack-plugin-toolchain/Rack-SDK-mac-x64:/home/build/rack-plugin-toolchain/Rack-SDK-mac-x64 --volume=/home/jpn/rack-plugin-toolchain/Rack-SDK-mac-arm64:/home/build/rack-plugin-toolchain/Rack-SDK-mac-arm64 --volume=/home/jpn/rack-plugin-toolchain/Rack-SDK-win-x64:/home/build/rack-plugin-toolchain/Rack-SDK-win-x64 --volume=/home/jpn/rack-plugin-toolchain/Rack-SDK-lin-x64:/home/build/rack-plugin-toolchain/Rack-SDK-lin-x64 --env PLUGIN_DIR=/home/build/plugin-src rack-plugin-toolchain:7 /bin/bash -c "make plugin-build -j8 --jobserver-auth=3,4"
make: warning: -j8 forced in submake: resetting jobserver mode.
make plugin-build-mac-x64
make[1]: Entering directory '/home/build/rack-plugin-toolchain'
cd /home/build/plugin-src && make clean
make[2]: Entering directory '/home/build/plugin-src'
rm -rfv build plugin.dylib dist
make[2]: Leaving directory '/home/build/plugin-src'
cd /home/build/plugin-src && make cleandep
make[2]: Entering directory '/home/build/plugin-src'
rm -rfv dep
removed directory 'dep'
make[2]: Leaving directory '/home/build/plugin-src'
cd /home/build/plugin-src && make dep
make[2]: Entering directory '/home/build/plugin-src'
cd efsw && premake4 gmake
cd dep && git clone "https://github.com/JerrySievert/QuickJS.git"
wget -c "http://luajit.org/download/LuaJIT-2.0.5.tar.gz"
/bin/sh: 1: premake4: not found
make[2]: *** [Makefile:36: dep/lib/libefsw-static-release.a] Error 127
make[2]: *** Waiting for unfinished jobs....
--2023-01-09 03:41:51--  http://luajit.org/download/LuaJIT-2.0.5.tar.gz
Resolving luajit.org (luajit.org)... Cloning into 'QuickJS'...
163.172.177.144
Connecting to luajit.org (luajit.org)|163.172.177.144|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 849845 (830K) [application/octet-stream]
Saving to: ‘LuaJIT-2.0.5.tar.gz’

LuaJIT-2.0.5.tar.gz           100%[=================================================>] 829.93K  3.03MB/s    in 0.3s

2023-01-09 03:41:51 (3.03 MB/s) - ‘LuaJIT-2.0.5.tar.gz’ saved [849845/849845]

sha256check() { echo "$2  $1" | shasum -a 256 -c; }; sha256check LuaJIT-2.0.5.tar.gz 874b1f8297c697821f561f9b73b57ffd419ed8f4278c82e05b48806d30c1e979
LuaJIT-2.0.5.tar.gz: OK
cd dep && tar xf ../LuaJIT-2.0.5.tar.gz
cd dep/LuaJIT-2.0.5 && make BUILDMODE=static PREFIX="/home/build/plugin-src/dep" install
make[3]: Entering directory '/home/build/plugin-src/dep/LuaJIT-2.0.5'
==== Building LuaJIT 2.0.5 ====
make -C src
make[4]: Entering directory '/home/build/plugin-src/dep/LuaJIT-2.0.5/src'
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-stdlib=libc++’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-stdlib=libc++’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-stdlib=libc++’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-stdlib=libc++’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-stdlib=libc++’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-stdlib=libc++’
Makefile:254: *** Unsupported target architecture.  Stop.
make[4]: Leaving directory '/home/build/plugin-src/dep/LuaJIT-2.0.5/src'
make[3]: *** [Makefile:110: src/luajit] Error 2
make[3]: Leaving directory '/home/build/plugin-src/dep/LuaJIT-2.0.5'
make[2]: *** [Makefile:84: dep/lib/libluajit-5.1.a] Error 2
remote: Enumerating objects: 102, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 102 (delta 5), reused 13 (delta 5), pack-reused 87
Receiving objects: 100% (102/102), 1.28 MiB | 10.57 MiB/s, done.
Resolving deltas: 100% (28/28), done.
cd dep/QuickJS && git checkout 807adc8ca9010502853d471bd8331cdc1d376b94
Note: switching to '807adc8ca9010502853d471bd8331cdc1d376b94'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 807adc8 make sure -fPIC is there
cd dep/QuickJS && make prefix="/home/build/plugin-src/dep" install
make[3]: Entering directory '/home/build/plugin-src/dep/QuickJS'
mkdir -p .obj
gcc -fPIC -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -fPIC -Wall -MMD -MF .obj/quickjs.check.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2019-09-18\" -DCONFIG_CHECK_JSVALUE -c -o .obj/quickjs.check.o quickjs.c
gcc -fPIC -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -fPIC -Wall -MMD -MF .obj/qjs.check.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2019-09-18\" -DCONFIG_CHECK_JSVALUE -c -o .obj/qjs.check.o qjs.c
gcc -fPIC -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -fPIC -Wall -MMD -MF .obj/qjs.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2019-09-18\" -O2 -flto -c -o .obj/qjs.o qjs.c
gcc -fPIC -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -fPIC -Wall -MMD -MF .obj/qjsc.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2019-09-18\" -DCONFIG_CC=\"gcc\" -DCONFIG_PREFIX=\"/home/build/plugin-src/dep\" -DCONFIG_LTO -O2 -flto -c -o .obj/qjsc.o qjsc.c
gcc -fPIC -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -fPIC -Wall -MMD -MF .obj/quickjs.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2019-09-18\" -O2 -flto -c -o .obj/quickjs.o quickjs.c
gcc -fPIC -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -fPIC -Wall -MMD -MF .obj/libregexp.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2019-09-18\" -O2 -flto -c -o .obj/libregexp.o libregexp.c
gcc -fPIC -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -fPIC -Wall -MMD -MF .obj/libunicode.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2019-09-18\" -O2 -flto -c -o .obj/libunicode.o libunicode.c
gcc -fPIC -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -fPIC -Wall -MMD -MF .obj/cutils.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2019-09-18\" -O2 -flto -c -o .obj/cutils.o cutils.c
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
gcc: error: unrecognized command line option ‘-stdlib=libc++’
make[3]: *** [Makefile:314: .obj/qjs.check.o] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc: error: unrecognized command line option ‘-stdlib=libc++’
gcc: error: unrecognized command line option ‘-mmacosx-version-min=10.9’
make[3]: *** [Makefile:278: .obj/qjs.o] Error 1
gcc: error: unrecognized command line option ‘-stdlib=libc++’
make[3]: *** [Makefile:278: .obj/libunicode.o] Error 1
gcc: error: unrecognized command line option ‘-stdlib=libc++’
gcc: error: unrecognized command line option ‘-stdlib=libc++’
make[3]: *** [Makefile:278: .obj/libregexp.o] Error 1
make[3]: *** [Makefile:314: .obj/quickjs.check.o] Error 1
gcc: error: unrecognized command line option ‘-stdlib=libc++’
gcc: error: unrecognized command line option ‘-stdlib=libc++’
make[3]: *** [Makefile:278: .obj/quickjs.o] Error 1
make[3]: *** [Makefile:278: .obj/qjsc.o] Error 1
gcc: error: unrecognized command line option ‘-stdlib=libc++’
make[3]: *** [Makefile:278: .obj/cutils.o] Error 1
make[3]: Leaving directory '/home/build/plugin-src/dep/QuickJS'
make[2]: *** [Makefile:70: dep/lib/quickjs/libquickjs.a] Error 2
make[2]: Leaving directory '/home/build/plugin-src'
make[1]: *** [Makefile:183: plugin-build-mac-x64] Error 2
make[1]: Leaving directory '/home/build/rack-plugin-toolchain'
make: *** [Makefile:191: plugin-build] Error 2
make: *** [Makefile:286: docker-plugin-build] Error 2