Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40663 closed defect (fixed)

zmq @3.2.4_0: build fails on Mac OS X 10.6.8

Reported by: mndavidoff (Monte Davidoff) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: haspatch Cc: merijn (Merijn Verstraaten), raimue (Rainer Müller), istlota@…, gnw3
Port: zmq

Description

The patch in zmq for old versions of Darwin no longer works and appears to be no longer necessary for zmq 3.2.4 (updated in r111839).

$ sudo port -vs install zmq
--->  Computing dependencies for zmq.
--->  Fetching distfiles for zmq
--->  Verifying checksums for zmq
--->  Checksumming zeromq-3.2.4.tar.gz
--->  Extracting zmq
--->  Extracting zeromq-3.2.4.tar.gz
--->  Applying patches to zmq
--->  Applying patch-tests-test_disconnect_inproc.cpp.diff
patching file tests/test_disconnect_inproc.cpp
Hunk #1 FAILED at 40.
Hunk #2 FAILED at 63.
2 out of 2 hunks FAILED -- saving rejects to file tests/test_disconnect_inproc.cpp.rej
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_zmq/zmq/work/zeromq-3.2.4" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/zmq/files/patch-tests-test_disconnect_inproc.cpp.diff'
Exit code: 1
Error: org.macports.patch for port zmq returned: command execution failed
Warning: targets not executed for zmq: org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port zmq for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_zmq/zmq/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port zmq failed

The attached patch works for me to fix the problem. (Also please remove the now unused patch file.)

Attachments (2)

main.log.gz (1.6 KB) - added by mndavidoff (Monte Davidoff) 11 years ago.
Portfile.diff (495 bytes) - added by mndavidoff (Monte Davidoff) 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.gz added

Changed 11 years ago by mndavidoff (Monte Davidoff)

Attachment: Portfile.diff added

comment:2 Changed 11 years ago by istlota@…

Cc: istlota@… added

Cc Me!

comment:3 Changed 11 years ago by gnw3

Cc: gnwiii@… added

Cc Me!

comment:4 Changed 11 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Committed in r111866.

comment:5 Changed 11 years ago by raimue (Rainer Müller)

For the record, maintainer approved this update on IRC.

Note: See TracTickets for help on using tickets.