arshadmohammad commented on PR #3751:
URL: https://github.com/apache/ambari/pull/3751#issuecomment-1773735412

   I was trying to build this PR(also applied 
https://github.com/apache/ambari/pull/3758 changes) on rocky linux 8.8 but 
build failed with following error
   `[INFO] error: Bad exit status from /var/tmp/rpm-tmp.HcNglV (%install)
   [INFO]     Bad exit status from /var/tmp/rpm-tmp.HcNglV (%install)
   [INFO] 
   [INFO] 
   [INFO] RPM build errors:
   [INFO] 
------------------------------------------------------------------------
   [INFO] Reactor Summary for Ambari Server 3.0.0.0-SNAPSHOT:
   [INFO] 
   [INFO] Ambari Server ...................................... FAILURE [02:10 
min]
   [INFO] Ambari Functional Tests ............................ SKIPPED
   [INFO] Ambari Agent ....................................... SKIPPED
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  02:10 min
   [INFO] Finished at: 2023-10-21T15:03:07+05:30
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.4:rpm 
(default-cli) on project ambari-server: RPM build execution returned: '1' 
executing '/bin/sh -c cd 
'/home/code/non-forked/ambari/ambari-server/target/rpm/ambari-server/SPECS' && 
'rpmbuild' '-bb' '--target' 'x86_64-redhat-linux' '--buildroot' 
'/home/code/non-forked/ambari/ambari-server/target/rpm/ambari-server/buildroot' 
'--define' '_topdir 
/home/code/non-forked/ambari/ambari-server/target/rpm/ambari-server' '--define' 
'_build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' 
'--define' '_builddir %{_topdir}/BUILD' '--define' '_rpmdir %{_topdir}/RPMS' 
'--define' '_sourcedir %{_topdir}/SOURCES' '--define' '_specdir 
%{_topdir}/SPECS' '--define' '_srcrpmdir %{_topdir}/SRPMS' 
'ambari-server.spec'' -> [Help 1]`
   @wenwj0 any idea what changes to be done to make it build on rocky linux 8 
also. It will be easy for me to review this PR if this can be build and tested 
on rocky linux 8 also.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to