erlc -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.6.1"' -pa ../intl_tools -o../ebin wings_bool.erl erlc -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.6.1"' -pa ../intl_tools -o../ebin wings_camera.erl erlc -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.6.1"' -pa ../intl_tools -o../ebin wings_cl.erl wings.erl:670:66: Warning: erlang:get_stacktrace/0 is removed; use the new try/catch syntax for retrieving the stack backtrace % 670| io:format("~p:~p: Error: ~p ~p~n", [?MODULE, ?LINE, Reason, erlang:get_stacktrace()]), % | ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20220521-080005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.0 * clang/llvm (if any): clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.1 Python 3.9.13 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.60.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] *) Eclipse Temurin JRE 11.0.15_p10 [openjdk-jre-bin-11] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-jre-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php8.1 * HEAD of ::gentoo commit 2222b27a9dc8052920142fd0961cb34a839eead4 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun May 22 09:47:58 2022 +0000 2022-05-22 09:47:58 UTC emerge -qpvO media-gfx/wings [ebuild N ] media-gfx/wings-2.2.6.1
Created attachment 780155 [details] emerge-info.txt
Created attachment 780158 [details] emerge-history.txt
Created attachment 780161 [details] environment
Created attachment 780164 [details] etc.portage.tar.bz2
Created attachment 780167 [details] media-gfx:wings-2.2.6.1:20220522-101826.log
Created attachment 780170 [details] temp.tar.bz2
Won't compile here, same error
This was fixed with 2.2.7: https://github.com/dgud/wings/commit/6b11ab53372315201843a5f7db31e2753102cb4e Erlang OTP24 removed this function (which was deprecated since OTP21), and since only OTP25 is included this will never work. Wings 2.2.7 and .8 build (and work) fine with the attached patch. Wings 2.2.9 for some reason tries to pull some git repositories during build.
Created attachment 862012 [details, diff] Fix redefines of wx_* preprocessor symbols on OTP>=24
(In reply to Benedikt Reinartz from comment #8) > This was fixed with 2.2.7: > https://github.com/dgud/wings/commit/6b11ab53372315201843a5f7db31e2753102cb4e > > Erlang OTP24 removed this function (which was deprecated since OTP21), and > since only OTP25 is included this will never work. Wings 2.2.7 and .8 build > (and work) fine with the attached patch. Wings 2.2.9 for some reason tries > to pull some git repositories during build. Actually, let me take that back. The newer versions require libigl and eigen (they could be made available by patching the Makefile and depending on them, I'll try that).