Skip to content

libsodium build failed on Linux(openSUSE Tumbleweed)  #3627

@biluohc

Description

@biluohc
vcpkg install libsodium
The following packages will be built and installed:
    libsodium[core]:x64-linux
Starting package 1/1: libsodium:x64-linux
Building package libsodium[core]:x64-linux... 
-- CURRENT_INSTALLED_DIR=/home/mxo/bin/vcpkg.git/installed/x64-linux
-- DOWNLOADS=/home/mxo/bin/vcpkg.git/downloads
-- CURRENT_PACKAGES_DIR=/home/mxo/bin/vcpkg.git/packages/libsodium_x64-linux
-- CURRENT_BUILDTREES_DIR=/home/mxo/bin/vcpkg.git/buildtrees/libsodium
-- CURRENT_PORT_DIR=/home/mxo/bin/vcpkg.git/ports/libsodium
-- Downloading https://github.com/jedisct1/libsodium/archive/1.0.16.tar.gz...
-- Downloading https://github.com/jedisct1/libsodium/archive/1.0.16.tar.gz... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
-- Extracting source /home/mxo/bin/vcpkg.git/downloads/jedisct1-libsodium-1.0.16.tar.gz
-- Extracting done
-- Applying patch /home/mxo/bin/vcpkg.git/ports/libsodium/disable-tests.patch
-- Applying patch /home/mxo/bin/vcpkg.git/ports/libsodium/disable-tests.patch done
-- Building /home/mxo/bin/vcpkg.git/buildtrees/libsodium/src/1.0.16-60968e7afa/libsodium.vcxproj for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: msbuild;/home/mxo/bin/vcpkg.git/buildtrees/libsodium/src/1.0.16-60968e7afa/libsodium.vcxproj;/p:Configuration=Release;/t:Rebuild;/p:Platform=x64;/p:PlatformToolset=external;/p:VCPkgLocalAppDataDisabled=true;/p:UseIntelMKL=No;/p:WindowsTargetPlatformVersion=;/m;/p:WholeProgramOptimization=false
    Working Directory: /home/mxo/bin/vcpkg.git/buildtrees/libsodium/x64-linux-rel
    See logs for more information:

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_msbuild.cmake:114 (vcpkg_execute_required_process)
  ports/libsodium/portfile.cmake:25 (vcpkg_build_msbuild)
  scripts/ports.cmake:72 (include)


Error: Building package libsodium:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: libsodium:x64-linux
  Vcpkg version: 0.0.113-unknownhash

Additionally, attach any relevant sections from the log files above.
 b/vcpkg.git ╍                                                                                                                                 (1) (2s 919ms) 
 b/vcpkg.git ╍ msbuild
--: searching ...Cannot not open database file '/usr/share/scout/bin-msbuild.db'
--: command not found                   
 b/vcpkg.git ╍                                                                                                                                          (127) 
 b/vcpkg.git ╍ cat /home/mxo/bin/vcpkg.git/buildtrees/libsodium/patch-x64-linux-0-err.log
检查补丁 msvc-scripts/sodium.props...
成功应用补丁 msvc-scripts/sodium.props。
 b/vcpkg.git ╍ cat /home/mxo/bin/vcpkg.git/buildtrees/libsodium/^C
 b/vcpkg.git ╍ cat /home/mxo/bin/vcpkg.git/buildtrees/libsodium/build-x64-linux-rel-err.log 
 b/vcpkg.git ╍ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:port-bugThe issue is with a library, which is something the port should already support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions