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

[openssl] Build error on x64-linux #43422

Open
244916896 opened this issue Jan 23, 2025 · 2 comments
Open

[openssl] Build error on x64-linux #43422

244916896 opened this issue Jan 23, 2025 · 2 comments
Assignees
Labels
category:question This issue is a question

Comments

@244916896
Copy link

Package: openssl:[email protected]

Host Environment

  • Host: x64-linux
  • Compiler: GNU 11.2.1
  • vcpkg-tool version: 2024-11-12-eb492805e92a2c14a230f5c3deb3e89f6771c321
    vcpkg-scripts version: b2cb0da 2024-11-15 (10 weeks ago)

To Reproduce

vcpkg install

Failure logs

-- Using cached openssl-openssl-openssl-3.4.0.tar.gz.
-- Cleaning sources at /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/zhanghl/vcpkg/downloads/openssl-openssl-openssl-3.4.0.tar.gz
-- Applying patch cmake-config.patch
-- Applying patch command-line-length.patch
-- Applying patch script-prefix.patch
-- Applying patch asm-armcap.patch
-- Applying patch windows/install-layout.patch
-- Applying patch windows/install-pdbs.patch
-- Applying patch unix/android-cc.patch
-- Applying patch unix/move-openssldir.patch
-- Applying patch unix/no-empty-dirs.patch
-- Applying patch unix/no-static-libs-for-shared.patch
-- Using source at /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean
openssl requires Linux kernel headers from the system package manager.
   They can be installed on Alpine systems via `apk add linux-headers`.
   They can be installed on Ubuntu systems via `apt install linux-libc-dev`.

-- Getting CMake variables for x64-linux
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /opt/rh/devtoolset-11/root/usr/bin/make V=1 -j 13 -f Makefile build_sw
    Working Directory: /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg/
    See logs for more information:
      /home/zhanghl/vcpkg/buildtrees/openssl/build-x64-linux-dbg-out.log
      /home/zhanghl/vcpkg/buildtrees/openssl/build-x64-linux-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_make.cmake:136 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_make.cmake:2 (vcpkg_build_make)
  /home/zhanghl/.cache/vcpkg/registries/git-trees/ce504a83eb9627d54f1cffdb497a6bf5bd970d18/unix/portfile.cmake:119 (vcpkg_install_make)
  /home/zhanghl/.cache/vcpkg/registries/git-trees/ce504a83eb9627d54f1cffdb497a6bf5bd970d18/portfile.cmake:72 (include)
  scripts/ports.cmake:196 (include)



