Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2018 02:13:43 GMT
From:      pkg-fallout@FreeBSD.org
To:        d.scott.phillips@intel.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 104amd64-default][sysutils/turbostat] Failed for turbostat-4.17 in build
Message-ID:  <201807260213.w6Q2Dh3a042173@beefy6.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:     d.scott.phillips@intel.com
Last committer: pi@FreeBSD.org
Ident:          $FreeBSD: head/sysutils/turbostat/Makefile 475329 2018-07-25 19:17:22Z pi $
Log URL:        http://beefy6.nyi.freebsd.org/data/104amd64-default/475340/logs/turbostat-4.17.log
Build URL:      http://beefy6.nyi.freebsd.org/build.html?mastername=104amd64-default&build=475340
Log:

=>> Building sysutils/turbostat
build started at Thu Jul 26 02:13:40 UTC 2018
port directory: /usr/ports/sysutils/turbostat
package name: turbostat-4.17
building for: FreeBSD 104amd64-default-job-18 10.4-RELEASE-p9 FreeBSD 10.4-RELEASE-p9 amd64
maintained by: d.scott.phillips@intel.com
Makefile ident:      $FreeBSD: head/sysutils/turbostat/Makefile 475329 2018-07-25 19:17:22Z pi $
Poudriere version: 3.2.7-2-g1cf194be
Host OSVERSION: 1200069
Jail OSVERSION: 1004000
Job Id: 18

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1004000
UNAME_v=FreeBSD 10.4-RELEASE-p9
UNAME_r=10.4-RELEASE-p9
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.7-2-g1cf194be
MASTERMNT=/usr/local/poudriere/data/.m/104amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/104amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=104amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/104amd64-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=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

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

