[DRE-maint] Bug#996387: FTBFS - also with ruby 2.7.4

Sven Mueller sven.mueller72 at gmail.com
Fri Oct 29 12:42:31 BST 2021


Hi.

I get the same "rpc/rpc.h" error while rebuilding against (at least
essentially) debian-testing and ruby 2.7.4.


gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -I.
-I/usr/include/x86_64-linux-gnu/ruby-2.7.0
-I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I.
-Wdate-time -D_FORTIFY_SOURCE=2   -I../../include -I../../src/os/linux
-U_FILE_OFFSET_BITS -DRB_HAS_RE_ERROR -DRB_RUBY_19 -fPIC -g -O2
-ffile-prefix-map=/build/ruby2.7-5goTBM/ruby2.7-2.7.4=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC  -o
sigar_util.o -c sigar_util.c
sigar_util.c: In function ‘sigar_proc_list_procfs_get’:
sigar_util.c:167:5: warning: ‘readdir_r’ is deprecated
[-Wdeprecated-declarations]
  167 |     while (readdir_r(dirp, &dbuf, &ent) == 0) {
      |     ^~~~~
In file included from sigar_util.c:31:
/usr/include/dirent.h:183:12: note: declared here
  183 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
sigar_util.c: In function ‘sigar_proc_fd_count’:
sigar_util.c:210:5: warning: ‘readdir_r’ is deprecated
[-Wdeprecated-declarations]
  210 |     while (readdir_r(dirp, &dbuf, &ent) == 0) {
      |     ^~~~~
In file included from sigar_util.c:31:
/usr/include/dirent.h:183:12: note: declared here
  183 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
sigar_util.c: At top level:
sigar_util.c:742:10: fatal error: rpc/rpc.h: No such file or directory
  742 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:245: sigar_util.o] Error 1

+------------------------------------------------------------------------------+
| Build environment
   |
+------------------------------------------------------------------------------+

Kernel: Linux 5.10.40-1-amd64 #1 SMP Debian 5.10.40-1 (2021-06-22) amd64
(x86_64)
Toolchain package versions: binutils_2.37-7 dpkg-dev_1.20.9
g++-10_10.3.0-11 gcc-10_10.3.0-11 libc6-dev_2.32-4
libstdc++-10-dev_10.3.0-11 libstdc++6_11.2.0-9 linux-libc-dev_5.10.46-5
Package versions: adduser_3.118 apt_2.3.11 autoconf_2.71-2
automake_1:1.16.4-2 autopoint_0.21-4 autotools-dev_20180224.1+nmu1
base-files_12 base-passwd_3.5.52 bash_5.1-3 binutils_2.37-7
binutils-common_2.37-7 binutils-x86-64-linux-gnu_2.37-7
bsdextrautils_2.37.2-3 bsdutils_1:2.37.2-3 build-essential_12.9
bzip2_1.0.8-4 ca-certificates_20210119 coreutils_8.32-4 cpp_4:10.2.1-1
cpp-10_10.3.0-11 dash_0.5.11+git20210120+802ebd4-1 debconf_1.5.77
debhelper_13.5.2 debian-archive-keyring_2021.1.1 debianutils_4.11.2
devscripts_2.21.4 dh-autoreconf_20 dh-strip-nondeterminism_1.12.0-2
diffutils_1:3.7-5 dirmngr_2.2.27-2 dpkg_1.20.9 dpkg-dev_1.20.9 dwz_0.14-1
e2fsprogs_1.46.4-1 eatmydata_130-2 fakeroot_1.25.3-1.1 file_1:5.39-3
findutils_4.8.0-1 g++_4:10.2.1-1 g++-10_10.3.0-11 gcc_4:10.2.1-1
gcc-10_10.3.0-11 gcc-10-base_10.3.0-11 gcc-11-base_11.2.0-9
gcc-8-base_8.4.0-7+build1 gcc-9-base_9.4.0-2 gem2deb_1.6
gem2deb-test-runner_1.6 gettext_0.21-4 gettext-base_0.21-4 gnupg_2.2.27-2
gnupg-l10n_2.2.27-2 gnupg-utils_2.2.27-2 goobuntu-base_29 gpg_2.2.27-2
gpg-agent_2.2.27-2 gpg-wks-client_2.2.27-2 gpg-wks-server_2.2.27-2
gpgconf_2.2.27-2 gpgsm_2.2.27-2 gpgv_2.2.27-2 grep_3.7-1
groff-base_1.22.4-7 gzip_1.10-4 hostname_3.23 init-system-helpers_1.60
intltool-debian_0.35.0+20060710.5 libacl1_2.3.1-1 libapt-pkg6.0_2.3.11
libarchive-zip-perl_1.68-1 libasan6_11.2.0-9 libassuan0_2.5.5-1
libatomic1_11.2.0-9 libattr1_1:2.5.1-1 libaudit-common_1:3.0.6-1
libaudit1_1:3.0.6-1 libb-hooks-op-check-perl_0.22-1 libbinutils_2.37-7
libblkid1_2.37.2-3 libboost-filesystem1.74.0_1.74.0-9
libboost-iostreams1.74.0_1.74.0-9 libboost-program-options1.74.0_1.74.0-9
libbsd0_0.11.3-1 libbz2-1.0_1.0.8-4 libc-bin_2.32-4 libc-dev-bin_2.32-4
libc6_2.32-4 libc6-dev_2.32-4 libcap-ng0_0.7.9-2.2 libcap2_1:2.44-1
libcc1-0_11.2.0-9 libclass-method-modifiers-perl_2.13-1
libcom-err2_1.46.4-1 libcrypt-dev_1:4.4.25-2 libcrypt1_1:4.4.25-2
libctf-nobfd0_2.37-7 libctf0_2.37-7 libdb5.3_5.3.28+dfsg1-0.8
libdebconfclient0_0.260 libdebhelper-perl_13.5.2
libdevel-callchecker-perl_0.008-1 libdpkg-perl_1.20.9
libdynaloader-functions-perl_0.003-1.1 libeatmydata1_130-2
libedit2_3.1-20210910-1 libelf1_0.185-2 libencode-locale-perl_1.05-1.1
libexpat1_2.4.1-2 libext2fs2_1.46.4-1 libfakeroot_1.25.3-1.1
libffi8_3.4.2-2 libfile-dirlist-perl_0.05-2 libfile-homedir-perl_1.006-1
libfile-listing-perl_6.14-1 libfile-stripnondeterminism-perl_1.12.0-2
libfile-touch-perl_0.12-1 libfile-which-perl_1.23-1 libgcc-10-dev_10.3.0-11
libgcc-s1_11.2.0-9 libgcrypt20_1.9.4-3 libgdbm-compat4_1.22-1
libgdbm6_1.22-1 libgmp-dev_2:6.2.1+dfsg-2 libgmp10_2:6.2.1+dfsg-2
libgmpxx4ldbl_2:6.2.1+dfsg-2 libgnutls30_3.7.2-2 libgomp1_11.2.0-9
libgpg-error0_1.42-3 libgssapi-krb5-2_1.18.3-7 libhogweed6_3.7.3-1
libhtml-parser-perl_3.76-1 libhtml-tagset-perl_3.20-4
libhtml-tree-perl_5.07-2 libhttp-cookies-perl_6.10-1
libhttp-date-perl_6.05-1 libhttp-message-perl_6.33-1
libhttp-negotiate-perl_6.01-1 libicu67_67.1-7 libidn2-0_2.3.2-2
libimport-into-perl_1.002005-1 libio-html-perl_1.004-2
libio-pty-perl_1:1.15-2 libio-socket-ssl-perl_2.072-1
libipc-run-perl_20200505.0-1 libisl23_0.24-2 libitm1_11.2.0-9
libk5crypto3_1.18.3-7 libkeyutils1_1.6.1-2 libkrb5-3_1.18.3-7
libkrb5support0_1.18.3-7 libksba8_1.6.0-2 libldap-2.4-2_2.4.59+dfsg-1
liblocale-gettext-perl_1.07-4 liblsan0_11.2.0-9
liblwp-mediatypes-perl_6.04-1 liblwp-protocol-https-perl_6.10-1
liblz4-1_1.9.3-2 liblzma5_5.2.5-2 libmagic-mgc_1:5.39-3 libmagic1_1:5.39-3
libmd0_1.0.4-1 libmodule-runtime-perl_0.016-1 libmoo-perl_2.005004-2
libmount1_2.37.2-3 libmpc3_1.2.1-1 libmpdec3_2.5.1-2 libmpfr6_4.1.0-3
libncursesw6_6.2+20201114-4 libnet-http-perl_6.21-1
libnet-ssleay-perl_1.88-3 libnettle8_3.7.3-1 libnpth0_1.6-3
libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libp11-kit0_0.24.0-5
libpam-modules_1.4.0-10 libpam-modules-bin_1.4.0-10 libpam-runtime_1.4.0-10
libpam0g_1.4.0-10 libparams-classify-perl_0.015-1 libpcre2-8-0_10.36-2
libpcre3_2:8.39-13 libperl5.32_5.32.1-6 libpipeline1_1.5.3-1
libpython3-stdlib_3.9.2-3 libpython3.9-minimal_3.9.7-4
libpython3.9-stdlib_3.9.7-4 libquadmath0_11.2.0-9 libreadline8_8.1-2
librole-tiny-perl_2.002004-1 libruby2.7_2.7.4-1 libsasl2-2_2.1.27+dfsg-2.1
libsasl2-modules-db_2.1.27+dfsg-2.1 libseccomp2_2.5.2-2 libselinux1_3.1-3
libsemanage-common_3.1-1 libsemanage1_3.1-1 libsepol1_3.1-1
libsigsegv2_2.13-1 libsmartcols1_2.37.2-3 libsqlite3-0_3.36.0-2
libss2_1.46.4-1 libssl1.1_1.1.1l-1 libstdc++-10-dev_10.3.0-11
libstdc++6_11.2.0-9 libsub-override-perl_0.09-2
libsub-quote-perl_2.006006-1 libsystemd0_247.9-4 libtasn1-6_4.17.0-2
libtext-charwidth-perl_0.04-10 libtext-iconv-perl_1.7-7
libtext-wrapi18n-perl_0.06-9 libtimedate-perl_2.3300-2
libtinfo6_6.2+20201114-4 libtirpc-common_1.3.2-2 libtirpc-dev_1.3.2-2
libtirpc3_1.3.2-2 libtool_2.4.6-15 libtry-tiny-perl_0.30-1
libtsan0_11.2.0-9 libubsan1_11.2.0-9 libuchardet0_0.0.7-1 libudev1_247.9-4
libunistring2_0.9.10-6 liburi-perl_5.08-1 libuuid1_2.37.2-3
libwww-perl_6.57-1 libwww-robotrules-perl_6.02-1 libxml2_2.9.12+dfsg-5
libxxhash0_0.8.0-2 libyaml-0-2_0.2.2-1 libzstd1_1.4.8+dfsg-3
linux-libc-dev_5.10.46-5 login_1:4.8.1-1 logsave_1.46.4-1 lsb-base_11.1.0
m4_1.4.18-5 make_4.3-4.1 man-db_2.9.4-2 mawk_1.3.4.20200120-2
media-types_4.0.0 mount_2.37.2-3 ncurses-base_6.2+20201114-4
ncurses-bin_6.2+20201114-4 netbase_6.3 openssl_1.1.1l-1 p11-kit_0.24.0-5
p11-kit-modules_0.24.0-5 passwd_1:4.8.1-1 patch_2.7.6-7 patchutils_0.4.2-1
perl_5.32.1-6 perl-base_5.32.1-6 perl-modules-5.32_5.32.1-6
perl-openssl-defaults_5 pinentry-curses_1.1.0-4 po-debconf_1.0.21+nmu1
python3_3.9.2-3 python3-minimal_3.9.2-3 python3.9_3.9.7-4
python3.9-minimal_3.9.7-4 rake_13.0.3-1 readline-common_8.1-2
rpcsvc-proto_1.4.2-4 ruby_1:2.7.5 ruby-all-dev_1:2.7.5
ruby-minitest_5.13.0-1 ruby-net-telnet_0.1.1-2 ruby-power-assert_1.1.7-2
ruby-rubygems_3.2.27-2 ruby-test-unit_3.3.9-1 ruby-xmlrpc_0.3.0-2
ruby2.7_2.7.4-1 ruby2.7-dev_2.7.4-1 rubygems-integration_1.18
sbuild-build-depends-main-dummy_0.invalid.0 schroot_1.6.10-12
schroot-common_1.6.10-12 sed_4.8-1 sensible-utils_0.0.17
sysvinit-utils_3.00-1 tar_1.34+dfsg-1 tzdata_2021d-1 util-linux_2.37.2-3
wdiff_1.2.2-2 xz-utils_5.2.5-2 zlib1g_1:1.2.11.dfsg-2

Cheers,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211029/94009dc6/attachment.htm>


More information about the Pkg-ruby-extras-maintainers mailing list