[package - head-i386-default][math/py-matplotlib] Failed for py27-matplotlib-2.1.2 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Mar 1 01:55:47 UTC 2018


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:     mainland at apeiron.net
Last committer: yuri at FreeBSD.org
Ident:          $FreeBSD: head/math/py-matplotlib/Makefile 462787 2018-02-24 11:12:25Z yuri $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p463273_s330136/logs/py27-matplotlib-2.1.2.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p463273_s330136
Log:

=>> Building math/py-matplotlib
build started at Thu Mar  1 01:54:16 UTC 2018
port directory: /usr/ports/math/py-matplotlib
package name: py27-matplotlib-2.1.2
building for: FreeBSD head-i386-default-job-15 12.0-CURRENT FreeBSD 12.0-CURRENT 1200058 i386
maintained by: mainland at apeiron.net
Makefile ident:      $FreeBSD: head/math/py-matplotlib/Makefile 462787 2018-02-24 11:12:25Z yuri $
Poudriere version: 3.2.4-56-g0fd5b0e3
Host OSVERSION: 1200054
Jail OSVERSION: 1200058
Job Id: 15




!!! Jail is newer than host. (Jail: 1200058, 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=i386
UNAME_m=i386
OSVERSION=1200058
UNAME_v=FreeBSD 12.0-CURRENT 1200058
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.4-56-g0fd5b0e3
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=py27
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=py27
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for py27-matplotlib-2.1.2:
     EXAMPLES=on: Build and/or install examples
     GTKAGGBACKEND=on: GTKAgg backend support
     GTKBACKEND=on: GTK backend support
     QT4AGGBACKEND=off: Qt4Agg backend support
     QT5AGGBACKEND=off: Qt5Agg backend support
     TKAGGBACKEND=on: TKAgg backend support
     WXAGGBACKEND=off: WXAgg backend support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
mainland at apeiron.net
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/math/py-matplotlib/work-py27  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/py-matplotlib/work-py27  HOME=/wrkdirs/usr/ports/math/py-matplotlib/work-py27 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/py-matplotlib/work-py27/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/math/py-matplotlib/work-py27  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/py-matplotlib/work-py27  HOME=/wrkdirs/usr/ports/math/py-matplotlib/work-py27 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/py-matplotlib/work-py27/.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 LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -I/usr/local/include -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -fstack-protector -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="" EXAMPLES="" NO_EXAMPLES="@comment " GTKAGGBACKEND="" NO_GTKAGGBACKEND="@comment " GTKBACKEND="" NO_GTKBACKEND="@comment " QT4AGGBACKEND="@comment " NO_QT4AGGBACKEND="" QT5AGGBACKEND="@comment " NO_QT5AGGBACKEND="" TKAGGBACKEND="" NO_TKAGGBACKEND="@comment " WXAGGBACKEND="@comment " NO_WXAGGBACKEND="" PYTHON_INCLUDEDIR=include/python2.7  PYTHON_LIBDIR=lib/python2.7  PYTHON_PLATFORM=freebsd12  PYTHON_PYOEXTENSION=pyo  PYTHON_SITELIBDIR=lib/python2.7/site-packages  PYTHON_SUFFIX=27  PYTHON_VER=2.7  PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/py27-matplotlib"  EXAMPLESDIR="share/examples/py27-matplotlib"  DATADIR="share/py27-matplotlib"  WWWDIR="www/py27-matplotlib"  ETCDIR="etc/py27-matplotlib"
--End PLIST_SUB--

--SUB_LIST--
EXAMPLES="" NO_EXAMPLES="@comment " GTKAGGBACKEND="" NO_GTKAGGBACKEND="@comment " GTKBACKEND="" NO_GTKBACKEND="@comment " QT4AGGBACKEND="@comment " NO_QT4AGGBACKEND="" QT5AGGBACKEND="@comment " NO_QT5AGGBACKEND="" TKAGGBACKEND="" NO_TKAGGBACKEND="@comment " WXAGGBACKEND="@comment " NO_WXAGGBACKEND="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/py27-matplotlib DOCSDIR=/usr/local/share/doc/py27-matplotlib EXAMPLESDIR=/usr/local/share/examples/py27-matplotlib  WWWDIR=/usr/local/www/py27-matplotlib ETCDIR=/usr/local/etc/py27-matplotlib
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (branches/release_60 325932) (based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (branches/release_60 325932) (based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
OUTPUT_58173849_921dbbb2=yes
OUTPUT_9bdba57c_921dbbb2=yes
OUTPUT_6a4fe7f5_921dbbb2=yes
OUTPUT_6bcac02b_921dbbb2=yes
OUTPUT_67d20829_921dbbb2=yes
OUTPUT_bfa62e83_921dbbb2=yes
OUTPUT_f0b4d593_921dbbb2=yes
OUTPUT_308abb44_921dbbb2=yes
OUTPUT_f00456e5_921dbbb2=yes
OUTPUT_65ad290d_921dbbb2=yes
OUTPUT_b2657cc3_921dbbb2=yes
OUTPUT_380987f7_921dbbb2=yes
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200058
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License PSFL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   py27-matplotlib-2.1.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5.txz
[head-i386-default-job-15] Installing pkg-1.10.5...
[head-i386-default-job-15] Extracting pkg-1.10.5: .......... done
===>   py27-matplotlib-2.1.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py27-matplotlib-2.1.2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License PSFL accepted by the user
===> Fetching all distfiles required by py27-matplotlib-2.1.2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License PSFL accepted by the user
===> Fetching all distfiles required by py27-matplotlib-2.1.2 for building
=> SHA256 Checksum OK for matplotlib-matplotlib-v2.1.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License PSFL accepted by the user
===> Fetching all distfiles required by py27-matplotlib-2.1.2 for building
===>  Extracting for py27-matplotlib-2.1.2
=> SHA256 Checksum OK for matplotlib-matplotlib-v2.1.2_GH0.tar.gz.
/usr/bin/find /wrkdirs/usr/ports/math/py-matplotlib/work-py27/matplotlib-2.1.2 -name \*.py | /usr/bin/xargs /bin/chmod -x
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for py27-matplotlib-2.1.2
===>  Applying FreeBSD patches for py27-matplotlib-2.1.2
/usr/bin/sed -i.bak -e 's|/usr/local|/usr/local|g'  -e 's|%%TCL_INCLUDEDIR%%|/usr/local/include/tcl8.6|g'  -e 's|%%TK_INCLUDEDIR%%|/usr/local/include/tk8.6|g'  -e 's|%%TCL_LIBDIR%%|/usr/local/lib/tcl8.6|g'  -e 's|%%TK_LIBDIR%%|/usr/local/lib/tk8.6|g'  -e 's|%%TCL_VER%%|86|g'  -e 's|%%TK_VER%%|86|g'  /wrkdirs/usr/ports/math/py-matplotlib/work-py27/matplotlib-2.1.2/setupext.py
/usr/bin/sed -i.bak -e 's|%%GTK_BACKEND%%|True|g'  -e 's|%%GTKAGG_BACKEND%%|True|g'  -e 's|%%QT4AGG_BACKEND%%|False|g'  -e 's|%%QT5AGG_BACKEND%%|False|g'  -e 's|%%TKAGG_BACKEND%%|True|g'  -e 's|%%WXAGG_BACKEND%%|False|g'  /wrkdirs/usr/ports/math/py-matplotlib/work-py27/matplotlib-2.1.2/setup.cfg
===========================================================================
=======================<phase: build-depends  >============================
<snip>
    register PyObject *obj,     /* string or Unicode object */
    ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register char **s,          /* pointer to buffer variable */
    ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register Py_ssize_t *len    /* pointer to length variable or NULL
    ^~~~~~~~~
7 warnings generated.
c++ -shared -fstack-protector -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing build/temp.freebsd-12.0-CURRENT-i386-2.7/src/ft2font.o build/temp.freebsd-12.0-CURRENT-i386-2.7/src/ft2font_wrapper.o build/temp.freebsd-12.0-CURRENT-i386-2.7/src/mplutils.o -L/usr/local/lib -L/usr/local/lib -L/usr/lib -L/usr/local/lib -lfreetype -lpython2.7 -o build/lib.freebsd-12.0-CURRENT-i386-2.7/matplotlib/ft2font.so
building 'matplotlib._png' extension
cc -DNDEBUG -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__png_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/include -I. -I/usr/local/include/python2.7 -c src/_png.cpp -o build/temp.freebsd-12.0-CURRENT-i386-2.7/src/_png.o
In file included from src/_png.cpp:24:
In file included from src/numpy_cpp.h:38:
In file included from /usr/local/include/python2.7/Python.h:85:
/usr/local/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj,     /* Object */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj      /* Object */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register const wchar_t *w,  /* wchar_t buffer */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register wchar_t *w,        /* wchar_t buffer */
    ^~~~~~~~~
In file included from src/_png.cpp:24:
In file included from src/numpy_cpp.h:38:
In file included from /usr/local/include/python2.7/Python.h:94:
/usr/local/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj,     /* string or Unicode object */
    ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register char **s,          /* pointer to buffer variable */
    ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register Py_ssize_t *len    /* pointer to length variable or NULL
    ^~~~~~~~~
7 warnings generated.
cc -DNDEBUG -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__png_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/include -I. -I/usr/local/include/python2.7 -c src/mplutils.cpp -o build/temp.freebsd-12.0-CURRENT-i386-2.7/src/mplutils.o
In file included from src/mplutils.cpp:3:
In file included from src/mplutils.h:31:
In file included from /usr/local/include/python2.7/Python.h:85:
/usr/local/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj,     /* Object */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj      /* Object */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register const wchar_t *w,  /* wchar_t buffer */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register wchar_t *w,        /* wchar_t buffer */
    ^~~~~~~~~
In file included from src/mplutils.cpp:3:
In file included from src/mplutils.h:31:
In file included from /usr/local/include/python2.7/Python.h:94:
/usr/local/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj,     /* string or Unicode object */
    ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register char **s,          /* pointer to buffer variable */
    ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register Py_ssize_t *len    /* pointer to length variable or NULL
    ^~~~~~~~~
7 warnings generated.
c++ -shared -fstack-protector -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing build/temp.freebsd-12.0-CURRENT-i386-2.7/src/_png.o build/temp.freebsd-12.0-CURRENT-i386-2.7/src/mplutils.o -L/usr/local/lib -L/usr/local/lib -L/usr/lib -L/usr/local/lib -lz -lpng16 -lpython2.7 -o build/lib.freebsd-12.0-CURRENT-i386-2.7/matplotlib/_png.so
building 'matplotlib._image' extension
creating build/temp.freebsd-12.0-CURRENT-i386-2.7/extern
creating build/temp.freebsd-12.0-CURRENT-i386-2.7/extern/agg24-svn
creating build/temp.freebsd-12.0-CURRENT-i386-2.7/extern/agg24-svn/src
cc -DNDEBUG -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -Iextern/agg24-svn/include -I/usr/local/include/python2.7 -c src/_image.cpp -o build/temp.freebsd-12.0-CURRENT-i386-2.7/src/_image.o
cc -DNDEBUG -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -Iextern/agg24-svn/include -I/usr/local/include/python2.7 -c src/mplutils.cpp -o build/temp.freebsd-12.0-CURRENT-i386-2.7/src/mplutils.o
In file included from src/mplutils.cpp:3:
In file included from src/mplutils.h:31:
In file included from /usr/local/include/python2.7/Python.h:85:
/usr/local/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj,     /* Object */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj      /* Object */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register const wchar_t *w,  /* wchar_t buffer */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register wchar_t *w,        /* wchar_t buffer */
    ^~~~~~~~~
In file included from src/mplutils.cpp:3:
In file included from src/mplutils.h:31:
In file included from /usr/local/include/python2.7/Python.h:94:
/usr/local/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj,     /* string or Unicode object */
    ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register char **s,          /* pointer to buffer variable */
    ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register Py_ssize_t *len    /* pointer to length variable or NULL
    ^~~~~~~~~
7 warnings generated.
cc -DNDEBUG -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -Iextern/agg24-svn/include -I/usr/local/include/python2.7 -c src/_image_wrapper.cpp -o build/temp.freebsd-12.0-CURRENT-i386-2.7/src/_image_wrapper.o
In file included from src/_image_wrapper.cpp:1:
In file included from src/mplutils.h:31:
In file included from /usr/local/include/python2.7/Python.h:85:
/usr/local/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj,     /* Object */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj      /* Object */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register const wchar_t *w,  /* wchar_t buffer */
    ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register wchar_t *w,        /* wchar_t buffer */
    ^~~~~~~~~
In file included from src/_image_wrapper.cpp:1:
In file included from src/mplutils.h:31:
In file included from /usr/local/include/python2.7/Python.h:94:
/usr/local/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register PyObject *obj,     /* string or Unicode object */
    ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register char **s,          /* pointer to buffer variable */
    ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
    register Py_ssize_t *len    /* pointer to length variable or NULL
    ^~~~~~~~~
In file included from src/_image_wrapper.cpp:2:
In file included from src/_image_resample.h:6:
In file included from extern/agg24-svn/include/agg_image_accessors.h:19:
extern/agg24-svn/include/agg_basics.h:231:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
            register unsigned q = a * b + (1 << (Shift-1));
            ^~~~~~~~~
In file included from src/_image_wrapper.cpp:2:
In file included from src/_image_resample.h:6:
extern/agg24-svn/include/agg_image_accessors.h:177:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
            register int x = m_x;
            ^~~~~~~~~
extern/agg24-svn/include/agg_image_accessors.h:178:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
            register int y = m_y;
            ^~~~~~~~~
In file included from src/_image_wrapper.cpp:2:
In file included from src/_image_resample.h:7:
In file included from extern/agg24-svn/include/agg_path_storage.h:23:
In file included from extern/agg24-svn/include/agg_bezier_arc.h:24:
In file included from extern/agg24-svn/include/agg_conv_transform.h:23:
extern/agg24-svn/include/agg_trans_affine.h:295:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register double tmp = *x;
        ^~~~~~~~~
extern/agg24-svn/include/agg_trans_affine.h:303:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register double tmp = *x;
        ^~~~~~~~~
extern/agg24-svn/include/agg_trans_affine.h:311:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register double d = determinant_reciprocal();
        ^~~~~~~~~
extern/agg24-svn/include/agg_trans_affine.h:312:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register double a = (*x - tx) * d;
        ^~~~~~~~~
extern/agg24-svn/include/agg_trans_affine.h:313:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register double b = (*y - ty) * d;
        ^~~~~~~~~
src/_image_wrapper.cpp:386:24: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp' (aka 'int') in initializer list [-Wc++11-narrowing]
    npy_intp dim[3] = {rows, cols, 4};
                       ^~~~
src/_image_wrapper.cpp:386:24: note: insert an explicit cast to silence this issue
    npy_intp dim[3] = {rows, cols, 4};
                       ^~~~
                       static_cast<npy_intp>( )
src/_image_wrapper.cpp:386:30: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp' (aka 'int') in initializer list [-Wc++11-narrowing]
    npy_intp dim[3] = {rows, cols, 4};
                             ^~~~
src/_image_wrapper.cpp:386:30: note: insert an explicit cast to silence this issue
    npy_intp dim[3] = {rows, cols, 4};
                             ^~~~
                             static_cast<npy_intp>( )
src/_image_wrapper.cpp:431:24: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp' (aka 'int') in initializer list [-Wc++11-narrowing]
    npy_intp dim[3] = {rows, cols, 4};
                       ^~~~
src/_image_wrapper.cpp:431:24: note: insert an explicit cast to silence this issue
    npy_intp dim[3] = {rows, cols, 4};
                       ^~~~
                       static_cast<npy_intp>( )
src/_image_wrapper.cpp:431:30: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp' (aka 'int') in initializer list [-Wc++11-narrowing]
    npy_intp dim[3] = {rows, cols, 4};
                             ^~~~
src/_image_wrapper.cpp:431:30: note: insert an explicit cast to silence this issue
    npy_intp dim[3] = {rows, cols, 4};
                             ^~~~
                             static_cast<npy_intp>( )
15 warnings and 4 errors generated.
error: command 'cc' failed with exit status 1
*** Error code 1

Stop.
make: stopped in /usr/ports/math/py-matplotlib


More information about the freebsd-pkg-fallout mailing list