Hi Cyrus, Thanks for your help. Le 16 août 2016 à 15:25, Cyrus Daboo <cda...@apple.com> a écrit :
> Hi Emmanuel, > > --On August 16, 2016 at 9:08:13 AM +0200 Emmanuel Bourreau > <ebourr...@nordnet.fr> wrote: > >> Hello everyone, >> I was using an « old » version of calendarserver on my mac pro to host >> my calendars. At each start of my computer, the « run » command creates >> the calendar server. Now, with the svn to github migration, it doesn’t >> work anymore. So, I’ve downloaded the master on github and type « >> run/develop » in a shell. And I’ve a pb with osxframeworks : >> >> Command >> "/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/ >> bin/python -c "import setuptools, >> tokenize;__file__='/Users/emmanuel/Downloads/ccs-calendarserver-master/.d >> evelop/virtualenv/src/osxframeworks/setup.py';exec(compile(getattr(tokeni >> ze, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, >> 'exec'))" develop --no-deps" failed with error code 1 in >> /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/s >> rc/osxframeworks/ >> >> >> I’ve no idea about what I have to do. >> So any help would be interesting. >> > > Not sure what that is. What OS version are you on? Can you please "rm -rf > .develop", then do "bin/develop" again and copy/paste the failing output into > your reply so I can try and see what else might be going on. > > -- > Cyrus Daboo My « very old » Mac Pro is under 10.9.5 I’ve followed your instructions and saved the output to a file I’ve removed the part where it installs Postgresql even if I read lots « nothing to be done » and « ld warning » about lib and lib64 So, the verbose part of the installation : ____________________________________________________________ Using system version of libffi. ____________________________________________________________ Using system version of OpenLDAP. ____________________________________________________________ Using system version of SASL. ____________________________________________________________ Using system version of memcached. ____________________________________________________________ No cache file: /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/pkg/PostgreSQL-4922b24086b3af10bc837cd7e8d808d5-postgresql-9.5.3.tar.bz2 Downloading PostgreSQL... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 17.6M 1 359k 0 0 237k 0 0:01:16 0:00:01 0:01:15 237k 8 17.6M 8 1494k 0 0 590k 0 0:00:30 0:00:02 0:00:28 590k 16 17.6M 16 3018k 0 0 859k 0 0:00:20 0:00:03 0:00:17 859k 27 17.6M 27 4977k 0 0 1101k 0 0:00:16 0:00:04 0:00:12 1101k 33 17.6M 33 6115k 0 0 1109k 0 0:00:16 0:00:05 0:00:11 1250k 44 17.6M 44 7933k 0 0 1218k 0 0:00:14 0:00:06 0:00:08 1515k 56 17.6M 56 9.9M 0 0 1358k 0 0:00:13 0:00:07 0:00:06 1747k 68 17.6M 68 12.0M 0 0 1451k 0 0:00:12 0:00:08 0:00:04 1868k 81 17.6M 81 14.3M 0 0 1539k 0 0:00:11 0:00:09 0:00:02 1934k 93 17.6M 93 16.4M 0 0 1598k 0 0:00:11 0:00:10 0:00:01 2138k 100 17.6M 100 17.6M 0 0 1628k 0 0:00:11 0:00:11 --:--:-- 2215k Checking MD5 sum for PostgreSQL... SHA1 sum for PostgreSQL is bd8dcbc8c4882468675dcc93263182a27d4ff201 Unpacking PostgreSQL from cache... [...] PostgreSQL installation complete. ____________________________________________________________ Installing setuptools==18.5 Collecting setuptools==18.5 /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Using cached setuptools-18.5-py2.py3-none-any.whl Installing collected packages: setuptools Successfully installed setuptools-0.6c12dev-r88846 ____________________________________________________________ Installing pip==8.1.2 Collecting pip==8.1.2 /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Using cached pip-8.1.2-py2.py3-none-any.whl Installing collected packages: pip Successfully installed pip-8.1.2 ____________________________________________________________ Installing virtualenv==15.0.2 Collecting virtualenv==15.0.2 /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Using cached virtualenv-15.0.2-py2.py3-none-any.whl Installing collected packages: virtualenv Successfully installed virtualenv-15.0.2 New python executable in /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/bin/python Installing pip, wheel...done. macOS virtualenv codesign fix. ____________________________________________________________ Preparing Python requirements Obtaining file:///Users/emmanuel/Downloads/ccs-calendarserver-master (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 5)) Collecting zope.interface==4.1.3 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 7)) /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Downloading zope.interface-4.1.3.tar.gz (141kB) Collecting setuptools==18.5 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 8)) Downloading setuptools-18.5-py2.py3-none-any.whl (462kB) Obtaining twextpy from git+https://github.com/apple/ccs-twistedextensions.git@38462b69049d690ffaa946330b64fdd6c7b25a80#egg=twextpy (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 10)) Cloning https://github.com/apple/ccs-twistedextensions.git (to 38462b69049d690ffaa946330b64fdd6c7b25a80) to ./.develop/virtualenv/src/twextpy Could not find a tag or branch '38462b69049d690ffaa946330b64fdd6c7b25a80', assuming commit. Requirement already satisfied (use --upgrade to upgrade): cffi==1.7.0 in /Library/Python/2.7/site-packages (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 11)) Requirement already satisfied (use --upgrade to upgrade): pycparser==2.14 in /Library/Python/2.7/site-packages (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 12)) Collecting python-ldap==2.4.25 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 16)) Downloading python-ldap-2.4.25.tar.gz (121kB) Collecting sqlparse==0.1.19 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 20)) Downloading sqlparse-0.1.19.tar.gz (58kB) Collecting pg8000==1.10.6 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 26)) Downloading pg8000-1.10.6-py2.py3-none-any.whl Obtaining kerberos from git+https://github.com/apple/ccs-pykerberos.git@ff86405c5b73f24777e2a5efa24721b7d202d9dc#egg=kerberos (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 31)) Cloning https://github.com/apple/ccs-pykerberos.git (to ff86405c5b73f24777e2a5efa24721b7d202d9dc) to ./.develop/virtualenv/src/kerberos Could not find a tag or branch 'ff86405c5b73f24777e2a5efa24721b7d202d9dc', assuming commit. Obtaining pycalendar from git+https://github.com/apple/ccs-pycalendar.git@8722fc932b617d2c16279b899669afc98bd00887#egg=pycalendar (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 33)) Cloning https://github.com/apple/ccs-pycalendar.git (to 8722fc932b617d2c16279b899669afc98bd00887) to ./.develop/virtualenv/src/pycalendar Could not find a tag or branch '8722fc932b617d2c16279b899669afc98bd00887', assuming commit. Collecting python-dateutil==2.5.3 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 34)) Downloading python_dateutil-2.5.3-py2.py3-none-any.whl (201kB) Collecting pytz==2016.4 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 35)) Downloading pytz-2016.4-py2.py3-none-any.whl (480kB) Collecting psutil==4.3.0 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 37)) Downloading psutil-4.3.0.tar.gz (316kB) Collecting setproctitle==1.1.10 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 38)) Downloading setproctitle-1.1.10.tar.gz Requirement already satisfied (use --upgrade to upgrade): Twisted==16.3.0 in /Library/Python/2.7/site-packages (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-twisted-osx.txt (line 5)) Collecting pycrypto==2.6.1 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-twisted-osx.txt (line 7)) Downloading pycrypto-2.6.1.tar.gz (446kB) Obtaining osxframeworks from git+https://github.com/apple/ccs-pyosxframeworks.git@92725ab0e7fe813b6829905d80bd378ad563e71b#egg=osxframeworks (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-twisted-osx.txt (line 9)) Cloning https://github.com/apple/ccs-pyosxframeworks.git (to 92725ab0e7fe813b6829905d80bd378ad563e71b) to ./.develop/virtualenv/src/osxframeworks Could not find a tag or branch '92725ab0e7fe813b6829905d80bd378ad563e71b', assuming commit. Obtaining pysecuretransport from git+https://github.com/apple/ccs-pysecuretransport.git@991816b299555aa3eb55bb26173a83ff3a01968c#egg=pysecuretransport (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-twisted-osx.txt (line 13)) Cloning https://github.com/apple/ccs-pysecuretransport.git (to 991816b299555aa3eb55bb26173a83ff3a01968c) to ./.develop/virtualenv/src/pysecuretransport Could not find a tag or branch '991816b299555aa3eb55bb26173a83ff3a01968c', assuming commit. Collecting pyflakes (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 2)) Downloading pyflakes-1.2.3-py2.py3-none-any.whl (209kB) Collecting docutils (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 3)) Downloading docutils-0.12.tar.gz (1.6MB) Collecting mockldap (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 4)) Downloading mockldap-0.2.8-py2-none-any.whl Collecting q (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 5)) Downloading q-2.6-py2.py3-none-any.whl Collecting tl.eggdeps (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 6)) Downloading tl.eggdeps-0.4.tar.gz Obtaining CalDAVClientLibrary from git+https://github.com/apple/ccs-caldavclientlibrary.git@f632dfac5af2d44392573812f391896c3575b6ca#egg=CalDAVClientLibrary (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 7)) Cloning https://github.com/apple/ccs-caldavclientlibrary.git (to f632dfac5af2d44392573812f391896c3575b6ca) to ./.develop/virtualenv/src/caldavclientlibrary Could not find a tag or branch 'f632dfac5af2d44392573812f391896c3575b6ca', assuming commit. Obtaining CalDAVTester from git+https://github.com/apple/ccs-caldavtester.git@7bcf226dbda08feda4ac363a83e6f0addaa9995e#egg=CalDAVTester (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 8)) Cloning https://github.com/apple/ccs-caldavtester.git (to 7bcf226dbda08feda4ac363a83e6f0addaa9995e) to ./.develop/virtualenv/src/caldavtester Could not find a tag or branch '7bcf226dbda08feda4ac363a83e6f0addaa9995e', assuming commit. Requirement already satisfied (use --upgrade to upgrade): xattr in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from CalendarServer===9.1a1-unknown->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 5)) Collecting six>=1.10.0 (from pg8000==1.10.6->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 26)) Downloading six-1.10.0-py2.py3-none-any.whl Collecting funcparserlib==0.3.6 (from mockldap->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 4)) Downloading funcparserlib-0.3.6.tar.gz Collecting mock (from mockldap->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 4)) Downloading mock-2.0.0-py2.py3-none-any.whl (56kB) Collecting funcsigs>=1; python_version < "3.3" (from mock->mockldap->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 4)) Downloading funcsigs-1.0.2-py2.py3-none-any.whl Collecting pbr>=0.11 (from mock->mockldap->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 4)) Downloading pbr-1.10.0-py2.py3-none-any.whl (96kB) Installing collected packages: setuptools, zope.interface, twextpy, python-ldap, sqlparse, six, pg8000, kerberos, pycalendar, python-dateutil, pytz, psutil, setproctitle, pycrypto, osxframeworks, pysecuretransport, pyflakes, docutils, funcparserlib, funcsigs, pbr, mock, mockldap, q, tl.eggdeps, CalDAVClientLibrary, CalDAVTester, CalendarServer Found existing installation: setuptools 0.6c12dev-r88846 Not uninstalling setuptools at /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python, outside environment /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv Found existing installation: zope.interface 3.8.0 Not uninstalling zope.interface at /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python, outside environment /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv Running setup.py install for zope.interface: started Running setup.py install for zope.interface: finished with status 'done' Running setup.py develop for twextpy Running setup.py install for python-ldap: started Running setup.py install for python-ldap: finished with status 'done' Running setup.py install for sqlparse: started Running setup.py install for sqlparse: finished with status 'done' Running setup.py develop for kerberos Running setup.py develop for pycalendar Found existing installation: python-dateutil 1.5 Not uninstalling python-dateutil at /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python, outside environment /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv Found existing installation: pytz 2012d Not uninstalling pytz at /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python, outside environment /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv Running setup.py install for psutil: started Running setup.py install for psutil: finished with status 'done' Running setup.py install for setproctitle: started Running setup.py install for setproctitle: finished with status 'done' Running setup.py install for pycrypto: started Running setup.py install for pycrypto: finished with status 'done' Running setup.py develop for osxframeworks Command "/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/bin/python -c "import setuptools, tokenize;__file__='/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/src/osxframeworks/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps" failed with error code 1 in /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/src/osxframeworks/ Still the error code 1. I’ve seen that the setuptools is outside the environment: can this create the pb with the « import setuptools » ? Best regards. Emmanuel
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/calendarserver-users