-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
parserLanguage parsing and surface syntaxLanguage parsing and surface syntax
Description
On macos 13.4, the latest master builds the julia binary, but making the corresponding mac app (contrib/mac/app
) fails. The error suggests it could be related to #46372.
➜ app git:(master) make
rm -rf dmg *.dmg notarize-*.xml
mkdir -p dmg
osacompile -o dmg/Julia-1.10.app startup.applescript
.: replacing existing signature
rm dmg/Julia-1.10.app/Contents/Resources/applet.icns
cp julia.icns dmg/Julia-1.10.app/Contents/Resources/
plutil -replace CFBundleDevelopmentRegion -string "en" dmg/Julia-1.10.app/Contents/Info.plist
plutil -insert CFBundleDisplayName -string "Julia" dmg/Julia-1.10.app/Contents/Info.plist
plutil -replace CFBundleIconFile -string "julia.icns" dmg/Julia-1.10.app/Contents/Info.plist
plutil -insert CFBundleIdentifier -string "org.julialang.launcherapp" dmg/Julia-1.10.app/Contents/Info.plist
plutil -replace CFBundleName -string "Julia" dmg/Julia-1.10.app/Contents/Info.plist
plutil -insert CFBundleShortVersionString -string "1.10.0" dmg/Julia-1.10.app/Contents/Info.plist
plutil -insert CFBundleVersion -string "1.10.0-DEV-95749c3784" dmg/Julia-1.10.app/Contents/Info.plist
plutil -insert NSHumanReadableCopyright -string "© 2023 The Julia Project" dmg/Julia-1.10.app/Contents/Info.plist
mkdir -p dmg/Julia-1.10.app/Contents/Resources/julia
make -C /Users/pablo/Build/julia binary-dist
rm -fr /Users/pablo/Build/julia/julia-*.tar.gz /Users/pablo/Build/julia/julia*.exe /Users/pablo/Build/julia/julia-95749c3784
CC usr/tools/stringreplace
Building HTML documentation.
Installing known registries into `~/Build/julia/doc/deps`
┌ Warning: The active manifest file has dependencies that were resolved with a different julia version (1.9.0-DEV). Unexpected behavior may occur.
└ @ ~/Build/julia/doc/Manifest.toml:0
Installed Parsers ───────────── v2.4.0
Installed IOCapture ─────────── v0.2.2
Installed JSON ──────────────── v0.21.3
Installed DocStringExtensions ─ v0.9.1
Installed ANSIColoredPrinters ─ v0.0.1
Installed Documenter ────────── v0.27.23
Precompiling project...
7 dependencies successfully precompiled in 5 seconds
1 dependency had warnings during precompilation:
┌ Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0]
│ WARNING: method definition for dpeekbyte at /Users/pablo/Build/julia/doc/deps/packages/Parsers/34hDN/src/utils.jl:199 declares type variable T but does not use it.
└
[ Info: SetupBuildDirectory: setting up build directory.
┌ Error: JuliaSyntax parser failed — falling back to flisp!
│ exception =
│ BoundsError: attempt to access empty SubString{String} at index [0]
│ Stacktrace:
│ [1] checkbounds(s::SubString{String}, I::Int64)
│ @ Base ./strings/basic.jl:216 [inlined]
│ [2] getindex(s::SubString{String}, i::Int64)
│ @ Base ./strings/substring.jl:91
│ [3] getindex(source::Base.JuliaSyntax.SourceFile, i::Int64)
│ @ Base.JuliaSyntax ~/Build/julia/base/JuliaSyntax/src/source_files.jl:119
│ [4] highlight(io::IOBuffer, source::Base.JuliaSyntax.SourceFile, range::UnitRange{…}; color::Tuple{…}, context_lines_before::Int64, context_lines_inner::Int64, context_lines_after::Int64, note::String, notecolor::Symbol)
│ @ Base.JuliaSyntax ~/Build/julia/base/JuliaSyntax/src/source_files.jl:221
...
The resulting dmg contains a damaged Julia.app that fails to launch with the unusual error:
Metadata
Metadata
Assignees
Labels
parserLanguage parsing and surface syntaxLanguage parsing and surface syntax