-
Notifications
You must be signed in to change notification settings - Fork 613
fix [Bug]: gremlin-console.sh fails on Mac M4 (Apple Silicon)#3031 #3050
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,6 +33,7 @@ | |
| <assembly.dir>${project.basedir}/src/assembly</assembly.dir> | ||
| <assembly.descriptor.dir>${assembly.dir}/descriptor</assembly.descriptor.dir> | ||
| <assembly.static.dir>${assembly.dir}/static</assembly.static.dir> | ||
| <jansi.version>2.4.0</jansi.version> | ||
| </properties> | ||
|
|
||
| <dependencies> | ||
|
|
@@ -123,6 +124,15 @@ | |
| <artifactId>grpc-stub</artifactId> | ||
| <version>${grpc.version}</version> | ||
| </dependency> | ||
|
|
||
| <!-- Added updated jar to avoid java.lang.NoClassDefFoundError: org/fusesource/jansi/AnsiConsole when launching | ||
| gremlin console on arm64 --> | ||
| <dependency> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Evidence: the fix is purely in distro packaging, so the normal unit/core/api suites do not exercise the Impact: this exact classpath regression can silently return after a dependency or assembly change and only be caught by users starting the packaged console. Requested fix: add a distro-level smoke check, for example launching |
||
| <groupId>org.fusesource.jansi</groupId> | ||
| <artifactId>jansi</artifactId> | ||
| <version>${jansi.version}</version> | ||
| <scope>runtime</scope> | ||
| </dependency> | ||
| </dependencies> | ||
|
|
||
| <build> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| Copyright (c) 2007-2021, the original author(s) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Evidence: this new file is a 16-line summary with URLs, but the surrounding Impact: the release docs for the newly bundled jar are incomplete, which is an ASF release/legal risk even if the runtime dependency is correct. Requested fix: replace this file with the full upstream license text for the license option HugeGraph is relying on for distribution, and align the |
||
| All rights reserved. | ||
|
|
||
| This software is dual-licensed under the Apache License, Version 2.0 and the GNU Lesser General Public License, version 3 or later (LGPL-3.0-or-later). | ||
|
|
||
| You may obtain a copy of the Apache License at | ||
|
|
||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| You may obtain a copy of the GNU Lesser General Public License at | ||
|
|
||
| http://www.gnu.org/licenses/lgpl-3.0.html | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. | ||
|
|
||
| This product includes software developed by the Jansi project (http://fusesource.github.io/jansi/). | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Evidence: this PR adds
org.fusesource.jansi:jansi:2.4.0, and the dependency-check job diffs the generated inventory withinstall-dist/scripts/dependency/known-dependencies.txt; the failed job shows+jansi-2.4.0.jar, while the tracked file has no such entry.Impact: the release dependency gate will keep failing for this PR, and the newly bundled jar is not recorded in the deterministic dependency inventory.
Requested fix: regenerate and commit
install-dist/scripts/dependency/known-dependencies.txt, or add the missingjansi-2.4.0.jarentry in the correct sorted position.