Opened 7 years ago

Closed 7 years ago

#54753 closed defect (duplicate)

py27-cryptography fails to build on Snow Leopard

Reported by: jsalort (Julien Salort) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: snowleopard Cc:
Port: py-cryptography

Description

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.

Attachments (1)

main.log (20.2 KB) - added by jsalort (Julien Salort) 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by jsalort (Julien Salort)

Attachment: main.log added

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: stromnov removed
Owner: set to stromnov
Port: py-cryptography added; py27-cryptography removed
Status: newassigned

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Keywords: snowleopard added

comment:3 Changed 7 years ago by kencu (Ken)

looks like a duplicate of 54519, and Peter has a patch in that ticket that might fix this.

Last edited 7 years ago by kencu (Ken) (previous) (diff)

comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.