sys-apps/hashboot: Fix incorrect source variable #13
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "tmweaver/overlay:fix-hashboot-ebuild-s-variable"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When downloading the hashboot tarball, e.g.
hashboot-0.9.14.tar.gz
it extracts to a folder without the version name, sohashboot
.This breaks when trying to
emerge hashboot
because the ebuild is looking for the source code in/var/tmp/portage/sys-apps/hashboot-0.9.14/work/hashboot-0.9.14
when it's actually located at/var/tmp/portage/sys-apps/hashboot-0.9.14/work/hashboot
.In the ebuild that the
P
variable resolves tohashboot-0.9.14
and by defaultS
andP
are the same.S
is what Portage uses to figure out where the source is, which is why it's trying to find it in/var/tmp/portage/sys-apps/hashboot-0.9.14/work/hashboot-0.9.14
.I managed to get it to build by editing the ebuild to set the
S
variable as so:S="${WORKDIR}/${PN}"
, which is what this commit adds to the ebuild.Thanks! I confirmed the issue with 0.9.14, but the 9999 ebuild does use
[…]/hashboot-9999/work/hashboot-9999
, right?Ah,
git-r3
just clones into${S}
.