Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix checkpkg for other architectures #64

Merged
merged 1 commit into from
Jan 22, 2022
Merged

Fix checkpkg for other architectures #64

merged 1 commit into from
Jan 22, 2022

Conversation

felixonmars
Copy link
Member

@felixonmars felixonmars commented Jul 27, 2021

When building for an architecture different from the host, the correct old package was downloaded as "$copydir"'s pacman was configured with the target CARCH, but checkpkg doesn't know this and tries to search the cache for host CARCH instead, producing the following error:

==> ERROR: tarball not found for package: xxx

This change fixes this by passing MAKEPKG_CONF explicitly, so that checkpkg behaves consistently.

@felixonmars felixonmars changed the title Set $CARCH to fix checkpkg for other architecture Fix checkpkg for other architecture Jul 29, 2021
@felixonmars felixonmars changed the title Fix checkpkg for other architecture Fix checkpkg for other architectures Jul 29, 2021
checkpkg.in Outdated Show resolved Hide resolved
When building for an architecture different from the host, the correct
old package was downloaded as "$copydir"'s pacman was configured with
the target CARCH, but checkpkg doesn't know this and tries to search the
cache for host CARCH instead, producing the following error:

`==> ERROR: tarball not found for package: xxx`

This change fixes this by passing the appropriate makepkg config
explicitly, so that checkpkg behaves consistently.

Co-Authored-by: Levente Polyak <[email protected]>
Signed-off-by: Levente Polyak <[email protected]>
@anthraxx anthraxx self-requested a review January 22, 2022 00:21
@anthraxx anthraxx merged commit fa5afbc into master Jan 22, 2022
@anthraxx anthraxx deleted the checkpkg-carch branch January 22, 2022 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants