Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2017 21:10:34 GMT
From:      pkg-fallout@FreeBSD.org
To:        c47g@gmx.at
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][graphics/inventor] Failed for inventor-2.1.5.p10_12 in build
Message-ID:  <201701292110.v0TLAYT6096839@beefy12.nyi.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:     c47g@gmx.at
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/graphics/inventor/Makefile 412346 2016-04-01 14:00:51Z mat $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p432608_s312909/logs/inventor-2.1.5.p10_12.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p432608_s312909
Log:

====>> Building graphics/inventor
build started at Sun Jan 29 21:10:11 UTC 2017
port directory: /usr/ports/graphics/inventor
building for: FreeBSD head-amd64-default-job-20 12.0-CURRENT FreeBSD 12.0-CURRENT r312909 amd64
maintained by: c47g@gmx.at
Makefile ident:      $FreeBSD: head/graphics/inventor/Makefile 412346 2016-04-01 14:00:51Z mat $
Poudriere version: 3.1.14
Host OSVERSION: 1200017
Jail OSVERSION: 1200020
Job Id: 20




!!! Jail is newer than host. (Jail: 1200020, Host: 1200017) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_v=FreeBSD 12.0-CURRENT r312909
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
ARCH=amd64
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
UID=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=inventor-2.1.5.p10_12
OSREL=12.0
_OSRELEASE=12.0-CURRENT
PYTHONBASE=/usr/local
OLDPWD=/
_SMP_CPUS=24
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
HAVE_COMPAT_IA32_KERN=YES OPSYS=FreeBSD
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.14
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1200020
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for inventor-2.1.5.p10_12:
     DEBUG=off: Build with debugging support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/inventor/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/inventor/work  HOME=/wrkdirs/usr/ports/graphics/inventor/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
LD_LIBRARY_PATH=/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib:/wrkdirs/usr/ports/graphics/inventor/work/inventor/libSoXt  FREETYPE=1  INSTALL_STRIP=-s  IVROOT=/wrkdirs/usr/ports/graphics/inventor/work/stage MOTIFLIB="-L/usr/local/lib -lXm -lXp" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/inventor/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/inventor/work  HOME=/wrkdirs/usr/ports/graphics/inventor/work TMPDIR="/tmp" 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="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -Wl,--add-needed -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 444"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTA
 LL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=12.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/inventor"
EXAMPLESDIR="share/examples/inventor"
DATADIR="share/inventor"
WWWDIR="www/inventor"
ETCDIR="etc/inventor"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/inventor
DOCSDIR=/usr/local/share/doc/inventor
EXAMPLESDIR=/usr/local/share/examples/inventor
WWWDIR=/usr/local/www/inventor
ETCDIR=/usr/local/etc/inventor
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /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
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===>  License LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   inventor-2.1.5.p10_12 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.9.4_1.txz
[head-amd64-default-job-20] Installing pkg-1.9.4_1...
[head-amd64-default-job-20] Extracting pkg-1.9.4_1: .......... done
===>   inventor-2.1.5.p10_12 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of inventor-2.1.5.p10_12
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by inventor-2.1.5.p10_12 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by inventor-2.1.5.p10_12 for building
=> SHA256 Checksum OK for inventor-2.1.5-10.src.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by inventor-2.1.5.p10_12 for building
===>  Extracting for inventor-2.1.5.p10_12
=> SHA256 Checksum OK for inventor-2.1.5-10.src.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for inventor-2.1.5.p10_12
===>  Applying FreeBSD patches for inventor-2.1.5.p10_12
===========================================================================
=======================<phase: build-depends  >============================
===>   inventor-2.1.5.p10_12 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_1.txz
[head-amd64-default-job-20] Installing gmake-4.2.1_1...
[head-amd64-default-job-20] `-- Installing indexinfo-0.2.6...
[head-amd64-default-job-20] `-- Extracting indexinfo-0.2.6: .... done
[head-amd64-default-job-20] `-- Installing gettext-runtime-0.19.8.1_1...
[head-amd64-default-job-20] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-amd64-default-job-20] Extracting gmake-4.2.1_1: .......... done
===>   inventor-2.1.5.p10_12 depends on executable: gmake - found
===>   Returning to build of inventor-2.1.5.p10_12
===>   inventor-2.1.5.p10_12 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - not found
===>   Installing existing package /packages/All/glproto-1.4.17.txz
[head-amd64-default-job-20] Installing glproto-1.4.17...
[head-amd64-default-job-20] Extracting glproto-1.4.17: ...... done
===>   inventor-2.1.5.p10_12 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found
===>   Returning to build of inventor-2.1.5.p10_12
===>   inventor-2.1.5.p10_12 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - not found
===>   Installing existing package /packages/All/dri2proto-2.8.txz
[head-amd64-default-job-20] Installing dri2proto-2.8...
[head-amd64-default-job-20] Extracting dri2proto-2.8: .... done
===>   inventor-2.1.5.p10_12 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found
===>   Returning to build of inventor-2.1.5.p10_12
===>   inventor-2.1.5.p10_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found
===>   Installing existing package /packages/All/libX11-1.6.4,1.txz
[head-amd64-default-job-20] Installing libX11-1.6.4,1...
[head-amd64-default-job-20] `-- Installing xproto-7.0.31...
[head-amd64-default-job-20] `-- Extracting xproto-7.0.31: .......... done
[head-amd64-default-job-20] `-- Installing kbproto-1.0.7...
[head-amd64-default-job-20] `-- Extracting kbproto-1.0.7: .......... done
[head-amd64-default-job-20] `-- Installing libXdmcp-1.1.2...
[head-amd64-default-job-20] `-- Extracting libXdmcp-1.1.2: ......... done
[head-amd64-default-job-20] `-- Installing libxcb-1.12...
[head-amd64-default-job-20] |   `-- Installing libxml2-2.9.4...
[head-amd64-default-job-20] |   `-- Extracting libxml2-2.9.4: .......... done
[head-amd64-default-job-20] |   `-- Installing libpthread-stubs-0.3_6...
[head-amd64-default-job-20] |   `-- Extracting libpthread-stubs-0.3_6: ..... done
[head-amd64-default-job-20] |   `-- Installing libXau-1.0.8_3...
[head-amd64-default-job-20] |   `-- Extracting libXau-1.0.8_3: .......... done
[head-amd64-default-job-20] `-- Extracting libxcb-1.12: .......... done
[head-amd64-default-job-20] Extracting libX11-1.6.4,1: .......... done
===>   inventor-2.1.5.p10_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   Returning to build of inventor-2.1.5.p10_12
===>   inventor-2.1.5.p10_12 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found
===>   Installing existing package /packages/All/libXext-1.3.3_1,1.txz
[head-amd64-default-job-20] Installing libXext-1.3.3_1,1...
[head-amd64-default-job-20] `-- Installing xextproto-7.3.0...
<snip>
flfreetype.c:62:52: note: expanded from macro 'BM_CEILING'
#define BM_CEILING(x)           (((x) + BM_PRECISION - 1) & BM_PRECISION_MASK)
                                                            ^~~~~~~~~~~~~~~~~
flfreetype.c:59:32: note: expanded from macro 'BM_PRECISION_MASK'
#define BM_PRECISION_MASK       (-1L << BM_PRECISION_BITS)
                                 ~~~ ^
flfreetype.c:1994:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  right    = BM_FLOOR(ch->glyph->metrics.horiBearingX + ch->glyph->metrics.width);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flfreetype.c:61:29: note: expanded from macro 'BM_FLOOR'
#define BM_FLOOR(x)             ((x) & BM_PRECISION_MASK)
                                       ^~~~~~~~~~~~~~~~~
flfreetype.c:59:32: note: expanded from macro 'BM_PRECISION_MASK'
#define BM_PRECISION_MASK       (-1L << BM_PRECISION_BITS)
                                 ~~~ ^
24 warnings generated.
/usr/bin/ar rv libFL.a   fl.o flclient.o flfreetype.o       
ar: warning: creating libFL.a
a - fl.o
a - flclient.o
a - flfreetype.o
gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/libFL/ang'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/libFL'
gmake[2]: Entering directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib'
for i in database interaction nodekits; do gmake -C$i all || exit 1; done
gmake[3]: Entering directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib/database'
gmake[4]: Entering directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib/database/src'
gmake[5]: Entering directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib/database/src/sb'
c++    -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG     -I/usr/local/include -I. -I../../../../lib/database/include -I../../../../lib/interaction/include -I../../../../lib/nodekits/include -I../../../../libSoXt/include -fPIC -DIVPREFIX=\"/usr/local\"       -DNDEBUG   -c Sb.c++
In file included from Sb.c++:55:
./SbBox.c++:197:15: warning: backslash and newline separated by space [-Wbackslash-newline-escape]
//         /  \ 
              ^
