[package - 130powerpc64-quarterly][graphics/R-cran-s2] Failed for R-cran-s2-1.0.6 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 04 Sep 2021 06:18:02 UTC
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:     tota@FreeBSD.org
Log URL:        http://foul1.nyi.freebsd.org/data/130powerpc64-quarterly/22d6a3eaa425/logs/R-cran-s2-1.0.6.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=130powerpc64-quarterly&build=22d6a3eaa425
Log:

=>> Building graphics/R-cran-s2
build started at Sat Sep  4 06:16:07 UTC 2021
port directory: /usr/ports/graphics/R-cran-s2
package name: R-cran-s2-1.0.6
building for: FreeBSD 130powerpc64-quarterly-job-13 13.0-RELEASE FreeBSD 13.0-RELEASE powerpc
maintained by: tota@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1300139
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE
UNAME_r=13.0-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
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.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/130powerpc64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130powerpc64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130powerpc64-quarterly/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=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
tota@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran10" FC="gfortran10" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/R-cran-s2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/R-cran-s2/work  HOME=/wrkdirs/usr/ports/graphics/R-cran-s2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/R-cran-s2/work/.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--
F77="gfortran10" FC="gfortran10" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/R-cran-s2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/R-cran-s2/work  HOME=/wrkdirs/usr/ports/graphics/R-cran-s2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/R-cran-s2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  C
 PP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc10  -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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--
R_MOD_DIR=lib/R/library/s2 OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/s2"  EXAMPLESDIR="share/examples/s2"  DATADIR="share/s2"  WWWDIR="www/s2"  ETCDIR="etc/s2"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/s2 DOCSDIR=/usr/local/share/doc/s2 EXAMPLESDIR=/usr/local/share/examples/s2  WWWDIR=/usr/local/www/s2 ETCDIR=/usr/local/etc/s2
--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
#### /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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-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"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv2
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   R-cran-s2-1.0.6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130powerpc64-quarterly-job-13] Installing pkg-1.16.3...
[130powerpc64-quarterly-job-13] Extracting pkg-1.16.3: .......... done
===>   R-cran-s2-1.0.6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of R-cran-s2-1.0.6
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by R-cran-s2-1.0.6 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by R-cran-s2-1.0.6 for building
=> SHA256 Checksum OK for s2_1.0.6.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by R-cran-s2-1.0.6 for building
===>  Extracting for R-cran-s2-1.0.6
=> SHA256 Checksum OK for s2_1.0.6.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for R-cran-s2-1.0.6
===========================================================================
=======================<phase: build-depends  >============================
===>   R-cran-s2-1.0.6 depends on package: R-cran-Rcpp>0 - not found
===>   Installing existing package /packages/All/R-cran-Rcpp-1.0.6.txz
[130powerpc64-quarterly-job-13] Installing R-cran-Rcpp-1.0.6...
[130powerpc64-quarterly-job-13] `-- Installing R-4.1.0...
[130powerpc64-quarterly-job-13] |   `-- Installing cairo-1.17.4,3...
[130powerpc64-quarterly-job-13] |   | `-- Installing fontconfig-2.13.93_1,1...
[130powerpc64-quarterly-job-13] |   |   `-- Installing expat-2.4.1...
[130powerpc64-quarterly-job-13] |   |   `-- Extracting expat-2.4.1: .......... done
[130powerpc64-quarterly-job-13] |   |   `-- Installing freetype2-2.10.4...
[130powerpc64-quarterly-job-13] |   |   | `-- Installing png-1.6.37_1...
[130powerpc64-quarterly-job-13] |   |   | `-- Extracting png-1.6.37_1: .......... done
[130powerpc64-quarterly-job-13] |   |   `-- Extracting freetype2-2.10.4: .......... done
[130powerpc64-quarterly-job-13] |   | `-- Extracting fontconfig-2.13.93_1,1: .......... done
[130powerpc64-quarterly-job-13] |   | `-- Installing gettext-runtime-0.21...
[130powerpc64-quarterly-job-13] |   |   `-- Installing indexinfo-0.3.1...
[130powerpc64-quarterly-job-13] |   |   `-- Extracting indexinfo-0.3.1: .... done
[130powerpc64-quarterly-job-13] |   | `-- Extracting gettext-runtime-0.21: .......... done
[130powerpc64-quarterly-job-13] |   | `-- Installing glib-2.66.8,2...
[130powerpc64-quarterly-job-13] |   |   `-- Installing libffi-3.3_1...
<snip>
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed).
=====
Message from python38-3.8.10:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py38-gdbm       databases/py-gdbm@py38
py38-sqlite3    databases/py-sqlite3@py38
py38-tkinter    x11-toolkits/py-tkinter@py38
=====
Message from gcc10-10.3.0:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc10

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from ca_root_nss-3.63:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from trousers-0.3.14_3:

--
To run tcsd automatically, add the following line to /etc/rc.conf:

tcsd_enable="YES"

You might want to edit /usr/local/etc/tcsd.conf to reflect your setup.

If you want to use tcsd with software TPM emulator, use the following
configuration in /etc/rc.conf:

