Public bug reported:

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -mLaunchpad Build Daemon 
<[email protected]> -b -rfakeroot
START dpkg-buildpackage [Sun Aug  2 02:52:48 UTC 2026]
dpkg-buildpackage.pl: info: source package faketime
dpkg-buildpackage.pl: info: source version 0.9.10+2024-06-05+gba9ed5b2-0.6build1
dpkg-buildpackage.pl: info: source distribution resolute
 dpkg-source --before-build .
dpkg-buildpackage.pl: info: host architecture amd64
 debian/rules clean
PREFIX=/usr dh clean
   dh_auto_clean
        make -j4 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  -C src distclean
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'

make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make  -C test distclean
make[2]: Entering directory '/<<PKGBUILDDIR>>/test'

make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
PREFIX=/usr dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j4 INSTALL="install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  -C src all
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
cc -o libfaketime.o -c -g -O2 -Werror=implicit-function-declaration 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/faketime-0.9.10+2024-06-05+gba9ed5b2-0.6build1
 -DMULTI_ARCH -DFAKE_RANDOM -DFAKE_PID -std=gnu99 -Wall -Wextra -Werror 
-DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS 
-DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' 
-DLIBDIRNAME='"'/lib/faketime'"'  -Wno-nonnull-compare -Wdate-time 
-D_FORTIFY_SOURCE=3  libfaketime.c
cc -o libfaketimeMT.o -c -g -O2 -Werror=implicit-function-declaration 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/faketime-0.9.10+2024-06-05+gba9ed5b2-0.6build1
 -DMULTI_ARCH -DFAKE_RANDOM -DFAKE_PID -std=gnu99 -Wall -Wextra -Werror 
-DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS 
-DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' 
-DLIBDIRNAME='"'/lib/faketime'"'  -Wno-nonnull-compare -Wdate-time 
-D_FORTIFY_SOURCE=3 -DPTHREAD_SINGLETHREADED_TIME libfaketime.c
cc -o faketime -g -O2 -Werror=implicit-function-declaration 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/faketime-0.9.10+2024-06-05+gba9ed5b2-0.6build1
 -DMULTI_ARCH -DFAKE_RANDOM -DFAKE_PID -std=gnu99 -Wall -Wextra -Werror 
-DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS 
-DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' 
-DLIBDIRNAME='"'/lib/faketime'"'  -Wno-nonnull-compare -Wdate-time 
-D_FORTIFY_SOURCE=3  faketime.c -Wl,-Bsymbolic-functions 
-Wl,--package-metadata=%7B%22type%22:%22deb%22%2C%22os%22:%22ubuntu%22%2C%22name%22:%22faketime%22%2C%22version%22:%220.9.10+2024-06-05+gba9ed5b2-0.6build1%22%2C%22architecture%22:%22amd64%22%7D
 -Wl,-z,relro -Wl,-z,now  -Wl,--version-script=libfaketime.map -lrt -lpthread
libfaketime.c: In function ‘parse_ft_string’:
libfaketime.c:2675:38: error: assignment discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
 2675 |       else if (NULL != (tmp_time_fmt = strchr(user_faked_time, 'i')))
      |                                      ^
libfaketime.c: In function ‘parse_ft_string’:
libfaketime.c:2675:38: error: assignment discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
 2675 |       else if (NULL != (tmp_time_fmt = strchr(user_faked_time, 'i')))
      |                                      ^
libfaketime.c: In function ‘str_array_contains’:
libfaketime.c:3203:15: error: initialization discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
 3203 |   char *pos = strstr(haystack, needle);
      |               ^~~~~~
libfaketime.c: In function ‘str_array_contains’:
libfaketime.c:3203:15: error: initialization discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
 3203 |   char *pos = strstr(haystack, needle);
      |               ^~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:161: libfaketime.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make[2]: *** [Makefile:161: libfaketimeMT.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 INSTALL="install --strip-program=true" returned 
exit code 2
make: *** [debian/rules:33: binary] Error 25
dpkg-buildpackage.pl: error: debian/rules binary subprocess failed with exit 
status 2
SUMMARY: host: lcy02-amd64-092; CPUs: 4/4; CPU avg: 38%; CPU max: 51%; base 
memory: 0.7 GB; peak memory: 0.8 GB; total memory: 15.6 GB
SUMMARY: swap peak/total: 0.0/4.0 GB; disk start/end/total: 3.5/3.5/76.4 GB; 
disk delta: 0.0 GB


https://launchpadlibrarian.net/871936768/buildlog_ubuntu-stonking-amd64.faketime_0.9.10+2024-06-05+gba9ed5b2-0.6build1_BUILDING.txt.gz

** Affects: faketime (Ubuntu)
     Importance: Undecided
     Assignee: Hector CAO (hectorcao)
         Status: New

** Changed in: faketime (Ubuntu)
     Assignee: (unassigned) => Hector CAO (hectorcao)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163170

Title:
  ftbfs on ubuntu stonking due to new glibc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/faketime/+bug/2163170/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to