Bug 267586 - lang/erlang-runtime25 - build fails with error in gen/wxe_wrapper_7.cpp
Summary: lang/erlang-runtime25 - build fails with error in gen/wxe_wrapper_7.cpp
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-erlang (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-06 08:58 UTC by John Parkey
Modified: 2023-04-08 17:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Parkey 2022-11-06 08:58:13 UTC
## 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
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2023-04-08 17:29:46 UTC
This happens if the port option WX is selected.