[
https://issues.apache.org/jira/browse/IMPALA-12762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Quanlong Huang resolved IMPALA-12762.
-------------------------------------
Fix Version/s: Impala 4.4.0
Resolution: Fixed
Resolving this. Thank [~zhangyifan27] for the quick fix!
> Build package from scratch failed by cmake error
> ------------------------------------------------
>
> Key: IMPALA-12762
> URL: https://issues.apache.org/jira/browse/IMPALA-12762
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: Impala 4.3.0
> Reporter: Quanlong Huang
> Assignee: YifanZhang
> Priority: Major
> Fix For: Impala 4.4.0
>
>
> Saw the following error when building the RPM package from scratch:
> {noformat}
> CMake Error at be/CMakeLists.txt:774 (ADD_DEPENDENCIES):
> Cannot add target-level dependencies to non-existent target
> "unified-be-test".
> The add_dependencies works for top-level logical targets created by the
> add_executable, add_library, or add_custom_target commands. If you want to
> add file-level dependencies see the DEPENDS option of the add_custom_target
> and add_custom_command commands.
> Call Stack (most recent call first):
> be/CMakeLists.txt:795 (ADD_UNIFIED_BE_TEST)
> be/src/exec/json/CMakeLists.txt:36 (ADD_UNIFIED_BE_LSAN_TEST) {noformat}
> The command is
> {code:java}
> ./buildall.sh -noclean -notests -package{code}
> or
> {code:java}
> ./buildall.sh -noclean -notests -release -package{code}
> However, if I build the binaries (including tests) with -package, it succeeds.
> {code:java}
> ./buildall.sh -noclean -skiptests -release -package{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]