[jira] [Commented] (DISPATCH-1282) Support for building on macOS

2019-03-10 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16789042#comment-16789042
 ] 

ASF GitHub Bot commented on DISPATCH-1282:
--

jdanekrh commented on pull request #459: [WIP] DISPATCH-1282 - Support for 
building on macOS
URL: https://github.com/apache/qpid-dispatch/pull/459
 
 
   * macOS does not use -rt linker option
   * pthread_t on macOS is a typedef’d struct, not long
   * dlopen on macOS substitutes rpath for @rpath placeholder, it does not 
prepend it as on Linux
   
   CMake is now configured to append rpath to all libraries linked into 
targets. This has also effect on Linux.
   
   With this path, I compiled dispatch and started it on macOS without errors
   
   $ cmake .. 
-DProton_DIR=/Users/jdanek/projects/qpid-proton/build/install/lib/cmake/Proton 
-DCMAKE_INSTALL_PREFIX=install
   $ make install
   $ PYTHONPATH=install/lib/python2.7/site-packages/ install/sbin/qdrouterd
   
   The tests are not yet passing. Some of it is because I apparently did not 
have OpenSSL installed, some because `saslpasswd2` is not present, and some I 
have no clue about (like the segfault).
   
   The following tests FAILED:
  9 - unit_tests (SEGFAULT)
 26 - system_tests_qdmanage (Failed)
 28 - system_tests_sasl_plain (Failed)
 29 - system_tests_user_id (Failed)
 30 - system_tests_user_id_proxy (Failed)
 38 - system_tests_auth_service_plugin (Failed)
 39 - system_tests_authz_service_plugin (Failed)
 48 - system_tests_bad_configuration (Failed)
 49 - system_tests_ssl (Failed)
 52 - system_tests_console (Failed)
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Support for building on macOS
> -
>
> Key: DISPATCH-1282
> URL: https://issues.apache.org/jira/browse/DISPATCH-1282
> Project: Qpid Dispatch
>  Issue Type: New Feature
>Affects Versions: 1.5.0
>Reporter: Jiri Daněk
>Priority: Major
>  Labels: macOS
>
> Currently, Dispatch compilation fails on "rt" library being unavailable.
> All Dispatch dependencies (Qpid Proton, libwebsockets, ...) can be built on 
> macOS.
> I am attaching a patch which allows to compile dispatch on OSX and run it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[GitHub] [qpid-dispatch] jdanekrh opened a new pull request #459: [WIP] DISPATCH-1282 - Support for building on macOS

2019-03-10 Thread GitBox
jdanekrh opened a new pull request #459: [WIP] DISPATCH-1282 - Support for 
building on macOS
URL: https://github.com/apache/qpid-dispatch/pull/459
 
 
   * macOS does not use -rt linker option
   * pthread_t on macOS is a typedef’d struct, not long
   * dlopen on macOS substitutes rpath for @rpath placeholder, it does not 
prepend it as on Linux
   
   CMake is now configured to append rpath to all libraries linked into 
targets. This has also effect on Linux.
   
   With this path, I compiled dispatch and started it on macOS without errors
   
   $ cmake .. 
-DProton_DIR=/Users/jdanek/projects/qpid-proton/build/install/lib/cmake/Proton 
-DCMAKE_INSTALL_PREFIX=install
   $ make install
   $ PYTHONPATH=install/lib/python2.7/site-packages/ install/sbin/qdrouterd
   
   The tests are not yet passing. Some of it is because I apparently did not 
have OpenSSL installed, some because `saslpasswd2` is not present, and some I 
have no clue about (like the segfault).
   
   The following tests FAILED:
  9 - unit_tests (SEGFAULT)
 26 - system_tests_qdmanage (Failed)
 28 - system_tests_sasl_plain (Failed)
 29 - system_tests_user_id (Failed)
 30 - system_tests_user_id_proxy (Failed)
 38 - system_tests_auth_service_plugin (Failed)
 39 - system_tests_authz_service_plugin (Failed)
 48 - system_tests_bad_configuration (Failed)
 49 - system_tests_ssl (Failed)
 52 - system_tests_console (Failed)


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (DISPATCH-1282) Support for building on macOS

2019-03-10 Thread JIRA
Jiri Daněk created DISPATCH-1282:


 Summary: Support for building on macOS
 Key: DISPATCH-1282
 URL: https://issues.apache.org/jira/browse/DISPATCH-1282
 Project: Qpid Dispatch
  Issue Type: New Feature
Affects Versions: 1.5.0
Reporter: Jiri Daněk


Currently, Dispatch compilation fails on "rt" library being unavailable.

All Dispatch dependencies (Qpid Proton, libwebsockets, ...) can be built on 
macOS.

I am attaching a patch which allows to compile dispatch on OSX and run it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Resolved] (PROTON-2013) [OSX] Travis CI xcode7.3 10.11 image fails to run

2019-03-10 Thread Roddie Kieley (JIRA)


 [ 
https://issues.apache.org/jira/browse/PROTON-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roddie Kieley resolved PROTON-2013.
---
Resolution: Fixed

Original problem was transient although brew was still warning loudly regarding 
10.11. With xcode8.3 instead of xcode7.3 10.12 is used and the loud warning is 
gone.

> [OSX] Travis CI xcode7.3 10.11 image fails to run
> -
>
> Key: PROTON-2013
> URL: https://issues.apache.org/jira/browse/PROTON-2013
> Project: Qpid Proton
>  Issue Type: Bug
>Reporter: Roddie Kieley
>Assignee: Roddie Kieley
>Priority: Major
>
> At the moment the travis ci macOS 
> [job|https://travis-ci.org/apache/qpid-proton/jobs/498838017] for xcode7.3 
> fails to run. This travis macOS image is based on 10.11 and the configuration 
> utilizes brew to install required packages.
> The brew package install fails with
> {code:java}
> Error: You are using macOS 10.11.
> We (and Apple) do not provide support for this old version.
> You will encounter build failures with some formulae.
> Please create pull requests instead of asking for help on Homebrew's GitHub,
> Discourse, Twitter or IRC. You are responsible for resolving any issues you
> experience, as you are running this old version.
> Error: Your Xcode (7.3.1) is outdated.
> Please update to Xcode 8.2.1 (or delete it).
> Xcode can be updated from the App Store.
> Error: A newer Command Line Tools release is available.
> Update them from Software Update in the App Store.
> The command "brew install libuv swig" failed and exited with 1 during .
> Your build has been stopped.{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org