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 #38634

Open
NeTChengGH opened this issue May 8, 2024 · 3 comments
Open

[openssl] Build error on x64-linux #38634

NeTChengGH opened this issue May 8, 2024 · 3 comments
Assignees
Labels
category:question This issue is a question

Comments

@NeTChengGH
Copy link

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
@JonLiu1993 JonLiu1993 self-assigned this May 9, 2024
@JonLiu1993 JonLiu1993 added the category:question This issue is a question label May 9, 2024
@dg0yt
Copy link
Contributor

dg0yt commented May 9, 2024

Not the right mode on our configure script?
Is /software a regular linux filesystem?

@JonLiu1993
Copy link
Member

JonLiu1993 commented May 9, 2024

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

@zhangrf21
Copy link

你解决了吗?

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

4 participants