-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[nettle:x64-windows] build failure #12240
Comments
I know this bug, @Neumann-A could you please take a look? Thanks. |
Probably the segfault in yasm we don't know why it occours. Updating VS somehow resolves the problem. |
I am also unable to reproduce the error with Visual Studio 2019 Version: 16.6.3 locally |
@Neumann-A Yes, we can't repro this issue with Visual Studio 2019, and this PR is the same as some PR I encountered. |
open
edit to or delete "$(YasmPath)"yasm.exe -Xvc -f win32 [AllOptions] -->> yasm.exe -Xvc -f win32 [AllOptions] although this does not solve anything, only if explicitly specify the path, there may not be an error |
other error Spoiler
|
all ok |
have a question for *. pc gmp.txt example 1. libhogweed.pc -> 2. nettle.pc
|
@voskrese I tried making changes to the
All seem to fail with about the same issue with YASM. I will just figure something else out, especially since @JackBoosY and others can not repro it on their instances :( |
test?
|
Ok made change from: Now it states no input file :( I think I take a break on this one for a while, I am getting burnt out on it. I will look fresh later on. |
Ah thats an error in the portfile.
doesn't matter. I also do not patch anything of this stuff (just configure it.) |
FYI The 1.3.0 release of YASM has several bugs that cause segfaults and memory leaks when using the gas parser and COFF outputs. This is what is used by nettle and some other ports. So you may want to update the yasm port to instead pull in yasm master instead of the old 1.3.0 tag. This will fix some known issues, as to whether it fixes this issue i dont know. |
@LilyWangL
update + install tools ? |
yes, this corrected the situation |
@voskrese
|
tested in yasm x86 + props vs = error build x64 moy patch
|
OR VS PROPS
OR VS PROPS
|
Related: #10613. |
@voskrese Sadly, none of the solutions you provide can be used in Visual Studio 2017. |
Hmm why not? I thought the solution would be to just download the correct architecture build of yasm? So just changing vcpkg_find_acquire_program |
After changing the yasm binary, seems work. |
this case is voluntary to use or not, my business is to offer |
I close, I no longer use product. |
Host Environment
To Reproduce
Steps to reproduce the behavior:
vcpkg install nettle[core]:x64-windows
Failure logs
Computing installation plan...
The following packages will be built and installed:
nettle[core]:x64-windows
Starting package 1/1: nettle:x64-windows
Building package nettle[core]:x64-windows...
-- Using cached D:/Git/vcpkg.downloads/ShiftMediaProject-nettle-1d0a6e64e01458fdf37eaf5d90975deb52c3da41.tar.gz
-- Using source at D:/Git/vs2019.prod/buildtrees/nettle/src/eb52c3da41-e03f56976f
-- Building SMP/libnettle.sln for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
Command failed: msbuild D:/Git/vs2019.prod/buildtrees/nettle/x64-windows-rel/eb52c3da41-e03f56976f/SMP/libnettle.sln /p:Configuration=ReleaseDLL /p:UseEnv=True /t:Rebuild /p:Platform=x64 /p:PlatformToolset=v142 /p:VCPkgLocalAppDataDisabled=true /p:UseIntelMKL=No /p:WindowsTargetPlatformVersion=10.0.19041.0 /p:VcpkgTriplet=x64-windows /p:VcpkgCurrentInstalledDir=D:/Git/vs2019.prod/installed/x64-windows /p:VcpkgManifestInstall=false /m /p:ForceImportBeforeCppTargets=D:/Git/vs2019.prod/scripts/buildsystems/msbuild/vcpkg.targets /p:VcpkgApplocalDeps=false
Working Directory: D:/Git/vs2019.prod/buildtrees/nettle/x64-windows-rel/eb52c3da41-e03f56976f
Error code: 1
See logs for more information:
D:\Git\vs2019.prod\buildtrees\nettle\build-x64-windows-rel-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_install_msbuild.cmake:162 (vcpkg_execute_required_process)
ports/nettle/portfile.cmake:66 (vcpkg_install_msbuild)
scripts/ports.cmake:76 (include)
Error: Building package nettle:x64-windows 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: nettle:x64-windows
Vcpkg version: 2020.02.04-nohash
Additionally, attach any relevant sections from the log files above.
vs2017-build-x64-windows-rel-out.log
vs2019-build-x64-windows-rel-out.log
Additional context
This may/may not have relevance from issue
[<gmp>] build failure
referenced #12237 as I have a work around patch to place thegmp.h
andgmpxx.h
in the<vcpkg-port>\installed\x64-windows\include
folder instead of the<vcpkg-port>\installed\x64-windows\include\include
folder.The text was updated successfully, but these errors were encountered: