On a Debian (8 and 9) system I installed these packages:
sudo apt-get install python2.7 python2.7-dev build-essential libssl-dev libxml2-dev libz-dev libjpeg-dev libreadline-dev libxslt-dev python-dev python-setuptools python-imaging poppler-utils wv patch make
I try to install Plone 5.0.8:
wget https://launchpad.net/plone/5.0/5.0.8/+download/Plone-5.0.8-UnifiedInstaller-r1.tgz
tar -zxvf Plone*.tgz
cd Plone*Installer
./install.sh
which fails on the following line:
Building Zope/Plone; this takes a while...
Buildout returned an error code: 1; Aborting.
Buildout failed. Unable to continue
I've also tried Plone 5.0.7 both on local VPS and server.
This is the log output:
Detailed installation log
Starting at Wed Apr 11 13:44:45 CEST 2018
Processing ./packages/zc.buildout-2.9.5.tar.gz
Requirement already satisfied: setuptools>=8.0 in /home/solydxk/Plone/zinstance/lib/python2.7/site-packages (from zc.buildout==2.9.5)
Building wheels for collected packages: zc.buildout
Running setup.py bdist_wheel for zc.buildout: started
Running setup.py bdist_wheel for zc.buildout: finished with status 'done'
Stored in directory: /home/solydxk/.cache/pip/wheels/3d/55/8b/bffe9ef59e0219f44cca7c2bbeec37f9066304caf19e67bc30
Successfully built zc.buildout
Installing collected packages: zc.buildout
Successfully installed zc.buildout-2.9.5
Creating directory '/home/solydxk/Plone/zinstance/parts'.
Creating directory '/home/solydxk/Plone/zinstance/develop-eggs'.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/ZODB3/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/ZODB3/
Getting distribution for 'ZODB3==3.10.7'.
In file included from src/BTrees/BTreeModuleTemplate.c:394:0,
from src/BTrees/_IIBTree.c:34:
src/BTrees/BucketTemplate.c: In function ‘bucket_traverse’:
src/BTrees/BucketTemplate.c:1627:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
int i, len;
^~~
In file included from src/BTrees/BTreeModuleTemplate.c:394:0,
from src/BTrees/_IFBTree.c:34:
src/BTrees/BucketTemplate.c: In function ‘bucket_traverse’:
src/BTrees/BucketTemplate.c:1627:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
int i, len;
^~~
In file included from src/BTrees/BTreeModuleTemplate.c:394:0,
from src/BTrees/_fsBTree.c:83:
src/BTrees/BucketTemplate.c: In function ‘bucket_traverse’:
src/BTrees/BucketTemplate.c:1627:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
int i, len;
^~~
In file included from src/BTrees/BTreeModuleTemplate.c:394:0,
from src/BTrees/_LLBTree.c:36:
src/BTrees/BucketTemplate.c: In function ‘bucket_traverse’:
src/BTrees/BucketTemplate.c:1627:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
int i, len;
^~~
In file included from src/BTrees/BTreeModuleTemplate.c:394:0,
from src/BTrees/_LFBTree.c:36:
src/BTrees/BucketTemplate.c: In function ‘bucket_traverse’:
src/BTrees/BucketTemplate.c:1627:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
int i, len;
^~~
Got ZODB3 3.10.7.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.interface/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.interface/
Getting distribution for 'zope.interface==3.6.7'.
Got zope.interface 3.6.7.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Record/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Record/
Getting distribution for 'Record==2.13.0'.
Got Record 2.13.0.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Products.ZCTextIndex/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Products.ZCTextIndex/
Getting distribution for 'Products.ZCTextIndex==2.13.5'.
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
src/Products/ZCTextIndex/okascore.c: In function ‘initokascore’:
src/Products/ZCTextIndex/okascore.c:127:12: warning: variable ‘m’ set but not used [-Wunused-but-set-variable]
PyObject *m;
^
Got Products.ZCTextIndex 2.13.5.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/initgroups/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/initgroups/
Getting distribution for 'initgroups==2.13.0'.
Got initgroups 2.13.0.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.security/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.security/
Getting distribution for 'zope.security==3.7.4'.
Got zope.security 3.7.4.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.proxy/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.proxy/
Getting distribution for 'zope.proxy==3.6.1'.
Got zope.proxy 3.6.1.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.i18nmessageid/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.i18nmessageid/
Getting distribution for 'zope.i18nmessageid==3.5.3'.
Got zope.i18nmessageid 3.5.3.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.container/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.container/
Getting distribution for 'zope.container==3.11.2'.
Got zope.container 3.11.2.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Persistence/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Persistence/
Getting distribution for 'Persistence==2.13.2'.
Got Persistence 2.13.2.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/MultiMapping/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/MultiMapping/
Getting distribution for 'MultiMapping==2.13.0'.
src/MultiMapping/_MultiMapping.c:159:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
(inquiry)MM_length, /*mp_length*/
^
src/MultiMapping/_MultiMapping.c:159:2: note: (near initialization for ‘MM_as_mapping.mp_length’)
Got MultiMapping 2.13.0.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Missing/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Missing/
Getting distribution for 'Missing==2.13.1'.
Got Missing 2.13.1.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/ExtensionClass/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/ExtensionClass/
Getting distribution for 'ExtensionClass==4.1.2'.
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
Got ExtensionClass 4.1.2.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/DocumentTemplate/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/DocumentTemplate/
Getting distribution for 'DocumentTemplate==2.13.4'.
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
src/DocumentTemplate/cDocumentTemplate.c:169:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
(inquiry)InstanceDict_length, /*mp_length*/
^
src/DocumentTemplate/cDocumentTemplate.c:169:3: note: (near initialization for ‘InstanceDict_as_mapping.mp_length’)
src/DocumentTemplate/cDocumentTemplate.c:600:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
(inquiry)MM_length, /*mp_length*/
^
src/DocumentTemplate/cDocumentTemplate.c:600:2: note: (near initialization for ‘MM_as_mapping.mp_length’)
Got DocumentTemplate 2.13.4.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Acquisition/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Acquisition/
Getting distribution for 'Acquisition==4.2.2'.
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
Got Acquisition 4.2.2.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/AccessControl/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/AccessControl/
Getting distribution for 'AccessControl==3.0.13'.
warning: no files found matching '*.rst'
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
Got AccessControl 3.0.13.
Installing instance.
While:
Installing instance.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/home/solydxk/Plone/zinstance/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 2123, in main
getattr(buildout, command)(args)
File "/home/solydxk/Plone/zinstance/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 796, in install
installed_files = self[part]._call(recipe.install)
File "/home/solydxk/Plone/zinstance/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1553, in _call
return f()
File "/home/solydxk/Plone/buildout-cache/eggs/plone.recipe.zope2instance-4.2.22-py2.7.egg/plone/recipe/zope2instance/__init__.py", line 95, in install
major, minor = parsed[0:2]
TypeError: 'Version' object has no attribute '__getitem__'
I noticed that http://www.pypi-mirrors.org/ gives a time-out. Could that be the cause of the problem?