error building/configuring ninja

Riccardo Mottola riccardo.mottola at
Thu Aug 30 06:32:51 UTC 2018


I was upgrading ports on my Leopard system 10.5, I missed a couple of 
weeks.. a lot of "big stuff" built well though :)

ninja fails - it is not directly selected for upgrade, it must be a 

bootstrapping ninja...
"./src/" kBrowsePy < ./src/ > build/browse_py.h
/usr/bin/g++-4.2 -MMD -MT build/browse.o -MF build/browse.o.d -g -Wall 
-Wextra -Wno-deprecated -Wno-missing-field-initializers 
-Wno-unused-parameter -fno-rtti -fno-exceptions -fvisibility=hidden 
-pipe '-DNINJA_PYTHON="/opt/local/bin/python2.7"' -O2 -DNDEBUG 
-DNINJA_HAVE_BROWSE -I. -pipe -Os -arch i386 -pipe -Os -arch i386 -c 
./src/ -o build/browse.o
Traceback (most recent call last):
   File "", line 470, in <module>
     if has_re2c():
   File "", line 467, in has_re2c
     return int(proc.communicate()[0], 10) >= 1103
ValueError: invalid literal for int() with base 10: ''
Command failed:  cd 
&& /opt/local/bin/python2.7 
--with-python=/opt/local/bin/python2.7 --bootstrap --verbose
Exit code: 1
Error: Failed to configure ninja: configure failure: command execution 

Do you have an idea?


More information about the macports-users mailing list