Created attachment 162473 [details] patch against revision 400186 After upgrade databases/sqlparse from 0.1.2_1 to 0.1.16, caldavd crashes during startup: - - - File "/usr/local/lib/python2.7/site-packages/twext/enterprise/dal/parseschema.py", line 544, in expectSingle (nextval.__class__.__name__, nextval)) twext.enterprise.dal.parseschema.ViolatedExpectation: Expected <class 'sqlparse.sql.Parenthesis'> got Comment:<Comment '-- imp...' at 0x809a649e0> /usr/local/etc/rc.d/caldavd: WARNING: failed to start caldavd - - - Attached patch, based on work from amaramrahul@users.sourceforge.net, fixes it. poudriere testport run successfully on 10.1.
Testing soon on a test host near to you 8-)
One little issue: Warning: 'lib/python2.7/site-packages/twext/python/sendmsg.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
A commit references this bug: Author: pi Date: Mon Oct 26 21:03:58 UTC 2015 New revision: 400207 URL: https://svnweb.freebsd.org/changeset/ports/400207 Log: www/calendarserver: add patch to cope with databases/sqlparse in version 0.1.16 PR: 204038 Submitted by: Axel Rau <Axel.Rau@Chaos1.DE> (maintainer) Changes: head/www/calendarserver/Makefile head/www/calendarserver/files/patch-txdav__common__datastore__sql_schema__current.sql
Test-builds done, committed, thanks.