Closed shreeramk closed 11 months ago
Can you first start by updating your cmake version? That is the first part of the error that you are seeing. As noted here please use a minimum cmake version of 3.13.
If that doesn't fix your error can please please provide more details about what exactly you are trying to do with your large script file. This will allow us to better understand your problem and what is causing your build failures
Can you first start by updating your cmake version? That is the first part of the error that you are seeing. As noted here please use a minimum cmake version of 3.13.
Current Version is 3.2.2. As shown in the log already.
If that doesn't fix your error can please please provide more details about what exactly you are trying to do with your large script file. This will allow us to better understand your problem and what is causing your build failures
I am trying to build mongodb using percona-mongodb script
Yes, I can see that you are using cmake version 3.2.2, which is why I asked you to update to at least version 3.13.xx. We follow semantic versioning and your minor version (which is 2) needs to be at least 13. Can you please try updating your cmake version and let me know if you're still having problems with third party building
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.
Yes, I can see that you are using cmake version 3.2.2, which is why I asked you to update to at least version 3.13.xx. We follow semantic versioning and your minor version (which is 2) needs to be at least 13. Can you please try updating your cmake version and let me know if you're still having problems with third party building
That seems like a warning, the actual error as per the log is this. Any idea what could be causing this?
-- Looking for include file pthread.h - not found CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:138 (message): Could NOT find Threads (missing: Threads_FOUND) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindThreads.cmake:204 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) cmake/Findcrypto.cmake:98 (find_package) cmake/external_dependencies.cmake:44 (find_package) CMakeLists.txt:169 (include)
This might be caused by not using a supported version of cmake. Please install a supported version of cmake to see if that fixes your error
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.
Describe the bug
Expected Behavior
Build should pass.
Current Behavior
Build is failing
Reproduction Steps
Download this shell script file https://raw.githubusercontent.com/percona/percona-server-mongodb/psmdb-6.0.11-8/percona-packaging/scripts/psmdb_builder.sh
And run below two commands:
First command: This is successful.. docker run -ti -u root -v /tmp/psmdb:/tmp/psmdb centos:7.9.2009 sh -c ' set -o xtrace cd /tmp/psmdb bash -x ./psmdb_builder.sh --builddir=/tmp/psmdb/test --install_deps=1 bash -x ./psmdb_builder.sh --builddir=/tmp/psmdb/test --repo=https://github.com/percona/percona-server-mongodb.git \ --branch=release-6.0.6-5 --psm_ver=6.0.6 --psm_release=5 --mongo_tools_tag=100.7.0 --enable_fipsmode=1 --jemalloc_tag=psmdb-3.2.11-3.1 --build_src_rpm=1 '
Second Command: Fails with above error logs
docker run -ti -u root -v /tmp/psmdb:/tmp/psmdb centos:7.9.2009 sh -c ' set -o xtrace cd /tmp/psmdb bash -x ./psmdb_builder.sh --builddir=/tmp/psmdb/test --install_deps=1 bash -x ./psmdb_builder.sh --builddir=/tmp/psmdb/test --repo=https://github.com/percona/percona-server-mongodb.git \ --branch=release-6.0.6-5 --psm_ver=6.0.6 --psm_release=5 --mongo_tools_tag=100.7.0 --jemalloc_tag=psmdb-3.2.11-3.1 --build_rpm=1 '
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.9.379
Compiler and Version used
8
Operating System and version
Amazon linux 2