You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by GitBox <gi...@apache.org> on 2022/11/17 04:56:51 UTC

[GitHub] [ambari] smallyao opened a new pull request, #3524: AMBARI-25779: Ambari server spi build error

smallyao opened a new pull request, #3524:
URL: https://github.com/apache/ambari/pull/3524

   ## What changes were proposed in this pull request?
   
   (Please fill in changes proposed in this fix)
   `[INFO] --- rpm-maven-plugin:2.1.4:rpm (default-cli) @ ambari-server-spi ---
   [INFO] Directory /root/ambari/ambari/ambari-server-spi/target/rpm/ambari-server-spi/BUILD already exists. Deleting all contents.
   [INFO] Directory /root/ambari/ambari/ambari-server-spi/target/rpm/ambari-server-spi/RPMS already exists. Deleting all contents.
   [INFO] Directory /root/ambari/ambari/ambari-server-spi/target/rpm/ambari-server-spi/SOURCES already exists. Deleting all contents.
   [INFO] Directory /root/ambari/ambari/ambari-server-spi/target/rpm/ambari-server-spi/SPECS already exists. Deleting all contents.
   [INFO] Directory /root/ambari/ambari/ambari-server-spi/target/rpm/ambari-server-spi/SRPMS already exists. Deleting all contents.
   [INFO] Directory /root/ambari/ambari/ambari-server-spi/target/rpm/ambari-server-spi/tmp-buildroot already exists. Deleting all contents.
   [INFO] Directory /root/ambari/ambari/ambari-server-spi/target/rpm/ambari-server-spi/buildroot already exists. Deleting all contents.
   [INFO] Creating spec file /root/ambari/ambari/ambari-server-spi/target/rpm/ambari-server-spi/SPECS/ambari-server-spi.spec
   [INFO] error: line 4: Empty tag: Release:
   [INFO] Building target platforms: noarch-redhat-linux
   [INFO] Building for target noarch-redhat-linux
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary:
   [INFO] 
   [INFO] Ambari Server SPI 3.0.0.0-SNAPSHOT ................. FAILURE [  6.598 s]
   [INFO] Ambari Service Advisor 1.0.0.0-SNAPSHOT ............ SKIPPED
   [INFO] Ambari Server 3.0.0.0-SNAPSHOT ..................... SKIPPED
   [INFO] Ambari Functional Tests 3.0.0.0-SNAPSHOT ........... SKIPPED
   [INFO] Ambari Agent 3.0.0.0-SNAPSHOT ...................... SKIPPED
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  7.262 s
   [INFO] Finished at: 2022-11-16T20:16:31+08:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.4:rpm (default-cli) on project ambari-server-spi: RPM build execution returned: '1' executing '/bin/sh -c cd '/root/ambari/ambari/ambari-server-spi/target/rpm/ambari-server-spi/SPECS' && 'rpmbuild' '-bb' '--target' 'noarch-redhat-linux' '--buildroot' '/root/ambari/ambari/ambari-server-spi/target/rpm/ambari-server-spi/buildroot' '--define' '_topdir /root/ambari/ambari/ambari-server-spi/target/rpm/ambari-server-spi' '--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-spi.spec'' -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   This issue is caused by rpm-maven-plugin upgrade from 2.0.1 to 2.1.4 in [https://github.com/apache/ambari/pull/34](https://github.com/apache/ambari/pull/3492)`
   
   Seems caused by rpm-maven-plugin upgrade from 2.0.1 to 2.1.4 in https://github.com/apache/ambari/pull/3492
   ## How was this patch tested?
   Successully build  now
   
   
   
   
   (Please explain how this patch was tested. Ex: unit tests, manual tests)
   (If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
   
   Please review [Ambari Contributing Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute) before opening a pull request.


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org


[GitHub] [ambari] kevinw66 commented on pull request #3524: AMBARI-25779: Ambari server spi build error

Posted by GitBox <gi...@apache.org>.
kevinw66 commented on PR #3524:
URL: https://github.com/apache/ambari/pull/3524#issuecomment-1318260490

   It seems that we changed the version number of digits from 3.0, which caused the regular expression to be incorrect. We can keep the version style of 2.8.0(2.8.0.0.0), and change it in 3.0(3.0.0.0)


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org


[GitHub] [ambari] kevinw66 merged pull request #3524: AMBARI-25779: Ambari server spi build error

Posted by GitBox <gi...@apache.org>.
kevinw66 merged PR #3524:
URL: https://github.com/apache/ambari/pull/3524


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org