[MacPorts] #36554: zmq +pgm fails to build on 10.8.2
#36554: zmq +pgm fails to build on 10.8.2 ----------------------------+-------------------------------- Reporter: kyle.tarplee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: zmq | Port: zmq ----------------------------+-------------------------------- XCode 4.5.1 it configures but does not build. The log is attached. The errors look like :info:build In file included from list.c:22: :info:build In file included from ./include/impl/framework.h:66: :info:build In file included from ./include/impl/notify.h:46: :info:build In file included from ./include/impl/sockaddr.h:38: :info:build ./include/pgm/in.h:33:8: error: redefinition of 'group_req' :info:build struct group_req :info:build ^ :info:build /usr/include/netinet/in.h:536:8: note: previous definition is here :info:build struct group_req { :info:build ^ :info:build In file included from list.c:22: -- Ticket URL: <https://trac.macports.org/ticket/36554> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36554: zmq +pgm fails to build on 10.8.2 -----------------------------+-------------------------------- Reporter: kyle.tarplee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: zmq Port: zmq | -----------------------------+-------------------------------- Comment (by kyle.tarplee@…): wget http://download.zeromq.org/zeromq-2.2.0.tar.gz tar -xvf zeromq-2.2.0.tar.gz cd zeromq-2.2.0/ cd foreign/openpgm/ wget http://openpgm.googlecode.com/files/libpgm-5.2.121~dfsg.tar.gz cd ../.. ./configure --with-pgm=libpgm-5.2.121~dfsg make -j8 sudo make install -- Ticket URL: <https://trac.macports.org/ticket/36554#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36554: zmq +pgm fails to build on 10.8.2 -----------------------------+-------------------------------- Reporter: kyle.tarplee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zmq | -----------------------------+-------------------------------- Changes (by macsforever2000@…): * keywords: zmq => Old description:
XCode 4.5.1 it configures but does not build. The log is attached.
The errors look like
:info:build In file included from list.c:22: :info:build In file included from ./include/impl/framework.h:66: :info:build In file included from ./include/impl/notify.h:46: :info:build In file included from ./include/impl/sockaddr.h:38: :info:build ./include/pgm/in.h:33:8: error: redefinition of 'group_req' :info:build struct group_req :info:build ^ :info:build /usr/include/netinet/in.h:536:8: note: previous definition is here :info:build struct group_req { :info:build ^ :info:build In file included from list.c:22:
New description: XCode 4.5.1 it configures but does not build. The log is attached. The errors look like {{{ :info:build In file included from list.c:22: :info:build In file included from ./include/impl/framework.h:66: :info:build In file included from ./include/impl/notify.h:46: :info:build In file included from ./include/impl/sockaddr.h:38: :info:build ./include/pgm/in.h:33:8: error: redefinition of 'group_req' :info:build struct group_req :info:build ^ :info:build /usr/include/netinet/in.h:536:8: note: previous definition is here :info:build struct group_req { :info:build ^ :info:build In file included from list.c:22: }}} -- -- Ticket URL: <https://trac.macports.org/ticket/36554#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36554: zmq +pgm fails to build on 10.8.2 -----------------------------+-------------------------------- Reporter: kyle.tarplee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zmq | -----------------------------+-------------------------------- Comment (by kyle.tarplee@…): It also fails with zmq 3.2 with the same error. The error is in PGM so that makes sense. I have tested the above fix to upgrade pgm to 5.2.121 with zmq 3.2 and it works. -- Ticket URL: <https://trac.macports.org/ticket/36554#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36554: zmq +pgm fails to build on 10.8.2 -----------------------------+-------------------------------- Reporter: kyle.tarplee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zmq | -----------------------------+-------------------------------- Comment (by ryandesign@…): It looks like zmq has the ability to use an external installation of pgm. So maybe we should make a port for pgm, and then make the zmq port(s) use that. -- Ticket URL: <https://trac.macports.org/ticket/36554#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36554: zmq +pgm fails to build on 10.8.2 -----------------------------+---------------------- Reporter: kyle.tarplee@… | Owner: merijn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zmq | -----------------------------+---------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => merijn@… * cc: and.damore@… (added) -- Ticket URL: <https://trac.macports.org/ticket/36554#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36554: zmq +pgm fails to build on 10.8.2 -----------------------------+---------------------- Reporter: kyle.tarplee@… | Owner: merijn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zmq | -----------------------------+---------------------- Comment (by kyle.tarplee@…): That is the way Debian does it. They have a zmq package that depends on a PGM package. PGM is actually a nice library that people might want to use by itself. -- Ticket URL: <https://trac.macports.org/ticket/36554#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36554: zmq +pgm fails to build on 10.8.2 -----------------------------+---------------------- Reporter: kyle.tarplee@… | Owner: merijn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zmq | -----------------------------+---------------------- Comment (by kyle.tarplee@…): I have tried to use zmq with PGM and it is rather buggy on the mac. I have two ZMQ tickets related to this: LIBZMQ-454, LIBZMQ455. Looks like they will fix the PGM support soon. I think it is still a good idea to have a separate PGM port. -- Ticket URL: <https://trac.macports.org/ticket/36554#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36554: zmq +pgm fails to build on 10.8.2 -----------------------------+---------------------- Reporter: kyle.tarplee@… | Owner: merijn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zmq | -----------------------------+---------------------- Comment (by merijn@…): Replying to [comment:7 kyle.tarplee@…]:
I have tried to use zmq with PGM and it is rather buggy on the mac. I have two ZMQ tickets related to this: LIBZMQ-454, LIBZMQ455. Looks like they will fix the PGM support soon. I think it is still a good idea to have a separate PGM port.
I had noticed PGM support using the PGM shipped with ZMQ was buggy, but due to the fact I saw multiple tickets for it on the ZMQ tracker I was planning to wait until they update PGM. I don't personally use PGM, so I'm a poor candidate for maintaining a port for it, but if you (or someone else) is willing to get a PGM port working I wouldn't mind making sure ZMQ compiles with it. -- Ticket URL: <https://trac.macports.org/ticket/36554#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36554: zmq +pgm fails to build on 10.8.2 -----------------------------+---------------------- Reporter: kyle.tarplee@… | Owner: merijn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zmq | -----------------------------+---------------------- Changes (by ryandesign@…): * cc: mtb19@… (added) Comment: Has duplicate #43548. I see zmq 4.0.4 is out; we should check if that helps. -- Ticket URL: <https://trac.macports.org/ticket/36554#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#36554: zmq +pgm fails to build on 10.8.2 -----------------------------+---------------------- Reporter: kyle.tarplee@… | Owner: merijn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zmq | -----------------------------+---------------------- Comment (by egall@…): on 10.6 there is a different issue with zmq's `+pgm` variant: the build process keeps hanging on a libtool lock, saying: "`glibtool: link: Waiting for libpgm_noinst.a.lock to be removed`" forever... -- Ticket URL: <https://trac.macports.org/ticket/36554#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts