[
https://issues.apache.org/jira/browse/MESOS-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gavin updated MESOS-3564:
-------------------------
Comment: was deleted
(was: www.rtat.net)
> release candidate builds fail to unpack Python wheels
> -----------------------------------------------------
>
> Key: MESOS-3564
> URL: https://issues.apache.org/jira/browse/MESOS-3564
> Project: Mesos
> Issue Type: Bug
> Components: build
> Reporter: David Robinson
> Priority: Minor
>
> Twitter creates internal release candidate builds by modifying the version
> define in configure.ac:
> {noformat}
> sed -i~ "s/\[mesos\], \[.*\]/[mesos], [0.26.0-rc1]/" configure.ac
> {noformat}
> {noformat}
> --- configure.ac~ 2015-09-30 11:22:30.000000000 -0700
> +++ configure.ac 2015-09-30 14:24:01.018998406 -0700
> @@ -18,7 +18,7 @@
> # Process this file with autoconf to produce a configure script.
>
> AC_PREREQ([2.61])
> -AC_INIT([mesos], [0.26.0])
> +AC_INIT([mesos], [0.26.0-rc1])
>
> # Have autoconf setup some variables related to the system.
> AC_CANONICAL_HOST
> {noformat}
> The method described above has recently started causing problems for Python
> wheels. Changing the version as per above causes wheel unpacking to fail:
> {noformat}
> 18:15:20 DEBUG: cd python/dist && \
> 18:15:20 DEBUG: for whl in python/dist/mesos-0.26.0-rc1-py2-none-any.whl
> python/dist/mesos.cli-0.26.0-rc1-py2-none-any.whl
> python/dist/mesos.interface-0.26.0-rc1-py2-none-any.whl
> python/dist/mesos.native-0.26.0-rc1-cp27-none-linux_x86_64.whl; do
> \
> 18:15:20 DEBUG:
> PYTHONPATH=/var/tmp/mesos-0.26.0-rc1-root-mockbuild/usr/local/lib/python2.7/site-packages:/builddir/build/BUILD/mesos-0.26.0/3rdparty/distribute-0.6.26:/builddir/build/BUILD/mesos-0.26.0/3rdparty/pip-1.5.6:/builddir/build/BUILD/mesos-0.26.0/3rdparty/wheel-0.24.0
> \
> 18:15:20 DEBUG:
> PYTHONUSERBASE=/var/tmp/mesos-0.26.0-rc1-root-mockbuild/usr/local
> \
> 18:15:20 DEBUG: /usr/bin/python2.7 -c "import pip; pip.main()"
> install \
> 18:15:20 DEBUG: --user \
> 18:15:20 DEBUG:
> --find-links=file:///builddir/build/BUILD/mesos-0.26.0/src/python/dist \
> 18:15:20 DEBUG: /builddir/build/BUILD/mesos-0.26.0/src/$whl;
> \
> 18:15:20 DEBUG: done
> 18:15:21 DEBUG: Requirement
> '/builddir/build/BUILD/mesos-0.26.0/src/python/dist/mesos-0.26.0-rc1-py2-none-any.whl'
> looks like a filename, but the file does not exist
> 18:15:21 DEBUG: mesos-0.26.0-rc1-py2-none-any.whl is not a supported wheel on
> this platform.
> 18:15:21 DEBUG: Storing debug log for failure in /builddir/.pip/pip.log
> 18:15:21 DEBUG: Requirement
> '/builddir/build/BUILD/mesos-0.26.0/src/python/dist/mesos.cli-0.26.0-rc1-py2-none-any.whl'
> looks like a filename, but the file does not exist
> 18:15:21 DEBUG: mesos.cli-0.26.0-rc1-py2-none-any.whl is not a supported
> wheel on this platform.
> 18:15:21 DEBUG: Storing debug log for failure in /builddir/.pip/pip.log
> 18:15:22 DEBUG: Requirement
> '/builddir/build/BUILD/mesos-0.26.0/src/python/dist/mesos.interface-0.26.0-rc1-py2-none-any.whl'
> looks like a filename, but the file does not exist
> 18:15:22 DEBUG: mesos.interface-0.26.0-rc1-py2-none-any.whl is not a
> supported wheel on this platform.
> 18:15:22 DEBUG: Storing debug log for failure in /builddir/.pip/pip.log
> 18:15:22 DEBUG: Requirement
> '/builddir/build/BUILD/mesos-0.26.0/src/python/dist/mesos.native-0.26.0-rc1-cp27-none-linux_x86_64.whl'
> looks like a filename, but the file does not exist
> 18:15:22 DEBUG: mesos.native-0.26.0-rc1-cp27-none-linux_x86_64.whl is not a
> supported wheel on this platform.
> {noformat}
> Something is sanitizing the version, so 0.26.0-rc1 becomes 0.26.0_rc1:
> {noformat}[builder@ci_server ~]# ls -la
> /var/lib/mock/mesos-5-x86_64/root/builddir/build/BUILD/mesos-0.26.0/src/python/dist/
> total 181772
> -rw-r--r--. 1 builder builder 1706 Sep 30 18:15 mesos-0.26.0_rc1-py2.7.egg
> -rw-r--r--. 1 builder builder 2171 Sep 30 18:15
> mesos-0.26.0_rc1-py2-none-any.whl
> -rw-r--r--. 1 builder builder 9241 Sep 30 18:15
> mesos.cli-0.26.0_rc1-py2.7.egg
> -rw-r--r--. 1 builder builder 6440 Sep 30 18:15
> mesos.cli-0.26.0_rc1-py2-none-any.whl
> -rw-r--r--. 1 builder builder 50481 Sep 30 18:15
> mesos.interface-0.26.0_rc1-py2.7.egg
> -rw-r--r--. 1 builder builder 25667 Sep 30 18:15
> mesos.interface-0.26.0_rc1-py2-none-any.whl
> -rw-r--r--. 1 builder builder 93007783 Sep 30 18:16
> mesos.native-0.26.0_rc1-cp27-none-linux_x86_64.whl
> -rw-r--r--. 1 builder builder 93008349 Sep 30 18:15
> mesos.native-0.26.0_rc1-py2.7-linux-x86_64.egg
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)