I have a "stable" QEMU/KVM host, which also performs Amanda tape-backups. Recently, this production server received an upgrade from gcc-6.4 to gcc-7.3 (among quite a few other things). To ensure ABI compatibility (whether necessary or not), I re-compiled '--empty-tree world'... the only failure in 100's of packages was amanda-3.3.9. # emerge --info Portage 2.3.40 (python 2.7.14-final-0, default/linux/amd64/17.0/hardened, gcc-7.3.0, glibc-2.26-r7, 4.14.40-gentoo x86_64) ================================================================= System uname: Linux-4.14.40-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2680_v2_@_2.80GHz-with-gentoo-2.4.1 KiB Mem: 131950712 total, 15040084 free KiB Swap: 49151996 total, 48857340 free Timestamp of repository gentoo: Wed, 08 Aug 2018 18:15:01 +0000 Head commit of repository gentoo: 47223bae87905f8c32531bbb0918a2265a8083e3 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.24.3-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.5::gentoo, 3.6.5::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.15.1-r2::gentoo sys-devel/binutils: 2.29.1-r1::gentoo, 2.30-r2::gentoo sys-devel/gcc: 6.4.0-r1::gentoo, 7.3.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.ca.gentoo.org/gentoo-portage/ priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 x-portage location: /usr/local/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.osuosl.org http://gentoo.arcticnetworks.ca" LANG="en_CA.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j41" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 bzip2 crypt cxx hardened iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre pie qemu readline seccomp ssl ssp unicode xattr xfs xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS At the moment, it appears that Amanda runs. But clearly there is a looming problem on the horizon...
I manually re-invoked 'emerge amanda' and the gist of the error seems to lie with the inability to include rpc/rpc.h due to it's non-existence: In file included from ndmp2_xdr.c:7:0: ndmp2.h:9:10: fatal error: rpc/rpc.h: No such file or directory #include <rpc/rpc.h> ^~~~~~~~~~~ compilation terminated. and make[3]: *** [Makefile:2006: ndmp9_xdr.lo] Error 1 In file included from ndmos.h:108:0, from ndmlib.h:41, from ndml_fhdb.c:38: ndmos_glib.h:51:2: error: #error rpc/rpc.h is required to compile ndmp-src #error rpc/rpc.h is required to compile ndmp-src ^~~~~ In file included from ndmprotocol.h:102:0, from ndmlib.h:43, from ndml_fhdb.c:38: ndmp0.h:9:10: fatal error: rpc/rpc.h: No such file or directory #include <rpc/rpc.h> ^~~~~~~~~~~ compilation terminated.
# emerge -qpv app-backup/amanda [ebuild R ] app-backup/amanda-3.3.9 USE="ipv6 nls readline -curl -gnuplot -kerberos -minimal -s3 -samba -systemd -xfs"
Reference Bug 656340, which refers to a newer version of Amanda (3.5.1-r1), but has similar characteristics: https://bugs.gentoo.org/656340
Thank you for the report. Please recompile and *attach* the logfiles as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket The logs must be part of the ticket, but not on external websites. Please reopen this ticket (Status:unconfirmed) afterwards.
Created attachment 542820 [details] build.log with fail shown
I'm reproducing this error w/ amanda 3.4.5 and lower, but not 3.5-r1 or greater as in bug #656340 Install deps on top of a mostly empty system: [ebuild N ~] app-backup/amanda-3.4.5 USE="ipv6 minimal nls readline -curl -gnuplot -kerberos -s3 -samba -systemd -xfs" 0 KiB [ebuild N ] dev-libs/glib-2.52.3:2 USE="mime xattr -dbus -debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils" PYTHON_TARGETS="python2_7" 0 KiB [ebuild N ] x11-misc/shared-mime-info-1.9 USE="{-test}" 0 KiB [ebuild N ] dev-lang/swig-3.0.12 USE="pcre -ccache -doc" 0 KiB [ebuild N ] app-arch/dump-0.4.46 USE="bzip2 readline ssl zlib -debug -ermt -libressl -lzo (-selinux) -sqlite -static {-test} -uuid" 0 KiB [ebuild N ] dev-perl/JSON-2.940.0 USE="xs -examples {-test}" 0 KiB [ebuild N ] dev-perl/JSON-XS-3.40.0 USE="-examples {-test}" 0 KiB [ebuild N ] dev-perl/Canary-Stability-2012.0.0 0 KiB [ebuild N ] dev-perl/common-sense-3.740.0-r1 0 KiB [ebuild N ] dev-perl/Types-Serialiser-1.0.0-r1 0 KiB [ebuild N ] virtual/awk-1 0 KiB Portage 2.3.40 (python 2.7.14-final-0, default/linux/amd64/17.1/no-multilib, gcc-7.3.0, glibc-2.26-r7, 4.9.6-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.4.1 KiB Mem: 2042732 total, 1185592 free KiB Swap: 18588764 total, 18570936 free Head commit of repository gentoo: 892de26b1c9d698829dfe64fe0c7e4487c7a5861 sh bash 4.4_p12 ld GNU ld (Gentoo 2.30 p2) 2.30.0 ccache version 3.3.4 [enabled] app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.28.0::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.6.5::gentoo dev-util/ccache: 3.3.4-r1::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.15.1-r2::gentoo sys-devel/binutils: 2.30-r2::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r7::gentoo
Shouldn't we better get rid of the 3.3.9 ebuild? 3.3.9 is from 2016, even 3.5.1 is from december 2017.
Several months have now passed; I wonder if there is a fresher version of Amanda which can be promoted to "stable"? The indicated failure-to-compile still exists in the still-currently-stable amanda-3.3.9 Thanks for considering, and helping make "stable" full-functional!
Created attachment 565430 [details, diff] Configure to use tirpc Back ported from https://bugs.gentoo.org/656340
Created attachment 565434 [details] Updated ebuild to use patch
Hit this on ppc too. app-backup/amanda-3.5.1-r1 builds fine. Would be a nice stable candidate!
(In reply to ernsteiswuerfel from comment #11) > Hit this on ppc too. > > app-backup/amanda-3.5.1-r1 builds fine. Would be a nice stable candidate! Upstream development of the amanda project has stalled completely for about a year now (see github repo). upstream 3.5.1 is the latest stable release and I also agree on having this marked as stable within gentoo.