Summary: | app-backup/amanda-2.6.0_p2-r4 failed with will not overwrite just-created amcheckdump.8 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris <gentoo> |
Component: | [OLD] Unspecified | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | app-backup, dustin, jer, lists |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 319443 | ||
Attachments: | A patch to drop the duplicate man file |
Description
Chris
2010-07-17 20:28:08 UTC
emerge -vp =app-backup/amanda-2.6.0_p2-r4 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-backup/amanda-2.6.0_p2-r4 USE="berkdb gdbm samba* -debug -devpay -ipv6 -kerberos -minimal -s3 -xfs" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB It's like bug 318739 again. Does anyone know the reason yet (beside the obvious: an incorrect Makefile.am somewhere in the tree) ? Created attachment 239227 [details, diff]
A patch to drop the duplicate man file
Finally worked out how to write a patch
diff -n /usr/portage/app-backup/amanda/amanda-2.6.0_p2-r4.ebuild /usr/local/portage/app-backup/amanda/amanda-2.6.0_p2-r4.ebuild
a155 4
# duplicate amcheckdump man patch
cd "${S}/man"
epatch "${FILESDIR}"/amanda-2.6.0_p2-man-amcheckdump.patch
This has long since been fixed upstream, but the patch looks good. (In reply to comment #4) > This has long since been fixed upstream, but the patch looks good. Well, note that the patch has only Makefile.am, while it should be man/Makefile.am. Yes the patch is just the Makefile.am this is why I had to put the path in the ebuild i.e. cd "${S}/man". I spent more time finding information on making a patch than actually fixing it. I did start by trying to include the man part of the path but just got errors so when I found you can put the path in the ebuild I when that way as getting this working was the most important thing for myself. I will let the maintainers to sort an official patch to their standards if the feel the need, else others can pick this up. + 27 Oct 2010; Samuli Suominen <ssuominen@gentoo.org> + amanda-2.6.0_p2-r4.ebuild, +files/amanda-2.6.0_p2-coreutils.patch: + Fix install with recent automake and coreutils wrt #328755 by "Chris". |