tcsd_enable="YES"
tcsd_mode="emulator"
tpmd_enable="YES"

To use TPM, add your_account to '_tss' group like following:

# pw groupmod _tss -m your_account
=====
Message from ghostscript9-agpl-base-9.52_18:

--
This package installs a script named dvipdf that depends on dvips.  If you
want to use this script you need to install print/tex-dvipsk.
=====
Message from dejavu-2.37_1:

--
Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

	Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

	FontPath "/usr/local/share/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
===>   R-cran-s2-1.0.6 depends on package: R-cran-Rcpp>0 - found
===>   Returning to build of R-cran-s2-1.0.6
===>   R-cran-s2-1.0.6 depends on package: R-cran-wk>0 - not found
===>   Installing existing package /packages/All/R-cran-wk-0.4.1.txz
[130powerpc64-quarterly-job-13] Installing R-cran-wk-0.4.1...
[130powerpc64-quarterly-job-13] `-- Installing R-cran-cpp11-0.3.1...
[130powerpc64-quarterly-job-13] `-- Extracting R-cran-cpp11-0.3.1: .......... done
[130powerpc64-quarterly-job-13] Extracting R-cran-wk-0.4.1: .......... done
===>   R-cran-s2-1.0.6 depends on package: R-cran-wk>0 - found
===>   Returning to build of R-cran-s2-1.0.6
===>   R-cran-s2-1.0.6 depends on file: /usr/local/bin/R - found
===>   R-cran-s2-1.0.6 depends on executable: gfortran10 - found
===>   R-cran-s2-1.0.6 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for R-cran-s2-1.0.6
===========================================================================
=======================<phase: build          >============================
===========================================================================
=======================<phase: run-depends    >============================
===>   R-cran-s2-1.0.6 depends on package: R-cran-Rcpp>0 - found
===>   R-cran-s2-1.0.6 depends on package: R-cran-wk>0 - found
===>   R-cran-s2-1.0.6 depends on file: /usr/local/bin/R - found
===>   R-cran-s2-1.0.6 depends on executable: gfortran10 - found
===========================================================================
=======================<phase: stage          >============================
===>  Staging for R-cran-s2-1.0.6
===>   Generating temporary packing list
* installing *source* package 's2' ...
** package 's2' successfully unpacked and MD5 sums checked
** using staged installation
Testing compiler using PKG_CFLAGS=
Using PKG_LIBS=-lssl -lcrypto
Using PKG_CFLAGS= -DIS_BIG_ENDIAN
** libs
gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/R-cran-s2/work/s2/src'
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I../inst/include -DSTRICT_R_HEADERS -I'/usr/local/lib/R/library/Rcpp/include' -I'/usr/local/lib/R/library/wk/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include  -DIS_BIG_ENDIAN -pthread -fPIC  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c cpp-compat.cpp -o cpp-compat.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I../inst/include -DSTRICT_R_HEADERS -I'/usr/local/lib/R/library/Rcpp/include' -I'/usr/local/lib/R/library/wk/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include  -DIS_BIG_ENDIAN -pthread -fPIC  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c s2-accessors.cpp -o s2-accessors.o
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:8:
In file included from ../inst/include/s2/s2polygon.h:29:
In file included from ../inst/include/s2/mutable_s2shape_index.h:34:
In file included from ../inst/include/s2/s2cell_id.h:36:
./inst/include/s2/util/bits/bits.h:509:19: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result = __builtin_bpermd(0x3f3e3d3c3b3a3938, temp);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:525:21: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_0 = __builtin_bpermd(0x3f3e3d3c3b3a3938, temp) << 24;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:526:21: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_1 = __builtin_bpermd(0x3736353433323130, temp) << 16;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:527:21: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_2 = __builtin_bpermd(0x2f2e2d2c2b2a2928, temp) << 8;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:528:21: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_3 = __builtin_bpermd(0x2726252423222120, temp);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:544:23: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_lo0 = __builtin_bpermd(0x3f3e3d3c3b3a3938, n) << 56;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:545:23: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_lo1 = __builtin_bpermd(0x3736353433323130, n) << 48;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:546:23: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_lo2 = __builtin_bpermd(0x2f2e2d2c2b2a2928, n) << 40;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:547:23: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_lo3 = __builtin_bpermd(0x2726252423222120, n) << 32;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:548:23: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_hi0 = __builtin_bpermd(0x1f1e1d1c1b1a1918, n) << 24;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:549:23: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_hi1 = __builtin_bpermd(0x1716151413121110, n) << 16;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:550:23: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_hi2 = __builtin_bpermd(0x0f0e0d0c0b0a0908, n) << 8;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inst/include/s2/util/bits/bits.h:551:23: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result_hi3 = __builtin_bpermd(0x0706050403020100, n);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 errors generated.
gmake[1]: *** [/usr/local/lib/R/etc/Makeconf:175: s2-accessors.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/R-cran-s2/work/s2/src'
ERROR: compilation failed for package 's2'
* removing '/wrkdirs/usr/ports/graphics/R-cran-s2/work/stage/usr/local/lib/R/library/s2'
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/R-cran-s2