Summary: | app-backup/amanda-3.5.1-r1 : ndmos_glib.h:51:2: error: #error rpc/rpc.h is required to compile ndmp-src | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexanderyt, dustin, jsmolic, kripton, lists, mgorny, mlspamcb, proxy-maint, sam, stasibear |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=663182 https://github.com/gentoo/gentoo/pull/19155 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 381391, 756883 | ||
Attachments: |
emerge-info.txt
app-backup:amanda-3.5.1-r1:20180523-015311.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 Add tirpc explicitly Configure to use tirpc build.log (ppc, 3.5.1-r3) |
Description
Toralf Förster
2018-05-23 16:28:29 UTC
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(+) |