Yes, that's it. Your own copy of the file is used instead of the more recent (and extended) copy from /usr/share. Therefore the new required macro is missing. With hindsight I probably should have put the new macro into a separate file. It is related to calendar data, but not the import/export mangling done by the other two in 11calendar-profile.xml. A user might legitimately replace those without caring about the compare script. However, splitting into more files does not solve the general problem: if a user replaces .xml files, he basically runs a patched version of SyncEvolution and needs to take care to stay up-to-date. For example, right now in master I found and fixed an issue in 11calendar-profile.xml/VCALENDAR_INCOMING_SCRIPT for vCalendar 1.0. This may or not be relevant for you.