Opened 9 years ago

Closed 9 years ago

#50493 closed defect (fixed)

py27-protobuf: build fails on El Capitan build bot

Reported by: dbevans (David B. Evans) Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: py27-protobuf

Description

Build fails as follows on El Capitan build bot. py26-protobuf builds without error

--->  Building py27-protobuf
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Executing org.macports.build (py27-protobuf)
DEBUG: Environment:
CC='/usr/bin/clang'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_python_py-protobuf/py27-protobuf/work/.CC_PRINT_OPTIONS'
CFLAGS='-arch x86_64'
CPATH='/opt/local/include'
CXX='/usr/bin/clang++'
CXXFLAGS='-arch x86_64'
F90FLAGS='-m64'
FCFLAGS='-m64'
FFLAGS='-m64'
LDFLAGS='-arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.11'
OBJC='/usr/bin/clang'
OBJCFLAGS='-arch x86_64'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_python_py-protobuf/py27-protobuf/work/protobuf-2.6.1/python" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_mports_dports_python_py-protobuf/py27-protobuf/work/protobuf-2.6.1/python" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
Download error on https://pypi.python.org/simple/google-apputils/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'google-apputils' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for google-apputils
Traceback (most recent call last):
  File "setup.py", line 200, in <module>
    "Protocol Buffers are Google's data interchange format.",
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 268, in __init__
    self.fetch_build_eggs(attrs['setup_requires'])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 312, in fetch_build_eggs
    replace_conflicting=True,
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 846, in resolve
    dist = best[req.key] = env.best_match(req, ws, installer)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1091, in best_match
    return self.obtain(req, installer)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1103, in obtain
    return installer(requirement)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 379, in fetch_build_egg
    return cmd.easy_install(req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 633, in easy_install
    raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('google-apputils')
Command failed:  cd "/opt/local/var/macports/build/_opt_mports_dports_python_py-protobuf/py27-protobuf/work/protobuf-2.6.1/python" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
Exit code: 1
Error: org.macports.build for port py27-protobuf returned: command execution failed

The error appears to occur trying to download a missing dependency on 'google-apputils'. This actually builds correctly on my machine but only because the port was able to download the missing dependency. Perhaps there is a download restriction on this buildbot that is causing the download failure.

At any rate, it looks like it might be better to just supply the missing dependency. Or maybe I'm reading this wrong.

This error blocks the build of MyPaint and MyPaint-devel, which in turn blocks gimp2-devel, gimp3-devel.

Full buildbot log file is here.

Change History (2)

comment:1 Changed 9 years ago by dbevans (David B. Evans)

This may be the same issue as #50282 but there's not enough information there to tell.

comment:2 Changed 9 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Build dependencies updated to depend on py-google-apputils in r145529, maintainer timeout.

Note: See TracTickets for help on using tickets.