[MacPorts] #49626: ninja: fails to build due to pickle error in Python2 (was: Port ninja fails to build due to pickle error in Python2)
MacPorts
noreply at macports.org
Sun Nov 8 12:28:47 PST 2015
#49626: ninja: fails to build due to pickle error in Python2
-------------------------+-------------------------------------------------
Reporter: | Owner: 521E328E-2A13-4749-826A-
e.f.harry@… | E4EF4F22A0F1@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: ninja |
-------------------------+-------------------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => 521E328E-2A13-4749-826A-E4EF4F22A0F1@…
* cc: 521E328E-2A13-4749-826A-E4EF4F22A0F1@…, openmaintainer@… (removed)
* keywords: Ninja python2 pickle =>
Old description:
> 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
New description:
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
--
--
Ticket URL: <https://trac.macports.org/ticket/49626#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list