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

[CYGWIN] [BUILD] [INSTALL] Fix make install error #49008

Closed
wants to merge 1 commit into from

Conversation

stahta01
Copy link
Contributor

@stahta01 stahta01 commented Mar 15, 2023

See also #48658

Version 1.10.0-DEV.805 (2023-03-14)
Commit 7ba7e32* (0 days old master)

$ uname -srvmo
CYGWIN_NT-10.0-19045 3.4.6-1.x86_64 2023-02-14 13:23 UTC x86_64 Cygwin

cd ~/devel/julia && make install VERBOSE=1 --jobs=1

The problem without the patch; and, below this error are a couple of doc install related warnings that might be of concern.
Edit: This commit only fixes the error; the doc install warning are not fixed.
'''
# Copy system image
/home/USERNAME/devel/julia/contrib/install.sh 755 /home/USERNAME/devel/julia/usr/lib/julia/sys.dll /home/USERNAME/devel/julia/julia-7ba7e32629/lib/julia
# Cache stdlibs
/home/USERNAME/devel/julia/usr/bin/julia.exe --startup-file=no /home/USERNAME/devel/julia/contrib/cache_stdlibs.jl
ERROR: SystemError: opening file "\home\USERNAME\devel\julia\contrib\cache_stdlibs.jl": No such file or directory
Stacktrace:
[1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
@ Base .\error.jl:176
[2] #systemerror#83
@ .\error.jl:175 [inlined]
[3] systemerror
@ .\error.jl:175 [inlined]
[4] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
@ Base .\iostream.jl:293
[5] open
@ .\iostream.jl:275 [inlined]
[6] open(f::Base.var"#419#420"{String}, args::String; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\io.jl:393
[7] open
@ .\io.jl:392 [inlined]
[8] read
@ .\io.jl:473 [inlined]
[9] _include(mapexpr::Function, mod::Module, _path::String)
@ Base .\loading.jl:1945
[10] include(mod::Module, _path::String)
@ Base .\Base.jl:468
[11] exec_options(opts::Base.JLOptions)
@ Base .\client.jl:307
[12] _start()
@ Base .\client.jl:541
make: *** [Makefile:281: install] Error 1
'''

Re-occurring HTML documentation message
'''
Building HTML documentation.
/home/USERNAME/devel/julia/usr/bin/julia.exe --startup-file=no --color=yes cygpath -w /home/USERNAME/devel/julia/doc/make.jl linkcheck= doctest= buildroot=cygpath -w /home/USERNAME/devel/julia texplatform= revise=
┌ Warning: The active manifest file has dependencies that were resolved with a different julia version (1.9.0-DEV). Unexpected behavior may occur.
└ @ H:\cygwin64\home\USERNAME\devel\julia\doc\Manifest.toml:0
'''

Another HTML documentation message during make install; many more like it on first make
'''
@ Documenter.Writers.HTMLWriter H:\cygwin64\home\USERNAME\devel\julia\doc\deps\packages\Documenter\yf96B\src\Writers\HTMLWriter.jl:2081
┌ Warning: invalid local link: unresolved path in base\numbers.md
│ link.text =
│ 1-element Vector{Any}:
│ Markdown.Code("", "Inf")
│ link.url = "numbers.html#Base.Inf"

'''

@stahta01 stahta01 marked this pull request as ready for review March 15, 2023 12:02
@stahta01
Copy link
Contributor Author

Closing since it now has conflicts

@stahta01 stahta01 closed this May 11, 2023
@stahta01 stahta01 deleted the fix_make_inatall branch May 21, 2023 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant