Opened 12 years ago

Closed 8 years ago

#38793 closed defect (fixed)

gmime @2.6.15_0 build failure due to missing dependency

Reported by: smogus@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: gmime

Description

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

The root cause is gmime failing a dependency on libgpg-error. Workaround is to manually install libgpg-error, clean gmime and install it again.

Change History (2)

comment:1 Changed 12 years ago by jmroot (Joshua Root)

Port: gmime added

Please remember to fill in the Port field.

comment:2 Changed 8 years ago by l2dy (Zero King)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.