akonadi build errors during port upgrade

Ryan Schmidt ryandesign at macports.org
Mon Jan 10 05:35:58 PST 2011


On Jan 10, 2011, at 05:56, Chris Jones wrote:
> Ryan Schmidt wrote:
>> On Jan 10, 2011, at 03:57, Chris Jones wrote:
>>> <http://www.hep.phy.cam.ac.uk/~jonesc/akonadi-build-error.log>
>> Sounds like a recurrence of
>> https://trac.macports.org/ticket/25989
> 
> Thanks. I saw that report when searching for this bug, but somehow didn't twig it was related.

The error reported in the ticket is the same as the one in your log:

/opt/local/include/utils.h: In function 'char* copystring(const char*)':
/opt/local/include/utils.h:90: error: invalid conversion from 'void*' to 'char*'
/opt/local/include/utils.h: In function 'char* catstring(char*, const char*)':
/opt/local/include/utils.h:100: error: invalid conversion from 'void*' to 'char*'
/opt/local/include/utils.h:102: error: invalid conversion from 'void*' to 'char*'


> However, the solution at the end, to install cdparanoia doesn't work this time for me. I already have it and still get the error.

The problem is caused by having the file /opt/local/include/utils.h. That file is provided by cdparanoia. Therefore, the problem is caused by having cdparanoia installed, and worked around by uninstalling or deactivating cdparanoia for the duration of installing akonadi. #25989 talks of changes that were committed to prevent the failure even if cdparanoia was already installed, but these measures appear to have undone themselves somehow, so this needs to be re-fixed.





More information about the macports-users mailing list