Opened 2 years ago

Last modified 2 years ago

#53057 assigned defect

czmq will not build: upgrade to v4 or patch header file in 3.0.2

Reported by: brianboonstra Owned by: stromnov (Andrew Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: czmq

Description (last modified by mf2k (Frank Schima))

Since zmq in MacPorts is now version 4.2, the czmq package (at czmq v3.0.2) no longer builds. This is due to czmq_prelude.h attempting to #import the deprecated zmq_utils. As a result of this import we end up with a clang compiler error arising from line zmq_utils:40

               #pragma GCC diagnostic ignored "-Wcpp"

Version 4 of czmq corrected the import in

https://github.com/zeromq/czmq/commit/9c782c08c29770c400fdad756f9d2c54a367358a

Version 3.0.2 never got the correction backported.

MacPorts should either backport the czmq patch or switch to version 4.

Change History (2)

comment:1 Changed 2 years ago by mf2k (Frank Schima)

Keywords: zmq header pragma removed
Owner: set to stromnov
Status: newassigned

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers czmq), if any.

comment:2 Changed 2 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.