Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2016 10:40:17 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-ports@freebsd.org
Cc:        samm@os2.kiev.ua
Subject:   sysutils/atop fails to build in head r302904 with poudriere
Message-ID:  <20160717084017.GA2385@c720-r292778-amd64>

next in thread | raw e-mail | index | archive | help

Hello,

I'm build ports with poudriere on r302904 amd64 and the port
sysutils/atop fails with the following log:


====>> Building sysutils/atop
build started at Sun Jul 17 09:49:58 CEST 2016
port directory: /usr/ports/sysutils/atop
building for: FreeBSD freebsd-r302904-ports-20160716-job-03 12.0-CURRENT FreeBSD 12.0-CURRENT r302930 amd64
maintained by: samm@os2.kiev.ua
Makefile ident:      $FreeBSD: head/sysutils/atop/Makefile 385665 2015-05-07 20:24:15Z mat $
Poudriere version: 3.2-pre
Host OSVERSION: 1200001
Jail OSVERSION: 1200001

---Begin Environment---
SHELL=/bin/csh
UNAME_v=FreeBSD 12.0-CURRENT r302930
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
OPSYS=FreeBSD
ARCH=amd64
SAVED_TERM=xterm
MASTERMNT=/usr/local/poudriere/data/.m/freebsd-r302904-ports-20160716/ref
FORCE_PACKAGE=yes
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=atop-2.0.2.b3
OSREL=12.0
_OSRELEASE=12.0-CURRENT
PYTHONBASE=/usr/local
JAVA_OPTS=-XX:-UseCompressedClassPointers -Xms512m -Xmx2048m
OLDPWD=/
_SMP_CPUS=4
PWD=/usr/local/poudriere/data/.m/freebsd-r302904-ports-20160716/ref/.p/pool
HAVE_COMPAT_IA32_KERN=YES LINUX_OSRELEASE=2.6.16
MASTERNAME=freebsd-r302904-ports-20160716
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.2-pre
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1200001
---End Environment---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/atop/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/atop/work  HOME=/wrkdirs/usr/ports/sysutils/atop/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/atop/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/atop/work  HOME=/wrkdirs/usr/ports/sysutils/atop/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="clang" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="clang-cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath=/usr/lib:/usr/local/lib -fstack-protector" LIBS=""  CXX="clang++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 444"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

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

--SUB_LIST--
LOGDIR="/var/log/atop"
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/atop
DOCSDIR=/usr/local/share/doc/atop
EXAMPLESDIR=/usr/local/share/examples/atop
WWWDIR=/usr/local/www/atop
ETCDIR=/usr/local/etc/atop
--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/freebsd-r302904-make.conf ####
WITH_PKGNG=yes       # Only required for versions before 10.0
CC=clang             # Highly recommended over GCC,
CXX=clang++          # but only needed for 8.X and 9.X
CPP=clang-cpp        # since it's the default in 10.0
MASTER_SITE_BACKUP?= \
http://ftp2.us.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR/}
#
WITHOUT_HAL=yes
# CFLAGS=""
#
# NO_IGNORE=yes
# From: Chris Rees <crees@bayofrum.net>
# CC: freebsd-ports@freebsd.org
# Date: Sat, 23 Aug 2014 14:19:24 +0100
# better is:
DISABLE_LICENSES=yes
#
#
# added 20130612 guru
# CPUTYPE?=pentium3
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
#
# not used until now:
# FETCH_BEFORE_ARGS=-p4 -T 10
# OPTIONS_UNSET= DEBUG HELP STATIC GNUTLS DOCS EXAMPLES IPV6 \
#            MANPAGES PTH IDN LIBIDN NLS DBUS SOUND ALSA PULSEAUDIO \
#            DOCBOOK CUPS TESTS HTMLDOCS BONJOUR GSSAPI APIDOCS
#
### MAVEN_OPTS='-Xmx1024m -XX:MaxPermSize=512m'
### JAVA_OPTS='-Xms512m -Xmx1024m'
# JAVA_OPTS='-J-XX:+UseCompressedClassPointers -Xms512m -Xmx1024m'
JAVA_OPTS='-XX:-UseCompressedClassPointers -Xms512m -Xmx2048m'
#
# muttprint
#
print_muttprint_SET=CUPS
# how to set PAPERSIZE=a4 ???
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   atop-2.0.2.b3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.8.7.txz
[freebsd-r302904-ports-20160716-job-03] Installing pkg-1.8.7...
[freebsd-r302904-ports-20160716-job-03] Extracting pkg-1.8.7: .......... done
===>   atop-2.0.2.b3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of atop-2.0.2.b3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
=> samm-git-atop-freebsd-2.0.2.b3-atop-2.0.2.fbsd.beta3_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/samm-git/atop-freebsd/tar.gz/atop-2.0.2.fbsd.beta3?dummy=/samm-git-atop-freebsd-2.0.2.b3-atop-2.0.2.fbsd.beta3_GH0.tar.gz
fetch: https://codeload.github.com/samm-git/atop-freebsd/tar.gz/atop-2.0.2.fbsd.beta3?dummy=/samm-git-atop-freebsd-2.0.2.b3-atop-2.0.2.fbsd.beta3_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/samm-git/atop-freebsd/tar.gz/atop-2.0.2.fbsd.beta3?dummy=/samm-git-atop-freebsd-2.0.2.b3-atop-2.0.2.fbsd.beta3_GH0.tar.gz: size of remote file is not known
samm-git-atop-freebsd-2.0.2.b3-atop-2.0.2.fbsd.beta3_GH0.tar.gz           0  B    0  Bps
===> Fetching all distfiles required by atop-2.0.2.b3 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by atop-2.0.2.b3 for building
=> SHA256 Checksum OK for samm-git-atop-freebsd-2.0.2.b3-atop-2.0.2.fbsd.beta3_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by atop-2.0.2.b3 for building
===>  Extracting for atop-2.0.2.b3
=> SHA256 Checksum OK for samm-git-atop-freebsd-2.0.2.b3-atop-2.0.2.fbsd.beta3_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for atop-2.0.2.b3
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for atop-2.0.2.b3
===========================================================================
=======================<phase: build          >============================
===>  Building for atop-2.0.2.b3
clang -O2 -pipe  -fstack-protector -fno-strict-aliasing -Wall -DFREEBSD -c atop.c -o atop.o
atop.c:274:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] = "$Id: atop.c,v 1.49 2010/10/23 14:01:00 gerlof Exp $";
                  ^
