Opened 9 years ago

Last modified 8 years ago

#49626 closed defect

ninja: fails to build due to pickle error in Python2 — at Version 1

Reported by: EdHarry Owned by: 521E328E-2A13-4749-826A-E4EF4F22A0F1@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: ninja

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Port ninja fails at the build phase, in file configure.py at line 435:

proc = subprocess.Popen(['re2c', '-V'], stdout=subprocess.PIPE)

with

raise ValueError, "insecure string pickle"

using system python (2.7.10) on OSX 10.11

the offending line also produces the same error using macports python 2.7, however it behaves as expected using macports python 3.5. I can get the port to build using a custom portfile which uses macports python 3.5

Change History (2)

Changed 9 years ago by EdHarry

Attachment: main.log added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: 521E328E-2A13-4749-826A-E4EF4F22A0F1@… openmaintainer@… removed
Description: modified (diff)
Keywords: Ninja python2 pickle removed
Owner: changed from macports-tickets@… to 521E328E-2A13-4749-826A-E4EF4F22A0F1@…
Summary: Port ninja fails to build due to pickle error in Python2ninja: fails to build due to pickle error in Python2
Note: See TracTickets for help on using tickets.