View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008449 | Rocky-Linux-9 | [Repo] Extras | public | 2024-12-03 02:27 | 2024-12-03 09:37 |
Reporter | Josh Innis | Assigned To | Louis Abel | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | unable to reproduce | ||
Summary | 0008449: Omigres, Cmake, OpenSSL, Rocky 9 Compilation Issue | ||||
Description | Category assigned because I am not sure what to label this issue as: I received an error related to rocky 9, that I am following the instructions of. I am dealing with a Postgres extension called Omnigres, and below I think I have reduced the instruction set to that necessary to reproduce the error, if that is incorrect, please reach out to me for more details before closing this ticket. I am using an instance (on my private computer) of Rocky 9 that is is very close to a vanilla build, I have played around with CUDA, if that is relevant. For reference: https://github.com/omnigres/omnigres/issues/703 | ||||
Steps To Reproduce | I believe they are, without reformatting my hard drive: git clone https://github.com\omnigres\omnigres cd omnigres cmake -S . -B build | ||||
Additional Information | info directed to stdout attached std error listed here: during RTL pass: ira crypto/rsa/rsa_ameth.c: In function 'rsa_priv_encode': crypto/rsa/rsa_ameth.c:171:1: internal compiler error: Segmentation fault 171 | } | ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.rockylinux.org/> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[1]: *** [Makefile:18977: crypto/rsa/libcrypto-lib-rsa_ameth.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:3608: build_sw] Error 2 CMake Error at cmake/OpenSSL.cmake:65 (message): Failed to build OpenSSL Call Stack (most recent call first): | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Hello. Thank you for the report. According to your log, this software appears to want to compile a custom openssl. We cannot provide support for custom compiled software or libraries. Using the system libraries, as provided by the distribution, is what's supported from the project. See below for an example. According to the README, specific packages are required for "Fedora". Rocky Linux is related to Fedora Linux. The README suggests these packages: Packages: git cmake gcc g++ cpan openssl-devel openssl-devel-engine python-devel openssl bison flex readline-devel zlib-devel netcat The README suggests these CMake flags: CMake flags: -DOPENSSL_CONFIGURED=1 We will use those (with modification) to build the software. % dnf install epel-release -y % crb enable % dnf install git cmake gcc g++ cpan openssl-devel python3-devel openssl bison flex readline-devel zlib-devel nc python3-build python3-importlib-metadata python3-pip % git clone https://github.com/omnigres/omnigres . . . % cd omnigres % cmake -S . -B build -DOPENSSL_CONFIGURED=1 -DPython3_EXECUTABLE=/usr/bin/python3.9 . . . -- Build files have been written to: /builddir/omnigres/build % export PATH=$PATH:/builddir/.local/bin % cmake --build build --parallel . . . [100%] Built target py_omni_http [100%] Generating ../../../python-index/omni-http/omni_http-0.1.0.tar.gz, ../../../python-index/omni-http/omni_http-0.1.0-py3-none-any.whl [100%] Built target py_omni_http_indexed [100%] Built target pip_index [100%] Generating ../../../python-wheels/omni_http-0.1.0-py3-none-any.whl [100%] Built target py_omni_http_wheeled [100%] Built target wheels_dir I had no issues building the application this way. With that said, your issue appears to be about the openssl that it wants to compile. So let's try to reproduce it. The README suggests to start over by deleting specific directories. % rm -rf .pg/ build/ Let's run cmake as required without the OPENSSL option. % cmake -S . -B build -DPython3_EXECUTABLE=/usr/bin/python3.9 -- The C compiler identification is GNU 11.5.0 -- The CXX compiler identification is GNU 11.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version "3.2.2") -- No OpenSSL with static library has been found -- Found Perl: /usr/bin/perl (found version "5.32.1") -- Using Perl at /usr/bin/perl -- Using CPAN at /usr/bin/cpan -- CPM: Adding package openssl@3.2.0 (openssl-3.2.0) Configuring OpenSSL version 3.2.0 for target linux-x86_64 Using os-specific seed configuration Created configdata.pm Running configdata.pm Created Makefile.in Created Makefile Created include/openssl/configuration.h . . . Requirement already satisfied: urllib3<3,>=1.21.1 in /builddir/.local/lib/python3.9/site-packages (from requests==2.31.0->-r /builddir/omnigres/tools/requirements.txt (line 1)) (1.26.14) Requirement already satisfied: certifi>=2017.4.17 in /builddir/.local/lib/python3.9/site-packages (from requests==2.31.0->-r /builddir/omnigres/tools/requirements.txt (line 1)) (2022.12.7) Requirement already satisfied: idna<4,>=2.5 in /builddir/.local/lib/python3.9/site-packages (from requests==2.31.0->-r /builddir/omnigres/tools/requirements.txt (line 1)) (3.4) -- CPM: Adding package Format.cmake@1.7.3 (/builddir/omnigres/deps/Format.cmake) -- Found Python: /builddir/omnigres/build/venv/bin/python3.9 (found version "3.9.19") found components: Interpreter -- Format.cmake: clang-format and/or python not found, adding dummy targets -- Format.cmake: cmake-format and/or git not found, adding dummy targets -- Configuring done (6.0s) -- Generating done (0.2s) -- Build files have been written to: /builddir/omnigres/build % cmake --build build --parallel . . . % ./build/_deps/openssl-build/bin/openssl version OpenSSL 3.2.0 23 Nov 2023 (Library: OpenSSL 3.2.2 4 Jun 2024) It appears I'm unable to reproduce your issue and it may be isolated to your system and its configuration. ---- My recommendation is that you follow the suggested "Fedora" instructions on the README and use the system openssl with the provided configuration option. If you absolutely need to use the openssl desired by omnigres, please work with the developers of the application to resolve any further issues. You may also request additional help from the community by visiting our forums: https://forums.rockylinux.org As we cannot support custom compiled software or libraries and we cannot reproduce your issue, this ticket will be closed. Closing as not reproducible. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-12-03 02:27 | Josh Innis | New Issue | |
2024-12-03 02:27 | Josh Innis | File Added: error.log | |
2024-12-03 09:37 | Louis Abel | Assigned To | => Louis Abel |
2024-12-03 09:37 | Louis Abel | Status | new => closed |
2024-12-03 09:37 | Louis Abel | Resolution | open => unable to reproduce |
2024-12-03 09:37 | Louis Abel | Note Added: 0009010 |