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

On Windows, zlib.h cannot be found when tmpdir contains tilde #113

Open
pmq20 opened this issue Jul 18, 2020 · 1 comment
Open

On Windows, zlib.h cannot be found when tmpdir contains tilde #113

pmq20 opened this issue Jul 18, 2020 · 1 comment
Assignees
Labels

Comments

@pmq20
Copy link
Owner

pmq20 commented Jul 18, 2020


2020-07-18T22:07:13.4333123Z -> CI=true ENCLOSE_IO_USE_ORIGINAL_RUBY=1 MAKE=nmake CL=/MP ENCLOSE_IO_RUBYC_1ST_PASS=1 ENCLOSE_IO_RUBYC_2ND_PASS='' nmake 
2020-07-18T22:07:13.4642072Z 
2020-07-18T22:07:13.4793966Z Microsoft (R) Program Maintenance Utility Version 14.26.28806.0
2020-07-18T22:07:13.4794721Z Copyright (C) Microsoft Corporation.  All rights reserved.
2020-07-18T22:07:13.4811992Z 
2020-07-18T22:07:13.7429830Z 	BASERUBY = D:\RUBYIN~1.1-1\bin\ruby.exe
2020-07-18T22:07:13.7430502Z 	CC = cl -nologo
2020-07-18T22:07:13.7431658Z 	LD = cl -nologo
2020-07-18T22:07:13.7432798Z 	LDSHARED = cl -nologo -LD
2020-07-18T22:07:13.7434244Z 	CFLAGS = -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574  -wd4668 -wd4710 -wd4711 -wd4820 -wd4996  -we4028 -we4142 -we4047 -O2sy- -Zm600   -MD /Ox  -IC:/Users/RUNNER\~1/AppData/Local/Temp/rubyc/zlib -IC:/Users/RUNNER\~1/AppData/Local/Temp/rubyc/ruby-2.7.1a
2020-07-18T22:07:13.7435944Z 	XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/x64-mswin64_140 -IC:/Users/RUNNER~1/AppData/Local/Temp/rubyc/ruby-2.7.1a/include -IC:/Users/RUNNER~1/AppData/Local/Temp/rubyc/ruby-2.7.1a -IC:/Users/RUNNER~1/AppData/Local/Temp/rubyc/ruby-2.7.1a/enc/unicode/12.1.0  -MD /Ox  -IC:/Users/RUNNER\~1/AppData/Local/Temp/rubyc/zlib -IC:/Users/RUNNER\~1/AppData/Local/Temp/rubyc/ruby-2.7.1a  -DCANONICALIZATION_FOR_MATHN
2020-07-18T22:07:13.7436942Z 	CPPFLAGS =  -D_WIN32_WINNT=0x0600  
2020-07-18T22:07:13.7438324Z 	DLDFLAGS = -incremental:no -debug -opt:ref -opt:icf  -libpath:C:\\Users\\RUNNER\~1\\AppData\\Local\\Temp\\rubyc\\zlib C:/Users/RUNNER\~1/AppData/Local/Temp/rubyc/zlib/zlib.lib Advapi32.lib -dll
2020-07-18T22:07:13.7440065Z 	SOLIBS = 
2020-07-18T22:07:13.7441763Z 	LANG = 
2020-07-18T22:07:13.7442879Z 	LC_ALL = 
2020-07-18T22:07:13.7444052Z 	LC_CTYPE = 
2020-07-18T22:07:13.7445996Z 	MFLAGS = -l
2020-07-18T22:07:13.7598197Z Creating config.h
2020-07-18T22:07:13.8052176Z .ext\include\x64-mswin64_140\ruby\config.h updated
2020-07-18T22:07:13.8240102Z Creating config.status
2020-07-18T22:07:13.8552472Z compiling C:/Users/RUNNER~1/AppData/Local/Temp/rubyc/ruby-2.7.1a/main.c
2020-07-18T22:07:13.8660185Z main.c
2020-07-18T22:07:13.8910513Z C:\Users\RUNNER~1\AppData\Local\Temp\rubyc\build_pass_1\.ext\include\x64-mswin64_140\ruby/config.h(22): warning C4117: macro name '_INTEGRAL_MAX_BITS' is reserved, '#define' ignored
2020-07-18T22:07:16.6782943Z C:\Users\runneradmin\AppData\Local\Temp\rubyc\ruby-2.7.1a\enclose_io_win32.h(24): warning C4005: 'stat': macro redefinition
2020-07-18T22:07:16.6792191Z C:\Users\runneradmin\AppData\Local\Temp\rubyc\ruby-2.7.1a\include\ruby/win32.h(196): note: see previous definition of 'stat'
2020-07-18T22:07:16.6792697Z C:\Users\runneradmin\AppData\Local\Temp\rubyc\ruby-2.7.1a\enclose_io_win32.h(25): warning C4005: 'fstat': macro redefinition
2020-07-18T22:07:16.6793089Z C:\Users\runneradmin\AppData\Local\Temp\rubyc\ruby-2.7.1a\include\ruby/win32.h(203): note: see previous definition of 'fstat'
2020-07-18T22:07:16.7238822Z compiling C:/Users/RUNNER~1/AppData/Local/Temp/rubyc/ruby-2.7.1a/dmydln.c
2020-07-18T22:07:16.7347864Z dmydln.c
2020-07-18T22:07:16.7488746Z C:\Users\RUNNER~1\AppData\Local\Temp\rubyc\build_pass_1\.ext\include\x64-mswin64_140\ruby/config.h(22): warning C4117: macro name '_INTEGRAL_MAX_BITS' is reserved, '#define' ignored
2020-07-18T22:07:17.1631921Z compiling miniruby.rc
2020-07-18T22:07:17.1901091Z generating C:/Users/RUNNER~1/AppData/Local/Temp/rubyc/ruby-2.7.1a/miniprelude.c
2020-07-18T22:07:17.3311025Z C:/Users/RUNNER~1/AppData/Local/Temp/rubyc/ruby-2.7.1a/miniprelude.c updated
2020-07-18T22:07:17.3518533Z compiling C:/Users/RUNNER~1/AppData/Local/Temp/rubyc/ruby-2.7.1a/miniinit.c
2020-07-18T22:07:17.3627141Z miniinit.c
2020-07-18T22:07:17.3866075Z C:\Users\RUNNER~1\AppData\Local\Temp\rubyc\build_pass_1\.ext\include\x64-mswin64_140\ruby/config.h(22): warning C4117: macro name '_INTEGRAL_MAX_BITS' is reserved, '#define' ignored
2020-07-18T22:07:17.9080520Z compiling C:/Users/RUNNER~1/AppData/Local/Temp/rubyc/ruby-2.7.1a/dmyext.c
2020-07-18T22:07:17.9189572Z dmyext.c
2020-07-18T22:07:17.9577726Z compiling C:/Users/RUNNER~1/AppData/Local/Temp/rubyc/ruby-2.7.1a/autoupdate_autoupdate.c
2020-07-18T22:07:17.9690361Z autoupdate_autoupdate.c
2020-07-18T22:07:18.5720051Z C:/Users/RUNNER~1/AppData/Local/Temp/rubyc/ruby-2.7.1a/autoupdate_autoupdate.c(10): fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
2020-07-18T22:07:18.5792165Z NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\cl.EXE"' : return code '0x2'
2020-07-18T22:07:18.5792562Z Stop.
2020-07-18T22:07:18.5813577Z Failed running [{"CI"=>"true", "ENCLOSE_IO_USE_ORIGINAL_RUBY"=>"1", "MAKE"=>"nmake", "CL"=>"/MP", "ENCLOSE_IO_RUBYC_1ST_PASS"=>"1", "ENCLOSE_IO_RUBYC_2ND_PASS"=>nil}, "nmake "]
2020-07-18T22:07:18.6017762Z rake aborted!
2020-07-18T22:07:18.6018875Z Command failed with status (1): [D:/rubyinstaller-2.7.1-1-x64/bin/ruby.exe ...]
2020-07-18T22:07:18.6019201Z D:/a/ruby-packer/ruby-packer/Rakefile:24:in `block in <top (required)>'
2020-07-18T22:07:18.6019468Z Tasks: TOP => default => test => test:roundtrip => rubyc
2020-07-18T22:07:18.6019945Z (See full trace by running task with --trace)
2020-07-18T22:07:18.6440613Z ##[error]Process completed with exit code 1.
2020-07-18T22:07:18.6603588Z Post job cleanup.
2020-07-18T22:07:29.0736360Z [command]"C:\Program Files\Git\bin\git.exe" version
2020-07-18T22:07:29.0905885Z git version 2.27.0.windows.1
2020-07-18T22:07:29.0969494Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
2020-07-18T22:07:29.1171518Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2020-07-18T22:07:29.5405106Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-07-18T22:07:29.5563199Z http.https://github.com/.extraheader
2020-07-18T22:07:29.5604265Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all http.https://github.com/.extraheader
2020-07-18T22:07:29.5804518Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2020-07-18T22:07:30.0197771Z Cleaning up orphan processes
@pmq20 pmq20 self-assigned this Jul 18, 2020
@pmq20 pmq20 added the Windows label Jul 18, 2020
@pmq20
Copy link
Owner Author

pmq20 commented Jul 18, 2020

this was worked around in 0827cb1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant