[package - 141amd64-quarterly][devel/libfaketime] Failed for libfaketime-0.9.10_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 06 Oct 2024 01:04:32 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:     bofh@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy20/data/141amd64-quarterly/787b4f953032/logs/libfaketime-0.9.10_1.log
Build URL:      https://pkg-status.freebsd.org/beefy20/build.html?mastername=141amd64-quarterly&build=787b4f953032
Log:

=>> Building devel/libfaketime
build started at Sun Oct  6 01:04:31 UTC 2024
port directory: /usr/ports/devel/libfaketime
package name: libfaketime-0.9.10_1
building for: FreeBSD 141amd64-quarterly-job-39 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 amd64
maintained by: bofh@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1071 Jul  6 01:01 /usr/ports/devel/libfaketime/Makefile
Ports top last git commit: 787b4f953
Ports top unclean checkout: no
Port dir last git commit: 854c13714
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 39

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1401000
UNAME_v=FreeBSD 14.1-RELEASE-p5
UNAME_r=14.1-RELEASE-p5
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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/141amd64-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/141amd64-quarterly/39/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

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

--MAINTAINER--
bofh@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/libfaketime/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/libfaketime/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/libfaketime/work/.cache  HOME=/wrkdirs/usr/ports/devel/libfaketime/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/libfaketime/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/libfaketime/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
FEATS="-DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS"  WARNS="-Wall" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/libfaketime/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/libfaketime/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/libfaketime/work/.cache  HOME=/wrkdirs/usr/ports/devel/libfaketime/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/libfaketime/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/libfaketime/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " 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--
OSREL=14.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libfaketime"  EXAMPLESDIR="share/examples/libfaketime"  DATADIR="share/libfaketime"  WWWDIR="www/libfaketime"  ETCDIR="etc/libfaketime"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libfaketime DOCSDIR=/usr/local/share/doc/libfaketime EXAMPLESDIR=/usr/local/share/examples/libfaketime  WWWDIR=/usr/local/www/libfaketime ETCDIR=/usr/local/etc/libfaketime
--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
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libfaketime-0.9.10_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141amd64-quarterly-job-39] Installing pkg-1.21.3...
[141amd64-quarterly-job-39] Extracting pkg-1.21.3: .......... done
===>   libfaketime-0.9.10_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libfaketime-0.9.10_1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by libfaketime-0.9.10_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by libfaketime-0.9.10_1 for building
=> SHA256 Checksum OK for wolfcw-libfaketime-v0.9.10-da77808_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by libfaketime-0.9.10_1 for building
===>  Extracting for libfaketime-0.9.10_1
=> SHA256 Checksum OK for wolfcw-libfaketime-v0.9.10-da77808_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for libfaketime-0.9.10_1
===>  Applying FreeBSD patches for libfaketime-0.9.10_1 from /usr/ports/devel/libfaketime/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libfaketime-0.9.10_1 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[141amd64-quarterly-job-39] Installing gmake-4.4.1...
[141amd64-quarterly-job-39] `-- Installing gettext-runtime-0.22.5...
[141amd64-quarterly-job-39] |   `-- Installing indexinfo-0.3.1...
[141amd64-quarterly-job-39] |   `-- Extracting indexinfo-0.3.1: .... done
[141amd64-quarterly-job-39] `-- Extracting gettext-runtime-0.22.5: .......... done
[141amd64-quarterly-job-39] Extracting gmake-4.4.1: .......... done
===>   libfaketime-0.9.10_1 depends on package: gmake>=4.4.1 - found
===>   Returning to build of libfaketime-0.9.10_1
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for libfaketime-0.9.10_1
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for libfaketime-0.9.10_1
gmake  -C src all
gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/libfaketime/work/libfaketime-da77808/src'
cc -o libfaketime.o -c -std=gnu99 -fPIC -Wall -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -DPREFIX='"'/usr/local'"' -DLIBDIRNAME='"'/lib/faketime'"' -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   libfaketime.c
In file included from libfaketime.c:55:
./time_ops.h:97:9: warning: 'timespecisset' macro redefined [-Wmacro-redefined]
   97 | #define timespecisset(tvp) timerisset2(tvp,n)
      |         ^
