Hi,

I was informed that mail/trojita failed to build in a bulk.

The tail of the log looks like this:


/usr/obj/ports/trojita-0.7/bin/c++   -DQT_CORE_LIB -DQT_GUI_LIB 
-DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG 
-DQT_SQL_LIB -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION 
-DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER 
-I/usr/obj/ports/trojita-0.7/trojita-0.7/src -I. -isystem 
/usr/local/include/X11/qt5 -isystem /usr/local/include/X11/qt5/QtCore -isystem 
/usr/local/lib/qt5/./mkspecs/openbsd-g++ -I/usr/local/include/mimetic -isystem 
/usr/local/include/X11/qt5/QtNetwork -isystem /usr/local/include/X11/qt5/QtGui 
-isystem /usr/X11R6/include -isystem /usr/local/include/X11/qt5/QtSql -isystem 
/usr/local/include/KF5/gpgme++ -isystem /usr/local/include/KF5 -isystem 
/usr/local/include/KF5/qgpgme -isystem /usr/local/include -pthread -Wall 
-Wsign-compare -O2 -pipe    -std=c++11 -fvisibility=hidden 
-fvisibility-inlines-hidden -DNDEBUG -fPIC   -fPIC -MD -MT 
CMakeFiles/Cryptography.dir/src/Cryptography/GpgMe++.cpp.o -MF 
CMakeFiles/Cryptography.dir/src/Cryptography/GpgMe++.cpp.o.d -o 
CMakeFiles/Cryptography.dir/src/Cryptography/GpgMe++.cpp.o -c 
/usr/obj/ports/trojita-0.7/trojita-0.7/src/Cryptography/GpgMe++.cpp
In file included from /usr/local/include/KF5/gpgme++/context.h:30:0,
                 from 
/usr/obj/ports/trojita-0.7/trojita-0.7/src/Cryptography/GpgMe++.cpp:26:
/usr/local/include/KF5/gpgme++/verificationresult.h:32:32: fatal error: 
boost/shared_ptr.hpp: No such file or directory
 #include <boost/shared_ptr.hpp>
                                ^
compilation terminated.
ninja: build stopped: subcommand failed.


It looks like x11/kde-applications/gpgmepp also needs to depend on
devel/boost. I am not sure whether it should LIB_DEPENDS or RUN_DEPENDS
on boost. When I build x11/kde-applications/gpgmepp with LIB_DEPENDS +=
devel/boost, "make package" warns:
  LIB_DEPENDS devel/boost not needed for x11/kde-applications/gpgmepp ?

Assuming RUN_DEPENDS is the right choice, please test the diff below.

Thanks,
Caspar Schutijser


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/kde-applications/gpgmepp/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    27 May 2016 00:03:44 -0000      1.1.1.1
+++ Makefile    8 Sep 2016 16:12:55 -0000
@@ -3,6 +3,7 @@
 COMMENT =      C++ bindings/wrapper for gpgme
 DISTNAME =     gpgmepp-${VERSION}
 CATEGORIES =   security
+REVISION =     0
 
 SHARED_LIBS =  KF5QGpgme               0.0 # 4.80
 SHARED_LIBS += KF5Gpgmepp-pthread      0.0 # 4.80
@@ -14,5 +15,6 @@ KDE5 =                Yes
 
 BUILD_DEPENDS =        devel/boost
 LIB_DEPENDS =  security/gpgme
+RUN_DEPENDS =  devel/boost
 
 .include <bsd.port.mk>

Reply via email to