| Summary: | sys-fabric/libnes-1.1.4: broken distfile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
| Component: | New packages | Assignee: | Gentoo Cluster Team <cluster> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | elliot, sam, toralf |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Workaround ebuild | ||
|
Description
Patrick Lauer
2014-06-21 22:51:33 UTC
still valid :# tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors * ERROR: sys-infiniband/libnes-1.1.4::gentoo failed (unpack phase): * failure unpacking ./OFED-3.12-rc1/SRPMS/libnes-1.1.4-0.src.rpm * * Call stack: versions: ~1.1.3-r1 ~1.1.4 assignee: cluster@gentoo.org cc: The problem is that the filename chosen to unpack is libnes-1.1.4-0.src.rpm, while the real file name is libnes-1.1.4-0..src.rpm (note the extra dot).
The problem can be worked around by specifying src_unpack in the ebuild as follows:
src_unpack() {
unpack ${A}
rpm_unpack "./OFED-${OFED_VER}-rc${OFED_RC_VER}/SRPMS/${MY_PN}-${MY_PV}-${OFED_SUFFIX}..src.rpm"
unpack "./${P}.tar.gz"
}
(a copy of the resulting ebuild is attached).
Created attachment 459230 [details]
Workaround ebuild
*** Bug 587556 has been marked as a duplicate of this bug. *** package is still broken :/ *** Bug 668026 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa389198640ebfa07fb43bcb32403b77de7a815b commit aa389198640ebfa07fb43bcb32403b77de7a815b Author: Sam James <sam@gentoo.org> AuthorDate: 2021-05-16 19:14:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-16 19:34:59 +0000 sys-fabric/libnes: fix broken src_unpack Closes: https://bugs.gentoo.org/514258 Signed-off-by: Sam James <sam@gentoo.org> sys-fabric/libnes/libnes-1.1.4.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) |