[MacPorts] #65706: libwebsockets fails on Rosetta: error: redefinition of typedef ‘lws_map_t’

MacPorts noreply at macports.org
Sun Aug 21 09:22:32 UTC 2022


#65706: libwebsockets fails on Rosetta: error: redefinition of typedef ‘lws_map_t’
-------------------------------------------+---------------------------
 Reporter:  barracuda156                   |      Owner:  judaew
     Type:  defect                         |     Status:  assigned
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.7.2
 Keywords:  powerpc, rosetta, snowleopard  |       Port:  libwebsockets
-------------------------------------------+---------------------------
 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/lib/core/lws_map.c:36:
 error: redefinition of typedef ‘lws_map_t’
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/include/libwebsockets
 /lws-map.h:45: error: previous declaration of ‘lws_map_t’ was here
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/lib/core/context.c:
 In function ‘lws_create_context’:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/lib/core/context.c:1484:
 warning: passing argument 5 of ‘lws_sul_schedule’ with different width due
 to prototype
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/lib/core/lws_map.c:36:
 error: redefinition of typedef ‘lws_map_t’
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/include/libwebsockets
 /lws-map.h:45: error: previous declaration of ‘lws_map_t’ was here
 make[2]: *** [lib/CMakeFiles/websockets.dir/core/lws_map.c.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[2]: *** [lib/CMakeFiles/websockets_shared.dir/core/lws_map.c.o] Error
 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65706>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list