Summary: | app-backup/amanda-3.3.9 won't compile with GCC7.3 (rpc/rpc.h stable system) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gordon Pritchard <gordonp> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bugs, dustin, jstein, kentnl, kripton, lists, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=656340 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log with fail shown
Configure to use tirpc Updated ebuild to use patch |
Description
Gordon Pritchard
2018-08-08 19:05:33 UTC
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. |