1 warning generated.
clang -O2 -pipe  -fstack-protector -fno-strict-aliasing -Wall -DFREEBSD -c version.c -o version.o
clang -O2 -pipe  -fstack-protector -fno-strict-aliasing -Wall -DFREEBSD -c various.c -o various.o
various.c:562:26: warning: suggest braces around initialization of subobject [-Wmissing-braces]
                va_list args = {0};
                                ^
                                {}
various.c:101:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] = "$Id: various.c,v 1.21 2010/11/12 06:16:16 gerlof Exp $";
                  ^
2 warnings generated.
clang -O2 -pipe  -fstack-protector -fno-strict-aliasing -Wall -DFREEBSD -c deviate.c -o deviate.o
deviate.c:929:23: warning: address of array 'pre->dsk.dsk[j].name' will always evaluate to 'true' [-Wpointer-bool-conversion]
                if (pre->dsk.dsk[j].name)       // existing matching entry
                ~~  ~~~~~~~~~~~~~~~~^~~~
deviate.c:985:23: warning: address of array 'pre->dsk.mdd[j].name' will always evaluate to 'true' [-Wpointer-bool-conversion]
                if (pre->dsk.mdd[j].name)       // existing matching entry
                ~~  ~~~~~~~~~~~~~~~~^~~~
deviate.c:1041:23: warning: address of array 'pre->dsk.lvm[j].name' will always evaluate to 'true' [-Wpointer-bool-conversion]
                if (pre->dsk.lvm[j].name)       // existing matching entry
                ~~  ~~~~~~~~~~~~~~~~^~~~
deviate.c:171:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] = "$Id: deviate.c,v 1.45 2010/10/23 14:02:03 gerlof Exp $";
                  ^
4 warnings generated.
clang -O2 -pipe  -fstack-protector -fno-strict-aliasing -Wall -DFREEBSD -c procdbase.c -o procdbase.o
procdbase.c:61:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] = "$Id: procdbase.c,v 1.8 2010/04/23 12:19:35 gerlof Exp $";
                  ^
1 warning generated.
clang -O2 -pipe  -fstack-protector -fno-strict-aliasing -Wall -DFREEBSD -c acctproc.c -o acctproc.o
acctproc.c:116:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] = "$Id: acctproc.c,v 1.28 2010/04/23 12:20:19 gerlof Exp $";
                  ^
1 warning generated.
clang -O2 -pipe  -fstack-protector -fno-strict-aliasing -Wall -DFREEBSD -c photoproc.c -o photoproc.o
photoproc.c:397:51: error: use of undeclared identifier 'P_KTHREAD'
            ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD)))
                                                         ^
photoproc.c:464:75: error: use of undeclared identifier 'P_KTHREAD'
                        if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD)))
                                                                                               ^
photoproc.c:577:74: error: use of undeclared identifier 'P_KTHREAD'
                if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD))) 
                                                                                       ^
photoproc.c:674:51: error: use of undeclared identifier 'P_KTHREAD'
                if ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD))
                                                                ^
photoproc.c:690:44: error: use of undeclared identifier 'P_KTHREAD'
            curtask->cpu.rtprio = ((pp->ki_flag & P_KTHREAD) ? pp->ki_pri.pri_native :
                                                  ^
photoproc.c:694:44: error: use of undeclared identifier 'P_KTHREAD'
            curtask->cpu.rtprio = ((pp->ki_flag & P_KTHREAD) ? pp->ki_pri.pri_native :
                                                  ^
6 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/sysutils/atop/work/atop-freebsd-atop-2.0.2.fbsd.beta3
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/atop
====>> Cleaning up wrkdir
===>  Cleaning for atop-2.0.2.b3
build of sysutils/atop ended at Sun Jul 17 09:50:04 CEST 2016
build time: 00:00:06
!!! build failure encountered !!!
-- 
Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
"Wer übersieht, dass wir uns den anderen weggenommen haben und sie uns wiederhaben wollen,
kann von den Kämpfen der letzten Tage keinen verstehen. Und kann natürlich auch keinen
dieser Kämpfe bestehen." Hermann Kant in jW 1.10.1989



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