Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 846977 - media-gfx/wings-2.2.6.1 - % 670| io:format(~p:~p: Error: ~p ~p~n, [?MODULE, ?LINE, Reason, erlang:get_stacktrace()]),
Summary: media-gfx/wings-2.2.6.1 - % 670| io:format(~p:~p: Error: ~p ~p~n, [?MODULE, ?...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-22 10:21 UTC by Toralf Förster
Modified: 2024-04-30 05:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.57 KB, text/plain)
2022-05-22 10:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,65.60 KB, text/plain)
2022-05-22 10:21 UTC, Toralf Förster
Details
environment (environment,56.88 KB, text/plain)
2022-05-22 10:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.46 KB, application/x-bzip)
2022-05-22 10:21 UTC, Toralf Förster
Details
media-gfx:wings-2.2.6.1:20220522-101826.log (media-gfx:wings-2.2.6.1:20220522-101826.log,13.98 KB, text/plain)
2022-05-22 10:21 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.61 KB, application/x-bzip)
2022-05-22 10:21 UTC, Toralf Förster
Details
Fix redefines of wx_* preprocessor symbols on OTP>=24 (fix-redefines-for-erlang-25.patch,909 bytes, patch)
2023-05-19 18:27 UTC, Benedikt Reinartz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-05-22 10:21:05 UTC
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
Comment 1 Toralf Förster gentoo-dev 2022-05-22 10:21:06 UTC
Created attachment 780155 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-22 10:21:07 UTC
Created attachment 780158 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-05-22 10:21:09 UTC
Created attachment 780161 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-05-22 10:21:10 UTC
Created attachment 780164 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-05-22 10:21:11 UTC
Created attachment 780167 [details]
media-gfx:wings-2.2.6.1:20220522-101826.log
Comment 6 Toralf Förster gentoo-dev 2022-05-22 10:21:11 UTC
Created attachment 780170 [details]
temp.tar.bz2
Comment 7 Thomas Capricelli 2022-11-22 17:54:04 UTC
Won't compile here, same error
Comment 8 Benedikt Reinartz 2023-05-19 18:25:08 UTC
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.
Comment 9 Benedikt Reinartz 2023-05-19 18:27:45 UTC
Created attachment 862012 [details, diff]
Fix redefines of wx_* preprocessor symbols on OTP>=24
Comment 10 Benedikt Reinartz 2023-05-19 18:31:37 UTC
(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).