[MacPorts] #54753: py27-cryptography fails to build on Snow Leopard

MacPorts noreply at macports.org
Tue Sep 5 11:01:38 UTC 2017


#54753: py27-cryptography fails to build on Snow Leopard
---------------------+-------------------------------
 Reporter:  jsalort  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.4.1
 Keywords:           |       Port:  py27-cryptography
---------------------+-------------------------------
 MacPorts Version: 2.4.1 on Snow Leopard.
 Trying to build py27-cryptography 2.0.3_0.
 (Version 1.9_0 compiled fine)

 It appears to fail because of an option passed to the compiler which is
 not supported by the default compiler:

 {{{
 /usr/bin/gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch
 x86_64
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -c build/temp.macosx-10.6-x86_64-2.7/_openssl.c -o
 build/temp.macosx-10.6-x86_64-2.7/build/temp.macosx-10.6-x86_64-2.7/_openssl.o
 -Wconversion -Wno-error=sign-conversion
 :info:build cc1: error: -Werror=sign-conversion: No option -Wsign-
 conversion
 :info:build error: command '/usr/bin/gcc-4.2' failed with exit status 1
 }}}

 I suppose there may be a way to workaround this problem but I don't know
 how to prevent Macports from passing this option, or have
 py27-cryptography builds with another compiler.

--
Ticket URL: <https://trac.macports.org/ticket/54753>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list