[package - 141arm64-default][devel/libfaketime] Failed for libfaketime-0.9.10_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 12 Jan 2025 15:46:43 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/ampere3/data/141arm64-default/1afdc808e67b/logs/libfaketime-0.9.10_1.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=141arm64-default&build=1afdc808e67b
Log:

=>> Building devel/libfaketime
build started at Sun Jan 12 15:46:35 UTC 2025
port directory: /usr/ports/devel/libfaketime
package name: libfaketime-0.9.10_1
building for: FreeBSD 141arm64-default-job-04 14.1-RELEASE-p6 FreeBSD 14.1-RELEASE-p6 arm64
maintained by: bofh@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1071 Apr 11  2024 /usr/ports/devel/libfaketime/Makefile
Ports top last git commit: 1afdc808e67
Ports top unclean checkout: no
Port dir last git commit: 907184e50e6
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500028
Jail OSVERSION: 1401000
Job Id: 04

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1401000
UNAME_v=FreeBSD 14.1-RELEASE-p6
UNAME_r=14.1-RELEASE-p6
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/141arm64-default/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/141arm64-default/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141arm64-default/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=/usr/local/bin/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
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
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
[141arm64-default-job-04] Installing pkg-1.21.3...
[141arm64-default-job-04] 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
[141arm64-default-job-04] Installing gmake-4.4.1...
[141arm64-default-job-04] `-- Installing gettext-runtime-0.23...
[141arm64-default-job-04] |   `-- Installing indexinfo-0.3.1...
[141arm64-default-job-04] |   `-- Extracting indexinfo-0.3.1: .... done
[141arm64-default-job-04] `-- Extracting gettext-runtime-0.23: .......... done
[141arm64-default-job-04] 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
/usr/local/bin/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
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
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
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:
In file included from libfaketime.c:./time_ops.h55::
97./time_ops.h::9100:9:: warning:  'timespecadd' macro redefined [-Wmacro-redefined]warning: 
'timespecisset' macro redefined [-Wmacro-redefined]  
100 |    #defi97ne times | p#edceafdidn(ea ,t ibm,e srpeescuilsts)e tt(itmvepr)a dtidm2e(a,r ibsset2(tvp,n)
      |         ^
, r/usr/include/sys/time.h:e396:9: note: sprevious definition is here
ult, n)
      |         ^
  /usr/include/sys/time.h396 | :#402:9: dnote: eprevious definition is heref
i  n402e |  #tdiemfeisnpee ctiismseestp(etcvapd)d      ((t(tsvp)->tv_sec || (tvp)->tv_nsec)
      |         ^
p,In file included from  libfaketime.c:55:
u./time_ops.h:98:9: warning: s'timespecclear' macro redefined [-Wmacro-redefined]
p   98 | #define timespecclear(tvp) timerclear2(tvp, n)
      |         ^
,/usr/include/sys/time.h:395:9: note:  previous definition is here
v  395 | #define timespecclear(tvp)      ((tvp)-s>pt)v      _        s        e        c         \=
       (| t        ^v
p)->tv_nsIn file included from elibfaketime.cc: 55=:
 ./time_ops.h0:)101
:      9| :        ^ 
warning: 'timespecsub' macro redefined [-Wmacro-redefined]In file included from 
libfaketime.c:55:
  ./time_ops.h101: | 99#:d9e:f iwarning: n'timespeccmp' macro redefined [-Wmacro-redefined]
e    99t | i#mdeesfpiences utbi(mae,s pbe,c crmeps(ual,t )b ,t iCmMePr)s utbi2me(rac,m pb2,( ar,e sbu,l tC,M Pn,) 
n      )| 
        ^      
|         ^
/usr/include/sys/time.h/usr/include/sys/time.h::411397::99::  note: note: previous definition is hereprevious definition is here

    411397 |  | ##ddeeffiinnee  ttiimmeessppeeccscumbp((ttsvpp,,  uusvpp,,  vcsmpp))                                                                            \\

            | |         ^        ^

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 *);
      |                                                                        ^
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:libfaketime.c: 336:72: warning: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility]while loop has empty body [-Wempty-body]

    130336 |  | s t aDtOiNcT_FAKE_TIME((*real _icnlto c k _ g e t t i m e()*(rCeLaOlC_Kf_sRtEaALTIME, &systime->tr6e4a)l ) ) ; 
      |                                                                        ^ 
 libfaketime.c : 336 :(72i:n tnote: ,put the semicolon on a separate line to silence this warning 
ilibfaketime.cn:t337:72: warning:  while loop has empty body [-Wempty-body]
,   337s | t r uDcOtN Ts_tFaAtK6E4_TIME (*()*;r
e      a| l_clock                                                               ^_
gettime)(CLOCK_libfaketime.cM:O131N:O78T:O Nwarning: Ideclaration of 'struct stat64' will not be visible outside of this function [-Wvisibility]C
, &sy  s131t | ismtea-t>imco ni)n)t; 
        |                                                                         ^ 
 libfaketime.c: 337 : 72 :( *note: rput the semicolon on a separate line to silence this warninge
al_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
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]: *** Waiting for unfinished jobs....
12 warnings generated.
12 warnings generated.
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/libfaketime/work/libfaketime-da77808/src'
gmake: *** [Makefile:7: all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

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