GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — aarch64 release: openssl-dynamic and boringssl-static into single command by colleenkinross · Pull Request #984 · netty/netty-tcnative

Conversation

@colleenkinross

@colleenkinross colleenkinross commented Jun 3, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

The two-command approach caused clean in the second build to wipe target/central-staging, losing the openssl-dynamic artifacts.

Original fix attempt was #981, however this did not work because the output directory wasn't delete-able which blocked the clean from the plugin. The attempt to resolve this was to create a subdirectory. After that change it became clear that the output directory was not used for artifacts, instead it was where the central_bundle.zip was placed which caused another release issue.

In the first fix, it was thought that we could not separate the commands because openssl-dynamic must be built against a pre-compiled ARM version of APR. However, this original reason for separate commands (conflicting -DaprArmHome values for each module) was removed in #906, so combining them is now safe. There are still differences in the flags passed, but these are ignored by boringssl, so should not cause an issue (-DopensslArmHome, -DaprArmHome).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@colleenkinross
Build openssl-dynamic and boringssl-static in a single command for aa…
3b39bdb
…rch64 release
@colleenkinross colleenkinross mentioned this pull request Jun 3, 2026
Restore linux-aarch64 artifacts to Maven Central publish #981
Merged
@normanmaurer
normanmaurer merged commit 9c88fe9 into netty:main Jun 3, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer normanmaurer added this to the 2.0.78.Final milestone Jun 4, 2026
@normanmaurer

normanmaurer commented Jun 4, 2026

Copy link
Copy Markdown
Member

Merged thanks…... also did cut the release. So I hope all is good now .

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@colleenkinross

colleenkinross commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

it worked!!!! :) thank you very much @normanmaurer !

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

fredericgermain added a commit to fredericgermain/netty-tcnative that referenced this pull request Aug 15, 2026
@fredericgermain @claude
Build the aarch64 cross artifacts in one maven invocation
970591e
cross-compile-aarch64-build runs mvnw twice, once for openssl-dynamic and once
for boringssl-static, each with its own clean. The reason for the split -
conflicting -DaprArmHome values per module - was removed in netty#906, and netty#984
already merged the release command on exactly those grounds. aprArmHome is read
only by openssl-dynamic, which is easy to confirm: the property appears nowhere
in boringssl-static/pom.xml. The build, deploy and stage-snapshot services were
simply never updated to match.

Verified by an A/B on a native x86_64 host using the real cross_compile_aarch64
image, building both forms from a clean tree:

  boringssl-static linux-aarch_64 .so   65284c80...  identical
  openssl-dynamic  linux-aarch_64 .so   79472e3f...  identical
  attached artifact sets                             identical
  both runs                                          exit 0

Worth being clear that this is not a speed change. The first invocation is only
18.6s against 6m19 for the second, so merging saves about 7 seconds - BoringSSL
dominates and is built once either way. The value is that build now matches the
release path and one redundant clean goes away.

deploy and stage-snapshot still use two invocations. They are slower but not
broken: their -DaltStagingDirectory is outside the tree, so the second clean
cannot wipe it, unlike the target/central-staging bug netty#984 fixed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
fredericgermain added a commit to fredericgermain/netty-tcnative that referenced this pull request Aug 17, 2026
@fredericgermain
Build the aarch64 cross artifacts in one maven invocation
1a892b6
cross-compile-aarch64-build runs mvnw twice, once for openssl-dynamic and once
for boringssl-static, each with its own clean. The reason for the split -
conflicting -DaprArmHome values per module - was removed in netty#906, and netty#984
already merged the release command on exactly those grounds. aprArmHome is read
only by openssl-dynamic, which is easy to confirm: the property appears nowhere
in boringssl-static/pom.xml. The build, deploy and stage-snapshot services were
simply never updated to match.

Verified by an A/B on a native x86_64 host using the real cross_compile_aarch64
image, building both forms from a clean tree:

  boringssl-static linux-aarch_64 .so   65284c80...  identical
  openssl-dynamic  linux-aarch_64 .so   79472e3f...  identical
  attached artifact sets                             identical
  both runs                                          exit 0

Worth being clear that this is not a speed change. The first invocation is only
18.6s against 6m19 for the second, so merging saves about 7 seconds - BoringSSL
dominates and is built once either way. The value is that build now matches the
release path and one redundant clean goes away.

deploy and stage-snapshot still use two invocations. They are slower but not
broken: their -DaltStagingDirectory is outside the tree, so the second clean
cannot wipe it, unlike the target/central-staging bug netty#984 fixed.
fredericgermain added a commit to fredericgermain/netty-tcnative that referenced this pull request Aug 21, 2026
@fredericgermain
Build the aarch64 cross artifacts in one maven invocation
b019533
cross-compile-aarch64-build runs mvnw twice, once for openssl-dynamic and once
for boringssl-static, each with its own clean. The reason for the split -
conflicting -DaprArmHome values per module - was removed in netty#906, and netty#984
already merged the release command on exactly those grounds. aprArmHome is read
only by openssl-dynamic, which is easy to confirm: the property appears nowhere
in boringssl-static/pom.xml. The build, deploy and stage-snapshot services were
simply never updated to match.

Verified by an A/B on a native x86_64 host using the real cross_compile_aarch64
image, building both forms from a clean tree:

  boringssl-static linux-aarch_64 .so   65284c80...  identical
  openssl-dynamic  linux-aarch_64 .so   79472e3f...  identical
  attached artifact sets                             identical
  both runs                                          exit 0

Worth being clear that this is not a speed change. The first invocation is only
18.6s against 6m19 for the second, so merging saves about 7 seconds - BoringSSL
dominates and is built once either way. The value is that build now matches the
release path and one redundant clean goes away.

deploy and stage-snapshot still use two invocations. They are slower but not
broken: their -DaltStagingDirectory is outside the tree, so the second clean
cannot wipe it, unlike the target/central-staging bug netty#984 fixed.
@normanmaurer normanmaurer mentioned this pull request Oct 30, 2026
jni util 0.0.12 #1039
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

2.0.78.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@colleenkinross @normanmaurer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.