[package - main-i386-default][net-p2p/minder] Failed for minder-2.0.2_3 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Aug 2023 17:21:24 UTC
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: ports@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pf6493e8ca127_sfa3cf6cdc6/logs/minder-2.0.2_3.log Build URL: https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pf6493e8ca127_sfa3cf6cdc6 Log: =>> Building net-p2p/minder build started at Wed Aug 2 17:21:19 UTC 2023 port directory: /usr/ports/net-p2p/minder package name: minder-2.0.2_3 building for: FreeBSD main-i386-default-job-11 14.0-CURRENT FreeBSD 14.0-CURRENT 1400093 i386 maintained by: ports@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400089 Jail OSVERSION: 1400093 Job Id: 11 !!! Jail is newer than host. (Jail: 1400093, Host: 1400089) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh UNAME_p=i386 UNAME_m=i386 OSVERSION=1400093 UNAME_v=FreeBSD 14.0-CURRENT 1400093 UNAME_r=14.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-23-ga7f8d188 MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for minder-2.0.2_3: EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net-p2p/minder/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-p2p/minder/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-p2p/minder/work/.cache HOME=/wrkdirs/usr/ports/net-p2p/minder/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-p2p/minder/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-p2p/minder/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-p2p/minder/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-p2p/minder/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-p2p/minder/work/.cache HOME=/wrkdirs/usr/ports/net-p2p/minder/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-p2p/minder/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-p2p/minder/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DHAVE_OPENSSL -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="$(pkg-config --cflags libxml-2.0) -I/usr/local/include/Sockets -I/usr/local/include" LDFLAGS=" $(pkg-config --libs libxml-2.0) -L/usr/local/lib -fstack-pr otector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DHAVE_OPENSSL -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTEXAMPLES="" GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/minder" EXAMPLESDIR="share/examples/minder" DATADIR="share/minder" WWWDIR="www/minder" ETCDIR="etc/minder" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/minder DOCSDIR=/usr/local/share/doc/minder EXAMPLESDIR=/usr/local/share/examples/minder WWWDIR=/usr/local/www/minder ETCDIR=/usr/local/etc/minder --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_53255a77=yes CC_OUTPUT_921dbbb2_911cfe02=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes CC_OUTPUT_921dbbb2_af59ad06=yes CC_OUTPUT_921dbbb2_a15f3fcf=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400093 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===> NOTICE: The minder port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License GPLv2+ accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> minder-2.0.2_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.4.pkg [main-i386-default-job-11] Installing pkg-1.20.4... [main-i386-default-job-11] Extracting pkg-1.20.4: .......... done ===> minder-2.0.2_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of minder-2.0.2_3 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> NOTICE: The minder port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla <snip> =========================================================================== =======================<phase: build-depends >============================ ===> minder-2.0.2_3 depends on package: gmake>=4.3 - not found ===> Installing existing package /packages/All/gmake-4.3_2.pkg [main-i386-default-job-11] Installing gmake-4.3_2... [main-i386-default-job-11] `-- Installing gettext-runtime-0.22_1... [main-i386-default-job-11] | `-- Installing indexinfo-0.3.1... [main-i386-default-job-11] | `-- Extracting indexinfo-0.3.1: .... done [main-i386-default-job-11] `-- Extracting gettext-runtime-0.22_1: .......... done [main-i386-default-job-11] Extracting gmake-4.3_2: .......... done ===> minder-2.0.2_3 depends on package: gmake>=4.3 - found ===> Returning to build of minder-2.0.2_3 ===> minder-2.0.2_3 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.8.1,1.pkg [main-i386-default-job-11] Installing pkgconf-1.8.1,1... [main-i386-default-job-11] Extracting pkgconf-1.8.1,1: .......... done ===> minder-2.0.2_3 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of minder-2.0.2_3 =========================================================================== =======================<phase: lib-depends >============================ ===> minder-2.0.2_3 depends on shared library: libSockets.so - not found ===> Installing existing package /packages/All/Sockets-2.3.9.9_3.pkg [main-i386-default-job-11] Installing Sockets-2.3.9.9_3... [main-i386-default-job-11] `-- Installing libxml2-2.10.4... [main-i386-default-job-11] | `-- Installing readline-8.2.1... [main-i386-default-job-11] | `-- Extracting readline-8.2.1: .......... done [main-i386-default-job-11] `-- Extracting libxml2-2.10.4: .......... done [main-i386-default-job-11] Extracting Sockets-2.3.9.9_3: .......... done ===> minder-2.0.2_3 depends on shared library: libSockets.so - found (/usr/local/lib/libSockets.so) ===> Returning to build of minder-2.0.2_3 ===> minder-2.0.2_3 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so) =========================================================================== =======================<phase: configure >============================ ===> Configuring for minder-2.0.2_3 =========================================================================== =======================<phase: build >============================ ===> Building for minder-2.0.2_3 gmake[1]: Entering directory '/wrkdirs/usr/ports/net-p2p/minder/work/minder-2.0.2' c++ -O2 -pipe -DHAVE_OPENSSL -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/libxml2 -I/usr/local/include/Sockets -I/usr/local/include -O2 -pipe -DHAVE_OPENSSL -fstack-protector-strong -fno-strict-aliasing -c -o minder.o minder.cpp c++ -O2 -pipe -DHAVE_OPENSSL -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/libxml2 -I/usr/local/include/Sockets -I/usr/local/include -O2 -pipe -DHAVE_OPENSSL -fstack-protector-strong -fno-strict-aliasing -c -o config.o config.cpp In file included from minder.cpp:33: In file included from /usr/local/include/Sockets/ListenSocket.h:42: In file included from /usr/local/include/Sockets/ISocketHandler.h:40: In file included from /usr/local/include/Sockets/Socket.h:45: /usr/local/include/Sockets/SocketAddress.h:95:15: error: no template named 'auto_ptr' in namespace 'std' virtual std::auto_ptr<SocketAddress> GetCopy() = 0; ~~~~~^ In file included from minder.cpp:33: In file included from /usr/local/include/Sockets/ListenSocket.h:42: In file included from /usr/local/include/Sockets/ISocketHandler.h:40: /usr/local/include/Sockets/Socket.h:180:7: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr<SocketAddress> GetClientRemoteAddress(); ~~~~~^ /usr/local/include/Sockets/Socket.h:303:7: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr<SocketAddress> GetRemoteSocketAddress(); ~~~~~^ /usr/local/include/Sockets/Socket.h:668:7: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr<SocketAddress> m_client_remote_address; ///< Address of last connect() ~~~~~^ /usr/local/include/Sockets/Socket.h:669:7: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr<SocketAddress> m_remote_address; ///< Remote end address ~~~~~^ /usr/local/include/Sockets/Socket.h:645:23: warning: reference 'm_handler' is not yet bound to a value when used here [-Wuninitialized] Socket() : m_handler(m_handler) {} ^ In file included from minder.cpp:33: In file included from /usr/local/include/Sockets/ListenSocket.h:44: /usr/local/include/Sockets/Utility.h:204:14: error: no template named 'auto_ptr' in namespace 'std' static std::auto_ptr<SocketAddress> CreateAddress(struct sockaddr *,socklen_t); ~~~~~^ In file included from minder.cpp:33: In file included from /usr/local/include/Sockets/ListenSocket.h:45: In file included from /usr/local/include/Sockets/SctpSocket.h:37: /usr/local/include/Sockets/StreamSocket.h:118:42: error: no matching constructor for initialization of 'Socket' StreamSocket(const StreamSocket& src) : Socket(src) {} // copy constructor ^ ~~~ /usr/local/include/Sockets/Socket.h:105:2: note: candidate constructor not viable: no known conversion from 'const StreamSocket' to 'ISocketHandler &' for 1st argument Socket(ISocketHandler&); ^ /usr/local/include/Sockets/Socket.h:647:2: note: candidate constructor not viable: no known conversion from 'const StreamSocket' to 'const Socket' for 1st argument Socket(const Socket& s) : m_handler(s.m_handler) {} ^ /usr/local/include/Sockets/Socket.h:645:2: note: candidate constructor not viable: requires 0 arguments, but 1 was provided Socket() : m_handler(m_handler) {} ^ In file included from minder.cpp:33: In file included from /usr/local/include/Sockets/ListenSocket.h:46: /usr/local/include/Sockets/Ipv4Address.h:81:7: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr<SocketAddress> GetCopy(); ~~~~~^ c++ -O2 -pipe -DHAVE_OPENSSL -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/libxml2 -I/usr/local/include/Sockets -I/usr/local/include -O2 -pipe -DHAVE_OPENSSL -fstack-protector-strong -fno-strict-aliasing -c -o MyTcpSocket.o MyTcpSocket.cpp 1 warning and 8 errors generated. gmake[1]: *** [<builtin>: minder.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... In file included from MyTcpSocket.cpp:34: In file included from ./MyHandler.h:26: In file included from /usr/local/include/Sockets/SocketHandler.h:40: In file included from /usr/local/include/Sockets/ISocketHandler.h:40: In file included from /usr/local/include/Sockets/Socket.h:45: /usr/local/include/Sockets/SocketAddress.h:95:15: error: no template named 'auto_ptr' in namespace 'std' virtual std::auto_ptr<SocketAddress> GetCopy() = 0; ~~~~~^ In file included from MyTcpSocket.cpp:34: In file included from ./MyHandler.h:26: In file included from /usr/local/include/Sockets/SocketHandler.h:40: In file included from /usr/local/include/Sockets/ISocketHandler.h:40: /usr/local/include/Sockets/Socket.h:180:7: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr<SocketAddress> GetClientRemoteAddress(); ~~~~~^ /usr/local/include/Sockets/Socket.h:303:7: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr<SocketAddress> GetRemoteSocketAddress(); ~~~~~^ /usr/local/include/Sockets/Socket.h:668:7: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr<SocketAddress> m_client_remote_address; ///< Address of last connect() ~~~~~^ /usr/local/include/Sockets/Socket.h:669:7: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr<SocketAddress> m_remote_address; ///< Remote end address ~~~~~^ /usr/local/include/Sockets/Socket.h:645:23: warning: reference 'm_handler' is not yet bound to a value when used here [-Wuninitialized] Socket() : m_handler(m_handler) {} ^ In file included from MyTcpSocket.cpp:34: In file included from ./MyHandler.h:27: /usr/local/include/Sockets/Utility.h:204:14: error: no template named 'auto_ptr' in namespace 'std' static std::auto_ptr<SocketAddress> CreateAddress(struct sockaddr *,socklen_t); ~~~~~^ In file included from MyTcpSocket.cpp:35: In file included from ./TestSocket.h:26: In file included from /usr/local/include/Sockets/TcpSocket.h:35: /usr/local/include/Sockets/StreamSocket.h:118:42: error: no matching constructor for initialization of 'Socket' StreamSocket(const StreamSocket& src) : Socket(src) {} // copy constructor ^ ~~~ /usr/local/include/Sockets/Socket.h:105:2: note: candidate constructor not viable: no known conversion from 'const StreamSocket' to 'ISocketHandler &' for 1st argument Socket(ISocketHandler&); ^ /usr/local/include/Sockets/Socket.h:647:2: note: candidate constructor not viable: no known conversion from 'const StreamSocket' to 'const Socket' for 1st argument Socket(const Socket& s) : m_handler(s.m_handler) {} ^ /usr/local/include/Sockets/Socket.h:645:2: note: candidate constructor not viable: requires 0 arguments, but 1 was provided Socket() : m_handler(m_handler) {} ^ MyTcpSocket.cpp:52:2: error: cannot initialize object parameter of type 'TcpSocket' with an expression of type 'MyTcpSocket' SetLineProtocol(); // we want the OnLine callback ^~~~~~~~~~~~~~~ MyTcpSocket.cpp:78:3: error: cannot initialize object parameter of type 'Socket' with an expression of type 'MyTcpSocket' SetCloseAndDelete(true); ^~~~~~~~~~~~~~~~~ MyTcpSocket.cpp:88:17: error: cannot initialize object parameter of type 'Socket' with an expression of type 'MyTcpSocket' ipaddr_t ip2 = GetRemoteIP4(); ^~~~~~~~~~~~ MyTcpSocket.cpp:92:27: error: cannot initialize object parameter of type 'const Socket' with an expression of type 'MyTcpSocket' static_cast<MyHandler&>(Handler()).unreg_host(app, id, ip2, port, ip); ^~~~~~~ MyTcpSocket.cpp:93:3: error: cannot initialize object parameter of type 'Socket' with an expression of type 'MyTcpSocket' SetCloseAndDelete(true); ^~~~~~~~~~~~~~~~~ MyTcpSocket.cpp:97:36: error: cannot initialize object parameter of type 'const Socket' with an expression of type 'MyTcpSocket' HOST *h = static_cast<MyHandler&>(Handler()).reg_host(app, id, ip2, port, ip, host_id, hid_from_host); ^~~~~~~ MyTcpSocket.cpp:104:29: error: cannot initialize object parameter of type 'Socket' with an expression of type 'MyTcpSocket' str = "You_" + id + ":" + GetRemoteAddress() + ":" + Utility::l2string(port) + ":" + Utility::l2string(host_id); ^~~~~~~~~~~~~~~~ MyTcpSocket.cpp:123:27: error: cannot initialize object parameter of type 'const Socket' with an expression of type 'MyTcpSocket' static_cast<MyHandler&>(Handler()).reset_sent(app); ^~~~~~~ MyTcpSocket.cpp:126:38: error: cannot initialize object parameter of type 'const Socket' with an expression of type 'MyTcpSocket' HOST *p = static_cast<MyHandler&>(Handler()).GetRandomHOST(app); ^~~~~~~ MyTcpSocket.cpp:137:3: error: cannot initialize object parameter of type 'TcpSocket' with an expression of type 'MyTcpSocket' Send(msg); ^~~~ MyTcpSocket.cpp:142:34: error: cannot initialize object parameter of type 'const Socket' with an expression of type 'MyTcpSocket' TestSocket *t = new TestSocket(Handler(),h -> connectable); ^~~~~~~ MyTcpSocket.cpp:143:8: error: no matching member function for call to 'Open' t -> Open(ip2, h -> extra_information); ~~~~~^~~~ /usr/local/include/Sockets/TcpSocket.h:141:7: note: candidate function not viable: no known conversion from 'TestSocket' to 'TcpSocket' for object argument bool Open(ipaddr_t ip,port_t port,bool skip_socks = false); ^ /usr/local/include/Sockets/TcpSocket.h:151:7: note: candidate function not viable: no known conversion from 'TestSocket' to 'TcpSocket' for object argument bool Open(SocketAddress&,bool skip_socks = false); ^ /usr/local/include/Sockets/TcpSocket.h:156:7: note: candidate function not viable: no known conversion from 'TestSocket' to 'TcpSocket' for object argument bool Open(const std::string &host,port_t port); ^ /usr/local/include/Sockets/TcpSocket.h:152:7: note: candidate function not viable: no known conversion from 'TestSocket' to 'TcpSocket' for object argument bool Open(SocketAddress&,SocketAddress& bind_address,bool skip_socks = false); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. gmake[1]: *** [<builtin>: MyTcpSocket.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-p2p/minder/work/minder-2.0.2' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/net-p2p/minder