Quanlong Huang created IMPALA-13744:
---------------------------------------
Summary: Consider skipping brp-java-repack-jars in building RPM
package
Key: IMPALA-13744
URL: https://issues.apache.org/jira/browse/IMPALA-13744
Project: IMPALA
Issue Type: Task
Components: Infrastructure
Reporter: Quanlong Huang
Building RPM packages on CentOS/Redhat takes much longer time comparing to
building DEB packages on Ubuntu. Around 40mins is spent in
/usr/lib/rpm/redhat/brp-java-repack-jars.
Here are the commands
{code:java}
/usr/lib/rpm/check-buildroot
/usr/lib/rpm/redhat/brp-compress
/usr/lib/rpm/redhat/brp-strip /usr/bin/strip
/usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
/usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
/usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1
/usr/lib/rpm/redhat/brp-python-hardlink
/usr/lib/rpm/redhat/brp-java-repack-jars{code}
Get them by
{noformat}
# cat package/build/_CPack_Packages/Linux/RPM/rpmbuildimpala.out
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LW3amz
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rriyq6
{noformat}
The commands are in /var/tmp/rpm-tmp.rriyq6
CC [~yx91490]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)