--MAINTAINER--
d.scott.phillips@intel.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/turbostat/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/turbostat/work  HOME=/wrkdirs/usr/ports/sysutils/turbostat/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/turbostat/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/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/sysutils/turbostat/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/turbostat/work  HOME=/wrkdirs/usr/ports/sysutils/turbostat/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/turbostat/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -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="" OSREL=10.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/turbostat"  EXAMPLESDIR="share/examples/turbostat"  DATADIR="share/turbostat"  WWWDIR="www/turbostat"  ETCDIR="etc/turbostat"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/turbostat DOCSDIR=/usr/local/share/doc/turbostat EXAMPLESDIR=/usr/local/share/examples/turbostat  WWWDIR=/usr/local/www/turbostat ETCDIR=/usr/local/etc/turbostat
--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

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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=error: invalid value 'c++14' in '-std=c++14'
CC_OUTPUT_921dbbb2_f2776b26=error: invalid value 'c++17' in '-std=c++17'
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=error: invalid value 'gnu++14' in '-std=gnu++14'
CC_OUTPUT_921dbbb2_fb62803b=error: invalid value 'gnu++17' in '-std=gnu++17'
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=10.4-RELEASE-p9
OSREL=10.4
OSVERSION=1004000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=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)  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
sbsize                   (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   turbostat-4.17 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_1.txz
[104amd64-default-job-18] Installing pkg-1.10.5_1...
[104amd64-default-job-18] Extracting pkg-1.10.5_1: .......... done
===>   turbostat-4.17 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of turbostat-4.17
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
=> turbostat.c doesn't seem to exist in /portdistfiles/turbostat-4.17.
=> Attempting to fetch https://raw.githubusercontent.com/torvalds/linux/v4.17/tools/power/x86/turbostat/turbostat.c
turbostat.c                                              0  B    0  Bps
=> turbostat.8 doesn't seem to exist in /portdistfiles/turbostat-4.17.
=> Attempting to fetch https://raw.githubusercontent.com/torvalds/linux/v4.17/tools/power/x86/turbostat/turbostat.8
turbostat.8                                              0  B    0  Bps
=> msr-index.h doesn't seem to exist in /portdistfiles/turbostat-4.17.
=> Attempting to fetch https://raw.githubusercontent.com/torvalds/linux/v4.17/tools/power/x86/turbostat/msr-index.h
fetch: https://raw.githubusercontent.com/torvalds/linux/v4.17/tools/power/x86/turbostat/msr-index.h: Not Found
=> Attempting to fetch https://raw.githubusercontent.com/torvalds/linux/v4.17/arch/x86/include/asm/msr-index.h
msr-index.h                                              0  B    0  Bps
=> intel-family.h doesn't seem to exist in /portdistfiles/turbostat-4.17.
=> Attempting to fetch https://raw.githubusercontent.com/torvalds/linux/v4.17/tools/power/x86/turbostat/intel-family.h
fetch: https://raw.githubusercontent.com/torvalds/linux/v4.17/tools/power/x86/turbostat/intel-family.h: Not Found
=> Attempting to fetch https://raw.githubusercontent.com/torvalds/linux/v4.17/arch/x86/include/asm/intel-family.h
intel-family.h                                           0  B    0  Bps
===> Fetching all distfiles required by turbostat-4.17 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by turbostat-4.17 for building
=> SHA256 Checksum OK for turbostat-4.17/turbostat.c.
=> SHA256 Checksum OK for turbostat-4.17/turbostat.8.
=> SHA256 Checksum OK for turbostat-4.17/msr-index.h.
=> SHA256 Checksum OK for turbostat-4.17/intel-family.h.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by turbostat-4.17 for building
===>  Extracting for turbostat-4.17
=> SHA256 Checksum OK for turbostat-4.17/turbostat.c.
=> SHA256 Checksum OK for turbostat-4.17/turbostat.8.
=> SHA256 Checksum OK for turbostat-4.17/msr-index.h.
=> SHA256 Checksum OK for turbostat-4.17/intel-family.h.
/bin/cp /portdistfiles/turbostat-4.17/turbostat.c /wrkdirs/usr/ports/sysutils/turbostat/work/turbostat-4.17
/bin/cp /portdistfiles/turbostat-4.17/turbostat.8 /wrkdirs/usr/ports/sysutils/turbostat/work/turbostat-4.17
/bin/cp /portdistfiles/turbostat-4.17/msr-index.h /wrkdirs/usr/ports/sysutils/turbostat/work/turbostat-4.17
/bin/cp /portdistfiles/turbostat-4.17/intel-family.h /wrkdirs/usr/ports/sysutils/turbostat/work/turbostat-4.17
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for turbostat-4.17
===>  Applying FreeBSD patches for turbostat-4.17
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for turbostat-4.17
===========================================================================
=======================<phase: build          >============================
===>  Building for turbostat-4.17
cd /wrkdirs/usr/ports/sysutils/turbostat/work/turbostat-4.17 && cc -O2 -pipe  -fstack-protector -fno-strict-aliasing -DMSRHEADER='"msr-index.h"' -DINTEL_FAMILY_HEADER='"intel-family.h"' -o turbostat turbostat.c -lutil
In file included from turbostat.c:47:
In file included from /usr/include/sys/cpuset.h:35:
/usr/include/sys/_cpuset.h:50:1: error: use of undeclared identifier 'NBBY'
BITSET_DEFINE(_cpuset, CPU_SETSIZE);
^
/usr/include/sys/_bitset.h:52:24: note: expanded from macro 'BITSET_DEFINE'
        long    __bits[__bitset_words((_s))];                           \
                       ^
/usr/include/sys/_bitset.h:41:41: note: expanded from macro '__bitset_words'
#define __bitset_words(_s)      (howmany(_s, _BITSET_BITS))
                                             ^
/usr/include/sys/_bitset.h:39:39: note: expanded from macro '_BITSET_BITS'
#define _BITSET_BITS            (sizeof(long) * NBBY)
                                                ^
turbostat.c:2309:15: warning: implicit declaration of function 'reallocarray' is invalid in C99 [-Wimplicit-function-declaration]
        list->sets = reallocarray(list->sets, list->cap, sizeof(cpuset_t));
                     ^
turbostat.c:2309:13: warning: incompatible integer to pointer conversion assigning to 'cpuset_t *' (aka 'struct _cpuset *') from 'int' [-Wint-conversion]
        list->sets = reallocarray(list->sets, list->cap, sizeof(cpuset_t));
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
turbostat.c:2667:11: warning: incompatible integer to pointer conversion assigning to 'struct <anonymous struct at turbostat.c:2650:8> *' from 'int' [-Wint-conversion]
        intr_map = reallocarray(intr_map, intr_map_cap, sizeof(*intr_map));
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/turbostat



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