/usr/include/sys/time.h:396:9: note: previous definition is here
  396 | #define timespecisset(tvp)      ((tvp)->tv_sec || (tvp)->tv_nsec)
      |         ^
In file included from libfaketime.c:55:
./time_ops.h:98:9: warning: 'timespecclear' macro redefined [-Wmacro-redefined]
   98 | #define timespecclear(tvp) timerclear2(tvp, n)
      |         ^
/usr/include/sys/time.h:395:9: note: previous definition is here
  395 | #define timespecclear(tvp)      ((tvp)->tv_sec = (tvp)->tv_nsec = 0)
      |         ^
In file included from libfaketime.c:55:
./time_ops.h:99:9: warning: 'timespeccmp' macro redefined [-Wmacro-redefined]
   99 | #define timespeccmp(a, b, CMP) timercmp2(a, b, CMP, n)
      |         ^
/usr/include/sys/time.h:397:9: note: previous definition is here
  397 | #define timespeccmp(tvp, uvp, cmp)                                      \
      |         ^
In file included from libfaketime.c:55:
./time_ops.h:100:9: warning: 'timespecadd' macro redefined [-Wmacro-redefined]
  100 | #define timespecadd(a, b, result) timeradd2(a, b, result, n)
      |         ^
/usr/include/sys/time.h:402:9: note: previous definition is here
  402 | #define timespecadd(tsp, usp, vsp)                                      \
      |         ^
In file included from libfaketime.c:55:
./time_ops.h:101:9: warning: 'timespecsub' macro redefined [-Wmacro-redefined]
  101 | #define timespecsub(a, b, result) timersub2(a, b, result, n)
      |         ^
/usr/include/sys/time.h:411:9: note: previous definition is here
  411 | #define timespecsub(tsp, usp, vsp)                                      \
      |         ^
In file included from libfaketime.c:63:
/usr/include/sys/timeb.h:43:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings]
   43 | #warning "this file includes <sys/timeb.h> which is deprecated"
      |  ^
libfaketime.c:129:72: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility]
  129 | static int          (*real_stat64)          (int, const char *, struct stat64 *);
      |                                                                        ^
libfaketime.c:130:64: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility]
  130 | static int          (*real_fstat64)         (int, int , struct stat64 *);
      |                                                                ^
libfaketime.c:131:78: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility]
  131 | static int          (*real_fstatat64)       (int, int , const char *, struct stat64 *, int);
      |                                                                              ^
libfaketime.c:132:72: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility]
  132 | static int          (*real_lstat64)         (int, const char *, struct stat64 *);
      |                                                                        ^
libfaketime.c:336:72: warning: while loop has empty body [-Wempty-body]
  336 |   DONT_FAKE_TIME((*real_clock_gettime)(CLOCK_REALTIME, &systime->real));
      |                                                                        ^
libfaketime.c:336:72: note: put the semicolon on a separate line to silence this warning
libfaketime.c:337:72: warning: while loop has empty body [-Wempty-body]
  337 |   DONT_FAKE_TIME((*real_clock_gettime)(CLOCK_MONOTONIC, &systime->mon));
      |                                                                        ^
libfaketime.c:337:72: note: put the semicolon on a separate line to silence this warning
12 warnings generated.
cc -o libfaketime.so.1 -Wl,-soname,libfaketime.so.1  -fstack-protector-strong  -lpthread -Wl,--version-script=libfaketime.map -shared libfaketime.o -lm -lrt
cc -o libfaketimeMT.o -c -std=gnu99 -fPIC -Wall -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -DPREFIX='"'/usr/local'"' -DLIBDIRNAME='"'/lib/faketime'"' -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPTHREAD -DPTHREAD_SINGLETHREADED_TIME libfaketime.c
In file included from libfaketime.c:55:
./time_ops.h:97:9: warning: 'timespecisset' macro redefined [-Wmacro-redefined]
   97 | #define timespecisset(tvp) timerisset2(tvp,n)
      |         ^
/usr/include/sys/time.h:396:9: note: previous definition is here
  396 | #define timespecisset(tvp)      ((tvp)->tv_sec || (tvp)->tv_nsec)
      |         ^
