from ndmjob.h:38, from amndmjob_main.c:39: 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, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma-systemd_20180508-183531 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] jython2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.7.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv app-backup/amanda [ebuild N ] app-backup/amanda-3.5.1-r1 USE="ipv6 ndmp nls readline systemd -curl -gnuplot -kerberos -minimal -s3 -samba -xfs"
Created attachment 532670 [details] emerge-info.txt
Created attachment 532672 [details] app-backup:amanda-3.5.1-r1:20180523-015311.log
Created attachment 532674 [details] emerge-history.txt
Created attachment 532676 [details] environment
Created attachment 532678 [details] etc.portage.tbz2
Created attachment 532680 [details] logs.tbz2
Created attachment 532682 [details] temp.tbz2
I've just encountered this issue in the stable tree with amanda 3.3.9 and libtirpc 1.0.2-r1 The attached use-tirpc.patch seems to work for me but I'm not at all sure it's the correct way to solve the issue.
Created attachment 535782 [details, diff] Add tirpc explicitly
Created attachment 535846 [details, diff] Configure to use tirpc Here's a more appropriate patch. It must be applied before eautoreconf in src_prepare.
(In reply to Erik Mackdanz from comment #10) > Created attachment 535846 [details, diff] [details, diff] > Configure to use tirpc > > Here's a more appropriate patch. It must be applied before eautoreconf in > src_prepare. Too bad noone has filed a PR for this and merged it. I hit this issue when I try to build 3.4.5 right now, I want to cross-check if that version has the same problem as 3.5.1 ... will try to come up with a PR for this.
(In reply to Erik Mackdanz from comment #10) > Created attachment 535846 [details, diff] [details, diff] > Configure to use tirpc > > Here's a more appropriate patch. It must be applied before eautoreconf in > src_prepare. Trying to write a fitting ebuild but failing to apply your patch: no configure.in existing at that time in the process?
(In reply to Erik Mackdanz from comment #9) > Created attachment 535782 [details, diff] [details, diff] > Add tirpc explicitly Wrote an ebuild applying "amanda-3.5.1-535782.patch" successfully, ebuild merges correctly. Unfortunately I face another issue with amcheck-device that doesn't seem related, might become a new bug.
*bump* could someone please help out here? I have a server needing a downgrade to pinpoint a bug and I can't even build an older amanda to cross-check ;-) looking forward to some help here, thanks
(In reply to Stefan G. Weichinger from comment #12) > (In reply to Erik Mackdanz from comment #10) > > Created attachment 535846 [details, diff] [details, diff] [details, diff] > > Configure to use tirpc > > > > Here's a more appropriate patch. It must be applied before eautoreconf in > > src_prepare. > > > Trying to write a fitting ebuild but failing to apply your patch: no > configure.in existing at that time in the process? It's configure.ac in newer versions. You should rename it to configure.ac in older versions.
*** Bug 685570 has been marked as a duplicate of this bug. ***
Created attachment 683755 [details] build.log (ppc, 3.5.1-r3) Still an issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6fe9356fe9e158a11a40b4206d38447ef0a16ad commit d6fe9356fe9e158a11a40b4206d38447ef0a16ad Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2021-01-23 10:43:23 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-01-23 10:43:23 +0000 app-backup/amanda: depend on libtirpc for USE=ndmp Closes: https://github.com/gentoo/gentoo/pull/19155 Closes: https://bugs.gentoo.org/656340 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org> app-backup/amanda/amanda-3.5.1-r3.ebuild | 2 ++ app-backup/amanda/files/amanda-3.5.1-tirpc.patch | 16 ++++++++++++++++ 2 files changed, 18 insertions(+)