[MacPorts] #38793: gmime @2.6.15_0 build failure due to missing dependency
MacPorts
noreply at macports.org
Sat Apr 13 14:29:20 PDT 2013
#38793: gmime @2.6.15_0 build failure due to missing dependency
----------------------+--------------------------------
Reporter: smogus@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: | Port:
----------------------+--------------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/38793>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list