sekikn commented on PR #1181:
URL: https://github.com/apache/bigtop/pull/1181#issuecomment-1763538510

   The current PR doesn't work as follows. Removing 
patch0-PHOENIX-6766-branch-5.1.diff (and some additional work on 
install_phoenix.sh) seem to be required.
   
   ```
   $ curl -sL https://github.com/apache/bigtop/pull/1181.diff | git apply
   $ git diff
   diff --git a/bigtop.bom b/bigtop.bom
   index 23e2a07..160666b 100644
   --- a/bigtop.bom
   +++ b/bigtop.bom
   @@ -247,7 +247,7 @@ bigtop {
        'phoenix' {
          name    = 'phoenix'
          relNotes = 'Apache Phoenix: A SQL skin over HBase'
   -      version { base = "5.1.2"; pkg = base; release = 1 }
   +      version { base = "5.1.3"; pkg = base; release = 1 }
          tarball { destination = "$name-${version.base}-src.tar.gz"
                    source      = destination }
          url     { download_path = "/$name/$name-${version.base}"
   $ ./gradlew phoenix-clean phoenix-pkg
   
   ...
   
   Patch #0 (patch0-PHOENIX-6766-branch-5.1.diff):
   + /usr/bin/cat 
/home/vagrant/bigtop/build/phoenix/rpm/SOURCES/patch0-PHOENIX-6766-branch-5.1.diff
   + /usr/bin/patch -p1 --fuzz=0
   patching file pom.xml
   Reversed (or previously applied) patch detected!  Assume -R? [n] 
   Apply anyway? [n] 
   Skipping patch.
   1 out of 1 hunk ignored -- saving rejects to file pom.xml.rej
   error: Bad exit status from /var/tmp/rpm-tmp.NiKOV9 (%prep)
       Bad exit status from /var/tmp/rpm-tmp.NiKOV9 (%prep)
   
   
   RPM build errors:
   
   FAILURE: Build failed with an exception.
   ```


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

Reply via email to