Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 02:15:55 GMT
From:      pkg-fallout@FreeBSD.org
To:        snnn119@gmail.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-amd64-default][devel/loki] Failed for loki-0.1.7 in build
Message-ID:  <201309260215.r8Q2FtRj085835@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:     snnn119@gmail.com
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: head/devel/loki/Makefile 327724 2013-09-20 17:13:42Z bapt $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s/logs/loki-0.1.7.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s
Log:

====>> Building devel/loki
build started at Thu Sep 26 02:15:35 UTC 2013
port directory: /usr/ports/devel/loki
building for: FreeBSD head-amd64-default-job-12 10.0-CURRENT FreeBSD 10.0-CURRENT amd64
maintained by: snnn119@gmail.com
Makefile ident:      $FreeBSD: head/devel/loki/Makefile 327724 2013-09-20 17:13:42Z 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=54091
POUDRIERE_BUILD_TYPE=bulk
NBPARALLEL=24
PKGNG=1
PKGNAME=loki-0.1.7
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 TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" 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--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/loki
DOCSDIR=/usr/local/share/doc/loki
EXAMPLESDIR=/usr/local/share/examples/loki
WWWDIR=/usr/local/www/loki
ETCDIR=/usr/local/etc/loki
--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 loki-0.1.7
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   loki-0.1.7 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 loki-0.1.7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by loki-0.1.7 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by loki-0.1.7 for building
=> SHA256 Checksum OK for loki-0.1.7.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by loki-0.1.7 for building
===>  Extracting for loki-0.1.7
=> SHA256 Checksum OK for loki-0.1.7.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for loki-0.1.7
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for loki-0.1.7
===========================================================================
=======================<phase: build-depends  >============================
===>   loki-0.1.7 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 loki-0.1.7
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for loki-0.1.7
===========================================================================
=======================<phase: build          >============================
===>  Building for loki-0.1.7
gmake[1]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7'
gmake -C src build-static
gmake[2]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
c++ -MM -MT SmartPtr.lo  -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep
c++ -MM -MT StrongPtr.lo  -I../include -DNDEBUG StrongPtr.cpp > .shared-dep/StrongPtr.dep
c++ -MM -MT SmallObj.lo  -I../include -DNDEBUG SmallObj.cpp > .shared-dep/SmallObj.dep
c++ -MM -MT OrderedStatic.lo  -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep
c++ -MM -MT SafeFormat.lo  -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep
c++ -MM -MT LevelMutex.lo  -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep
LevelMutex.cpp:35:9: warning: 'nullptr' macro redefined
#define nullptr 0
        ^
/usr/include/c++/v1/cstddef:88:9: note: previous definition is here
#define nullptr _VSTD::__get_nullptr_t()
        ^
1 warning generated.
c++ -MM -MT Singleton.lo  -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep
c++ -MM -MT SmartPtr.o  -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep
c++ -MM -MT StrongPtr.o  -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep
c++ -MM -MT SmallObj.o  -I../include -DNDEBUG SmallObj.cpp > .static-dep/SmallObj.dep
c++ -MM -MT OrderedStatic.o  -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.dep
c++ -MM -MT SafeFormat.o  -I../include -DNDEBUG SafeFormat.cpp > .static-dep/SafeFormat.dep
c++ -MM -MT LevelMutex.o  -I../include -DNDEBUG LevelMutex.cpp > .static-dep/LevelMutex.dep
LevelMutex.cpp:35:9: warning: 'nullptr' macro redefined
#define nullptr 0
        ^
/usr/include/c++/v1/cstddef:88:9: note: previous definition is here
#define nullptr _VSTD::__get_nullptr_t()
        ^
1 warning generated.
c++ -MM -MT Singleton.o  -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.dep
gmake[2]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
gmake[2]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2  -I../include -DNDEBUG  -c -o Singleton.o Singleton.cpp
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2  -I../include -DNDEBUG  -c -o LevelMutex.o LevelMutex.cpp
In file included from LevelMutex.cpp:25:
./include/loki/LevelMutex.h:837:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion]
        clock_t timeOut = clock() + milliSeconds;
                ~~~~~~~   ~~~~~~~~^~~~~~~~~~~~~~
./include/loki/LevelMutex.h:837:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
        clock_t timeOut = clock() + milliSeconds;
                          ^~~~~~~ ~
./include/loki/LevelMutex.h:933:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion]
        clock_t timeOut = clock() + milliSeconds;
                ~~~~~~~   ~~~~~~~~^~~~~~~~~~~~~~
./include/loki/LevelMutex.h:933:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
        clock_t timeOut = clock() + milliSeconds;
                          ^~~~~~~ ~
LevelMutex.cpp:35:9: warning: 'nullptr' macro redefined
#define nullptr 0
        ^
/usr/include/c++/v1/cstddef:88:9: note: previous definition is here
#define nullptr _VSTD::__get_nullptr_t()
        ^
LevelMutex.cpp:186:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
    const unsigned int count = mutexes.size();
                       ~~~~~   ^~~~~~~~~~~~~~
