Support Questions

Find answers, ask questions, and share your expertise

Ambari 2.7.9 RPM build errors

avatar
Reader

Hello everyone,

I'm trying to build Ambari 2.7.9 by following this guide https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.7.9
But when I run this command mvn -B clean install rpm:rpm -DnewVersion=2.7.9.0.0 -DbuildNumber=da8f1b9b5a799bfa8e2d8aa9ab31d6d5a1cc31a0 -DskipTests -Dpython.ver="python >= 2.6", I'm facing this issue

 Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.0.1:rpm (default-cli) on project ambari-web: RPM build execution returned: '1' executing '/bin/sh -c cd /ambari/apache-ambari-2.7.9-src/ambari-web/target/rpm/ambari-web/SPECS && rpmbuild -bb --buildroot /ambari/apache-ambari-2.7.9-src/ambari-web/target/rpm/ambari-web/buildroot --define '_topdir /ambari/apache-ambari-2.7.9-src/ambari-web/target/rpm/ambari-web' --target noarch-redhat-linux ambari-web.spec' 

I've already installed rpm-build, g++, and all tools needed to build Ambari, by following https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development

1 REPLY 1

avatar
Community Manager

@aym10, Welcome to our community! To help you get the best possible answer, I have tagged our Ambari experts @Scharan @Kartik_Agarwal who may be able to assist you further.

Please feel free to provide any additional information or details about your query. We hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: