You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/25 07:59:48 UTC

[GitHub] [pulsar] zymap opened a new pull request #9715: Master branch rpm package failed to build

zymap opened a new pull request #9715:
URL: https://github.com/apache/pulsar/pull/9715


   **Motivation**
   
   After #9184, we changed the source code directory name and
   that makes the RPM package build fail.
   
   ```
   centos-7: Pulling from apachepulsar/pulsar-build
   Digest: sha256:5c90d7a1f30f603a049cf53dc04f730c989be9bf5eeb537ec20fc874d58f74cd
   Status: Image is up to date for apachepulsar/pulsar-build:centos-7
   docker.io/apachepulsar/pulsar-build:centos-7
   Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eIzZ5F
   + umask 022
   + cd /pulsar/pulsar-client-cpp/pkg/rpm/BUILD
   + cd /pulsar/pulsar-client-cpp/pkg/rpm/BUILD
   + rm -rf apache-pulsar-2.8.0-SNAPSHOT
   + /usr/bin/gzip -dc /pulsar/pulsar-client-cpp/pkg/rpm/SOURCES/apache-pulsar-2.8.0-SNAPSHOT-src.tar.gz
   + /usr/bin/tar -xf -
   + STATUS=0
   + '[' 0 -ne 0 ']'
   + cd apache-pulsar-2.8.0-SNAPSHOT
   /var/tmp/rpm-tmp.eIzZ5F: line 35: cd: apache-pulsar-2.8.0-SNAPSHOT: No such file or directory
   error: Bad exit status from /var/tmp/rpm-tmp.eIzZ5F (%prep)
   
   
   RPM build errors:
       Bad exit status from /var/tmp/rpm-tmp.eIzZ5F (%prep)
   ```
   
   After this change, the RPM can build successfully
   
   ```
   Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ScknI0
   + umask 022
   + cd /pulsar/pulsar-client-cpp/pkg/rpm/BUILD
   + cd /pulsar/pulsar-client-cpp/pkg/rpm/BUILD
   + rm -rf apache-pulsar-2.8.0-SNAPSHOT-src
   + /usr/bin/gzip -dc /pulsar/pulsar-client-cpp/pkg/rpm/SOURCES/apache-pulsar-2.8.0-SNAPSHOT-src.tar.gz
   + /usr/bin/tar -xf -
   + STATUS=0
   + '[' 0 -ne 0 ']'
   + cd apache-pulsar-2.8.0-SNAPSHOT-src
   + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
   + exit 0
   Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NlLQD6
   + umask 022
   + cd /pulsar/pulsar-client-cpp/pkg/rpm/BUILD
   + cd apache-pulsar-2.8.0-SNAPSHOT-src
   + cd pulsar-client-cpp
   + cmake . -DBUILD_TESTS=OFF -DLINK_STATIC=ON -DBUILD_PYTHON_WRAPPER=OFF
   ```


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] merlimat merged pull request #9715: Master branch rpm package failed to build

Posted by GitBox <gi...@apache.org>.
merlimat merged pull request #9715:
URL: https://github.com/apache/pulsar/pull/9715


   


----------------------------------------------------------------
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.

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