LevelMutex.cpp:320:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
    const unsigned int count = mutexes.size();
                       ~~~~~   ^~~~~~~~~~~~~~
LevelMutex.cpp:403:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
    const unsigned int count = mutexes.size();
                       ~~~~~   ^~~~~~~~~~~~~~
LevelMutex.cpp:493:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
    const unsigned int count = mutexes.size();
                       ~~~~~   ^~~~~~~~~~~~~~
9 warnings generated.
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2  -I../include -DNDEBUG  -c -o SafeFormat.o SafeFormat.cpp
SafeFormat.cpp:27:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        ::std::fwrite(from, 1, to - from, f);
        ~~                     ~~~^~~~~~
1 warning generated.
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2  -I../include -DNDEBUG  -c -o OrderedStatic.o OrderedStatic.cpp
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2  -I../include -DNDEBUG  -c -o SmallObj.o SmallObj.cpp
SmallObj.cpp:381:21: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
        ( toRelease - pData_ ) / blockSize);
          ~~~~~~~~~~^~~~~~~~   ~
SmallObj.cpp:514:17: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
        ( place - pData_ ) / blockSize );
          ~~~~~~^~~~~~~~   ~
2 warnings generated.
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2  -I../include -DNDEBUG  -c -o StrongPtr.o StrongPtr.cpp
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2  -I../include -DNDEBUG  -c -o SmartPtr.o SmartPtr.cpp
ar rv ../lib/libloki.a Singleton.o LevelMutex.o SafeFormat.o OrderedStatic.o SmallObj.o StrongPtr.o SmartPtr.o
ar: warning: creating ../lib/libloki.a
a - Singleton.o
a - LevelMutex.o
a - SafeFormat.o
a - OrderedStatic.o
a - SmallObj.o
a - StrongPtr.o
a - SmartPtr.o
gmake[2]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
gmake -C src build-shared
gmake[2]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC  -I../include -DNDEBUG -o Singleton.lo Singleton.cpp
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC  -I../include -DNDEBUG -o LevelMutex.lo LevelMutex.cpp
In file included from LevelMutex.cpp:25:
./include/loki/LevelMutex.h:837:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion]
        clock_t timeOut = clock() + milliSeconds;
                ~~~~~~~   ~~~~~~~~^~~~~~~~~~~~~~
./include/loki/LevelMutex.h:837:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
        clock_t timeOut = clock() + milliSeconds;
                          ^~~~~~~ ~
./include/loki/LevelMutex.h:933:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion]
        clock_t timeOut = clock() + milliSeconds;
                ~~~~~~~   ~~~~~~~~^~~~~~~~~~~~~~
./include/loki/LevelMutex.h:933:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
        clock_t timeOut = clock() + milliSeconds;
                          ^~~~~~~ ~
LevelMutex.cpp:35:9: warning: 'nullptr' macro redefined
#define nullptr 0
        ^
/usr/include/c++/v1/cstddef:88:9: note: previous definition is here
#define nullptr _VSTD::__get_nullptr_t()
        ^
LevelMutex.cpp:186:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
    const unsigned int count = mutexes.size();
                       ~~~~~   ^~~~~~~~~~~~~~
LevelMutex.cpp:320:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
    const unsigned int count = mutexes.size();
                       ~~~~~   ^~~~~~~~~~~~~~
LevelMutex.cpp:403:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
    const unsigned int count = mutexes.size();
                       ~~~~~   ^~~~~~~~~~~~~~
LevelMutex.cpp:493:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
    const unsigned int count = mutexes.size();
                       ~~~~~   ^~~~~~~~~~~~~~
9 warnings generated.
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC  -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp
SafeFormat.cpp:27:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        ::std::fwrite(from, 1, to - from, f);
        ~~                     ~~~^~~~~~
1 warning generated.
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC  -I../include -DNDEBUG -o OrderedStatic.lo OrderedStatic.cpp
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC  -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp
SmallObj.cpp:381:21: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
        ( toRelease - pData_ ) / blockSize);
          ~~~~~~~~~~^~~~~~~~   ~
SmallObj.cpp:514:17: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
        ( place - pData_ ) / blockSize );
          ~~~~~~^~~~~~~~   ~
2 warnings generated.
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC  -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC  -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp
c++  --shared -Wl,-soname=libloki.so.0.1.7 -fPIC -o ../lib/libloki.so.0.1.7 Singleton.lo LevelMutex.lo SafeFormat.lo OrderedStatic.lo SmallObj.lo StrongPtr.lo SmartPtr.lo -lpthread
gmake[2]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
gmake -C test
gmake[2]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test'
gmake -C Register
gmake[3]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Register'
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2  -I../../include -DNDEBUG  -c -o main.o main.cpp
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2  -I../../include -DNDEBUG  -c -o foo.o foo.cpp
ar rv libfoo.a foo.o
ar: warning: creating libfoo.a
a - foo.o
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -L.   -I../../include -DNDEBUG -o main main.o ../../lib/libloki.a -lfoo
gmake[3]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Register'
gmake -C LockingPtr
gmake[3]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/LockingPtr'
c++ -MM -MT main.lo  -I../../include -DNDEBUG main.cpp > .shared-dep/main.dep
c++ -MM -MT main.o  -I../../include -DNDEBUG main.cpp > .static-dep/main.dep
gmake[3]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/LockingPtr'
gmake[3]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/LockingPtr'
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2  -I../../include -DNDEBUG  -c -o main.o main.cpp
In file included from main.cpp:22:
In file included from ./Thread.h:17:
./../include/loki/Threads.h:505:9: error: void function 'AtomicAssign' should not return a value [-Wreturn-type]
        LOKI_THREADS_ATOMIC_FUNCTIONS
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/loki/Threads.h:254:13: note: expanded from macro 'LOKI_THREADS_ATOMIC_FUNCTIONS'
            return lval;                                                 \
            ^      ~~~~
