Opened 3 years ago
Last modified 3 years ago
#61331 assigned defect
erlang @23.0 +wxwidgets: does not build on catalina
Reported by: | logitab (Logitab) | Owned by: | ci42 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | catalina haspatch | Cc: | logitab (Logitab) |
Port: | erlang |
Description (last modified by ryandesign (Ryan Schmidt))
Build fails on macos 10.15.7
build started with:
port install erlang +wxwidgets
on
Xcode 12.0.1 / cc --version
Apple clang version 12.0.0 (clang-1200.0.32.2)
relevant part of log:
:info:build CC obj/x86_64-apple-darwin19.6.0/opt/smp/erl_osenv.o :info:build CC obj/x86_64-apple-darwin19.6.0/opt/smp/erl_unix_sys_ddll.o :info:build CC obj/x86_64-apple-darwin19.6.0/opt/smp/erl_mtrace_sys_wrap.o :info:build CC obj/x86_64-apple-darwin19.6.0/opt/smp/erl_sys_common_misc.o :info:build CC obj/x86_64-apple-darwin19.6.0/opt/smp/erl_os_monotonic_time_extender.o :info:build CC obj/x86_64-apple-darwin19.6.0/opt/smp/erl_poll.flbk.o :info:build CC obj/x86_64-apple-darwin19.6.0/opt/smp/erlang_lttng.o :info:build CC obj/x86_64-apple-darwin19.6.0/opt/smp/inet_drv.o :info:build drivers/common/inet_drv.c:1484:30: error: static declaration of 'in6addr_any' follows non-static declaration :info:build static const struct in6_addr in6addr_any = { { IN6ADDR_ANY_INIT } }; :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/netinet6/in6.h:211:30: note: previous declaration is here :info:build extern const struct in6_addr in6addr_any; :info:build ^ :info:build drivers/common/inet_drv.c:1493:30: error: static declaration of 'in6addr_loopback' follows non-static declaration :info:build static const struct in6_addr in6addr_loopback = :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/netinet6/in6.h:212:30: note: previous declaration is here :info:build extern const struct in6_addr in6addr_loopback; :info:build ^ :info:build 2 errors generated. :info:build make[4]: *** [obj/x86_64-apple-darwin19.6.0/opt/smp/inet_drv.o] Error 1 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_23.0/erts/emulator' :info:build make[3]: *** [opt] Error 2 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_23.0/erts/emulator' :info:build make[2]: *** [opt] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_23.0/erts' :info:build make[1]: *** [smp] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_23.0/erts' :info:build make: *** [emulator] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_23.0' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_23.0" && /usr/bin/make -w all :info:build Exit code: 2
Change History (2)
comment:1 Changed 3 years ago by logitab (Logitab)
Cc: | logitab added |
---|
comment:2 Changed 3 years ago by ryandesign (Ryan Schmidt)
Cc: | ciserlohn@… removed |
---|---|
Description: | modified (diff) |
Keywords: | haspatch added |
Owner: | set to ci42 |
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
Here is the upstream bug report: https://bugs.erlang.org/browse/ERL-1306
Here is the upstream PR that fixed it: https://github.com/erlang/otp/pull/2687