/home/zhanghl/vcpkg/buildtrees/openssl/build-x64-linux-dbg-err.log
DEBUG: all keys: APPLINKDIR, BINDIR, CMAKECONFIGDIR, ENGINESDIR, INCLUDEDIR, LDLIBS, LIBDIR, MODULESDIR, PKGCONFIGDIR, PREFIX, VERSION, libdir
No value given for CMAKECONFIGDIR
No value given for PKGCONFIGDIR
No value given for libdir
DEBUG: PREFIX = . => PREFIX = /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg
DEBUG: libdir = . => libdir = /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg
DEBUG: BINDIR = apps => BINDIR = /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg/apps, BINDIR_REL_PREFIX = apps
DEBUG: LIBDIR =  => LIBDIR = /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg, LIBDIR_REL_PREFIX =
DEBUG: INCLUDEDIR = [ include, ../src/nssl-3.4.0-821e8e5bdc.clean/include ] => INCLUDEDIR = [ /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg/include, /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg/../src/nssl-3.4.0-821e8e5bdc.clean/include ], INCLUDEDIR_REL_PREFIX = [ include, ../src/nssl-3.4.0-821e8e5bdc.clean/include ]
DEBUG: APPLINKDIR = ms => APPLINKDIR = /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg/ms, APPLINKDIR_REL_PREFIX = ms
DEBUG: ENGINESDIR = engines => ENGINESDIR = /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg/engines, ENGINESDIR_REL_LIBDIR = engines
DEBUG: MODULESDIR = providers => MODULESDIR = /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg/providers, MODULESDIR_REL_LIBDIR = providers
DEBUG: PKGCONFIGDIR = . => PKGCONFIGDIR = /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg, PKGCONFIGDIR_REL_LIBDIR = .
DEBUG: CMAKECONFIGDIR = . => CMAKECONFIGDIR = /home/zhanghl/vcpkg/buildtrees/openssl/x64-linux-dbg, CMAKECONFIGDIR_REL_LIBDIR = .
DEBUG: all keys: APPLINKDIR, BINDIR, CMAKECONFIGDIR, ENGINESDIR, INCLUDEDIR, LDLIBS, LIBDIR, MODULESDIR, PKGCONFIGDIR, PREFIX, VERSION, libdir
DEBUG: PREFIX = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug => PREFIX = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug
DEBUG: libdir = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib => libdir = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib
DEBUG: BINDIR = bin => BINDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/bin, BINDIR_REL_PREFIX = bin
DEBUG: LIBDIR = lib => LIBDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib, LIBDIR_REL_PREFIX = lib
DEBUG: INCLUDEDIR = include => INCLUDEDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/include, INCLUDEDIR_REL_PREFIX = include
DEBUG: APPLINKDIR = include/openssl => APPLINKDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/include/openssl, APPLINKDIR_REL_PREFIX = include/openssl
DEBUG: ENGINESDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib/engines-3 => ENGINESDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib/engines-3, ENGINESDIR_REL_LIBDIR = engines-3
DEBUG: MODULESDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib/ossl-modules => MODULESDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib/ossl-modules, MODULESDIR_REL_LIBDIR = ossl-modules
DEBUG: PKGCONFIGDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig => PKGCONFIGDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig, PKGCONFIGDIR_REL_LIBDIR = pkgconfig
DEBUG: CMAKECONFIGDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/share/openssl => CMAKECONFIGDIR = /home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/share/openssl, CMAKECONFIGDIR_REL_LIBDIR = ../share/openssl
Can't locate Data/Dumper.pm in @INC (@INC contains: ../src/nssl-3.4.0-821e8e5bdc.clean/Configurations . /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean/util/../Configurations /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean/util/perl /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean/Configurations /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean/external/perl/Text-Template-1.56/lib /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean/util/../external/perl/Text-Template-1.56/lib) at ../src/nssl-3.4.0-821e8e5bdc.clean/exporters/cmake/OpenSSLConfig.cmake.in line 5.
BEGIN failed--compilation aborted at ../src/nssl-3.4.0-821e8e5bdc.clean/exporters/cmake/OpenSSLConfig.cmake.in line 5.
make: *** [Makefile:4441: OpenSSLConfig.cmake] Error 1
make: *** Waiting for unfinished jobs....
Can't locate Data/Dumper.pm in @INC (@INC contains: ../src/nssl-3.4.0-821e8e5bdc.clean/Configurations . /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean/util/../Configurations /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean/util/perl /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean/Configurations /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean/external/perl/Text-Template-1.56/lib /home/zhanghl/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean/util/../external/perl/Text-Template-1.56/lib) at ../src/nssl-3.4.0-821e8e5bdc.clean/exporters/cmake/OpenSSLConfig.cmake.in line 5.
BEGIN failed--compilation aborted at ../src/nssl-3.4.0-821e8e5bdc.clean/exporters/cmake/OpenSSLConfig.cmake.in line 5.
make: *** [Makefile:4449: exporters/OpenSSLConfig.cmake] Error 1
/home/zhanghl/vcpkg/buildtrees/openssl/build-x64-linux-dbg-out.log
/usr/bin/perl ../src/nssl-3.4.0-821e8e5bdc.clean/util/mkinstallvars.pl PREFIX=. BINDIR=apps APPLINKDIR=ms LIBDIR= INCLUDEDIR=include "INCLUDEDIR=../src/nssl-3.4.0-821e8e5bdc.clean/include" ENGINESDIR=engines MODULESDIR=providers "VERSION=3.4.0" "LDLIBS=-ldl -pthread " > builddata.pm
/usr/bin/perl "-I." "-I../src/nssl-3.4.0-821e8e5bdc.clean/util/perl" "-Mconfigdata" "-MOpenSSL::paramnames" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/crypto/params_idx.c.in > crypto/params_idx.c
/usr/bin/perl ../src/nssl-3.4.0-821e8e5bdc.clean/util/mkinstallvars.pl "PREFIX=/home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug" BINDIR=bin "LIBDIR=lib" "libdir=/home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib" INCLUDEDIR=include APPLINKDIR=include/openssl "ENGINESDIR=/home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib/engines-3" "MODULESDIR=/home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib/ossl-modules" "PKGCONFIGDIR=/home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig" "CMAKECONFIGDIR=/home/zhanghl/code/cmakedemo/out/build/cmakeclangvcpkg/vcpkg_installed/x64-linux/debug/share/openssl" "LDLIBS=-ldl -pthread " "VERSION=3.4.0" > installdata.pm
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/crypto/bn_conf.h.in > include/crypto/bn_conf.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/crypto/dso_conf.h.in > include/crypto/dso_conf.h
/usr/bin/perl "-I." "-I../src/nssl-3.4.0-821e8e5bdc.clean/util/perl" "-Mconfigdata" "-MOpenSSL::paramnames" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/internal/param_names.h.in > include/internal/param_names.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/asn1.h.in > include/openssl/asn1.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/asn1t.h.in > include/openssl/asn1t.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/bio.h.in > include/openssl/bio.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/cmp.h.in > include/openssl/cmp.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/cms.h.in > include/openssl/cms.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/comp.h.in > include/openssl/comp.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/conf.h.in > include/openssl/conf.h
/usr/bin/perl "-I." "-I../src/nssl-3.4.0-821e8e5bdc.clean/util/perl" "-Mconfigdata" "-MOpenSSL::paramnames" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/core_names.h.in > include/openssl/core_names.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/crmf.h.in > include/openssl/crmf.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/crypto.h.in > include/openssl/crypto.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/ct.h.in > include/openssl/ct.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/err.h.in > include/openssl/err.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/ess.h.in > include/openssl/ess.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/fipskey.h.in > include/openssl/fipskey.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/lhash.h.in > include/openssl/lhash.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/ocsp.h.in > include/openssl/ocsp.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/opensslv.h.in > include/openssl/opensslv.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/pkcs12.h.in > include/openssl/pkcs12.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/pkcs7.h.in > include/openssl/pkcs7.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/safestack.h.in > include/openssl/safestack.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/srp.h.in > include/openssl/srp.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/ssl.h.in > include/openssl/ssl.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/ui.h.in > include/openssl/ui.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/x509.h.in > include/openssl/x509.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/x509_acert.h.in > include/openssl/x509_acert.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/x509_vfy.h.in > include/openssl/x509_vfy.h
/usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/include/openssl/x509v3.h.in > include/openssl/x509v3.h
/usr/bin/perl "-I." "-Mconfigdata" "-Mbuilddata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/exporters/pkg-config/libcrypto.pc.in > libcrypto.pc
/usr/bin/perl "-I." "-Mconfigdata" "-Mbuilddata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/exporters/pkg-config/libssl.pc.in > libssl.pc
/usr/bin/perl "-I." "-Mconfigdata" "-Mbuilddata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/exporters/cmake/OpenSSLConfig.cmake.in > OpenSSLConfig.cmake
/usr/bin/perl "-I." "-Mconfigdata" "-Minstalldata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/exporters/cmake/OpenSSLConfig.cmake.in > exporters/OpenSSLConfig.cmake
/usr/bin/perl "-I." "-Mconfigdata" "-Minstalldata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/exporters/pkg-config/libcrypto.pc.in > exporters/libcrypto.pc
/usr/bin/perl "-I." "-Mconfigdata" "-Minstalldata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/exporters/pkg-config/libssl.pc.in > exporters/libssl.pc
/usr/bin/perl "-I." "-Mconfigdata" "-Mbuilddata" "-Mbuilddata" "-Mbuilddata" "../src/nssl-3.4.0-821e8e5bdc.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.4.0-821e8e5bdc.clean/exporters/pkg-config/openssl.pc.in > openssl.pc

