sys-apps/hashboot: Fix incorrect source variable #14

Closed
tmweaver wants to merge 0 commits from tmweaver/overlay:fix-hashboot-ebuild-s-variable into master
Contributor

When downloading the hashboot tarball, e.g. hashboot-0.9.14.tar.gz it extracts to a folder without the version name, so hashboot.

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 to hashboot-0.9.14 and by default S and P 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.

When downloading the hashboot tarball, e.g. `hashboot-0.9.14.tar.gz` it extracts to a folder without the version name, so `hashboot`. 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 to `hashboot-0.9.14` and by default `S` and `P` 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.
tmweaver added 1 commit 2021-03-09 14:41:54 +01:00
continuous-integration/drone/pr Build is failing Details
8bf89ef408
sys-apps/hashboot: Fix incorrect source variable
When downloading the hashboot tarball, e.g. `hashboot-0.9.14.tar.gz` it
extracts to a folder without the version name, so `hashboot`.

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 to `hashboot-0.9.14`
and by default `S` and `P` 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.
tmweaver closed this pull request 2021-03-09 14:42:38 +01:00
Some checks failed
continuous-integration/drone/pr Build is failing

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tastytea/overlay#14
No description provided.