Skip to content

net/make-ca: fix cross-compilation - #319

Open
mahaase wants to merge 1 commit into
BobBuildTool:masterfrom
mahaase:bugfix/make-ca-cross
Open

net/make-ca: fix cross-compilation#319
mahaase wants to merge 1 commit into
BobBuildTool:masterfrom
mahaase:bugfix/make-ca-cross

Conversation

@mahaase

@mahaase mahaase commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

I have no idea if this is the correct fix for the problem, that i get the error, that /usr/bin/openssl is not found, if i build the generic sandbox. but in my tests it looks fine I my opinion...

openssl is executed by the package step, so it has to run on whatever we are currently building in. Without the host-compat-toolchain override it would be built for the target sandbox architecture (SANDBOX_ARCH) while the step itself still runs in the host sized bootstrap sandbox. ARCH has to be set explicitly because the host-compat-toolchain does not provide it and openssl derives its Configure target from it.

without the ARCH variable, i get #error "unsupported ARM architecture".

@jkloetzke

Copy link
Copy Markdown
Member

I've restarted the Jenkins builder. It somehow got stuck.

Hmm, the requirement to set the ARCH is unexpected. In your quote (from $AITOOL I guess):

ARCH has to be set explicitly because the host-compat-toolchain does not provide it

This is not the case in the master branch. So something else must be going wrong...

@mahaase

mahaase commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

if i build the generic sandbox.

this just happens in combination with the generic sandbox feature. have you tested this in exactly this case?

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