+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libktorrent-1.3.1nb43/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libktorrent-1.3.1nb43/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libktorrent-1.3.1.tar.bz2
=> Checksum SHA512 OK for libktorrent-1.3.1.tar.bz2
===> Installing dependencies for libktorrent-1.3.1nb43
==========================================================================
The supported build options for libktorrent are:

	doc

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.libktorrent (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
libktorrent-1.3.1nb43.  Their current value is shown below:

        * FAM_DEFAULT = fam
        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = mit-krb5
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

Based on these variables, the following variables have been set:

        * FAMBASE (defined, but empty)
        * FAM_TYPE = fam
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.74.6
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.21.1
=> Tool dependency perl>=5.0: found perl-5.36.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency automoc4>=0.9.87: found automoc4-0.9.88nb30
=> Build dependency boost-headers-1.82.*: found boost-headers-1.82.0
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb2
=> Build dependency qt4-tools>=4.8.7nb10: found qt4-tools-4.8.7nb10
=> Full dependency boost-libs-1.82.*: found boost-libs-1.82.0
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.21.1
=> Full dependency gmp>=5.0.1: found gmp-6.2.1nb3
=> Full dependency qca2>=2.2.1nb5: found qca2-2.2.1nb5
=> Full dependency kdelibs4>=4.14.38nb33: found kdelibs4-4.14.38nb33
===> Overriding tools for libktorrent-1.3.1nb43
===> Extracting for libktorrent-1.3.1nb43
===> Patching for libktorrent-1.3.1nb43
=> Applying pkgsrc patches for libktorrent-1.3.1nb43
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libktorrent/patches/patch-examples_ktcli_main.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libktorrent/patches/patch-examples_ktcli_main.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-examples_ktcli_main.cpp,v 1.1 2012/11/16 01:05:33 joerg Exp $
|
|--- examples/ktcli/main.cpp.orig	2012-11-15 12:19:45.000000000 +0000
|+++ examples/ktcli/main.cpp
--------------------------
Patching file examples/ktcli/main.cpp using Plan A...
Hunk #1 succeeded at 66.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libktorrent/patches/patch-src_diskio_chunkmanager.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_diskio_chunkmanager.cpp,v 1.1 2020/05/14 19:14:16 joerg Exp $
|
|Can't match when switching over an unsigned variable.
|
|--- src/diskio/chunkmanager.cpp.orig	2020-05-12 13:42:42.467062945 +0000
|+++ src/diskio/chunkmanager.cpp
--------------------------
Patching file src/diskio/chunkmanager.cpp using Plan A...
Hunk #1 succeeded at 527.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libktorrent/patches/patch-src_net_address.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libktorrent/patches/patch-src_net_address.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_net_address.h,v 1.1 2012/09/03 10:06:40 marino Exp $
|
|Version 4.2.1 fixed FreeBSD by putting <sys/socket.h> in address.cpp and
|removing <arpa/inet.h> which was Linux-specific.
|However, DragonFly still choked on it with incomplete type errors.  It
|seems that upstream should have put <sys/socket.h> in address.h instead.
|
|--- src/net/address.h.orig	2012-06-12 10:16:36.000000000 +0000
|+++ src/net/address.h
--------------------------
Patching file src/net/address.h using Plan A...
Hunk #1 succeeded at 24.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libktorrent/patches/patch-src_utp_connection.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libktorrent/patches/patch-src_utp_connection.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_utp_connection.h,v 1.1 2014/11/17 19:59:40 markd Exp $
|
|--- src/utp/connection.h.orig	2014-11-17 18:38:46.000000000 +0000
|+++ src/utp/connection.h
--------------------------
Patching file src/utp/connection.h using Plan A...
Hunk #1 succeeded at 32.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libktorrent/patches/patch-src_utp_delaywindow.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libktorrent/patches/patch-src_utp_delaywindow.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_utp_delaywindow.h,v 1.1 2014/11/17 19:59:40 markd Exp $
|
|--- src/utp/delaywindow.h.orig	2013-01-14 17:09:10.000000000 +0000
|+++ src/utp/delaywindow.h
--------------------------
Patching file src/utp/delaywindow.h using Plan A...
Hunk #1 succeeded at 22.
done
===> Creating toolchain wrappers for libktorrent-1.3.1nb43
===> Configuring for libktorrent-1.3.1nb43
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
CMake Warning (dev) at CMakeLists.txt:1 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.26/Modules/Platform/SunOS.cmake:34 (include):
  File /opt/pkg/share/cmake-3.26/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/net/libktorrent/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.26/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /opt/pkg/share/cmake-3.26/Modules/CMakeSystemSpecificInformation.cmake:45 (include)
  CMakeLists.txt:1 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/net/libktorrent/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: /home/pbulk/build/net/libktorrent/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt-Version 4.8.7 (using /opt/pkg/qt4/bin/qmake)
-- Looking for XOpenDisplay in /home/pbulk/build/net/libktorrent/work/.buildlink/lib/libX11.so;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libXext.so;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libXft.so;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libXau.so;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libXdmcp.so;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libXpm.so
-- Looking for XOpenDisplay in /home/pbulk/build/net/libktorrent/work/.buildlink/lib/libX11.so;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libXext.so;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libXft.so;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libXau.so;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libXdmcp.so;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for connect
-- Looking for connect - not found
-- Looking for connect in socket
-- Looking for connect in socket - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /home/pbulk/build/net/libktorrent/work/.buildlink/lib/libX11.so
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /opt/pkg/bin/automoc4  
-- Found Perl: /home/pbulk/build/net/libktorrent/work/.tools/bin/perl (found version "5.36.1") 
-- Found Phonon: /opt/pkg/include (Required is at least version "4.3.80") 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.12 include dir: /opt/pkg/include
-- Found KDE 4.12 library dir: /opt/pkg/lib
-- Found the KDE4 kconfig_compiler preprocessor: /opt/pkg/bin/kconfig_compiler
-- Found automoc4: /opt/pkg/bin/automoc4
-- Found GMP: /home/pbulk/build/net/libktorrent/work/.buildlink/include  
-- Found Boost: /home/pbulk/build/net/libktorrent/work/.buildlink/include (found version "1.82.0")  
-- Found PkgConfig: /home/pbulk/build/net/libktorrent/work/.tools/bin/pkg-config (found version "1.9.5") 
-- Found QCA2: /opt/pkg/qt4/lib/libqca.so  
-- Found libgcrypt: /home/pbulk/build/net/libktorrent/work/.buildlink/lib/libgcrypt.so 
-- Looking for include file xfs/xfs.h
-- Looking for include file xfs/xfs.h - not found
-- Looking for fopen64
-- Looking for fopen64 - not found
-- Looking for fseeko64
-- Looking for fseeko64 - not found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for ftello64
-- Looking for ftello64 - not found
-- Looking for ftello
-- Looking for ftello - found
-- Looking for fstat64
-- Looking for fstat64 - not found
-- Looking for stat64
-- Looking for stat64 - not found
-- Looking for ftruncate64
-- Looking for ftruncate64 - not found
-- Looking for lseek64
-- Looking for lseek64 - not found
-- Looking for mmap64
-- Looking for mmap64 - not found
-- Looking for munmap64
-- Looking for munmap64 - not found
-- Looking for posix_fallocate64
-- Looking for posix_fallocate64 - not found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for fallocate
-- Looking for fallocate - not found
-- Looking for statvfs
-- Looking for statvfs - found
-- Looking for statvfs64
-- Looking for statvfs64 - not found
CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1079 (_automoc4_kde4_pre_target_handling)
  src/CMakeLists.txt:230 (kde4_add_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/torrent/tests/CMakeLists.txt:4 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/torrent/tests/CMakeLists.txt:8 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/torrent/tests/CMakeLists.txt:12 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/datachecker/tests/CMakeLists.txt:3 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/download/tests/CMakeLists.txt:3 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/diskio/tests/CMakeLists.txt:2 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/diskio/tests/CMakeLists.txt:6 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/peer/tests/CMakeLists.txt:2 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/peer/tests/CMakeLists.txt:6 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/peer/tests/CMakeLists.txt:10 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/net/tests/CMakeLists.txt:2 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/net/tests/CMakeLists.txt:6 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/mse/tests/CMakeLists.txt:2 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/magnet/tests/CMakeLists.txt:3 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/util/tests/CMakeLists.txt:2 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/util/tests/CMakeLists.txt:7 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/util/tests/CMakeLists.txt:12 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/util/tests/CMakeLists.txt:16 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/util/tests/CMakeLists.txt:20 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:2 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:6 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:10 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:14 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:18 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:22 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:26 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:30 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:34 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:38 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:42 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/utp/tests/CMakeLists.txt:46 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/dht/tests/CMakeLists.txt:2 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:886 (kde4_add_executable)
  src/dht/tests/CMakeLists.txt:6 (kde4_add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1079 (_automoc4_kde4_pre_target_handling)
  testlib/CMakeLists.txt:8 (kde4_add_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/pkg/lib/automoc4/Automoc4Config.cmake:179 (get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /opt/pkg/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /opt/pkg/share/kde/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling)
  examples/ktcli/CMakeLists.txt:8 (kde4_add_executable)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.26)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done (17.4s)
CMake Warning (dev) in src/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "ktorrent" has an INTERFACE_LINK_LIBRARIES property which differs
  from its LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    ;KDE4__kio;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libgmp.so;KDE4__solid;/home/pbulk/build/net/libktorrent/work/.buildlink/lib/libgcrypt.so;/opt/pkg/qt4/lib/libqca.so

  LINK_INTERFACE_LIBRARIES:

    KDE4__kdeui

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done (0.5s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/net/libktorrent/work/libktorrent-1.3.1
=> Rewrite cmake Dependencies files