./SbBox.c++:198:16: warning: backslash and newline separated by space [-Wbackslash-newline-escape]
//        /    \ 
               ^
./SbBox.c++:199:17: warning: backslash and newline separated by space [-Wbackslash-newline-escape]
//       /  Q3  \ 
                ^
./SbBox.c++:200:18: warning: backslash and newline separated by space [-Wbackslash-newline-escape]
//      / CLIPPED\ 
                 ^
In file included from Sb.c++:62:
./SbPList.c++:241:27: warning: when type is in parentheses, array cannot have dynamic size
    newPtrs = new (void *[ptrsSize]);
                  ~       ^~~~~~~~ ~
In file included from Sb.c++:67:
./SbTime.c++:193:26: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
                s += sprintf(s, "%ld", tday);
                                 ~~~   ^~~~
                                 %d
./SbTime.c++:198:26: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
                s += sprintf(s, "%ld", thour);
                                 ~~~   ^~~~~
                                 %d
./SbTime.c++:203:26: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
                s += sprintf(s, "%ld", tmin);
                                 ~~~   ^~~~
                                 %d
./SbTime.c++:208:26: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
                s += sprintf(s, "%ld", tsec);
                                 ~~~   ^~~~
                                 %d
./SbTime.c++:213:26: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
                s += sprintf(s, "%ld", tmilli);
                                 ~~~   ^~~~~~
                                 %d
./SbTime.c++:218:26: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
                s += sprintf(s, "%ld", tmicro);
                                 ~~~   ^~~~~~
                                 %d
./SbTime.c++:222:28: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
                s += sprintf(s, "%.2ld", rhour);
                                 ~~~~~   ^~~~~
                                 %.2d
./SbTime.c++:226:28: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
                s += sprintf(s, "%.2ld", rmin);
                                 ~~~~~   ^~~~
                                 %.2d
./SbTime.c++:230:28: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
                s += sprintf(s, "%.2ld", rsec);
                                 ~~~~~   ^~~~
                                 %.2d
./SbTime.c++:234:28: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
                s += sprintf(s, "%.3ld", rmilli);
                                 ~~~~~   ^~~~~~
                                 %.3d
./SbTime.c++:238:28: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
                s += sprintf(s, "%.6ld", rmicro);
                                 ~~~~~   ^~~~~~
                                 %.6d
16 warnings generated.
gmake[6]: Entering directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib/database/src/sb/projectors'
c++    -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG     -I/usr/local/include -I. -I../../../../../lib/database/include -I../../../../../lib/interaction/include -I../../../../../lib/nodekits/include -I../../../../../libSoXt/include -fPIC -DIVPREFIX=\"/usr/local\"       -DNDEBUG   -c SbProjectors.c++
gmake[6]: Leaving directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib/database/src/sb/projectors'
gmake[5]: Leaving directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib/database/src/sb'
gmake[5]: Entering directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib/database/src/so'
c++    -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG     -I/usr/local/include -I. -I../../../../lib/database/include -I../../../../lib/interaction/include -I../../../../lib/nodekits/include -I../../../../libSoXt/include -fPIC -DIVPREFIX=\"/usr/local\"       -DNDEBUG   -c So.c++
In file included from So.c++:56:
./SoBase.c++:997:27: warning: format specifies type 'unsigned int' but the argument has type 'const SoBase *' [-Wformat]
            sprintf(buf, " %#x", this);
                           ~~~   ^~~~
In file included from So.c++:60:
./SoNotification.c++:101:55: warning: format specifies type 'unsigned int' but the argument has type 'const SoNotRec *' [-Wformat]
    fprintf(fp, "\tSoNotRec @%#x: type %s, base %#x", this, typeName, base);
                             ~~~                      ^~~~
