Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2018 13:41:07 GMT
From:      pkg-fallout@FreeBSD.org
To:        smatsui@karashi.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][www/tinytinyhttpd] Failed for tinytinyhttpd-0.0.11 in build
Message-ID:  <201802031341.w13Df7j1091142@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:     smatsui@karashi.org
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/www/tinytinyhttpd/Makefile 396103 2015-09-04 16:02:16Z mat $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p460764_s328823/logs/tinytinyhttpd-0.0.11.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p460764_s328823
Log:

=>> Building www/tinytinyhttpd
build started at Sat Feb  3 13:40:50 UTC 2018
port directory: /usr/ports/www/tinytinyhttpd
package name: tinytinyhttpd-0.0.11
building for: FreeBSD head-amd64-default-job-04 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: smatsui@karashi.org
Makefile ident:      $FreeBSD: head/www/tinytinyhttpd/Makefile 396103 2015-09-04 16:02:16Z mat $
Poudriere version: 3.2.4-34-g673bd441
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 04




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200056
UNAME_v=FreeBSD 12.0-CURRENT 1200056
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-34-g673bd441
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
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---
===> The following configuration options are available for tinytinyhttpd-0.0.11:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
smatsui@karashi.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/tinytinyhttpd/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/tinytinyhttpd/work  HOME=/wrkdirs/usr/ports/www/tinytinyhttpd/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/tinytinyhttpd/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/tinytinyhttpd/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/tinytinyhttpd/work  HOME=/wrkdirs/usr/ports/www/tinytinyhttpd/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/tinytinyhttpd/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 PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  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=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tinytinyhttpd"  EXAMPLESDIR="share/examples/tinytinyhttpd"  DATADIR="share/tinytinyhttpd"  WWWDIR="www/tinytinyhttpd"  ETCDIR="etc/tinytinyhttpd"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/tinytinyhttpd DOCSDIR=/usr/local/share/doc/tinytinyhttpd EXAMPLESDIR=/usr/local/share/examples/tinytinyhttpd  WWWDIR=/usr/local/www/tinytinyhttpd ETCDIR=/usr/local/etc/tinytinyhttpd
--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 ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200056
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=12.0-CURRENT
#### 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)  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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   tinytinyhttpd-0.0.11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-04] Installing pkg-1.10.4...
[head-amd64-default-job-04] Extracting pkg-1.10.4: .......... done
===>   tinytinyhttpd-0.0.11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of tinytinyhttpd-0.0.11
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by tinytinyhttpd-0.0.11 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by tinytinyhttpd-0.0.11 for building
=> SHA256 Checksum OK for tinytinyhttpd-0.0.11.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by tinytinyhttpd-0.0.11 for building
===>  Extracting for tinytinyhttpd-0.0.11
=> SHA256 Checksum OK for tinytinyhttpd-0.0.11.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for tinytinyhttpd-0.0.11
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for tinytinyhttpd-0.0.11
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking whether stat file-mode macros are broken... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether closedir returns void... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for dup2... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getaddrinfo... yes
checking for inet_ntoa... yes
checking for mblen... yes
checking for memset... yes
checking for realpath... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking for strpbrk... yes
checking for wcwidth... yes
checking build system type... x86_64-unknown-freebsd12.0
checking host system type... x86_64-unknown-freebsd12.0
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... cc
checking for pthread_sigmask... yes
checking whether to check to support sendfile... yes
checking for freebsd sendfile support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for tinytinyhttpd-0.0.11
/usr/bin/make  all-am
c++ -DHAVE_CONFIG_H -I.      -O2 -pipe  -fstack-protector -fno-strict-aliasing -D_THREAD_SAFE -pthread -D_REENTRANT -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cxx
main.cxx:16:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register int c;
        ^~~~~~~~~
main.cxx:17:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register char *cp;
        ^~~~~~~~~
2 warnings generated.
mv -f .deps/main.Tpo .deps/main.Po
c++ -DHAVE_CONFIG_H -I.      -O2 -pipe  -fstack-protector -fno-strict-aliasing -D_THREAD_SAFE -pthread -D_REENTRANT -MT httpd.o -MD -MP -MF .deps/httpd.Tpo -c -o httpd.o httpd.cxx
httpd.cxx:1019:21: error: assigning to 'int' from incompatible type 'nullptr_t'
                res_info->write = NULL;
                                  ^~~~
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL    nullptr
                ^~~~~~~
httpd.cxx:1734:8: error: no matching function for call to 'sendfile'
                        if (sendfile(msgsock, res_info->read, NULL, total, NULL, NULL, 0) == 0) sent = total;
                            ^~~~~~~~
/usr/include/sys/socket.h:683:5: note: candidate function not viable: no known conversion from 'nullptr_t' to 'off_t' (aka 'long') for 3rd argument
int     sendfile(int, int, off_t, size_t, struct sf_hdtr *, off_t *, int);
        ^
httpd.cxx:1805:25: warning: format specifies type 'unsigned int' but the argument has type 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::size_type' (aka 'unsigned long') [-Wformat]
                sprintf(length, "%u", ret.size());
                                 ~~   ^~~~~~~~~~
                                 %lu
1 warning and 2 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/www/tinytinyhttpd/work/tinytinyhttpd-0.0.11
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/www/tinytinyhttpd/work/tinytinyhttpd-0.0.11
*** Error code 1

Stop.
make: stopped in /usr/ports/www/tinytinyhttpd



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