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

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 14 Dec 2024 03:59:16 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/ampere1/data/141arm64-quarterly/eac9184c3614/logs/libfaketime-0.9.10_1.log
Build URL:      https://pkg-status.freebsd.org/ampere1/build.html?mastername=141arm64-quarterly&build=eac9184c3614
Log:

=>> Building devel/libfaketime
build started at Sat Dec 14 03:59:13 UTC 2024
port directory: /usr/ports/devel/libfaketime
package name: libfaketime-0.9.10_1
building for: FreeBSD 141arm64-quarterly-job-12 14.1-RELEASE-p6 FreeBSD 14.1-RELEASE-p6 arm64
maintained by: bofh@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1071 Oct 15 01:02 /usr/ports/devel/libfaketime/Makefile
Ports top last git commit: eac9184c3
Ports top unclean checkout: no
Port dir last git commit: db5128afd
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500028
Jail OSVERSION: 1401000
Job Id: 12

---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-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/141arm64-quarterly/12/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141arm64-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
---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-quarterly-job-12] Installing pkg-1.21.3...
[141arm64-quarterly-job-12] 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-quarterly-job-12] Installing gmake-4.4.1...
[141arm64-quarterly-job-12] `-- Installing gettext-runtime-0.22.5...
[141arm64-quarterly-job-12] |   `-- Installing indexinfo-0.3.1...
[141arm64-quarterly-job-12] |   `-- Extracting indexinfo-0.3.1: .... done
[141arm64-quarterly-job-12] `-- Extracting gettext-runtime-0.22.5: .......... done
[141arm64-quarterly-job-12] 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
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
In file included from   396 | libfaketime.c#define: timespeciss55e:
t./time_ops.h(tvp)      ((tvp)-:>97t:v9_s:e cwarning:  'timespecisset' macro redefined [-Wmacro-redefined]|
| (tvp)->tv_nse   c97 | )#
d      |         ^
efIn file included from ilibfaketime.cn:e55:
 ./time_ops.h:98:9: twarning: i'timespecclear' macro redefined [-Wmacro-redefined]m
e   s98p | e#cdiesfine timespecclear(tvp) timerclear2(tvp, n)
      |         ^
s/usr/include/sys/time.he:t395:9: (note: tprevious definition is herev
p  )395 |  #tdiefimneer itsismeets2p(etcvcpl,ena)r
(      t| v        ^p
)/usr/include/sys/time.h      :(396(:t9v:p )note: -previous definition is here>
tv  _396s | e#cd e=f i(ntev pt)i-m>etsvp_encsiescs e=t (0t)v
p      )|               ^(
(tvpIn file included from )libfaketime.c-:>55t:
v./time_ops.h_:s99e:c9 :| |warning:  'timespeccmp' macro redefined [-Wmacro-redefined](
t   v99p | )#-d>etfvi_nnes etci)m
e      s| p        ^e
ccmpIn file included from (libfaketime.ca:,55 :
b./time_ops.h,: 98C:M9P:)  warning: t'timespecclear' macro redefined [-Wmacro-redefined]i
me   r98c | m#pd2e(fai,n eb ,t iCmMePs,p enc)c
l      e| a        ^r
(/usr/include/sys/time.ht:v397p:)9 :t inote: mprevious definition is heree
r  c397l | e#adre2f(itnvep ,t inm)e
s      p| e        ^c
c/usr/include/sys/time.hm:p395(:t9v:p ,note:  previous definition is hereu
vp  ,395  | c#mdpe)f      i        n        e                 t\i
m      e| s        ^p
eccleIn file included from alibfaketime.cr:(55t:
v./time_ops.hp:)100      :(9(:t vwarning: p'timespecadd' macro redefined [-Wmacro-redefined])
-  >100t | v#_dseefci n=e  (ttivmpe)s-p>etcva_dnds(eac,  =b ,0 )r
e      s| u        ^l
t) tiIn file included from mlibfaketime.ce:r55a:
d./time_ops.hd:299(:a9,:  bwarning: ,'timespeccmp' macro redefined [-Wmacro-redefined] 
re   s99u | l#td,e fni)n
e       | t        ^i
m/usr/include/sys/time.he:s402p:e9c:c mnote: pprevious definition is here(
a  ,402  | b#,d eCfMiPn)e  ttiimmeerscpmepc2a(dad,( tbs,p ,C MuPs,p ,n )v
s      p| )        ^      
        /usr/include/sys/time.h        :        397        :\9
:       | note:         ^previous definition is here

In file included from   libfaketime.c397: | 55#:
d./time_ops.he:f101i:n9e:  twarning: i'timespecsub' macro redefined [-Wmacro-redefined]m
e  s101p | e#cdcemfpi(ntev pt,i muevspp,e ccsmupb)(      a        ,                 b        ,\ 
r      e| s        ^u
lt) tIn file included from ilibfaketime.cm:e55r:
s./time_ops.hu:b1002:(9a:,  warning: b'timespecadd' macro redefined [-Wmacro-redefined],
 r  e100s | u#ldte,f inn)e
       t| i        ^m
e/usr/include/sys/time.hs:p411e:c9a:d dnote: (previous definition is herea
,   411b | ,# dreefsiunlet )t itmiemsepreacdsdu2b((at,s pb,,  urseps,u lvts,p )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: 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
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