Additional context

vcpkg.json
{
  "dependencies": [
    {
      "name": "curl",
      "features": [
        "ssh"
      ]
    },
    "fmt",
    "libssh2",
    "redis-plus-plus",
    {
      "name": "sqlpp11",
      "features": [
        "mysql",
        "sqlite3"
      ]
    }
  ]
}

@MonicaLiu0311
Copy link
Contributor

monica@monica003:/mnt/vcpkg$ ./vcpkg version
vcpkg package management program version 2025-01-20-ca7c14e5a1929895e4124094788deb7ea0ac2e58

See LICENSE.txt for license information.

Sorry I didn't repro your issue.

monica@monica003:/mnt/vcpkg$ ./vcpkg install openssl:x64-linux
Computing installation plan...
The following packages will be built and installed:
    openssl:[email protected] -- /home/monica/.cache/vcpkg/registries/git-trees/ce504a83eb9627d54f1cffdb497a6bf5bd970d18
Detecting compiler hash for triplet x64-linux...
Compiler found: /usr/bin/c++
Restored 0 package(s) from /home/monica/.cache/vcpkg/archives in 18.8 us. Use --debug to see more details.
Installing 1/1 openssl:[email protected]...
Building openssl:[email protected]...
/home/monica/.cache/vcpkg/registries/git-trees/ce504a83eb9627d54f1cffdb497a6bf5bd970d18: info: installing overlay port from here
Downloading https://github.com/openssl/openssl/archive/openssl-3.4.0.tar.gz -> openssl-openssl-openssl-3.4.0.tar.gz
Successfully downloaded openssl-openssl-openssl-3.4.0.tar.gz
-- Extracting source /mnt/vcpkg/downloads/openssl-openssl-openssl-3.4.0.tar.gz
-- Applying patch cmake-config.patch
-- Applying patch command-line-length.patch
-- Applying patch script-prefix.patch
-- Applying patch asm-armcap.patch
-- Applying patch windows/install-layout.patch
-- Applying patch windows/install-pdbs.patch
-- Applying patch unix/android-cc.patch
-- Applying patch unix/move-openssldir.patch
-- Applying patch unix/no-empty-dirs.patch
-- Applying patch unix/no-static-libs-for-shared.patch
-- Using source at /mnt/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean
openssl requires Linux kernel headers from the system package manager.
   They can be installed on Alpine systems via `apk add linux-headers`.
   They can be installed on Ubuntu systems via `apt install linux-libc-dev`.

-- Getting CMake variables for x64-linux
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Installing x64-linux-dbg
-- Building x64-linux-rel
-- Installing x64-linux-rel
-- Fixing pkgconfig file: /mnt/vcpkg/packages/openssl_x64-linux/lib/pkgconfig/libcrypto.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/openssl_x64-linux/lib/pkgconfig/libssl.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/openssl_x64-linux/lib/pkgconfig/openssl.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/openssl_x64-linux/debug/lib/pkgconfig/libcrypto.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/openssl_x64-linux/debug/lib/pkgconfig/libssl.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/openssl_x64-linux/debug/lib/pkgconfig/openssl.pc
-- Installing: /mnt/vcpkg/packages/openssl_x64-linux/share/openssl/usage
-- Installing: /mnt/vcpkg/packages/openssl_x64-linux/share/openssl/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 2.1 s.
Elapsed time to handle openssl:x64-linux: 55 s
openssl:x64-linux package ABI: 0fba83c70f05a015e8fece0a306e4836b9c2cdf8a5955198500ea87106e6fa54
Total install time: 55 s
openssl is compatible with built-in CMake targets:

  find_package(OpenSSL REQUIRED)
  target_link_libraries(main PRIVATE OpenSSL::SSL)
  target_link_libraries(main PRIVATE OpenSSL::Crypto)

@MonicaLiu0311
Copy link
Contributor

Data::Dumper is part of the Perl standard library. The script cannot find the module Data::Dumper in the path list @INC. Please run the following command to check whether the module exists:

perl -MData::Dumper -e 1

If no error is reported, the module is available; otherwise, the module needs to be installed.

@MonicaLiu0311 MonicaLiu0311 added the category:question This issue is a question label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

2 participants