-
Notifications
You must be signed in to change notification settings - Fork 291
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
trino/461 package update #30598
trino/461 package update #30598
Conversation
octo-sts
bot
commented
Oct 10, 2024
Open AI suggestions to solve the build error:
|
Signed-off-by: wolfi-bot <[email protected]>
b953bbd
to
37c4579
Compare
Open AI suggestions to solve the build error:
|
Going to need some help with this one. Here is what i've tried (note not all these changes are pushed up to this PR, I was testing locally). trino-web-ui was recently introduced as a new component. The build issues stem from not being able to successfully build trino, and this component. trino-web-ui has a dependency on npm and nodejs. I tried adding them as buildtime dependencies. This is the main highlight from the error log: Failed to run task: 'npm run package' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 127 (Exit value: 127) If we look at the pom.xml for trino-web-ui, we can see it also includes steps to install nodejs and npm: I've also tried patching the pom.xml to remove these bundled installs of nodejs and npm, in case that was overriding our system installed versions, but to no affect. I also tried running 'npm install' in the trino-web-ui directory first (this succeeds), like so: - working-directory: core/trino-web-ui/src/main/resources/webapp/src
runs: |
npm install But same error results later when running the main build (./mvnw package ....). I also tried dropping the '-Dmaven.source.skip=true' flag. |
Add npm and nodejs which are needed for the new trino-web-ui component. This alone isn't enough to resolve the build issues we're trying to solve in the latest release. Signed-off-by: Mark McCormick <[email protected]>
Open AI suggestions to solve the build error:
|
converted to draft to stop the automation replacing this PR with updated versions - we want to maintain history of whats been tried |
given upstream is using frontend-maven-plugin to download node and npm, it won't work on aarch64 architecture because the plugin doesn't support aarch64 architecture. It'll download node for x86 on arch which is incompatible. We need to use local nodejs and npm and from my previous work on hadoop, the local nodejs use is not officially allowed by the plugin. Somehow exec plugin needs to be tweaked to hack into node and allow local node usage. upstream issues about the same: eirslett/frontend-maven-plugin#884 and eirslett/frontend-maven-plugin#1154 |
the x86 build is still failing with the same error though, unlike Keycloak, which passes x86 and fails ARM with this issue |
superseded by #30973 |