You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by GitBox <gi...@apache.org> on 2022/12/08 06:53:53 UTC

[GitHub] [bigtop] yoda-mon opened a new pull request, #1073: BIGTOP-3749: Failed to build gpdb on Fedora-36

yoda-mon opened a new pull request, #1073:
URL: https://github.com/apache/bigtop/pull/1073

   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/BIGTOP/How+to+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 'BIGTOP-3638: Your PR title ...'.
   -->
   
   ### Description of PR
   Fix build error by adding opt-out flag to the spec file.
   (cf. https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck)
   
   ### How was this patch tested?
   I tested on ubuntu-20.04/x86 and centos-7/arm64 host machine.
   
   ```sh
    ./gradlew -POS=fedora-36 -Pdocker-run-option="--privileged" gpdb-clean gpdb-pkg-ind
   ```
   
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
   - [ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/


-- 
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@bigtop.apache.org

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


[GitHub] [bigtop] guyuqi commented on pull request #1073: BIGTOP-3890: Failed to build gpdb on Fedora-36

Posted by GitBox <gi...@apache.org>.
guyuqi commented on PR #1073:
URL: https://github.com/apache/bigtop/pull/1073#issuecomment-1342272830

   Merged, thanks @yoda-mon 


-- 
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@bigtop.apache.org

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


[GitHub] [bigtop] guyuqi commented on pull request #1073: BIGTOP-3890: Failed to build gpdb on Fedora-36

Posted by GitBox <gi...@apache.org>.
guyuqi commented on PR #1073:
URL: https://github.com/apache/bigtop/pull/1073#issuecomment-1342228761

   Thanks for working on it. @yoda-mon 
   
   Successfully built gpdb on Fedora-36 for x86/Arm64 with Bigtop `jenkins` user.
   And smoke tests on Fedora-36 were also passed.
   ```
   Successfully started process 'Gradle Test Executor 2'
   
   Gradle Test Executor 2 started executing tests.
   Gradle Test Executor 2 finished executing tests.
   
   > Task :bigtop-tests:smoke-tests:kafka:test
   Finished generating test XML results (0.014 secs) into: /bigtop-home/bigtop-tests/smoke-tests/kafka/build/test-results/test
   Generating HTML test report...
   Finished generating test html results (0.025 secs) into: /bigtop-home/bigtop-tests/smoke-tests/kafka/build/reports/tests/test
   Now testing...
   :bigtop-tests:smoke-tests:kafka:test (Thread[Execution worker for ':' Thread 10,5,main]) completed. Took 15.838 secs.
   
   BUILD SUCCESSFUL in 1m 14s
   
   ```
   
   
   **But** it failed to build gpdb on Rocky8 (x86/Arm64) with Bigtop `jenkins` user:
   ```
   + bash /home/workspace/bigtop-rocky8/build/gpdb/rpm/SOURCES/install_gpdb.sh /var/tmp
   + make install DESTDIR=/var/tmp
   make -C src install
   make[1]: Entering directory '/home/workspace/bigtop-rocky8/build/gpdb/rpm/BUILD/gpdb-5.28.5/src'
   /usr/bin/mkdir -p '/var/tmp/usr/lib/gpdb/lib/postgresql/pgxs/src'
   mkdir: cannot create directory '/var/tmp/usr/lib/gpdb': Permission denied
   make[1]: *** [Makefile:41: installdirs-local] Error 1
   make[1]: Leaving directory '/home/workspace/bigtop-rocky8/build/gpdb/rpm/BUILD/gpdb-5.28.5/src'
   make: *** [GNUmakefile:47: install] Error 2
   error: Bad exit status from /var/tmp/rpm-tmp.99br4n (%install)
   
       Bad exit status from /var/tmp/rpm-tmp.99br4n (%install)
   
   RPM build errors:
   
   > Task :gpdb-rpm FAILED
   
   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: dev-unsubscribe@bigtop.apache.org

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


[GitHub] [bigtop] guyuqi commented on pull request #1073: BIGTOP-3890: Failed to build gpdb on Fedora-36

Posted by GitBox <gi...@apache.org>.
guyuqi commented on PR #1073:
URL: https://github.com/apache/bigtop/pull/1073#issuecomment-1342251036

   
   
   
   
   > Thanks for working on it. @yoda-mon
   > 
   > Successfully built gpdb on Fedora-36 for x86/Arm64 with Bigtop `jenkins` user. And smoke tests on Fedora-36 were also passed.
   > 
   > ```
   > Successfully started process 'Gradle Test Executor 2'
   > 
   > Gradle Test Executor 2 started executing tests.
   > Gradle Test Executor 2 finished executing tests.
   > 
   > > Task :bigtop-tests:smoke-tests:kafka:test
   > Finished generating test XML results (0.014 secs) into: /bigtop-home/bigtop-tests/smoke-tests/kafka/build/test-results/test
   > Generating HTML test report...
   > Finished generating test html results (0.025 secs) into: /bigtop-home/bigtop-tests/smoke-tests/kafka/build/reports/tests/test
   > Now testing...
   > :bigtop-tests:smoke-tests:kafka:test (Thread[Execution worker for ':' Thread 10,5,main]) completed. Took 15.838 secs.
   > 
   > BUILD SUCCESSFUL in 1m 14s
   > ```
   > 
   > **But** it failed to build gpdb on Rocky8 (x86/Arm64) with Bigtop `jenkins` user:
   > 
   > ```
   > + bash /home/workspace/bigtop-rocky8/build/gpdb/rpm/SOURCES/install_gpdb.sh /var/tmp
   > + make install DESTDIR=/var/tmp
   > make -C src install
   > make[1]: Entering directory '/home/workspace/bigtop-rocky8/build/gpdb/rpm/BUILD/gpdb-5.28.5/src'
   > /usr/bin/mkdir -p '/var/tmp/usr/lib/gpdb/lib/postgresql/pgxs/src'
   > mkdir: cannot create directory '/var/tmp/usr/lib/gpdb': Permission denied
   > make[1]: *** [Makefile:41: installdirs-local] Error 1
   > make[1]: Leaving directory '/home/workspace/bigtop-rocky8/build/gpdb/rpm/BUILD/gpdb-5.28.5/src'
   > make: *** [GNUmakefile:47: install] Error 2
   > error: Bad exit status from /var/tmp/rpm-tmp.99br4n (%install)
   > 
   >     Bad exit status from /var/tmp/rpm-tmp.99br4n (%install)
   > 
   > RPM build errors:
   > 
   > > Task :gpdb-rpm FAILED
   > 
   > FAILURE: Build failed with an exception.
   > ```
   
   I'm sorry it's my local environments issue that caused this `Permission denied`.
   Successfully built gpdb on Rocky8 linux for x86/Arm64 with Bigtop jenkins user too.
   
   +1, LGTM


-- 
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@bigtop.apache.org

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


[GitHub] [bigtop] guyuqi merged pull request #1073: BIGTOP-3890: Failed to build gpdb on Fedora-36

Posted by GitBox <gi...@apache.org>.
guyuqi merged PR #1073:
URL: https://github.com/apache/bigtop/pull/1073


-- 
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@bigtop.apache.org

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