Hi, I am currently trying to update the Python module zope.interface and get the following compile error:
> Installed > /home/dam/mgar/pkg/lang-python/zope-interface/trunk/work/solaris10-sparc/build-isa-sparcv8plus-python_version-2_7/zope.interface-4.0.5/zope.event-4.0.2-py2.6.egg > running egg_info > writing requirements to src/zope.interface.egg-info/requires.txt > writing src/zope.interface.egg-info/PKG-INFO > writing namespace_packages to > src/zope.interface.egg-info/namespace_packages.txt > writing top-level names to src/zope.interface.egg-info/top_level.txt > writing dependency_links to src/zope.interface.egg-info/dependency_links.txt > reading manifest file 'src/zope.interface.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*.dll' found anywhere in > distribution > warning: no previously-included files matching '*.pyc' found anywhere in > distribution > warning: no previously-included files matching '*.pyo' found anywhere in > distribution > warning: no previously-included files matching '*.so' found anywhere in > distribution > writing manifest file 'src/zope.interface.egg-info/SOURCES.txt' > running build_ext > building 'zope.interface._zope_interface_coptimizations' extension > creating build/temp.solaris-2.10-sun4v-2.6 > creating build/temp.solaris-2.10-sun4v-2.6/src > creating build/temp.solaris-2.10-sun4v-2.6/src/zope > creating build/temp.solaris-2.10-sun4v-2.6/src/zope/interface > /opt/csw/bin/gcc-4.8 -DNDEBUG -O -O2 -pipe -mcpu=v9 -I/opt/csw/include > -xcode=pic32 -I/opt/csw/include/python2.6 -c > src/zope/interface/_zope_interface_coptimizations.c -o > build/temp.solaris-2.10-sun4v-2.6/src/zope/interface/_zope_interface_coptimizations.o > gcc-4.8: error: language code=pic32 not recognized > gcc-4.8: error: language code=pic32 not recognized > ******************************************************************************** > WARNING: > > An optional code optimization (C extension) could not be compiled. > > Optimizations for this package will not be available! > () > command '/opt/csw/bin/gcc-4.8' failed with exit status 1 > ******************************************************************************** > error: can't copy > 'build/lib.solaris-2.10-sun4v-2.6/zope/interface/_zope_interface_coptimizations.so': > doesn't exist or not a regular file > /home/dam/mgar/pkg/.buildsys/v2/gar//gar.lib.mk:996: recipe for target > 'test-work/solaris10-sparc/build-isa-sparcv8plus-python_version-2_7/zope.interface-4.0.5/setup.py' > failed The issue is a bit convoluted as this should be the Python 2.7 build (modulation is isa-sparcv8plus-python_version-2_7, but the include is for Python 2.6. Also the code=pic32 is for Python 2.6 with Sun Studio and not Python 2.7 which uses gcc. This all occurs during "setup.py check", so most probably the python environment is not passed during this phase. Maybe some Python expect (Maciej?) could have a look if this could be solved generally? For now I have disabled the test as it works for 2.6 when I manually try it. Everything is committed, you can try be commenting out SKIPTEST ?= 1 in pkg/lang-python/zope-interface/trunk/Makefile. Apart from that I just pushed zope-interface 4.0.5 and it seems to work. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
smime.p7s
Description: S/MIME cryptographic signature
