[openssl] Build error on x64-linux
NeTChengGH opened this issue · comments
NeT_cheng commented
Package: openssl:x64-linux@3.3.0
Host Environment
- Host: x64-linux
- Compiler: GNU 7.3.1
- vcpkg-tool version: 2024-04-23-d6945642ee5c3076addd1a42c331bbf4cfc97457
vcpkg-scripts version: unknown
To Reproduce
vcpkg install openssl
Failure logs
-- Using cached openssl-openssl-openssl-3.3.0.tar.gz.
-- Extracting source /software/vcpkg-master/downloads/openssl-openssl-openssl-3.3.0.tar.gz
-- Applying patch cmake-config.patch
-- Applying patch command-line-length.patch
-- Applying patch script-prefix.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 /software/vcpkg-master/buildtrees/openssl/src/nssl-3.3.0-961d78b8a1.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
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: /usr/bin/bash -c "V=1 ./../src/nssl-3.3.0-961d78b8a1.clean/vcpkg/configure \"/usr/bin/perl\" \"/software/vcpkg-master/buildtrees/openssl/src/nssl-3.3.0-961d78b8a1.clean/Configure\" \"linux-x86_64\" \"enable-static-engine\" \"enable-capieng\" \"no-tests\" \"no-docs\" \"no-shared\" \"no-module\" \"no-apps\" \"--openssldir=/etc/ssl\" \"--libdir=lib\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"--debug\" \"--prefix=/software/vcpkg-master/installed/x64-linux/debug\""
Working Directory: /software/vcpkg-master/buildtrees/openssl/x64-linux-dbg
Error code: 126
See logs for more information:
/software/vcpkg-master/buildtrees/openssl/config-x64-linux-dbg-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_make.cmake:863 (vcpkg_execute_required_process)
ports/openssl/unix/portfile.cmake:106 (vcpkg_configure_make)
ports/openssl/portfile.cmake:79 (include)
scripts/ports.cmake:175 (include)
/software/vcpkg-master/buildtrees/openssl/config-x64-linux-dbg-err.log
/usr/bin/bash: ./../src/nssl-3.3.0-961d78b8a1.clean/vcpkg/configure: Permission denied
Kai Pastor commented
Not the right mode on our configure
script?
Is /software
a regular linux filesystem?
JonLiu1993 commented
It seems to be a permissions issue. I cannot reproduce this problem locally.
/usr/bin/bash: ./../src/nssl-3.3.0-961d78b8a1.clean/vcpkg/configure: Permission denied