[CalendarServer-users] Urgent - Error installing CalendarServer-7.0

Gaurav Jain monkeyfdude at gmail.com
Tue Nov 29 15:19:56 PST 2016


Thank you so much for the help. I was able to resolve last issue by
referring to:

https://github.com/rohe/pyoidc/commit/1f18a6ced7854f6838515b8bdaeadbb375e7578c

Changing
+cryptography==1.5.2



On Tue, Nov 29, 2016 at 2:07 PM, Gaurav Jain <monkeyfdude at gmail.com> wrote:

> Preceding was this:
>
>     x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -fstack-protector-strong -Wformat -Werror=format-security
> -I/opt/caldavd/CalendarServer-7.0/.develop/roots/PostgreSQL/include
> -I/opt/caldavd/CalendarServer-7.0/.develop/roots/memcached/include
> -I/opt/caldavd/CalendarServer-7.0/.develop/roots/libevent/include
> -I/opt/caldavd/CalendarServer-7.0/.develop/roots/libffi/include -fPIC
> -I/usr/include/python2.7 -c src/cryptography/hazmat/bindings/__pycache__/_
> Cryptography_cffi_e7d09016xc302a38b.c -o build/temp.linux-x86_64-2.7/
> src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_
> e7d09016xc302a38b.o
>
>     src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_e7d09016xc302a38b.c:505:6:
> error: conflicting types for ‘BIO_new_mem_buf’
>
>      BIO *BIO_new_mem_buf(void *, int);
>
>           ^
>
>     In file included from /usr/include/openssl/asn1.h:65:0,
>
>                      from src/cryptography/hazmat/bindings/__pycache__/_
> Cryptography_cffi_e7d09016xc302a38b.c:220:
>
>     /usr/include/openssl/bio.h:692:6: note: previous declaration of
> ‘BIO_new_mem_buf’ was here
>
>      BIO *BIO_new_mem_buf(const void *buf, int len);
>
>           ^
>
>     error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
>
> On Tue, Nov 29, 2016 at 2:03 PM, Gaurav Jain <monkeyfdude at gmail.com>
> wrote:
>
>> I am on Ubuntu 16.06 AWS EC2 instance.
>>
>> On Tue, Nov 29, 2016 at 2:00 PM, Gaurav Jain <monkeyfdude at gmail.com>
>> wrote:
>>
>>> Thank you so much. All the bootstrapping issues are resolved. Now, I hit
>>> following error:
>>>
>>>
>>> Can't roll back cryptography; was not uninstalled
>>>
>>> Command "/opt/caldavd/CalendarServer-7.0/.develop/virtualenv/bin/python
>>> -c "import setuptools, tokenize;__file__='/tmp/pip-bu
>>> ild-M1eqq0/cryptography/setup.py';exec(compile(getattr(tokenize,
>>> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
>>> 'exec'))" install --record /tmp/pip-bXjSbl-record/install-record.txt
>>> --single-version-externally-managed --compile --install-headers
>>> /opt/caldavd/CalendarServer-7.0/.develop/virtualenv/include/site/python2.7/cryptography"
>>> failed with error code 1 in /tmp/pip-build-M1eqq0/cryptography
>>>
>>> On Tue, Nov 29, 2016 at 1:54 PM, Cyrus Daboo <cdaboo at apple.com> wrote:
>>>
>>>> Hi Gaurav,
>>>>
>>>> --On November 29, 2016 at 1:48:23 PM -0800 Gaurav Jain <
>>>> monkeyfdude at gmail.com> wrote:
>>>>
>>>> --editable svn+
>>>>> http://svn.calendarserver.org/repository/calendarserver/CalD
>>>>> AVClientLibra
>>>>> ry/trunk at 14856#egg=CalDAVClientLibrary
>>>>>
>>>>
>>>> git-svn-id: https://svn.calendarserver.org
>>>> /repository/calendarserver/CalDAVClientLibrary/trunk at 14856
>>>> commit 80b22707ae2b056a860449bbbe4bb7614cb70866
>>>>
>>>> --editable svn+
>>>>> http://svn.calendarserver.org/repository/calendarserver/CalD
>>>>> AVTester/bran
>>>>> ches/release/CalDAVTester-7.0-dev at 15059#egg=CalDAVTester
>>>>>
>>>>>
>>>> git-svn-id: https://svn.calendarserver.org
>>>> /repository/calendarserver/CalDAVTester/trunk at 15021
>>>> commit 0d27e502deb38a9336f0141cf4326d21fca3e60f
>>>>
>>>> --
>>>> Cyrus Daboo
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-users/attachments/20161129/ad00e934/attachment-0001.html>


More information about the calendarserver-users mailing list