./SoNotification.c++:101:71: warning: format specifies type 'unsigned int' but the argument has type 'SoBase *' [-Wformat]
    fprintf(fp, "\tSoNotRec @%#x: type %s, base %#x", this, typeName, base);
                                                ~~~                   ^~~~
./SoNotification.c++:203:6: warning: format specifies type 'unsigned int' but the argument has type 'SoNotRec *' [-Wformat]
            firstAtNode, lastField);
            ^~~~~~~~~~~
./SoNotification.c++:203:19: warning: format specifies type 'unsigned int' but the argument has type 'SoField *' [-Wformat]
            firstAtNode, lastField);
                         ^~~~~~~~~
In file included from So.c++:66:
./SoInput.c++:2813:8: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *'
        char *firstPlus = strchr(n, '+');
              ^           ~~~~~~~~~~~~~~
In file included from So.c++:67:
./SoOutput.c++:881:15: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
    WRITE_NUM(l, "%ld", convertInt32, int32_t);
              ^   ~~~
                  %d
./SoOutput.c++:813:28: note: expanded from macro 'WRITE_NUM'
        fprintf(fp, formatString, num);                                       \
                                  ^~~
./SoOutput.c++:881:15: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat]
    WRITE_NUM(l, "%ld", convertInt32, int32_t);
              ^   ~~~
                  %d
./SoOutput.c++:816:29: note: expanded from macro 'WRITE_NUM'
        sprintf(str, formatString, num);                                      \
                                   ^~~
./SoOutput.c++:897:15: warning: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Wformat]
    WRITE_NUM(l, "%#lx", convertInt32, int32_t);
              ^   ~~~~
                  %#x
./SoOutput.c++:813:28: note: expanded from macro 'WRITE_NUM'
        fprintf(fp, formatString, num);                                       \
                                  ^~~
./SoOutput.c++:897:15: warning: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Wformat]
    WRITE_NUM(l, "%#lx", convertInt32, int32_t);
              ^   ~~~~
                  %#x
./SoOutput.c++:816:29: note: expanded from macro 'WRITE_NUM'
        sprintf(str, formatString, num);                                      \
                                   ^~~
In file included from So.c++:73:
./SoTranscribe.c++:273:23: warning: format specifies type 'unsigned int' but the argument has type 'const SoNode *' [-Wformat]
    sprintf(s, "%#x", node);
                ~~~   ^~~~
./SoTranscribe.c++:367:23: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat]
    sprintf(s, "%#x", NULL);
                ~~~   ^~~~
                %#lx
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL    __null
                ^~~~~~
In file included from So.c++:74:
./SoOffscreenRenderer.c++:524:5: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
    delete pBuf;
    ^
          []
./SoOffscreenRenderer.c++:497:27: note: allocated with 'new[]' here
    unsigned char *pBuf = new unsigned char[vpSize[0]*components*2];
                          ^
./SoOffscreenRenderer.c++:525:5: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
    delete rowBuf;
    ^
          []
./SoOffscreenRenderer.c++:496:21: note: allocated with 'new[]' here
    short *rowBuf = new short[vpSize[0]];
                    ^
./SoOffscreenRenderer.c++:545:26: warning: format specifies type 'unsigned short' but the argument has type 'unsigned char' [-Wformat]
    fprintf(fp, "%02hx", (unsigned char)val);
                 ~~~~~   ^~~~~~~~~~~~~~~~~~
                 %02hhx
./SoOffscreenRenderer.c++:684:5: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
    delete pBuf;
    ^
          []
./SoOffscreenRenderer.c++:658:27: note: allocated with 'new[]' here
    unsigned char *pBuf = new unsigned char[vpSize[0]*components*2];
                          ^
15 warnings and 1 error generated.
gmake[5]: *** [../../../../make/commonrules:93: So.o] Error 1
gmake[5]: Leaving directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib/database/src/so'
gmake[4]: *** [GNUmakefile:7: all] Error 1
gmake[4]: Leaving directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib/database/src'
gmake[3]: *** [GNUmakefile:7: all] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib/database'
gmake[2]: *** [../make/ivcommonrules:28: libInventor.a] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor/lib'
gmake[1]: *** [GNUmakefile:12: all] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/inventor/work/inventor'
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/inventor



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