clang vs gcc: installing python-qpid-proton
Hamza Sheikh
fehrist at codeghar.com
Fri Jul 28 18:54:27 UTC 2017
I need to install python-qpid-proton in a Python virtualenv with pip.
The behavior is different when using gcc to install it versus using
clang.
With clang the proton library does not build as it can't find
openssl/ssl.h. It builds if DYLD_LIBRARY_PATH=/opt/local/lib is
exported. After a successful build using clang, proton can't find SSL
libraries.
With gcc the proton library builds successfully and finds the right
(MacPorts provided) SSL libraries.
I'm using python3.6, gcc6, and clang4.0 from MacPorts. More details of
steps where it works and where it doesn't work are provided below.
After some digging I came across this observation: gcc's include
search paths have /opt/local/include but clang's do not.
~/tmp $ `/opt/local/bin/gcc -print-prog-name=cc1plus` -v
ignoring nonexistent directory
"/opt/local/lib/gcc6/gcc/x86_64-apple-darwin16/6.3.0/../../../../../x86_64-apple-darwin16/include"
#include "..." search starts here:
#include <...> search starts here:
/opt/local/include/gcc6/c++/
/opt/local/include/gcc6/c++//x86_64-apple-darwin16
/opt/local/include/gcc6/c++//backward
/opt/local/lib/gcc6/gcc/x86_64-apple-darwin16/6.3.0/include
/opt/local/include
/opt/local/lib/gcc6/gcc/x86_64-apple-darwin16/6.3.0/include-fixed
/usr/include
/System/Library/Frameworks
/Library/Frameworks
End of search list.
^C
~/tmp $ echo | /opt/local/bin/clang++ -Wp,-v -stdlib=libc++ -x c++ -
-fsyntax-only
clang -cc1 version 4.0.1 based upon LLVM 4.0.1 default target
x86_64-apple-darwin16.6.0
ignoring nonexistent directory "/usr/include/c++/v1"
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
/opt/local/libexec/llvm-4.0/bin/../include/c++/v1
/opt/local/libexec/llvm-4.0/bin/../lib/clang/4.0.1/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
Questions:
* Is this the main issue that clang does not work?
* How can I get python-qpid-proton to build and install with clang?
Thanks,
Hamza Sheikh
Twitter: @aikchar
=== Does Not Build ===
Last login: Fri Jul 28 10:51:58 on ttys003
~/tmp $ which python3.6
/opt/local/bin/python3.6
~/tmp $ which clang
/opt/local/bin/clang
~/tmp $ python3.6 -m virtualenv clang-no-build-virtualenv
Using base prefix '/opt/local/Library/Frameworks/Python.framework/Versions/3.6'
New python executable in ${HOME}/tmp/clang-no-build-virtualenv/bin/python3.6
Also creating executable in ${HOME}/tmp/clang-no-build-virtualenv/bin/python
Installing setuptools, pip, wheel...done.
~/tmp $ source clang-no-build-virtualenv/bin/activate
(clang-no-build-virtualenv) ~/tmp $ env CC=clang pip install
--no-cache python-qpid-proton
Collecting python-qpid-proton
Downloading python-qpid-proton-0.17.0.tar.gz (389kB)
100% |████████████████████████████████| 399kB 2.1MB/s
Installing collected packages: python-qpid-proton
Running setup.py install for python-qpid-proton ... error
Complete output from command
${HOME}/tmp/clang-no-build-virtualenv/bin/python3.6 -u -c "import
setuptools, tokenize;__file__='/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install
--record /var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-8zzchop4-record/install-record.txt
--single-version-externally-managed --compile --install-headers
${HOME}/tmp/clang-no-build-virtualenv/bin/../include/site/python3.6/python-qpid-proton:
running install
running build
running build_ext
running configure
Did not find libqpid-proton via pkg-config:
Building the bundled proton-c sources into the extension
Using openssl version 1.0.2l
(found via pkg-config)
creating build
creating build/temp.macosx-10.12-x86_64-3.6
creating build/temp.macosx-10.12-x86_64-3.6/var
creating build/temp.macosx-10.12-x86_64-3.6/var/folders
creating build/temp.macosx-10.12-x86_64-3.6/var/folders/qf
creating build/temp.macosx-10.12-x86_64-3.6/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp
creating build/temp.macosx-10.12-x86_64-3.6/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T
cc -c /var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/clock_gettimec8sguqyd.c
-o build/temp.macosx-10.12-x86_64-3.6/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/clock_gettimec8sguqyd.o
/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/clock_gettimec8sguqyd.c:1:1:
warning: return type defaults to 'int' [-Wimplicit-int]
main (int argc, char **argv) {
^~~~
/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/clock_gettimec8sguqyd.c:
In function 'main':
/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/clock_gettimec8sguqyd.c:2:5:
warning: implicit declaration of function 'clock_gettime'
[-Wimplicit-function-declaration]
clock_gettime();
^~~~~~~~~~~~~
cc build/temp.macosx-10.12-x86_64-3.6/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/clock_gettimec8sguqyd.o
-o build/temp.macosx-10.12-x86_64-3.6/a.out
cc -c /var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/sasl_client_donemz3nkqom.c
-o build/temp.macosx-10.12-x86_64-3.6/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/sasl_client_donemz3nkqom.o
/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/sasl_client_donemz3nkqom.c:2:1:
warning: return type defaults to 'int' [-Wimplicit-int]
main (int argc, char **argv) {
^~~~
/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/sasl_client_donemz3nkqom.c:
In function 'main':
/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/sasl_client_donemz3nkqom.c:3:5:
warning: 'sasl_client_done' is deprecated [-Wdeprecated-declarations]
sasl_client_done();
^~~~~~~~~~~~~~~~
In file included from
/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/sasl_client_donemz3nkqom.c:1:0:
/usr/include/sasl/sasl.h:741:17: note: declared here
LIBSASL_API int sasl_client_done(void)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_11,__IPHONE_NA,__IPHONE_NA);
^~~~~~~~~~~~~~~~
creating build/temp.macosx-10.12-x86_64-3.6/private
creating build/temp.macosx-10.12-x86_64-3.6/private/var
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/extra
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/messenger
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/handlers
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/platform
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/io
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/io/posix
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/ssl
creating build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/sasl
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/autodetect.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/autodetect.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/buffer.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/buffer.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/codec.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/codec.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/connection_driver.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/connection_driver.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/decoder.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/decoder.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/dispatcher.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/dispatcher.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/encoder.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/encoder.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/engine.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/engine.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/error.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/error.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/event.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/event.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/framing.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/framing.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/log.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/log.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/message.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/message.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/transport.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/transport.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/types.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/types.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/util.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/util.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/iterator.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/iterator.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/list.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/list.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/map.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/map.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/object.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/object.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/record.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/record.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/string.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/core/object/string.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/extra/parser.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/extra/parser.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/extra/scanner.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/extra/scanner.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/extra/url.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/extra/url.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/acceptor.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/acceptor.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/connection.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/connection.o
-std=gnu99
/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/connection.c:238:12:
warning: code will never be executed [-Wunreachable-code]
if (1 || newcap != capacity) {
^~~~~~
/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/connection.c:238:7:
note: silence by adding parentheses to mark code as explicitly dead
if (1 || newcap != capacity) {
^
/* DISABLES CODE */ ( )
1 warning generated.
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/handler.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/handler.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/reactor.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/reactor.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/selectable.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/selectable.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/timer.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/timer.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/messenger/messenger.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/messenger/messenger.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/messenger/store.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/messenger/store.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/messenger/subscription.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/messenger/subscription.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/messenger/transform.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/messenger/transform.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/handlers/flowcontroller.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/handlers/flowcontroller.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/handlers/handshaker.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/handlers/handshaker.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/handlers/iohandler.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/handlers/iohandler.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/platform/platform.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/platform/platform.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/io/posix/io.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/io/posix/io.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/io/posix/selector.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/reactor/io/posix/selector.o
-std=gnu99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-pipe -Os -arch x86_64 -Dqpid_proton_EXPORTS -DUSE_ATOLL
-DUSE_STRERROR_R -DUSE_CLOCK_GETTIME -Ibuild/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/include
-I/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src
-c /private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/ssl/openssl.c
-o build/temp.macosx-10.12-x86_64-3.6/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/ssl/openssl.o
-std=gnu99
/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/proton-c/src/ssl/openssl.c:45:10:
fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
^~~~~~~~~~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1
----------------------------------------
Command "${HOME}/tmp/clang-no-build-virtualenv/bin/python3.6 -u -c
"import setuptools,
tokenize;__file__='/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install
--record /var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-8zzchop4-record/install-record.txt
--single-version-externally-managed --compile --install-headers
${HOME}/tmp/clang-no-build-virtualenv/bin/../include/site/python3.6/python-qpid-proton"
failed with error code 1 in
/private/var/folders/qf/tzk5k9d92gndyjvgstv_cfz40000gp/T/pip-build-hf6qoms6/python-qpid-proton/
(clang-no-build-virtualenv) ~/tmp $
=== Builds But Can't Find SSL ===
Last login: Fri Jul 28 11:33:19 on ttys005
~/tmp $ which python3.6
/opt/local/bin/python3.6
~/tmp $ which clang
/opt/local/bin/clang
~/tmp $ python3.6 -m virtualenv clang-build-virtualenv
Using base prefix '/opt/local/Library/Frameworks/Python.framework/Versions/3.6'
New python executable in ${HOME}/tmp/clang-build-virtualenv/bin/python3.6
Also creating executable in ${HOME}/tmp/clang-build-virtualenv/bin/python
Installing setuptools, pip, wheel...done.
~/tmp $ source clang-build-virtualenv/bin/activate
(clang-build-virtualenv) ~/tmp $ env CC=clang
DYLD_LIBRARY_PATH='/opt/local/lib' pip install --no-cache
python-qpid-proton
Collecting python-qpid-proton
Downloading python-qpid-proton-0.17.0.tar.gz (389kB)
100% |████████████████████████████████| 399kB 3.5MB/s
Installing collected packages: python-qpid-proton
Running setup.py install for python-qpid-proton ... done
Successfully installed python-qpid-proton-0.17.0
(clang-build-virtualenv) ~/tmp $ which python3.6
${HOME}/tmp/clang-build-virtualenv/bin/python3.6
(clang-build-virtualenv) ~/tmp $ python3.6
Python 3.6.2 (default, Jul 20 2017, 14:03:58)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import proton
>>> from proton.utils import BlockingConnection, SyncRequestResponse
>>> SyncRequestResponse(BlockingConnection('amqps://USERNAME_REDACTED:PASSWORD_REDACTED@IP_REDACTED:5672/qmf.default.direct', timeout=5, target='qmf.default.direct', sasl_enabled=True, allowed_mechs='PLAIN'), 'qmf.default.direct')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/utils.py",
line 213, in __init__
msg="Opening connection")
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/utils.py",
line 267, in wait
self.container.process()
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/reactor.py",
line 159, in process
self._check_errors()
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/reactor.py",
line 155, in _check_errors
_compat.raise_(exc, value, tb)
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/_compat.py",
line 45, in raise_
raise v.with_traceback(tb)
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/__init__.py",
line 4050, in dispatch
ev.dispatch(self.handler)
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/__init__.py",
line 3959, in dispatch
result = dispatch(handler, type.method, self)
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/__init__.py",
line 3839, in dispatch
return handler.on_unhandled(method, *args)
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/reactor.py",
line 508, in on_unhandled
if not self._override(event):
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/reactor.py",
line 513, in _override
return conn and hasattr(conn, '_overrides') and
event.dispatch(conn._overrides)
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/__init__.py",
line 3959, in dispatch
result = dispatch(handler, type.method, self)
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/__init__.py",
line 3837, in dispatch
return m(*args)
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/reactor.py",
line 567, in on_connection_local_open
self._connect(event.connection, event.reactor)
File "${HOME}/tmp/clang-build-virtualenv/lib/python3.6/site-packages/proton/reactor.py",
line 562, in _connect
raise SSLUnavailable("amqps: SSL libraries not found")
proton.SSLUnavailable: amqps: SSL libraries not found
>>> exit()
(clang-build-virtualenv) ~/tmp $ otool -L
clang-build-virtualenv/lib/python3.6/site-packages/_cproton.cpython-36m-darwin.so
clang-build-virtualenv/lib/python3.6/site-packages/_cproton.cpython-36m-darwin.so:
/opt/local/lib/libsasl2.dylib (compatibility version 3.0.0, current
version 3.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1238.60.2)
=== Works as Expected ===
~/tmp $ which python3.6
/opt/local/bin/python3.6
~/tmp $ which gcc
/opt/local/bin/gcc
~/tmp $ ls -l /opt/local/bin/gcc
lrwxr-xr-x 1 root admin 23 Dec 23 2016 /opt/local/bin/gcc@ ->
/opt/local/bin/gcc-mp-6
~/tmp $ python3.6 -m virtualenv gcc-works-virtualenv
Using base prefix '/opt/local/Library/Frameworks/Python.framework/Versions/3.6'
New python executable in ${HOME}/tmp/gcc-works-virtualenv/bin/python3.6
Also creating executable in ${HOME}/tmp/gcc-works-virtualenv/bin/python
Installing setuptools, pip, wheel...done.
~/tmp $ source gcc-works-virtualenv/bin/activate
(gcc-works-virtualenv) ~/tmp $ env CC=gcc pip install --no-cache
python-qpid-proton
Collecting python-qpid-proton
Downloading python-qpid-proton-0.17.0.tar.gz (389kB)
100% |████████████████████████████████| 399kB 3.4MB/s
Installing collected packages: python-qpid-proton
Running setup.py install for python-qpid-proton ... done
Successfully installed python-qpid-proton-0.17.0
(gcc-works-virtualenv) ~/tmp $ which python3.6
${HOME}/tmp/gcc-works-virtualenv/bin/python3.6
(gcc-works-virtualenv) ~/tmp $ python3.6
Python 3.6.2 (default, Jul 20 2017, 14:03:58)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import proton
>>> from proton.utils import BlockingConnection, SyncRequestResponse
>>> SyncRequestResponse(BlockingConnection('amqps://USERNAME_REDACTED:PASSWORD_REDACTED@IP_REDACTED:5672/qmf.default.direct', timeout=5, target='qmf.default.direct', sasl_enabled=True, allowed_mechs='PLAIN'), 'qmf.default.direct')
<proton.utils.SyncRequestResponse object at 0x10fb4b860>
>>> exit()
Assertion failed: (r == 0), function k5_mutex_lock, file
../../include/k5-thread.h, line 366.
Abort trap: 6
(gcc-works-virtualenv) ~/tmp $ otool -L
gcc-works-virtualenv/lib/python3.6/site-packages/_cproton.cpython-36m-darwin.so
gcc-works-virtualenv/lib/python3.6/site-packages/_cproton.cpython-36m-darwin.so:
/opt/local/lib/libssl.1.0.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
/opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
/opt/local/lib/libsasl2.dylib (compatibility version 3.0.0, current
version 3.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1238.60.2)
/opt/local/lib/libgcc/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)
More information about the macports-users
mailing list