[ 
https://issues.apache.org/jira/browse/IMPALA-14948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18078752#comment-18078752
 ] 

ASF subversion and git services commented on IMPALA-14948:
----------------------------------------------------------

Commit 1445b7e33fb60fd4dbbdbb1e6ec88a414fe1b21f in impala's branch 
refs/heads/master from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=1445b7e33 ]

IMPALA-14948: Fix missing vim-common in bootstrap_build.sh

Running bin/bootstrap_build.sh in a Docker container based on Ubuntu
20.04 failed with "xxd: command not found". The cause is vim-common is
not installed in the script. Note that bin/bootstrap_system.sh installs
this dependency so it's fine.

This adds the missing dependency in boostrap_build.sh. Also removes -so
in the build option since it's rarely used now. Adds -noclean build
option to be consistent with our daily usage.

Adds -f to the ln command of adding maven to be consistent with
bootstrap_system.sh.

Tests
 - Manually tested the script in a local container.

Change-Id: Ic43dcf4cba5370c25db62d70e0704b410a4016b8
Reviewed-on: http://gerrit.cloudera.org:8080/24265
Reviewed-by: Csaba Ringhofer <[email protected]>
Reviewed-by: Daniel Vanko <[email protected]>
Tested-by: Quanlong Huang <[email protected]>


> boostrap_build.sh fails with xxd: command not found
> ---------------------------------------------------
>
>                 Key: IMPALA-14948
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14948
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Major
>
> Running bin/boostrap_build.sh in a Docker container based on Ubuntu 20.04 
> failed with the following error:
> {noformat}
> ../../../bin/file2array.sh: line 92: xxd: command not found
> make[3]: *** [be/src/codegen/CMakeFiles/CodeGen.dir/build.make:87: 
> be/generated-sources/impala-ir/impala-ir-os.cc] Error 127
> make[2]: *** [CMakeFiles/Makefile2:3757: 
> be/src/codegen/CMakeFiles/CodeGen.dir/all] Error 2
> make[2]: *** Waiting for unfinished jobs....{noformat}
> The xxd command comes from the vim-common package. It's listed in 
> boostrap_system.sh but missing in boostrap_build.sh.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to