Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package] openssl/3.2.1: openssl/3.2.1 build failed #22977

Open
apollomok opened this issue Mar 5, 2024 · 1 comment
Open

[package] openssl/3.2.1: openssl/3.2.1 build failed #22977

apollomok opened this issue Mar 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@apollomok
Copy link

Description

grpc/1.54.3 requires openssl/3.2.1 but build failed.

Package and Environment Details

  • Package Name/Version: openssl/3.2.1
  • Operating System+version: CentOS Linux release 7.9.2009 (Core)
  • Compiler+version: GCC 9.3
  • Conan version: conan 2.1.0
  • Python version: Python 3.11.8

Conan profile

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu20
compiler.libcxx=libstdc++
compiler.version=9.3
os=Linux

Steps to reproduce

conan install . --build=missing

Logs

Click to expand log

-------- Installing package openssl/3.2.1 (21 of 29) --------
openssl/3.2.1: Building from source
openssl/3.2.1: Package openssl/3.2.1:2b0ba63cf2738ac75089f3e35630ceab289456a5
openssl/3.2.1: Copying sources to build folder
openssl/3.2.1: Building your package in /root/.conan2/p/b/opens897676490aef9/b
openssl/3.2.1: Calling generate()
openssl/3.2.1: Generators folder: /root/.conan2/p/b/opens897676490aef9/b/build-release/conan
openssl/3.2.1: using target: conan-Release-Linux-x86_64-gcc-9.3 -> linux-x86_64
openssl/3.2.1: my %targets = (
"conan-Release-Linux-x86_64-gcc-9.3" => {
inherit_from => [ "linux-x86_64" ],
cflags => add("-m64 -fPIC -O3"),
cxxflags => add("-m64 -fPIC -O3"),
defines => add("NDEBUG"),
lflags => add("-m64"),

},

);

openssl/3.2.1: Generating aggregated env files
openssl/3.2.1: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
openssl/3.2.1: Calling build()
openssl/3.2.1: apply_conandata_patches(): No patches defined in conandata
openssl/3.2.1: RUN: perl ./Configure "conan-Release-Linux-x86_64-gcc-9.3" no-shared --prefix=/ --libdir=lib --openssldir="/etc/ssl" no-unit-test threads PERL=perl no-tests --release -fPIC enable-fips no-md2 -DOPENSSL_TLS_SECURITY_LEVEL=2 zlib --with-zlib-include="/root/.conan2/p/b/zlib57d203f2dc8dc/p/include" --with-zlib-lib="/root/.conan2/p/b/zlib57d203f2dc8dc/p/lib"
Can't locate IPC/Cmd.pm in @inc (@inc contains: /root/.conan2/p/b/opens897676490aef9/b/src/util/perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /root/.conan2/p/b/opens897676490aef9/b/src/external/perl/Text-Template-1.56/lib) at /root/.conan2/p/b/opens897676490aef9/b/src/util/perl/OpenSSL/config.pm line 19.
BEGIN failed--compilation aborted at /root/.conan2/p/b/opens897676490aef9/b/src/util/perl/OpenSSL/config.pm line 19.
Compilation failed in require at ./Configure line 23.
BEGIN failed--compilation aborted at ./Configure line 23.

openssl/3.2.1: ERROR:
Package '2b0ba63cf2738ac75089f3e35630ceab289456a5' build failed
openssl/3.2.1: WARN: Build folder /root/.conan2/p/b/opens897676490aef9/b/build-release
ERROR: openssl/3.2.1: Error in build() method, line 534
self._make()
while calling '_make', line 521
self.run("{perl} ./Configure {args}".format(perl=self._perl, args=args), env="conanbuild")
ConanException: Error 2 while executing

@apollomok apollomok added the bug Something isn't working label Mar 5, 2024
@apollomok apollomok changed the title [package] openssl/3.2.1: SHORT DESCRIPTION [package] openssl/3.2.1: openssl/3.2.1 build failed Mar 5, 2024
@JustCallMeRay
Copy link

If you are still having this problem see #25248 for how I fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants