Summary: | lang/erlang-runtime25 - build fails with error in gen/wxe_wrapper_7.cpp | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | John Parkey <john> |
Component: | Individual Port(s) | Assignee: | freebsd-erlang (Nobody) <erlang> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | david, pi, sg2342 |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(erlang) |
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
John Parkey
2022-11-06 08:58:13 UTC
This happens if the port option WX is selected. The issue also affects lang/erlang-runtime26, lang/erlang-runtime27 and lang/erlang. It is caused by x11-toolkits/wxgtk32 CONFIGURE_ARGS inclusion of --enable-compat28. https://github.com/erlang/otp/pull/6023 has a fix but it will not be included in upstream OTP: "Closing this since it build if wxWidgets is compiled without -enable-compat28 which I don't think will be included/supported in the upcoming 3.2 release." the patch in: https://github.com/sg2342/freebsd-erlang-runtime27-staticssl/blob/main/lang/erlang-runtime27-staticssl/files/patch-lib_wx_c_src_gen_wxe__wrapper__c.cpp works for lang/erlang lang/erlang-runtime25, lang/erlang-runtime26 and lang/erlang-runtime27 (In reply to Stefan Grundmann from comment #2) Thank you Stefan! I ran with your patch while building the erlang-runtime26 port with WX enabled and it worked like a charm! My system is running on 13.3-RELEASE-p5 with wx 3.2.4 Writing to confirm and potentially helping others to find that this makes it possible run for example :observer in runtime26. |