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

[release] java on manylinux amd64 failed #4216

Closed
Mizux opened this issue May 6, 2024 · 1 comment
Closed

[release] java on manylinux amd64 failed #4216

Mizux opened this issue May 6, 2024 · 1 comment
Assignees
Labels
Bug Build: CMake CMake based build issue Docker Lang: Java Java wrapper issue
Milestone

Comments

@Mizux
Copy link
Collaborator

Mizux commented May 6, 2024

Currently the release of manylinux amd64 java failed

./tools/release/build_delivery_manylinux_amd64.sh java
...
------
ERROR: failed to solve: executor failed running [/bin/sh -c ./tools/release/build_delivery_linux.sh "${ORTOOLS_DELIVERY}"]: exit code: 2

DevNote:

trying to run manually

docker run --rm -it ortools/manylinux_delivery_amd64:devel
export ORTOOLS_TOKEN=...
cd or-tools
./tools/release/build_delivery_linux.sh java
....
gpg: invalid option "--pinentry-mode"
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.631s
[INFO] Finished at: Sun May 05 23:34:10 PDT 2024
[INFO] Final Memory: 21M/775M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project ortools-linux-x86-64: Exit code: 2 -> [Help 1]

and we can see

gpg --version
gpg (GnuPG) 2.0.22
libgcrypt 1.5.3
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

it seems -pinentry-mode (used by maven sign plugin) was introduced in GnuPG 2.1.0
note: manylinux arm64 use GnuPG 2.2.20

@Mizux Mizux added Bug Lang: Java Java wrapper issue Build: CMake CMake based build issue Docker labels May 6, 2024
@Mizux Mizux added this to the v9.10 milestone May 6, 2024
@Mizux Mizux self-assigned this May 6, 2024
@Mizux
Copy link
Collaborator Author

Mizux commented May 6, 2024

one possible solution is to replace the base image manylinux2014_x86_64 by manylinux_2_28_x86_64.

cf: #3577 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Build: CMake CMake based build issue Docker Lang: Java Java wrapper issue
Projects
None yet
Development

No branches or pull requests

1 participant