Date: Thu, 26 Sep 2013 09:16:09 GMT From: pkg-fallout@FreeBSD.org To: fjoe@FreeBSD.org Cc: pkg-fallout@FreeBSD.org Subject: [REL - head-amd64-default][news/golded+] Failed for golded+-1.1.5.a20110223 in build Message-ID: <201309260916.r8Q9G95T028288@beefy2.isc.freebsd.org>
next in thread | raw e-mail | index | archive | help
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: fjoe@FreeBSD.org Last committer: bapt@FreeBSD.org Ident: $FreeBSD: head/news/golded+/Makefile 327759 2013-09-20 22:31:15Z bapt $ Log URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s/logs/golded+-1.1.5.a20110223.log Build URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s Log: ====>> Building news/golded+ build started at Thu Sep 26 09:13:18 UTC 2013 port directory: /usr/ports/news/golded+ building for: FreeBSD head-amd64-default-job-16 10.0-CURRENT FreeBSD 10.0-CURRENT amd64 maintained by: fjoe@FreeBSD.org Makefile ident: $FreeBSD: head/news/golded+/Makefile 327759 2013-09-20 22:31:15Z bapt $ Poudriere version: 3.1-pre ---Begin Environment--- OSVERSION=1000055 UNAME_v=FreeBSD 10.0-CURRENT UNAME_r=10.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref PKG_EXT=txz tpid=25347 POUDRIERE_BUILD_TYPE=bulk NBPARALLEL=24 PKGNG=1 PKGNAME=golded+-1.1.5.a20110223 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=head-amd64-default USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/poudriere/pkg-static version ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- NOTEWORK="Please read the /usr/local/share/doc/golded+/notework.txt before using golded+" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/golded+ DOCSDIR=/usr/local/share/doc/golded+ EXAMPLESDIR=/usr/local/share/examples/golded+ WWWDIR=/usr/local/www/golded+ ETCDIR=/usr/local/etc/golded+ --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=yes NO_RESTRICTED=yes DISABLE_MAKE_JOBS=yes ---End make.conf--- ===> Cleaning for golded+-1.1.5.a20110223 =======================<phase: check-config >============================ =========================================================================== =======================<phase: pkg-depends >============================ ===> golded+-1.1.5.a20110223 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.1.4_5.txz Installing pkg-1.1.4_5... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of golded+-1.1.5.a20110223 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> Fetching all distfiles required by golded+-1.1.5.a20110223 for building =========================================================================== =======================<phase: checksum >============================ ===> Fetching all distfiles required by golded+-1.1.5.a20110223 for building => SHA256 Checksum OK for gps115-20110223.tar.bz2. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> Fetching all distfiles required by golded+-1.1.5.a20110223 for building ===> Extracting for golded+-1.1.5.a20110223 => SHA256 Checksum OK for gps115-20110223.tar.bz2. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for golded+-1.1.5.a20110223 ===> Applying FreeBSD patches for golded+-1.1.5.a20110223 =========================================================================== =======================<phase: build-depends >============================ ===> golded+-1.1.5.a20110223 depends on executable: gmake - not found ===> Verifying install for gmake in /usr/ports/devel/gmake ===> Installing existing package /packages/All/gmake-3.82_1.txz Installing gmake-3.82_1...Installing gettext-0.18.3... done done ===> Returning to build of golded+-1.1.5.a20110223 =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =======================<phase: configure >============================ ===> Configuring for golded+-1.1.5.a20110223 =========================================================================== =======================<phase: build >============================ ===> Building for golded+-1.1.5.a20110223 gmake[1]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/gall' making sourcelist gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/gall' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/gcui' making sourcelist gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/gcui' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/gcfg' making sourcelist gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/gcfg' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/gmb3' making sourcelist gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/gmb3' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/glibc' making sourcelist gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/glibc' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/uulib' making sourcelist gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/uulib' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/smblib' making sourcelist gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/smblib' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/hunspell' making sourcelist gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/hunspell' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/golded3' making sourcelist gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/golded3' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldnode' making sourcelist gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldnode' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/rddt' making sourcelist gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/rddt' gmake[2]: Entering directory `/wrkdirs/usr/ports/news/golded+/work/golded+/goldlib/gall' building gcrc16tb.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I../../goldlib/gall -I../../goldlib/hunspell -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gcrc16tb.o gcrc16tb.cpp building gcrc32tb.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I../../goldlib/gall -I../../goldlib/hunspell -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gcrc32tb.o gcrc32tb.cpp building gcrchash.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I../../goldlib/gall -I../../goldlib/hunspell -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gcrchash.o gcrchash.cpp building gcrckeyv.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I../../goldlib/gall -I../../goldlib/hunspell -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gcrckeyv.o gcrckeyv.cpp building gcrcm16.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I../../goldlib/gall -I../../goldlib/hunspell -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gcrcm16.o gcrcm16.cpp building gcrcm32.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I../../goldlib/gall -I../../goldlib/hunspell -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gcrcm32.o gcrcm32.cpp building gcrcs16.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I../../goldlib/gall -I../../goldlib/hunspell -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gcrcs16.o gcrcs16.cpp building gcrcs32.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I../../goldlib/gall -I../../goldlib/hunspell -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gcrcs32.o gcrcs32.cpp building gdbgerr.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I../../goldlib/gall -I../../goldlib/hunspell -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gdbgerr.o gdbgerr.cpp building gdbgexit.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I../../goldlib/gall -I../../goldlib/hunspell -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gdbgexit.o gdbgexit.cpp building gdbgtrk.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I../../goldlib/gall -I../../goldlib/hunspell -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gdbgtrk.o gdbgtrk.cpp In file included from gdbgtrk.cpp:30: In file included from ../../goldlib/gall/glog.h:34: ./../goldlib/gall/gfile.h:254:45: warning: no case matching constant switch condition '8' switch(sizeof(unsigned long)) { ^~~~~~~~~~~~~~~~~~~~~ ./../goldlib/gall/gfile.h:276:53: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./../goldlib/gall/gfile.h:276:53: note: use '&' for a bitwise operation o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./../goldlib/gall/gfile.h:276:53: note: remove constant to silence this warning o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); <snip> o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:277:58: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./goldlib/gall/gfile.h:277:58: note: use '&' for a bitwise operation o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./goldlib/gall/gfile.h:277:58: note: remove constant to silence this warning o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:281:53: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./goldlib/gall/gfile.h:281:53: note: use '&' for a bitwise operation o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./goldlib/gall/gfile.h:281:53: note: remove constant to silence this warning o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:282:58: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./goldlib/gall/gfile.h:282:58: note: use '&' for a bitwise operation o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./goldlib/gall/gfile.h:282:58: note: remove constant to silence this warning o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:283:59: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t((o<<16) && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./goldlib/gall/gfile.h:283:59: note: use '&' for a bitwise operation o8 = uint8_t((o<<16) && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./goldlib/gall/gfile.h:283:59: note: remove constant to silence this warning o8 = uint8_t((o<<16) && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:284:59: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t((o<<24) && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./goldlib/gall/gfile.h:284:59: note: use '&' for a bitwise operation o8 = uint8_t((o<<24) && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./goldlib/gall/gfile.h:284:59: note: remove constant to silence this warning o8 = uint8_t((o<<24) && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:301:50: warning: no case matching constant switch condition '8' gnfile& operator<< (unsigned long o) { switch (sizeof(o)) { ^~~~~~~~~ In file included from gccfgg8.cpp:27: In file included from ./golded.h:71: ./goldlib/gall/gutlgrp.h:41:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma interface "gutlgrp.h" ^ 9 warnings generated. building gckeys.o c++ -c -MD -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -D__INCLUDE_NEW_KEYWORDS__ -O2 -pipe -fno-strict-aliasing -funsigned-char -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -funsigned-char -I. -I../goldlib/gall -I../goldlib/gcui -I../goldlib/gcfg -I../goldlib/gmb3 -I../goldlib/uulib -I../goldlib/smblib -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK -fno-rtti -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../obj/lnx/golded3/gckeys.o gckeys.cpp In file included from gckeys.cpp:27: In file included from ./golded.h:57: ./goldlib/gall/gfile.h:254:45: warning: no case matching constant switch condition '8' switch(sizeof(unsigned long)) { ^~~~~~~~~~~~~~~~~~~~~ ./goldlib/gall/gfile.h:276:53: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./goldlib/gall/gfile.h:276:53: note: use '&' for a bitwise operation o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./goldlib/gall/gfile.h:276:53: note: remove constant to silence this warning o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:277:58: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./goldlib/gall/gfile.h:277:58: note: use '&' for a bitwise operation o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./goldlib/gall/gfile.h:277:58: note: remove constant to silence this warning o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:281:53: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./goldlib/gall/gfile.h:281:53: note: use '&' for a bitwise operation o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./goldlib/gall/gfile.h:281:53: note: remove constant to silence this warning o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:282:58: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./goldlib/gall/gfile.h:282:58: note: use '&' for a bitwise operation o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./goldlib/gall/gfile.h:282:58: note: remove constant to silence this warning o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:283:59: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t((o<<16) && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./goldlib/gall/gfile.h:283:59: note: use '&' for a bitwise operation o8 = uint8_t((o<<16) && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./goldlib/gall/gfile.h:283:59: note: remove constant to silence this warning o8 = uint8_t((o<<16) && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:284:59: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] o8 = uint8_t((o<<24) && 0xff); Fwrite(&o8, sizeof(o8)); ^ ~~~~ ./goldlib/gall/gfile.h:284:59: note: use '&' for a bitwise operation o8 = uint8_t((o<<24) && 0xff); Fwrite(&o8, sizeof(o8)); ^~ & ./goldlib/gall/gfile.h:284:59: note: remove constant to silence this warning o8 = uint8_t((o<<24) && 0xff); Fwrite(&o8, sizeof(o8)); ~^~~~~~~ ./goldlib/gall/gfile.h:301:50: warning: no case matching constant switch condition '8' gnfile& operator<< (unsigned long o) { switch (sizeof(o)) { ^~~~~~~~~ In file included from gckeys.cpp:27: In file included from ./golded.h:71: ./goldlib/gall/gutlgrp.h:41:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma interface "gutlgrp.h" ^ In file included from gckeys.cpp:27: In file included from ./golded.h:35: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:434: /usr/include/c++/v1/algorithm:678:97: error: invalid operands to binary expression ('const CmdKey' and 'const CmdKey') _LIBCPP_INLINE_VISIBILITY bool operator()(const _T1& __x, const _T1& __y) const {return __x < __y;} ~~~ ^ ~~~ /usr/include/c++/v1/list:2170:13: note: in instantiation of member function 'std::__1::__less<CmdKey, CmdKey>::operator()' requested here if (__comp(*--__e2, *__f1)) ^ /usr/include/c++/v1/list:2156:5: note: in instantiation of function template specialization 'std::__1::list<CmdKey, std::__1::allocator<CmdKey> >::__sort<std::__1::__less<CmdKey, CmdKey> >' requested here __sort(begin(), end(), base::__sz(), __comp); ^ /usr/include/c++/v1/list:2147:5: note: in instantiation of function template specialization 'std::__1::list<CmdKey, std::__1::allocator<CmdKey> >::sort<std::__1::__less<CmdKey, CmdKey> >' requested here sort(__less<value_type>()); ^ gckeys.cpp:1161:15: note: in instantiation of member function 'std::__1::list<CmdKey, std::__1::allocator<CmdKey> >::sort' requested here CFG->cmdkey.sort(); ^ gckeys.cpp:992:6: note: candidate function not viable: 1st argument ('const CmdKey') would lose const qualifier bool operator<(CmdKey &a, CmdKey &b) { ^ /usr/include/c++/v1/utility:397:1: note: candidate template ignored: could not match 'pair<type-parameter-0-0, type-parameter-0-1>' against 'const CmdKey' operator< (const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) ^ /usr/include/c++/v1/iterator:566:1: note: candidate template ignored: could not match 'reverse_iterator<type-parameter-0-0>' against 'const CmdKey' operator<(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) ^ /usr/include/c++/v1/iterator:961:1: note: candidate template ignored: could not match 'move_iterator<type-parameter-0-0>' against 'const CmdKey' operator<(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) ^ /usr/include/c++/v1/iterator:1277:1: note: candidate template ignored: could not match '__wrap_iter<type-parameter-0-0>' against 'const CmdKey' operator<(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT ^ /usr/include/c++/v1/memory:2953:1: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const CmdKey' operator< (const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) ^ /usr/include/c++/v1/memory:3011:1: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const CmdKey' operator<(const unique_ptr<_T1, _D1>& __x, nullptr_t) ^ /usr/include/c++/v1/memory:3020:1: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const CmdKey' operator<(nullptr_t, const unique_ptr<_T1, _D1>& __x) ^ /usr/include/c++/v1/memory:4799:1: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'const CmdKey' operator<(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT ^ /usr/include/c++/v1/memory:4864:1: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'const CmdKey' operator<(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT ^ /usr/include/c++/v1/memory:4872:1: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'const CmdKey' operator<(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT ^ 9 warnings and 1 error generated. gmake[2]: *** [../obj/lnx/golded3/gckeys.o] Error 1 gmake[2]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+/golded3' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/wrkdirs/usr/ports/news/golded+/work/golded+' *** Error code 1 Stop. make: stopped in /usr/ports/news/golded+ ===> Cleaning for golded+-1.1.5.a20110223
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309260916.r8Q9G95T028288>