Bug 262219 - x11-toolkits/py-wxPython4: build fail
Summary: x11-toolkits/py-wxPython4: build fail
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-27 03:03 UTC by Ivan Rozhuk
Modified: 2022-02-27 13:32 UTC (History)
3 users (show)

See Also:
lbartoletti: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2022-02-27 03:03:33 UTC
...
In file included from ../../../../sip/cpp/sip_corecmodule.cpp:10:
In file included from ../../../../sip/cpp/sipAPI_core.h:20845:
In file included from ../../../../wx/include/wxPython/wxpy_api.h:41:
In file included from /usr/local/include/wx-3.1/wx/wx.h:15:
In file included from /usr/local/include/wx-3.1/wx/object.h:19:
In file included from /usr/local/include/wx-3.1/wx/memory.h:15:
/usr/local/include/wx-3.1/wx/string.h:561:7: warning: unknown warning group '-Wunsafe-loop-optimizations', ignored [-Wunknown-warning-option]
      wxGCC_ONLY_WARNING_SUPPRESS(unsafe-loop-optimizations)
      ^
/usr/local/include/wx-3.1/wx/defs.h:680:43: note: expanded from macro 'wxGCC_ONLY_WARNING_SUPPRESS'
#   define wxGCC_ONLY_WARNING_SUPPRESS(x) wxGCC_WARNING_SUPPRESS(x)
                                          ^
/usr/local/include/wx-3.1/wx/defs.h:668:9: note: expanded from macro 'wxGCC_WARNING_SUPPRESS'
        _Pragma (wxSTRINGIZE(GCC diagnostic ignored wxSTRINGIZE(wxCONCAT(-W,x))))
        ^
<scratch space>:91:25: note: expanded from here
 GCC diagnostic ignored "-Wunsafe-loop-optimizations"
                        ^
../../../../sip/cpp/sip_corecmodule.cpp:7637:2: error: wxString conversion can only handle WCHAR wxStrings currently
#error wxString conversion can only handle WCHAR wxStrings currently
 ^
1 warning and 1 error generated.
...
Comment 1 Rainer Hurling freebsd_committer freebsd_triage 2022-02-27 10:21:07 UTC
On my CURRENT box, the breakage is only in non-clean environment. Building with Poudriere works as expected.
Comment 2 Loïc Bartoletti freebsd_committer freebsd_triage 2022-02-27 13:32:41 UTC
(In reply to Rainer Hurling from comment #1)
Yes I forgot to bump wxgtk31 after 337a99bc8b23f5353faab2009533cae0af699789.

It's fixed in 29badec1eb08d89f06c725bab29f45c647442dd9