Bug 236045 - USE_WX=3.1 causes fatal error
Summary: USE_WX=3.1 causes fatal error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Baptiste Daroussin
Depends on:
Reported: 2019-02-26 03:52 UTC by Jack
Modified: 2019-05-23 16:58 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2019-02-26 03:52:09 UTC
When trying to use the wx31-gtk port by setting USE_WX=3.1 in the Makefile, it complains with

make: "/usr/ports/Mk/bsd.wx.mk" line 408: Malformed conditional (${_WX_VER:R} == 3)
make: Fatal errors encountered -- cannot continue
Comment 1 Yuri Victorovich freebsd_committer 2019-02-26 04:23:12 UTC
The line /usr/ports/Mk/bsd.wx.mk:408 has been changed by Baptiste Daroussin in commit 493853 today. He is already added to CC.
Comment 2 Walter Schwarzenfeld freebsd_triage 2019-02-26 04:39:46 UTC
===>  electricsheep-2.7,1 selected a wxWidgets component (wx) which is not
available for the selected version (3.1).
*** Error code 1

bsd.wx.mk misses

#wxgtk 3.1
_WX_PORT_wx_3.1=        x11-toolkits/wxgtk31
_WX_LIB_wx_3.1= wx_baseu-3.1
Comment 3 Walter Schwarzenfeld freebsd_triage 2019-02-26 04:42:31 UTC
(In reply to Yuri Victorovich from comment #1)
Sorry, was my mistake.
Comment 4 commit-hook freebsd_committer 2019-02-26 09:34:09 UTC
A commit references this bug:

Author: bapt
Date: Tue Feb 26 09:33:25 UTC 2019
New revision: 493956
URL: https://svnweb.freebsd.org/changeset/ports/493956

  Finish properly registring properly wxGTK 3.1 into the framework

  PR:		236045

Comment 5 Walter Schwarzenfeld freebsd_triage 2019-02-26 10:51:46 UTC
Is this intended:

_WX_LIB_wx_3.0=         wx_baseu-3.1 

=> wx_3.0

or a typo and it should bie wx_3.1?
Comment 6 Walter Schwarzenfeld freebsd_triage 2019-02-26 13:02:59 UTC
Ok, it is fixed with rP493959.