Skip to content

app-containers/incus: fix cross-compilation issue#42095

Closed
tormath1 wants to merge 1 commit intogentoo:masterfrom
tormath1:tormath1/incus
Closed

app-containers/incus: fix cross-compilation issue#42095
tormath1 wants to merge 1 commit intogentoo:masterfrom
tormath1:tormath1/incus

Conversation

@tormath1
Copy link
Copy Markdown
Contributor

Hi,

This PR has some history. We first proposed this change: https://github.com/gentoo/gentoo/pull/36323/files#diff-588171aa625435ebb07dcc80d1dd2598cf157d22da00e9daf74825e3bc0e47daR156 it was approved but it was causing issue: https://bugs.gentoo.org/930496 so it has been modified to the current version.

The current change is making Flatcar CI fails (with cross-compilation) during the installation phase:

117:54:49  !!! dosbin: _dist/bin/linux_amd64/incusd does not exist

This proposal has been tested on Flatcar CI with cross-compilation on amd64 and arm64.

Thanks.


Please check all the boxes that apply:

  • I can submit this contribution in agreement with the Copyright Policy.
  • I have certified the above via adding a Signed-off-by line to every commit in the pull request.
  • This contribution has not been created with the assistance of Natural Language Processing artificial intelligence tools, in accordance with the AI policy.
  • I have run pkgcheck scan --commits --net to check for issues with my commits.

Please note that all boxes must be checked for the pull request to be merged.

@gentoo-bot
Copy link
Copy Markdown

Pull Request assignment

Submitter: @tormath1
Areas affected: ebuilds
Packages affected: app-containers/incus

app-containers/incus: @juippis, @gentoo/virtualization

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.

If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels May 15, 2025
Copy link
Copy Markdown
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if you could just edit 6.0.4 and 6.12 for now.

6.10 and 6.11 could be cleaned immediately, and 6.0.4 is pending stabilization so 6.0.3 will be out soon.

Will test later today, but wanted to give my initial thoughts before that.


if tc-is-cross-compiler ; then
export GOHOSTARCH=$(go-env_goarch "${CBUILD}")
if [ "${GOARCH}" != "${GOHOSTARCH}" ]; then
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about that. Thanks!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely no worries :)

@gentoo-repo-qa-bot
Copy link
Copy Markdown
Collaborator

Pull request CI report

Report generated at: 2025-05-15 09:34 UTC
Newest commit scanned: b991217
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/bb2066a/output.html

This has been tested on Flatcar CI with cross-compilation on `amd64` and
`arm64`.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@gentoo-repo-qa-bot
Copy link
Copy Markdown
Collaborator

Pull request CI report

Report generated at: 2025-05-15 13:44 UTC
Newest commit scanned: 7fcc4a6
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/18e0b6f/output.html

Copy link
Copy Markdown
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tormath1 tormath1 deleted the tormath1/incus branch May 15, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants