SpectrumIM/spectrum2

2.2.1 configuration problem

Closed this issue · 1 comments

I've tried packaging 2.2.1 for pkgsrc and installed dependencies until it didn't completely stop because of missing dependencies. But then I got the following problem:

CMake Deprecation Warning at CMakeLists.txt:3 (cmake_policy):
  The OLD behavior for policy CMP0037 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is GNU 10.5.0
-- The CXX compiler identification is GNU 10.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /scratch/wip/spectrum2/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /scratch/wip/spectrum2/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Variables to override default places where to find libraries:
-- |- cppunit : -DCPPUNIT_INCLUDE_DIR,  -DCPPUNIT_LIBRARY
-- |- swiften : -DSWIFTEN_INCLUDE_DIR,  -DSWIFTEN_LIBRARY
--   |- zlib  :                         -DZLIB_LIBRARY
--   |- expat :                         -DEXPAT_LIBRARY
--   |-libidn :                         -DLIBIDN_LIBRARY
--   |-libxml :                         -DLIBXML_LIBRARY
-- |- boost   : -DBOOST_INCLUDEDIR,     -DBOOST_LIBRARYDIR
-- |- protobuf: -DPROTOBUF_INCLUDE_DIR, -DPROTOBUF_LIBRARY
--            : -DPROTOBUF_PROTOC_EXECUTABLE
-- |- log4cxx : -DLOG4CXX_INCLUDE_DIR,  -DLOG4CXX_LIBRARIES
-- |- purple  : -DPURPLE_INCLUDE_DIR,   -DPURPLE_LIBRARY
--            : -DPURPLE_NOT_RUNTIME - enables compilation with libpurple.lib
-- |- pgxx    : -DPQXX_INCLUDE_DIR,     -DPQXX_LIBRARY
-- |- irc     : -DIRC_INCLUDE_DIR,      -DIRC_LIBRARY
-- Could NOT find libSwiften
-- Using swiften: SWIFTEN_INCLUDE_DIR-NOTFOUND SWIFTEN_LIBRARY-NOTFOUND;Dnsapi;Crypt32;Secur32;Iphlpapi;Winscard
CMake Warning (dev) at cmake_modules/FindBoost.cmake:257 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  cmake_modules/FindBoost.cmake:609 (_Boost_COMPILER_DUMPVERSION)
  CMakeLists.txt:103 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /usr/pkg/lib/libboost_program_options.so;/usr/pkg/lib/libboost_date_time.so;/usr/pkg/lib/libboost_system.so;/usr/pkg/lib/libboost_filesystem.so;/usr/pkg/lib/libboost_regex.so;/usr/pkg/lib/libboost_thread.so;/usr/pkg/lib/libboost_locale.so, /usr/pkg/include
-- Found Boost: 108500, /usr/pkg/lib/libboost_program_options.so;/usr/pkg/lib/libboost_date_time.so;/usr/pkg/lib/libboost_system.so;/usr/pkg/lib/libboost_filesystem.so;/usr/pkg/lib/libboost_regex.so;/usr/pkg/lib/libboost_thread.so;/usr/pkg/lib/libboost_locale.so, /usr/pkg/include
-- Using BOOST_FILESYSTEM_VERSION=3
-- Could NOT find popt
-- Found Sqlite3 header file in /usr/include
-- Found Sqlite3 libraries: /usr/lib/libsqlite3.so
-- Found PkgConfig: /scratch/wip/spectrum2/work/.tools/bin/pkg-config (found version "2.2.0")
-- Checking for module 'libpqxx'
--   Package 'libpqxx' not found
-- Could NOT find libpurple
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.80.0
-- Found GLIB2: /usr/pkg/lib/libglib-2.0.so;/usr/pkg/lib/libgthread-2.0.so;/usr/pkg/lib/libgmodule-2.0.so;/usr/pkg/lib/libgobject-2.0.so
-- Found PROTOBUF: /usr/pkg/lib/libprotobuf.so
CMake Deprecation Warning at /scratch/wip/spectrum2/work/.buildlink/lib/cmake/jsoncpp/jsoncppConfig.cmake:2 (cmake_policy):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/FindJsonCpp.cmake:68 (find_package)
  CMakeLists.txt:176 (find_package)


-- Found JsonCpp: /scratch/wip/spectrum2/work/.buildlink/lib/cmake/jsoncpp
-- Checking for module 'openssl'
--   Package 'openssl' not found
-- Found OpenSSL: /usr/include, /usr/lib/libssl.so/usr/lib/libcrypto.so
CMake Warning at cmake_modules/FindCommuni.cmake:5 (find_package):
  By not providing "FindQt5Network.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5Network", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Network" with
  any of the following names:

    Qt5NetworkConfig.cmake
    qt5network-config.cmake

  Add the installation prefix of "Qt5Network" to CMAKE_PREFIX_PATH or set
  "Qt5Network_DIR" to a directory containing one of the above files.  If
  "Qt5Network" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:194 (find_package)


-- Could NOT find libCommuni - IrcCore library
CMake Warning at CMakeLists.txt:195 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found log4cxx: /usr/pkg/lib/liblog4cxx.so, /usr/pkg/include/usr/pkg/include
  Supported features
-----------------------
Version           : 2.2.1
SQLite3           : yes
MySQL             : no (install mysql-devel)
PostgreSQL        : no (install libpqxx-devel)
Network plugins   : yes
Libpurple plugin  : no (install libpurple)
  libev eventloop : no (install libev-devel)
IRC plugin        : no (install libCommuni and libprotobuf-dev)
Twitter plugin    : yes
Frotz plugin      : yes
SMSTools3 plugin  : yes
Swiften plugin    : yes
Log4cxx           : yes
Debug             : no (run "cmake . -DCMAKE_BUILD_TYPE=Debug")
-- Found CURL: /usr/pkg/lib/libcurl.so (found version "8.7.1")
-- Using curl 8.7.1: /usr/pkg/include /usr/pkg/lib/libcurl.so
Tests             : no (user disabled)
Documentation     : no (install doxygen)
----------------------
-- Configuring done (0.4s)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
POPT_INCLUDE_DIR
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
POPT_LIBRARY
    linked by target "transport" in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
SWIFTEN_INCLUDE_DIR
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/cpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/cpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/cpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/cpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/cpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/cpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/cpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/cpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/cpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/python
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/python
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/python
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/python
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/python
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/python
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/python
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/python
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/plugin/python
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include/transport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include/transport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include/transport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include/transport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include/transport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include/transport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include/transport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include/transport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/include/transport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/xmpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/xmpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/xmpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/xmpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/xmpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/xmpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/xmpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/xmpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/xmpp
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/slack
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/slack
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/slack
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/slack
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/slack
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/slack
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/slack
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/slack
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/slack
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/template
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/template
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/template
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/template
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/template
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/template
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/template
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/template
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/template
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/swiften
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/swiften
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/swiften
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/swiften
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/swiften
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/swiften
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/swiften
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/swiften
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/swiften
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/twitter
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/twitter
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/twitter
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/twitter
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/twitter
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/twitter
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/twitter
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/twitter
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/twitter
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/smstools3
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/smstools3
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/smstools3
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/smstools3
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/smstools3
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/smstools3
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/smstools3
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/smstools3
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/smstools3
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz/dfrotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz/dfrotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz/dfrotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz/dfrotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz/dfrotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz/dfrotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz/dfrotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz/dfrotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz/dfrotz
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/tests/libtransport
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager/src
   used as include directory in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager/src
SWIFTEN_LIBRARY
    linked by target "transport" in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/libtransport
    linked by target "spectrum2" in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src
    linked by target "spectrum2-xmpp-frontend" in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/xmpp
    linked by target "spectrum2-slack-frontend" in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum/src/frontends/slack
    linked by target "spectrum2_template_backend" in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/template
    linked by target "spectrum2_swiften_backend" in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/swiften
    linked by target "spectrum2_twitter_backend" in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/twitter
    linked by target "spectrum2_smstools3_backend" in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/smstools3
    linked by target "spectrum2_frotz_backend" in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/backends/frotz
    linked by target "spectrum2_manager" in directory /scratch/wip/spectrum2/work/spectrum2-2.2.1/spectrum_manager/src

CMake Error in libtransport/CMakeLists.txt:
  Found relative path while evaluating include directories of "transport":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in plugin/cpp/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "transport-plugin":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in spectrum/src/CMakeLists.txt:
  Found relative path while evaluating include directories of "spectrum2":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in spectrum/src/frontends/xmpp/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "spectrum2-xmpp-frontend":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in spectrum/src/frontends/slack/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "spectrum2-slack-frontend":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in backends/template/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "spectrum2_template_backend":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in backends/swiften/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "spectrum2_swiften_backend":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in backends/twitter/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "spectrum2_twitter_backend":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in backends/smstools3/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "spectrum2_smstools3_backend":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in backends/frotz/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "spectrum2_frotz_backend":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in backends/frotz/dfrotz/CMakeLists.txt:
  Found relative path while evaluating include directories of "dfrotz":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in spectrum_manager/src/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "spectrum2_manager":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



CMake Error in spectrum_manager/src/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "spectrum2_manager":

    "SWIFTEN_INCLUDE_DIR-NOTFOUND"



-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/wip/spectrum2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wip/spectrum2

libswiften is a core dependency and you need it to package as well. libcommuni is irc plugin dependency, you need to package it or disable irc plugin from build configuration. libpopt is commonly used library and it should be packaged already