In file included from libfaketime.c:55:
./time_ops.h:98:9: warning: 'timespecclear' macro redefined [-Wmacro-redefined]
   98 | #define timespecclear(tvp) timerclear2(tvp, n)
      |         ^
/usr/include/sys/time.h:395:9: note: previous definition is here
  395 | #define timespecclear(tvp)      ((tvp)->tv_sec = (tvp)->tv_nsec = 0)
      |         ^
In file included from libfaketime.c:55:
./time_ops.h:99:9: warning: 'timespeccmp' macro redefined [-Wmacro-redefined]
   99 | #define timespeccmp(a, b, CMP) timercmp2(a, b, CMP, n)
      |         ^
/usr/include/sys/time.h:397:9: note: previous definition is here
  397 | #define timespeccmp(tvp, uvp, cmp)                                      \
      |         ^
In file included from libfaketime.c:55:
./time_ops.h:100:9: warning: 'timespecadd' macro redefined [-Wmacro-redefined]
  100 | #define timespecadd(a, b, result) timeradd2(a, b, result, n)
      |         ^
/usr/include/sys/time.h:402:9: note: previous definition is here
  402 | #define timespecadd(tsp, usp, vsp)                                      \
      |         ^
In file included from libfaketime.c:55:
./time_ops.h:101:9: warning: 'timespecsub' macro redefined [-Wmacro-redefined]
  101 | #define timespecsub(a, b, result) timersub2(a, b, result, n)
      |         ^
/usr/include/sys/time.h:411:9: note: previous definition is here
  411 | #define timespecsub(tsp, usp, vsp)                                      \
      |         ^
In file included from libfaketime.c:63:
/usr/include/sys/timeb.h:43:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings]
   43 | #warning "this file includes <sys/timeb.h> which is deprecated"
      |  ^
libfaketime.c:129:72: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility]
  129 | static int          (*real_stat64)          (int, const char *, struct stat64 *);
      |                                                                        ^
libfaketime.c:130:64: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility]
  130 | static int          (*real_fstat64)         (int, int , struct stat64 *);
      |                                                                ^
libfaketime.c:131:78: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility]
  131 | static int          (*real_fstatat64)       (int, int , const char *, struct stat64 *, int);
      |                                                                              ^
libfaketime.c:132:72: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility]
  132 | static int          (*real_lstat64)         (int, const char *, struct stat64 *);
      |                                                                        ^
libfaketime.c:336:72: warning: while loop has empty body [-Wempty-body]
  336 |   DONT_FAKE_TIME((*real_clock_gettime)(CLOCK_REALTIME, &systime->real));
      |                                                                        ^
libfaketime.c:336:72: note: put the semicolon on a separate line to silence this warning
libfaketime.c:337:72: warning: while loop has empty body [-Wempty-body]
  337 |   DONT_FAKE_TIME((*real_clock_gettime)(CLOCK_MONOTONIC, &systime->mon));
      |                                                                        ^
libfaketime.c:337:72: note: put the semicolon on a separate line to silence this warning
12 warnings generated.
cc -o libfaketimeMT.so.1 -Wl,-soname,libfaketimeMT.so.1  -fstack-protector-strong  -lpthread -Wl,--version-script=libfaketime.map -shared libfaketimeMT.o -lm -lrt
cc -o faketime -std=gnu99 -fPIC -Wall -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -DPREFIX='"'/usr/local'"' -DLIBDIRNAME='"'/lib/faketime'"' -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   faketime.c  -fstack-protector-strong  -lpthread -Wl,--version-script=libfaketime.map -lrt
ld: error: version script assignment of 'GLIBC_2.2' to symbol 'timer_gettime' failed: symbol not defined
ld: error: version script assignment of 'GLIBC_2.2' to symbol 'timer_settime' failed: symbol not defined
ld: error: version script assignment of 'GLIBC_2.3.3' to symbol 'timer_gettime' failed: symbol not defined
ld: error: version script assignment of 'GLIBC_2.3.3' to symbol 'timer_settime' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:106: faketime] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/libfaketime/work/libfaketime-da77808/src'
gmake: *** [Makefile:7: all] Error 2
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/libfaketime