Bug 296917 - lang/erlang: build failure if WX option is enabled (wx32-gtk3 installed)
Summary: lang/erlang: build failure if WX option is enabled (wx32-gtk3 installed)
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-erlang (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-20 07:54 UTC by Martin Birgmeier
Modified: 2026-07-20 08:06 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (erlang)


Attachments
lang/erlang build log (39.45 KB, application/x-xz)
2026-07-20 07:55 UTC, Martin Birgmeier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2026-07-20 07:54:25 UTC
Scenario:
- FreeBSD stable/15 at 41c9c5f4b3e3
- ports latest
- using portmaster to build graphics/wings which depends on lang/erlang
- selecting the non-default options WX and JAVA for lang/erlang

Result:
- The build fails with errors seemingly related to deprecated wx features

Expected result:
- The build should succeed for any combination of options ;-)

Notes:
- Make log attached

-- Martin
Comment 1 Martin Birgmeier 2026-07-20 07:55:26 UTC
Created attachment 273016 [details]
lang/erlang build log
Comment 2 Martin Birgmeier 2026-07-20 08:06:15 UTC
Hmmm... portmaster then goes on to compile lang/erlang-wx, and this succeeds.

So lang/erlang probably should not even have a WX option?

Or the patch in lang/erlang-wx/files should be copied to lang/erlang/files?

It seems the WX option must be removed, or rather replaced by a dependency on lang/erlang-wx.

-- Martin