From owner-freebsd-pkg-fallout@freebsd.org Wed Jan 17 07:18:46 2018 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2EE09EA7F2D for ; Wed, 17 Jan 2018 07:18:46 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 16DF980DD1 for ; Wed, 17 Jan 2018 07:18:46 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 163C2EA7F29; Wed, 17 Jan 2018 07:18:46 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15E2FEA7F27 for ; Wed, 17 Jan 2018 07:18:46 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D287680DD0 for ; Wed, 17 Jan 2018 07:18:45 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy8.nyi.freebsd.org (beefy8.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:eb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1C1A5445A for ; Wed, 17 Jan 2018 07:18:45 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy8.nyi.freebsd.org (localhost [127.0.0.1]) by beefy8.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0H7IjbU022363 for ; Wed, 17 Jan 2018 07:18:45 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy8.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w0H7Ijrv022362; Wed, 17 Jan 2018 07:18:45 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Wed, 17 Jan 2018 07:18:45 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201801170718.w0H7Ijrv022362@beefy8.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-armv6-default][devel/hapy] Failed for hapy-0.0.8_1 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 07:18:46 -0000 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: rousskov@measurement-factory.com Last committer: tijl@FreeBSD.org Ident: $FreeBSD: head/devel/hapy/Makefile 366482 2014-08-29 09:33:54Z tijl $ Log URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p459021_s327977/logs/hapy-0.0.8_1.log Build URL: http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p459021_s327977 Log: =>> Building devel/hapy build started at Wed Jan 17 07:18:23 UTC 2018 port directory: /usr/ports/devel/hapy package name: hapy-0.0.8_1 building for: FreeBSD head-armv6-default-job-02 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 arm maintained by: rousskov@measurement-factory.com Makefile ident: $FreeBSD: head/devel/hapy/Makefile 366482 2014-08-29 09:33:54Z tijl $ Poudriere version: 3.2.3-46-g2b218269 Host OSVERSION: 1200054 Jail OSVERSION: 1200056 Job Id: 02 !!! Jail is newer than host. (Jail: 1200056, Host: 1200054) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=armv6 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1200056 UNAME_v=FreeBSD 12.0-CURRENT 1200056 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref QEMU_EMULATING=1 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk OLDPWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool MASTERNAME=head-armv6-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root P_PYTHON_MAJOR_VER=2 POUDRIERE_VERSION=3.2.3-46-g2b218269 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local 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--- ---End OPTIONS List--- --MAINTAINER-- rousskov@measurement-factory.com --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/hapy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/hapy/work HOME=/wrkdirs/usr/ports/devel/hapy/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/hapy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/hapy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/hapy/work HOME=/wrkdirs/usr/ports/devel/hapy/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/hapy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -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-- PORTDOCS="" PORTEXAMPLES="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/hapy" EXAMPLESDIR="share/examples/hapy" DATADIR="share/hapy" WWWDIR="www/hapy" ETCDIR="etc/hapy" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/hapy DOCSDIR=/usr/local/share/doc/hapy EXAMPLESDIR=/usr/local/share/examples/hapy WWWDIR=/usr/local/www/hapy ETCDIR=/usr/local/etc/hapy --End SUB_LIST-- ---Begin make.conf--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=arm MACHINE_ARCH=armv6 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 #### ARCH=armv6 CONFIGURE_MAX_CMD_LEN=262144 OPSYS=FreeBSD OSREL=12.0 OSVERSION=1200056 PYTHONBASE=/usr/local UID=0 _OSRELEASE=12.0-CURRENT #### Misc Poudriere #### GID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ AS=/nxb-bin/usr/bin/as NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 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-- =================================================== =========================================================================== =================================================== ===> hapy-0.0.8_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.4.txz [head-armv6-default-job-02] Installing pkg-1.10.4... [head-armv6-default-job-02] Extracting pkg-1.10.4: .......... done ===> hapy-0.0.8_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of hapy-0.0.8_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by hapy-0.0.8_1 for building =========================================================================== =================================================== ===> Fetching all distfiles required by hapy-0.0.8_1 for building => SHA256 Checksum OK for Hapy-0.0.8.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by hapy-0.0.8_1 for building ===> Extracting for hapy-0.0.8_1 => SHA256 Checksum OK for Hapy-0.0.8.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for hapy-0.0.8_1 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for hapy-0.0.8_1 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/devel/hapy/work/Hapy-0.0.8/cfgaux/libtool.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/devel/hapy/work/Hapy-0.0.8/configure configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking dependency style of /nxb-bin/usr/bin/c++... gcc3 checking how to run the C++ preprocessor... /nxb-bin/usr/bin/c++ -E checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm output from /nxb-bin/usr/bin/cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if /nxb-bin/usr/bin/cc supports -fno-rtti -fno-exceptions... yes checking for /nxb-bin/usr/bin/cc option to produce PIC... -fPIC checking if /nxb-bin/usr/bin/cc PIC flag -fPIC works... yes checking if /nxb-bin/usr/bin/cc static flag -static works... yes checking if /nxb-bin/usr/bin/cc supports -c -o file.o... yes checking whether the /nxb-bin/usr/bin/cc linker (/nxb-bin/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd12.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes configure: creating libtool configuring libtool for CXX support checking for ld used by /nxb-bin/usr/bin/c++... /nxb-bin/usr/bin/ld checking if the linker (/nxb-bin/usr/bin/ld) is GNU ld... yes checking whether the /nxb-bin/usr/bin/c++ linker (/nxb-bin/usr/bin/ld) supports shared libraries... yes checking for /nxb-bin/usr/bin/c++ option to produce PIC... -fPIC checking if /nxb-bin/usr/bin/c++ PIC flag -fPIC works... yes checking if /nxb-bin/usr/bin/c++ static flag -static works... yes checking if /nxb-bin/usr/bin/c++ supports -c -o file.o... yes checking whether the /nxb-bin/usr/bin/c++ linker (/nxb-bin/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd12.0 ld.so checking how to hardcode library paths into programs... immediate checking whether /nxb-bin/usr/bin/c++ compiler understands C++... yes configure: WARNING: CXXFLAGS manualy set to "-O2 -pipe -fno-strict-aliasing " checking for main in -lnsl... no checking iterator usability... no checking iterator presence... yes configure: WARNING: iterator: present but cannot be compiled configure: WARNING: iterator: check for missing prerequisite headers? configure: WARNING: iterator: see the Autoconf documentation configure: WARNING: iterator: section "Present But Cannot Be Compiled" configure: WARNING: iterator: proceeding with the preprocessor's result configure: WARNING: iterator: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------- ## configure: WARNING: ## Report this to the Hapy lists. ## configure: WARNING: ## ------------------------------- ## checking for iterator... yes checking limits usability... no checking limits presence... yes configure: WARNING: limits: present but cannot be compiled configure: WARNING: limits: check for missing prerequisite headers? configure: WARNING: limits: see the Autoconf documentation configure: WARNING: limits: section "Present But Cannot Be Compiled" configure: WARNING: limits: proceeding with the preprocessor's result configure: WARNING: limits: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------- ## configure: WARNING: ## Report this to the Hapy lists. ## configure: WARNING: ## ------------------------------- ## checking for limits... yes checking climits usability... no checking climits presence... yes configure: WARNING: climits: present but cannot be compiled configure: WARNING: climits: check for missing prerequisite headers? configure: WARNING: climits: see the Autoconf documentation configure: WARNING: climits: section "Present But Cannot Be Compiled" configure: WARNING: climits: proceeding with the preprocessor's result configure: WARNING: climits: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------- ## configure: WARNING: ## Report this to the Hapy lists. ## configure: WARNING: ## ------------------------------- ## checking for climits... yes checking for limits.h... (cached) yes checking for non-standard std::string::compare profile... no checking for std::numeric_limits... yes checking for std::iterator... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating tests/Makefile config.status: creating src/include/Hapy/ac-config.h config.status: executing src/include/Hapy/config.h commands config.status: creating src/include/Hapy/config.h - prefix HAPY for src/include/Hapy/ac-config.h defines config.status: executing depfiles commands =========================================================================== =================================================== ===> Building for hapy-0.0.8_1 Making all in src if /bin/sh ../libtool --tag=CXX --mode=compile /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I../src/include -I../src/include -O2 -pipe -fno-strict-aliasing -MT Algorithm.lo -MD -MP -MF ".deps/Algorithm.Tpo" -c -o Algorithm.lo Algorithm.cc; then mv -f ".deps/Algorithm.Tpo" ".deps/Algorithm.Plo"; else rm -f ".deps/Algorithm.Tpo"; exit 1; fi /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I../src/include -I../src/include -O2 -pipe -fno-strict-aliasing -MT Algorithm.lo -MD -MP -MF .deps/Algorithm.Tpo -c Algorithm.cc -o Algorithm.o In file included from Algorithm.cc:4: In file included from ../src/include/Hapy/Algorithm.h:6: In file included from ../src/include/Hapy/Result.h:7: In file included from ../src/include/Hapy/Pree.h:9: In file included from ../src/include/Hapy/PreeKids.h:7: ./src/include/Hapy/Iterator.h:22:10: error: no template named 'bidirectional_iterator' in namespace 'std'; did you mean 'std_bidirectional_iterator'? public std::bidirectional_iterator { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ std_bidirectional_iterator ./src/include/Hapy/Iterator.h:21:9: note: 'std_bidirectional_iterator' declared here struct std_bidirectional_iterator: ^ ./src/include/Hapy/Iterator.h:22:10: error: circular inheritance between 'std::std_bidirectional_iterator' and 'std_bidirectional_iterator' public std::bidirectional_iterator { ^ In file included from Algorithm.cc:4: In file included from ../src/include/Hapy/Algorithm.h:6: In file included from ../src/include/Hapy/Result.h:7: In file included from ../src/include/Hapy/Pree.h:9: ./src/include/Hapy/PreeKids.h:17:60: error: no type named 'iterator_category' in 'std::__1::iterator_traits >' typedef typename std::iterator_traits::iterator_category iterator_category; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./src/include/Hapy/Pree.h:106:34: note: in instantiation of template class 'Hapy::PreeKidsIterator' requested here for (Pree::const_iterator i = n.begin(); i < n.end(); ++i) { ^ In file included from Algorithm.cc:4: In file included from ../src/include/Hapy/Algorithm.h:6: In file included from ../src/include/Hapy/Result.h:7: In file included from ../src/include/Hapy/Pree.h:9: ./src/include/Hapy/PreeKids.h:18:60: error: no type named 'difference_type' in 'std::__1::iterator_traits >' typedef typename std::iterator_traits::difference_type difference_type; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./src/include/Hapy/PreeKids.h:19:60: error: no type named 'value_type' in 'std::__1::iterator_traits >' typedef typename std::iterator_traits::value_type value_type; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./src/include/Hapy/PreeKids.h:20:60: error: no type named 'pointer' in 'std::__1::iterator_traits >' typedef typename std::iterator_traits::pointer pointer; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./src/include/Hapy/PreeKids.h:21:60: error: no type named 'reference' in 'std::__1::iterator_traits >' typedef typename std::iterator_traits::reference reference; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from Algorithm.cc:4: In file included from ../src/include/Hapy/Algorithm.h:6: In file included from ../src/include/Hapy/Result.h:7: ./src/include/Hapy/Pree.h:107:10: error: member reference type 'Hapy::PreeKidsIterator::pointer' (aka 'int') is not a pointer if (i->rid() == rid) ~ ^ ./src/include/Hapy/Pree.h:117:10: error: member reference type 'Hapy::PreeKidsIterator::pointer' (aka 'int') is not a pointer if (i->rid() == rid) ~ ^ ./src/include/Hapy/Pree.h:118:11: error: cannot take the address of an rvalue of type 'Hapy::PreeKidsIterator::reference' (aka 'int') return &(*i); ^ ~~ ./src/include/Hapy/Pree.h:119:23: error: no matching function for call to 'find_first' if (const Pree *p = find_first(*i, rid)) ^~~~~~~~~~ ./src/include/Hapy/Pree.h:115:13: note: candidate function not viable: no known conversion from 'Hapy::PreeKidsIterator::reference' (aka 'int') to 'const Hapy::Pree' for 1st argument const Pree *find_first(const Pree &n, const RuleId &rid) { ^ ./src/include/Hapy/Pree.h:130:11: error: cannot take the address of an rvalue of type 'Hapy::PreeKidsIterator::reference' (aka 'int') return &(*i); ^ ~~ In file included from Algorithm.cc:6: In file included from ../src/include/Hapy/RuleBase.h:11: ./src/include/Hapy/RuleCompFlags.h:14:20: error: cannot initialize a member subobject of type 'Hapy::RulePtr' (aka 'Hapy::RuleBase *') with an rvalue of type 'bool' RuleCompFlags(): trimmer(false), trimLeft(false), trimRight(false), ^ ~~~~~ In file included from Algorithm.cc:4: In file included from ../src/include/Hapy/Algorithm.h:6: In file included from ../src/include/Hapy/Result.h:7: In file included from ../src/include/Hapy/Pree.h:9: ./src/include/Hapy/PreeKids.h:35:23: error: member reference type 'Hapy::PreeKidsIterator::pointer' (aka 'int') is not a pointer current = current->right; ~~~~~~~ ^ ./src/include/Hapy/Pree.h:116:56: note: in instantiation of member function 'Hapy::PreeKidsIterator::operator++' requested here for (Pree::const_iterator i = n.begin(); i < n.end(); ++i) { ^ In file included from Algorithm.cc:4: In file included from ../src/include/Hapy/Algorithm.h:6: In file included from ../src/include/Hapy/Result.h:7: In file included from ../src/include/Hapy/Pree.h:9: ./src/include/Hapy/PreeKids.h:32:39: error: cannot take the address of an rvalue of type 'Hapy::PreeKidsIterator::reference' (aka 'int') pointer operator->() const { return &(operator*()); } ^ ~~~~~~~~~~~ ./src/include/Hapy/Pree.h:117:8: note: in instantiation of member function 'Hapy::PreeKidsIterator::operator->' requested here if (i->rid() == rid) ^ In file included from Algorithm.cc:4: In file included from ../src/include/Hapy/Algorithm.h:6: In file included from ../src/include/Hapy/Result.h:7: In file included from ../src/include/Hapy/Pree.h:9: ./src/include/Hapy/PreeKids.h:29:11: error: indirection requires pointer operand ('Hapy::PreeKidsIterator::pointer' (aka 'int') invalid) return *current; ^~~~~~~~ ./src/include/Hapy/Pree.h:118:13: note: in instantiation of member function 'Hapy::PreeKidsIterator::operator*' requested here return &(*i); ^ 16 errors generated. *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/devel/hapy/work/Hapy-0.0.8/src *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/devel/hapy/work/Hapy-0.0.8 *** Error code 1 Stop. make: stopped in /usr/ports/devel/hapy