You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Packaging] linux-packaging helper.rb::detect_version function tries to find version from non-existent java/pom.xml when no ARROW_VERSION is defined
#45347
Closed
raulcd opened this issue
Jan 24, 2025
· 2 comments
Describe the bug, including details regarding any error messages, version, and platform.
I am trying to reproduce how to build linux packages locally and was testing the different steps when I realised we are still trying to identify the version from the java pom.xml if no ARROW_VERSION is used.
This is how I reproduced from arrow/dev/tasks/linux-packages/apache-arrow:
$ rake version:update ARROW_RELEASE_TIME="$(date --iso-8601=seconds)"
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - /home/raulcd/code/arrow/dev/tasks/linux-packages/../../../java/pom.xml
/home/raulcd/code/arrow/dev/tasks/linux-packages/helper.rb:53:in `read'/home/raulcd/code/arrow/dev/tasks/linux-packages/helper.rb:53:in `detect_version'/home/raulcd/code/arrow/dev/tasks/linux-packages/apache-arrow/Rakefile:29:in `initialize'/home/raulcd/code/arrow/dev/tasks/linux-packages/apache-arrow/Rakefile:128:in `new'
/home/raulcd/code/arrow/dev/tasks/linux-packages/apache-arrow/Rakefile:128:in `<top (required)>'(See full trace by running task with --trace)
We should update the following to not use java/pom.xml:
…om.xml to detect version (#45348)
### Rationale for this change
java/pom.xml was moved to apache/arrow-java from apache/arrow.
### What changes are included in this PR?
Detect version from cpp/CMakeLists.txt.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #45347
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
…java/pom.xml to detect version (apache#45348)
### Rationale for this change
java/pom.xml was moved to apache/arrow-java from apache/arrow.
### What changes are included in this PR?
Detect version from cpp/CMakeLists.txt.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: apache#45347
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
Describe the bug, including details regarding any error messages, version, and platform.
I am trying to reproduce how to build linux packages locally and was testing the different steps when I realised we are still trying to identify the version from the java pom.xml if no
ARROW_VERSION
is used.This is how I reproduced from
arrow/dev/tasks/linux-packages/apache-arrow
:We should update the following to not use
java/pom.xml
:arrow/dev/tasks/linux-packages/helper.rb
Lines 48 to 57 in f4a63d4
Component(s)
Packaging
The text was updated successfully, but these errors were encountered: