[Bug 267586] lang/erlang-runtime25 - build fails with error in gen/wxe_wrapper_7.cpp

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 06 Nov 2022 08:58:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267586

            Bug ID: 267586
           Summary: lang/erlang-runtime25 - build fails with error in
                    gen/wxe_wrapper_7.cpp
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: erlang@FreeBSD.org
          Reporter: john@acru.co.uk
          Assignee: erlang@FreeBSD.org
             Flags: maintainer-feedback?(erlang@FreeBSD.org)

## FreeBSD version: 13.1-RELEASE-p3

## Output from make -C /usr/ports/lang/erlang-runtime25:

cc -shared -fPIC  -Wl,-rpath,/usr/local/lib -fstack-protector-strong 
amd64-portbld-freebsd13.1/gl_nif.o amd64-portbld-freebsd13.1/glu_nif.o
amd64-portbld-freebsd13.1/egl_impl.o -L/usr/local/lib -lGL -lGLU -o
../priv/amd64-portbld-freebsd13.1/erl_gl.so

gen/wxe_wrapper_7.cpp:2342:58: error: call to member function 'AddTool' is
ambiguous
  wxToolBarToolBase * Result =
(wxToolBarToolBase*)This->AddTool(toolId,label,*bitmap,shortHelp,kind);
                                                   ~~~~~~^~~~~~~
/usr/local/include/wx-3.2/wx/tbarbase.h:311:24: note: candidate function
    wxToolBarToolBase *AddTool(int toolid,
                       ^
/usr/local/include/wx-3.2/wx/tbarbase.h:527:24: note: candidate function
    wxToolBarToolBase *AddTool(int toolid,

                       ^
1 error generated.

## Config options for port:

_OPTIONS_READ=erlang-runtime25-25.0.2
_FILE_COMPLETE_OPTIONS_LIST=CHUNKS CORBA DTRACE JAVA KQUEUE ODBC OPENSSL SCTP
SHARING WX
OPTIONS_FILE_SET+=CHUNKS
OPTIONS_FILE_SET+=CORBA
OPTIONS_FILE_SET+=DTRACE
OPTIONS_FILE_UNSET+=JAVA
OPTIONS_FILE_SET+=KQUEUE
OPTIONS_FILE_UNSET+=ODBC
OPTIONS_FILE_SET+=OPENSSL
OPTIONS_FILE_SET+=SCTP
OPTIONS_FILE_SET+=SHARING
OPTIONS_FILE_SET+=WX

-- 
You are receiving this mail because:
You are the assignee for the bug.