pan2 build fails due to gmime fail

Ryan Schmidt ryandesign at macports.org
Sat Apr 13 13:41:06 PDT 2013


On Apr 13, 2013, at 15:32, Gill Bateswrote:

> Just upgraded to mountain lion and xcode 4.6.1 and attempting to install some ports.
> pan2 fails to build apparently due to the gmime dependency failing to build:
> 
> --->  Building gmime
> Error: org.macports.build for port gmime returned: command execution failed
> Error: Failed to install gmime
> 
> From the gmime log file it apparently fails to find gpg-error.h:
> 
> :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../util -DG_LOG_DOMAIN=\"gmime-tests\"  -D_REENTRANT -I/opt/ports/include/glib-2.0 -I/opt/ports/lib/glib-2.0/include -I/opt/ports/include   -I/opt/ports/include  -pipe -O2 -arch x86_64 -fno-strict-aliasing -MT test-pkcs7.o -MD -MP -MF .deps/test-pkcs7.Tpo -c -o test-pkcs7.o test-pkcs7.c
> :info:build test-pkcs7.c:36:10: fatal error: 'gpg-error.h' file not found
> :info:build #include <gpg-error.h>
> :info:build          ^
> :info:build 1 error generated.
> :info:build make[3]: *** [test-pkcs7.o] Error 1

Please file a bug report for gmime in our issue tracker.

http://guide.macports.org/chunked/project.html#project.tickets

Sounds like a dependency on libgpg-error is missing; you could probably work around the problem by installing libgpg-error, then cleaning gmime and trying again.




More information about the macports-users mailing list