./../include/loki/Threads.h:505:9: error: void function 'AtomicAssign' should not return a value [-Wreturn-type]
        LOKI_THREADS_ATOMIC_FUNCTIONS
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/loki/Threads.h:262:13: note: expanded from macro 'LOKI_THREADS_ATOMIC_FUNCTIONS'
            return lval;                                                 \
            ^      ~~~~
./../include/loki/Threads.h:590:9: error: void function 'AtomicAssign' should not return a value [-Wreturn-type]
        LOKI_THREADS_ATOMIC_FUNCTIONS
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/loki/Threads.h:254:13: note: expanded from macro 'LOKI_THREADS_ATOMIC_FUNCTIONS'
            return lval;                                                 \
            ^      ~~~~
./../include/loki/Threads.h:590:9: error: void function 'AtomicAssign' should not return a value [-Wreturn-type]
        LOKI_THREADS_ATOMIC_FUNCTIONS
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/loki/Threads.h:262:13: note: expanded from macro 'LOKI_THREADS_ATOMIC_FUNCTIONS'
            return lval;                                                 \
            ^      ~~~~
main.cpp:108:20: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        threads.at(i)->start();
        ~~~~~~~    ^
main.cpp:123:20: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        threads.at(i)->start();
        ~~~~~~~    ^
In file included from main.cpp:25:
./../include/loki/SafeFormat.h:366:42: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
            memcpy(fmtBuf, fmt, (format_ - fmt) * sizeof(Char));
                                 ~~~~~~~~^~~~~  ~
./../include/loki/SafeFormat.h:163:13: note: in instantiation of function template specialization 'Loki::PrintfState<__sFILE *, char>::PrintUsing_snprintf<void *>' requested here
            PrintUsing_snprintf(n,"p");
            ^
main.cpp:42:44: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
        DO;Printf("%p: ----------------\n")(id);
                                           ^
In file included from main.cpp:25:
./../include/loki/SafeFormat.h:472:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
                r += *format_ - '0';
                  ~~ ~~~~~~~~~^~~~~
./../include/loki/SafeFormat.h:479:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ParseDecimalSizeT' requested here
            ParseDecimalSizeT(width_);
            ^
./../include/loki/SafeFormat.h:498:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ReadWidth' requested here
            ReadWidth();
            ^
./../include/loki/SafeFormat.h:353:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ReadLeaders' requested here
            ReadLeaders();
            ^
./../include/loki/SafeFormat.h:163:13: note: in instantiation of function template specialization 'Loki::PrintfState<__sFILE *, char>::PrintUsing_snprintf<void *>' requested here
            PrintUsing_snprintf(n,"p");
            ^
main.cpp:42:44: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
        DO;Printf("%p: ----------------\n")(id);
                                           ^
In file included from main.cpp:25:
./../include/loki/SafeFormat.h:304:38: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                countDigits = bufEnd - bufLast,
                ~~~~~~~~~~~   ~~~~~~~^~~~~~~~~
./../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here
            FormatWithCurrentFlags(i);
            ^
./../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
        LOKI_PRINTF_STATE_FORWARD(signed int)
        ^
./../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD'
                return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \
                       ^
main.cpp:104:39: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
        Printf("Creating thread %d\n")(i);
                                      ^
In file included from main.cpp:25:
./../include/loki/SafeFormat.h:526:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        void ResetFillZeros() { flags_ &= ~fillZeros; }
                                       ~~ ^~~~~~~~~~
./../include/loki/SafeFormat.h:282:17: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ResetFillZeros' requested here
                ResetFillZeros();
                ^
./../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here
            FormatWithCurrentFlags(i);
            ^
./../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
        LOKI_PRINTF_STATE_FORWARD(signed int)
        ^
./../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD'
                return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \
                       ^
main.cpp:104:39: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
        Printf("Creating thread %d\n")(i);
                                      ^
6 warnings and 4 errors generated.
gmake[3]: *** [main.o] Error 1
gmake[3]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/LockingPtr'
gmake[2]: *** [LockingPtr] Error 2
gmake[2]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test'
gmake[1]: *** [check] Error 2
gmake[1]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/loki
===>  Cleaning for loki-0.1.7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309260215.r8Q2FtRj085835>