Public bug reported:
FTBFS on Noble/armhf, due to time_t, blocking the libtirpc transition
make[1]: Entering directory '/<<PKGBUILDDIR>>/bindings/ruby'
gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -I.
-I/usr/include/arm-linux-gnueabihf/ruby-3.2.0
-I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I.
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time
-D_FORTIFY_SOURCE=3 -I../../include -I../../src/os/linux -U_FILE_OFFSET_BITS
-I /usr/include/tirpc -DRB_HAS_RE_ERROR -DRB_RUBY_19 -fPIC -g -O2
-ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-stack-clash-protection
-fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1build2 -fPIC -o
linux_sigar.o -c linux_sigar.c
In file included from /usr/include/features.h:394,
from /usr/include/dirent.h:25,
from linux_sigar.c:19:
/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed
only with _FILE_OFFSET_BITS=64"
26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
| ^~~~~
linux_sigar.c: In function ‘sigar_os_proc_list_get’:
linux_sigar.c:622:5: warning: ‘readdir_r’ is deprecated
[-Wdeprecated-declarations]
622 | while (readdir_r(dirp, &dbuf, &ent) == 0) {
| ^~~~~
/usr/include/dirent.h:185:12: note: declared here
185 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
linux_sigar.c: In function ‘sigar_proc_port_get’:
linux_sigar.c:2510:5: warning: ‘readdir_r’ is deprecated
[-Wdeprecated-declarations]
2510 | while (readdir_r(dirp, &dbuf, &ent) == 0) {
| ^~~~~
/usr/include/dirent.h:185:12: note: declared here
185 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
linux_sigar.c:2551:9: warning: ‘readdir_r’ is deprecated
[-Wdeprecated-declarations]
2551 | while (readdir_r(fd_dirp, &fd_dbuf, &fd_ent) == 0) {
| ^~~~~
/usr/include/dirent.h:185:12: note: declared here
185 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
linux_sigar.c: In function ‘sigar_cpu_list_get’:
linux_sigar.c:458:11: warning: ignoring return value of ‘fgets’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
458 | (void)fgets(cpu_total, sizeof(cpu_total), fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux_sigar.c: In function ‘get_iostat_procp’:
linux_sigar.c:1367:11: warning: ignoring return value of ‘fgets’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
1367 | (void)fgets(buffer, sizeof(buffer), fp); /* skip header */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux_sigar.c: In function ‘sigar_net_route_list_get’:
linux_sigar.c:1739:11: warning: ignoring return value of ‘fgets’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
1739 | (void)fgets(buffer, sizeof(buffer), fp); /* skip header */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux_sigar.c: In function ‘sigar_net_interface_stat_get’:
linux_sigar.c:1782:5: warning: ignoring return value of ‘fgets’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
1782 | fgets(buffer, sizeof(buffer), fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux_sigar.c:1783:5: warning: ignoring return value of ‘fgets’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
1783 | fgets(buffer, sizeof(buffer), fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux_sigar.c: In function ‘proc_net_read’:
linux_sigar.c:1947:5: warning: ignoring return value of ‘fgets’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
1947 | fgets(buffer, sizeof(buffer), fp); /* skip header */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux_sigar.c: In function ‘sigar_arp_list_get’:
linux_sigar.c:2428:11: warning: ignoring return value of ‘fgets’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
2428 | (void)fgets(buffer, sizeof(buffer), fp); /* skip header */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:248: linux_sigar.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/bindings/ruby'
/usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.2
/usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /<<PKGBUILDDIR>>
debian/ruby-sigar (Gem2Deb::CommandFailed)
from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby'
from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild'
from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby'
from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:57:in `block in
install_files_and_build_extensions'
from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:54:in `each'
from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:54:in
`install_files_and_build_extensions'
from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:28:in `build'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:54:in `block in
install'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:52:in `each'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:52:in `install'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:163:in `install'
from /usr/bin/dh_ruby:89:in `<main>'
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-sigar
returned exit code 1
make: *** [debian/rules:15: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit
status 2
** Affects: ruby-sigar (Ubuntu)
Importance: Undecided
Status: Fix Committed
** Tags: time-t
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2059137
Title:
Please remove ruby-sigar on Noble/armhf, blocking libtirpc time_t
transition
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby-sigar/+bug/2059137/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs