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

Can't precompile Makie, CairoMakie and FFMPEG #3123

Closed
3 tasks done
ForceBru opened this issue Aug 2, 2023 · 25 comments
Closed
3 tasks done

Can't precompile Makie, CairoMakie and FFMPEG #3123

ForceBru opened this issue Aug 2, 2023 · 25 comments
Labels

Comments

@ForceBru
Copy link

ForceBru commented Aug 2, 2023

  • are you running newest version (version from docs) ?
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)
    • Moreover, I can reproduce this with a fresh Julia installation
  • What platform + GPU are you on?
    • macOS 10.15.7, NVIDIA GeForce GT 640M

I can't precompile Makie, CairoMakie and FFMPEG, even after deleting ~/.julia and installing Julia from scratch:

~ $ rm -rf .julia/
~ $ juliaup add release && julia +release
Installing Julia 1.9.2+0.x64.apple.darwin14
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.2 (2023-07-05)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.9) pkg> add CairoMakie
  Installing known registries into `~/.julia`
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
   Installed JpegTurbo_jll ─────────────── v2.1.91+0
   Installed ImageIO ───────────────────── v0.6.7
   Installed Calculus ──────────────────── v0.5.1
   Installed libfdk_aac_jll ────────────── v2.0.2+0
   Installed x265_jll ──────────────────── v3.5.0+0
   Installed Libmount_jll ──────────────── v2.35.0+0
   Installed AxisArrays ────────────────── v0.4.7
   Installed TiffImages ────────────────── v0.6.4
   Installed OffsetArrays ──────────────── v1.12.10
   Installed JpegTurbo ─────────────────── v0.1.3
   Installed HypergeometricFunctions ───── v0.3.23
   Installed PNGFiles ──────────────────── v0.4.0
   Installed Permutations ──────────────── v0.4.16
   Installed Multisets ─────────────────── v0.4.4
   Installed FFTW ──────────────────────── v1.7.1
   Installed Preferences ───────────────── v1.4.0
   Installed Opus_jll ──────────────────── v1.3.2+0
   Installed StatsFuns ─────────────────── v1.3.0
   Installed PDMats ────────────────────── v0.11.17
   Installed RelocatableFolders ────────── v1.0.0
   Installed StableHashTraits ──────────── v0.3.1
   Installed Sixel ─────────────────────── v0.1.3
   Installed EarCut_jll ────────────────── v2.2.4+0
   Installed SetRounding ───────────────── v0.2.1
   Installed StaticArrays ──────────────── v1.6.2
   Installed Grisu ─────────────────────── v1.0.2
   Installed ProgressMeter ─────────────── v1.7.2
   Installed Formatting ────────────────── v0.4.2
   Installed OpenEXR ───────────────────── v0.3.2
   Installed Contour ───────────────────── v0.6.2
   Installed Xorg_libpthread_stubs_jll ─── v0.1.1+0
   Installed EnumX ─────────────────────── v1.0.4
   Installed CEnum ─────────────────────── v0.4.2
   Installed PlotUtils ─────────────────── v1.3.5
   Installed Cairo_jll ─────────────────── v1.16.1+1
   Installed Fontconfig_jll ────────────── v2.13.93+0
   Installed IntelOpenMP_jll ───────────── v2023.1.0+0
   Installed Mods ──────────────────────── v1.3.3
   Installed Libgpg_error_jll ──────────── v1.42.0+0
   Installed Netpbm ────────────────────── v1.1.1
   Installed SignedDistanceFields ──────── v0.4.0
   Installed Xorg_libXau_jll ───────────── v1.0.11+0
   Installed Polynomials ───────────────── v3.2.13
   Installed FileIO ────────────────────── v1.16.1
   Installed RoundingEmulator ──────────── v0.2.1
   Installed FastRounding ──────────────── v0.3.1
   Installed Missings ──────────────────── v1.1.0
   Installed FiniteDiff ────────────────── v2.21.1
   Installed TriplotBase ───────────────── v0.1.0
   Installed Showoff ───────────────────── v1.0.3
   Installed IrrationalConstants ───────── v0.2.2
   Installed FFMPEG ────────────────────── v0.4.1
   Installed SIMD ──────────────────────── v3.4.5
   Installed ScanByte ──────────────────── v0.4.0
   Installed AbstractLattices ──────────── v0.2.1
   Installed SimpleRandom ──────────────── v0.3.1
   Installed JSON ──────────────────────── v0.21.4
   Installed TupleTools ────────────────── v1.3.0
   Installed PolygonOps ────────────────── v0.1.2
   Installed Pango_jll ─────────────────── v1.50.9+0
   Installed Bzip2_jll ─────────────────── v1.0.8+0
   Installed HarfBuzz_jll ──────────────── v2.8.1+1
   Installed isoband_jll ───────────────── v0.2.3+0
   Installed ColorSchemes ──────────────── v3.22.0
   Installed SpecialFunctions ──────────── v2.3.0
   Installed QOI ───────────────────────── v1.0.0
   Installed FriBidi_jll ───────────────── v1.0.10+0
   Installed PkgVersion ────────────────── v0.3.2
   Installed StaticArraysCore ──────────── v1.4.2
   Installed LZO_jll ───────────────────── v2.10.1+0
   Installed NaNMath ───────────────────── v1.0.2
   Installed NLSolversBase ─────────────── v7.8.3
   Installed TranscodingStreams ────────── v0.9.13
   Installed Graphics ──────────────────── v1.1.2
   Installed ImageMetadata ─────────────── v0.9.9
   Installed Rmath_jll ─────────────────── v0.4.0+0
   Installed UnicodeFun ────────────────── v0.4.1
   Installed SimpleGraphs ──────────────── v0.8.4
   Installed x264_jll ──────────────────── v2021.5.5+0
   Installed Colors ────────────────────── v0.12.10
   Installed Ratios ────────────────────── v0.4.5
   Installed CommonSubexpressions ──────── v0.3.0
   Installed DataStructures ────────────── v0.18.14
   Installed MappedArrays ──────────────── v0.4.2
   Installed FreeType ──────────────────── v4.0.0
   Installed LinearAlgebraX ────────────── v0.1.12
   Installed PaddedViews ───────────────── v0.5.12
   Installed FreeType2_jll ─────────────── v2.10.4+0
   Installed Compat ────────────────────── v4.9.0
   Installed StatsAPI ──────────────────── v1.6.0
   Installed GridLayoutBase ────────────── v0.9.1
   Installed LazyModules ───────────────── v0.3.1
   Installed MosaicViews ───────────────── v0.3.4
   Installed Xorg_libxcb_jll ───────────── v1.15.0+0
   Installed libpng_jll ────────────────── v1.6.38+0
   Installed Automa ────────────────────── v0.8.3
   Installed StatsBase ─────────────────── v0.34.0
   Installed libaom_jll ────────────────── v3.4.0+0
   Installed SimplePartitions ──────────── v0.3.0
   Installed MathTeXEngine ─────────────── v0.5.6
   Installed Scratch ───────────────────── v1.2.0
   Installed ColorTypes ────────────────── v0.11.4
   Installed DiffRules ─────────────────── v1.15.1
   Installed Match ─────────────────────── v1.2.0
   Installed TableTraits ───────────────── v1.0.1
   Installed Xorg_libXext_jll ──────────── v1.3.4+4
   Installed TensorCore ────────────────── v0.1.1
   Installed ImageCore ─────────────────── v0.9.4
   Installed FreeTypeAbstraction ───────── v0.10.0
   Installed Expat_jll ─────────────────── v2.5.0+0
   Installed DiffResults ───────────────── v1.1.0
   Installed Isoband ───────────────────── v0.1.1
   Installed PositiveFactorizations ────── v0.2.4
   Installed Inflate ───────────────────── v0.1.3
   Installed Imath_jll ─────────────────── v3.1.7+0
   Installed Parsers ───────────────────── v2.7.2
   Installed Setfield ──────────────────── v1.1.1
   Installed MKL_jll ───────────────────── v2023.1.0+0
   Installed AbstractFFTs ──────────────── v1.5.0
   Installed Extents ───────────────────── v0.1.1
   Installed Packing ───────────────────── v0.5.0
   Installed ConstructionBase ──────────── v1.5.3
   Installed JLLWrappers ───────────────── v1.4.1
   Installed DataValueInterfaces ───────── v1.0.0
   Installed ColorVectorSpace ──────────── v0.9.10
   Installed Libffi_jll ────────────────── v3.2.2+1
   Installed Xorg_libXrender_jll ───────── v0.9.10+4
   Installed AbstractTrees ─────────────── v0.4.4
   Installed OrderedCollections ────────── v1.6.2
   Installed Animations ────────────────── v0.4.1
   Installed ExactPredicates ───────────── v2.2.5
   Installed ChainRulesCore ────────────── v1.16.0
   Installed Ogg_jll ───────────────────── v1.3.5+1
   Installed KernelDensity ─────────────── v0.6.7
   Installed Combinatorics ─────────────── v1.0.2
   Installed RingLists ─────────────────── v0.2.7
   Installed ArrayInterface ────────────── v7.4.11
   Installed XSLT_jll ──────────────────── v1.1.34+0
   Installed LineSearches ──────────────── v7.2.0
   Installed Reexport ──────────────────── v1.2.2
   Installed LogExpFunctions ───────────── v0.3.24
   Installed StackViews ────────────────── v0.1.1
   Installed FFTW_jll ──────────────────── v3.3.10+0
   Installed IntervalArithmetic ────────── v0.20.9
   Installed RangeArrays ───────────────── v0.3.2
   Installed MacroTools ────────────────── v0.5.10
   Installed OpenSpecFun_jll ───────────── v0.5.5+0
   Installed UnPack ────────────────────── v1.0.2
   Installed Libuuid_jll ───────────────── v2.36.0+0
   Installed SimpleTraits ──────────────── v0.9.4
   Installed ColorBrewer ───────────────── v0.4.0
   Installed OpenEXR_jll ───────────────── v3.1.4+0
   Installed GPUArraysCore ─────────────── v0.1.5
   Installed DocStringExtensions ───────── v0.9.3
   Installed Adapt ─────────────────────── v3.6.2
   Installed Graphite2_jll ─────────────── v1.3.14+0
   Installed libass_jll ────────────────── v0.15.1+0
   Installed Pixman_jll ────────────────── v0.42.2+0
   Installed XML2_jll ──────────────────── v2.10.3+0
   Installed Rmath ─────────────────────── v0.7.1
   Installed IntegerMathUtils ──────────── v0.1.2
   Installed DualNumbers ───────────────── v0.6.8
   Installed Gettext_jll ───────────────── v0.21.0+0
   Installed ImageBase ─────────────────── v0.1.5
   Installed IntervalSets ──────────────── v0.7.7
   Installed Xorg_xtrans_jll ───────────── v1.5.0+0
   Installed IterTools ─────────────────── v1.8.0
   Installed OpenSSL_jll ───────────────── v3.0.9+0
   Installed FFMPEG_jll ────────────────── v4.4.4+0
   Installed IndirectArrays ────────────── v1.0.0
   Installed Libgcrypt_jll ─────────────── v1.8.7+0
   Installed GeometryBasics ────────────── v0.4.9
   Installed Tables ────────────────────── v1.10.1
   Installed MakieCore ─────────────────── v0.6.4
   Installed DataAPI ───────────────────── v1.15.0
   Installed LLVMOpenMP_jll ────────────── v15.0.4+0
   Installed CairoMakie ────────────────── v0.10.7
   Installed DelaunayTriangulation ─────── v0.7.2
   Installed Optim ─────────────────────── v1.7.6
   Installed Cairo ─────────────────────── v1.0.5
   Installed ShaderAbstractions ────────── v0.3.0
   Installed FixedPointNumbers ─────────── v0.8.4
   Installed RecipesBase ───────────────── v1.3.4
   Installed LAME_jll ──────────────────── v3.100.1+0
   Installed Primes ────────────────────── v0.5.4
   Installed Interpolations ────────────── v0.14.7
   Installed PrecompileTools ───────────── v1.1.2
   Installed Glib_jll ──────────────────── v2.74.0+2
   Installed Libiconv_jll ──────────────── v1.16.1+2
   Installed libvorbis_jll ─────────────── v1.3.7+1
   Installed LaTeXStrings ──────────────── v1.3.0
   Installed IteratorInterfaceExtensions ─ v1.0.0
   Installed StructArrays ──────────────── v0.6.15
   Installed ErrorfreeArithmetic ───────── v0.5.2
   Installed FillArrays ────────────────── v1.5.0
   Installed libsixel_jll ──────────────── v1.10.3+0
   Installed AxisAlgorithms ────────────── v1.0.1
   Installed ImageAxes ─────────────────── v0.6.11
   Installed QuadGK ────────────────────── v2.8.2
   Installed ForwardDiff ───────────────── v0.10.35
   Installed Requires ──────────────────── v1.3.0
   Installed Xorg_libX11_jll ───────────── v1.8.6+0
   Installed Xorg_libXdmcp_jll ─────────── v1.1.4+0
   Installed Observables ───────────────── v0.5.4
   Installed SimplePolynomials ─────────── v0.2.12
   Installed LightXML ──────────────────── v0.9.0
   Installed Parameters ────────────────── v0.12.3
   Installed CRlibm_jll ────────────────── v1.0.1+0
   Installed GeoInterface ──────────────── v1.3.1
   Installed Distributions ─────────────── v0.25.98
   Installed SortingAlgorithms ─────────── v1.1.1
   Installed WoodburyMatrices ──────────── v0.5.5
   Installed CRlibm ────────────────────── v1.0.1
   Installed Makie ─────────────────────── v0.19.7
  Downloaded artifact: JpegTurbo
  Downloaded artifact: x265
  Downloaded artifact: libfdk_aac
  Downloaded artifact: Opus
  Downloaded artifact: EarCut
  Downloaded artifact: Cairo
  Downloaded artifact: Fontconfig
  Downloaded artifact: Libgpg_error
  Downloaded artifact: IntelOpenMP
  Downloaded artifact: Pango
  Downloaded artifact: Bzip2
  Downloaded artifact: HarfBuzz
  Downloaded artifact: isoband
  Downloaded artifact: LZO
  Downloaded artifact: FriBidi
  Downloaded artifact: Rmath
  Downloaded artifact: x264
  Downloaded artifact: FreeType2
  Downloaded artifact: libpng
  Downloaded artifact: libaom
  Downloaded artifact: Expat
  Downloaded artifact: Imath
  Downloaded artifact: Libffi
  Downloaded artifact: Ogg
  Downloaded artifact: XSLT
  Downloaded artifact: FFTW
  Downloaded artifact: OpenSpecFun
  Downloaded artifact: OpenEXR
  Downloaded artifact: Graphite2
  Downloaded artifact: libass
  Downloaded artifact: Pixman
  Downloaded artifact: XML2
  Downloaded artifact: Gettext
  Downloaded artifact: OpenSSL
  Downloaded artifact: FFMPEG
  Downloaded artifact: Libgcrypt
  Downloaded artifact: LLVMOpenMP
  Downloaded artifact: LAME
  Downloaded artifact: Libiconv
  Downloaded artifact: Glib
  Downloaded artifact: libvorbis
  Downloaded artifact: libsixel
  Downloaded artifact: CRlibm
    Updating `~/.julia/environments/v1.9/Project.toml`
  [13f3f980] + CairoMakie v0.10.7
    Updating `~/.julia/environments/v1.9/Manifest.toml`
  [621f4979] + AbstractFFTs v1.5.0
  [398f06c4] + AbstractLattices v0.2.1
  [1520ce14] + AbstractTrees v0.4.4
  [79e6a3ab] + Adapt v3.6.2
  [27a7e980] + Animations v0.4.1
  [4fba245c] + ArrayInterface v7.4.11
⌅ [67c07d97] + Automa v0.8.3
  [13072b0f] + AxisAlgorithms v1.0.1
  [39de3d68] + AxisArrays v0.4.7
  [fa961155] + CEnum v0.4.2
  [96374032] + CRlibm v1.0.1
  [159f3aea] + Cairo v1.0.5
  [13f3f980] + CairoMakie v0.10.7
  [49dc2e85] + Calculus v0.5.1
  [d360d2e6] + ChainRulesCore v1.16.0
  [a2cac450] + ColorBrewer v0.4.0
  [35d6a980] + ColorSchemes v3.22.0
  [3da002f7] + ColorTypes v0.11.4
⌅ [c3611d14] + ColorVectorSpace v0.9.10
  [5ae59095] + Colors v0.12.10
  [861a8166] + Combinatorics v1.0.2
  [bbf7d656] + CommonSubexpressions v0.3.0
  [34da2185] + Compat v4.9.0
  [187b0558] + ConstructionBase v1.5.3
  [d38c429a] + Contour v0.6.2
  [9a962f9c] + DataAPI v1.15.0
  [864edb3b] + DataStructures v0.18.14
  [e2d170a0] + DataValueInterfaces v1.0.0
⌅ [927a84f5] + DelaunayTriangulation v0.7.2
  [163ba53b] + DiffResults v1.1.0
  [b552c78f] + DiffRules v1.15.1
  [31c24e10] + Distributions v0.25.98
  [ffbed154] + DocStringExtensions v0.9.3
  [fa6b7ba4] + DualNumbers v0.6.8
  [4e289a0a] + EnumX v1.0.4
  [90fa49ef] + ErrorfreeArithmetic v0.5.2
  [429591f6] + ExactPredicates v2.2.5
  [411431e0] + Extents v0.1.1
  [c87230d0] + FFMPEG v0.4.1
  [7a1cc6ca] + FFTW v1.7.1
  [fa42c844] + FastRounding v0.3.1
  [5789e2e9] + FileIO v1.16.1
  [1a297f60] + FillArrays v1.5.0
  [6a86dc24] + FiniteDiff v2.21.1
  [53c48c17] + FixedPointNumbers v0.8.4
  [59287772] + Formatting v0.4.2
  [f6369f11] + ForwardDiff v0.10.35
  [b38be410] + FreeType v4.0.0
  [663a7486] + FreeTypeAbstraction v0.10.0
  [46192b85] + GPUArraysCore v0.1.5
  [cf35fbd7] + GeoInterface v1.3.1
  [5c1252a2] + GeometryBasics v0.4.9
  [a2bd30eb] + Graphics v1.1.2
  [3955a311] + GridLayoutBase v0.9.1
  [42e2da0e] + Grisu v1.0.2
  [34004b35] + HypergeometricFunctions v0.3.23
  [2803e5a7] + ImageAxes v0.6.11
⌃ [c817782e] + ImageBase v0.1.5
⌅ [a09fc81d] + ImageCore v0.9.4
  [82e4d734] + ImageIO v0.6.7
  [bc367c6b] + ImageMetadata v0.9.9
  [9b13fd28] + IndirectArrays v1.0.0
  [d25df0c9] + Inflate v0.1.3
  [18e54dd8] + IntegerMathUtils v0.1.2
  [a98d9a8b] + Interpolations v0.14.7
  [d1acc4aa] + IntervalArithmetic v0.20.9
  [8197267c] + IntervalSets v0.7.7
  [92d709cd] + IrrationalConstants v0.2.2
  [f1662d9f] + Isoband v0.1.1
  [c8e1da08] + IterTools v1.8.0
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [692b3bcd] + JLLWrappers v1.4.1
  [682c06a0] + JSON v0.21.4
  [b835a17e] + JpegTurbo v0.1.3
  [5ab0869b] + KernelDensity v0.6.7
  [b964fa9f] + LaTeXStrings v1.3.0
  [8cdb02fc] + LazyModules v0.3.1
  [9c8b4983] + LightXML v0.9.0
  [d3d80556] + LineSearches v7.2.0
  [9b3f67b0] + LinearAlgebraX v0.1.12
  [2ab3a3ac] + LogExpFunctions v0.3.24
  [1914dd2f] + MacroTools v0.5.10
  [ee78f7c6] + Makie v0.19.7
  [20f20a25] + MakieCore v0.6.4
  [dbb5928d] + MappedArrays v0.4.2
  [7eb4fadd] + Match v1.2.0
  [0a4f8689] + MathTeXEngine v0.5.6
  [e1d29d7a] + Missings v1.1.0
  [7475f97c] + Mods v1.3.3
  [e94cdb99] + MosaicViews v0.3.4
  [3b2b4ff1] + Multisets v0.4.4
  [d41bc354] + NLSolversBase v7.8.3
  [77ba4419] + NaNMath v1.0.2
  [f09324ee] + Netpbm v1.1.1
  [510215fc] + Observables v0.5.4
  [6fe1bfb0] + OffsetArrays v1.12.10
  [52e1d378] + OpenEXR v0.3.2
  [429524aa] + Optim v1.7.6
  [bac558e1] + OrderedCollections v1.6.2
  [90014a1f] + PDMats v0.11.17
  [f57f5aa1] + PNGFiles v0.4.0
  [19eb6ba3] + Packing v0.5.0
  [5432bcbf] + PaddedViews v0.5.12
  [d96e819e] + Parameters v0.12.3
  [69de0a69] + Parsers v2.7.2
  [2ae35dd2] + Permutations v0.4.16
  [eebad327] + PkgVersion v0.3.2
  [995b91a9] + PlotUtils v1.3.5
  [647866c9] + PolygonOps v0.1.2
  [f27b6e38] + Polynomials v3.2.13
  [85a6dd25] + PositiveFactorizations v0.2.4
  [aea7be01] + PrecompileTools v1.1.2
  [21216c6a] + Preferences v1.4.0
  [27ebfcd6] + Primes v0.5.4
  [92933f4c] + ProgressMeter v1.7.2
  [4b34888f] + QOI v1.0.0
  [1fd47b50] + QuadGK v2.8.2
  [b3c3ace0] + RangeArrays v0.3.2
  [c84ed2f1] + Ratios v0.4.5
  [3cdcf5f2] + RecipesBase v1.3.4
  [189a3867] + Reexport v1.2.2
  [05181044] + RelocatableFolders v1.0.0
  [ae029012] + Requires v1.3.0
  [286e9d63] + RingLists v0.2.7
  [79098fc4] + Rmath v0.7.1
  [5eaf0fd0] + RoundingEmulator v0.2.1
  [fdea26ae] + SIMD v3.4.5
  [7b38b023] + ScanByte v0.4.0
  [6c6a2e73] + Scratch v1.2.0
  [3cc68bcd] + SetRounding v0.2.1
  [efcf1570] + Setfield v1.1.1
  [65257c39] + ShaderAbstractions v0.3.0
  [992d4aef] + Showoff v1.0.3
  [73760f76] + SignedDistanceFields v0.4.0
  [55797a34] + SimpleGraphs v0.8.4
  [ec83eff0] + SimplePartitions v0.3.0
  [cc47b68c] + SimplePolynomials v0.2.12
  [a6525b86] + SimpleRandom v0.3.1
  [699a6c99] + SimpleTraits v0.9.4
  [45858cf5] + Sixel v0.1.3
  [a2af1166] + SortingAlgorithms v1.1.1
  [276daf66] + SpecialFunctions v2.3.0
⌅ [c5dd0088] + StableHashTraits v0.3.1
  [cae243ae] + StackViews v0.1.1
  [90137ffa] + StaticArrays v1.6.2
  [1e83bf80] + StaticArraysCore v1.4.2
  [82ae8749] + StatsAPI v1.6.0
  [2913bbd2] + StatsBase v0.34.0
  [4c63d2b9] + StatsFuns v1.3.0
  [09ab397b] + StructArrays v0.6.15
  [3783bdb8] + TableTraits v1.0.1
  [bd369af6] + Tables v1.10.1
  [62fd8b95] + TensorCore v0.1.1
  [731e570b] + TiffImages v0.6.4
  [3bb67fe8] + TranscodingStreams v0.9.13
  [981d1d27] + TriplotBase v0.1.0
  [9d95972d] + TupleTools v1.3.0
  [3a884ed6] + UnPack v1.0.2
  [1cfade01] + UnicodeFun v0.4.1
  [efce3f68] + WoodburyMatrices v0.5.5
  [6e34b625] + Bzip2_jll v1.0.8+0
  [4e9b3aee] + CRlibm_jll v1.0.1+0
  [83423d85] + Cairo_jll v1.16.1+1
  [5ae413db] + EarCut_jll v2.2.4+0
  [2e619515] + Expat_jll v2.5.0+0
  [b22a6f82] + FFMPEG_jll v4.4.4+0
  [f5851436] + FFTW_jll v3.3.10+0
  [a3f928ae] + Fontconfig_jll v2.13.93+0
⌅ [d7e528f0] + FreeType2_jll v2.10.4+0
  [559328eb] + FriBidi_jll v1.0.10+0
  [78b55507] + Gettext_jll v0.21.0+0
  [7746bdde] + Glib_jll v2.74.0+2
  [3b182d85] + Graphite2_jll v1.3.14+0
  [2e76f6c2] + HarfBuzz_jll v2.8.1+1
  [905a6f67] + Imath_jll v3.1.7+0
  [1d5cc7b8] + IntelOpenMP_jll v2023.1.0+0
  [aacddb02] + JpegTurbo_jll v2.1.91+0
  [c1c5ebd0] + LAME_jll v3.100.1+0
  [1d63c593] + LLVMOpenMP_jll v15.0.4+0
  [dd4b983a] + LZO_jll v2.10.1+0
⌅ [e9f186c6] + Libffi_jll v3.2.2+1
  [d4300ac3] + Libgcrypt_jll v1.8.7+0
  [7add5ba3] + Libgpg_error_jll v1.42.0+0
  [94ce4f54] + Libiconv_jll v1.16.1+2
  [4b2f31a3] + Libmount_jll v2.35.0+0
  [38a345b3] + Libuuid_jll v2.36.0+0
  [856f044c] + MKL_jll v2023.1.0+0
  [e7412a2a] + Ogg_jll v1.3.5+1
  [18a262bb] + OpenEXR_jll v3.1.4+0
  [458c3c95] + OpenSSL_jll v3.0.9+0
  [efe28fd5] + OpenSpecFun_jll v0.5.5+0
  [91d4177d] + Opus_jll v1.3.2+0
  [36c8627f] + Pango_jll v1.50.9+0
  [30392449] + Pixman_jll v0.42.2+0
  [f50d1b31] + Rmath_jll v0.4.0+0
  [02c8fc9c] + XML2_jll v2.10.3+0
  [aed1982a] + XSLT_jll v1.1.34+0
  [4f6342f7] + Xorg_libX11_jll v1.8.6+0
  [0c0b7dd1] + Xorg_libXau_jll v1.0.11+0
  [a3789734] + Xorg_libXdmcp_jll v1.1.4+0
  [1082639a] + Xorg_libXext_jll v1.3.4+4
  [ea2f1a96] + Xorg_libXrender_jll v0.9.10+4
  [14d82f49] + Xorg_libpthread_stubs_jll v0.1.1+0
  [c7cfdc94] + Xorg_libxcb_jll v1.15.0+0
  [c5fb5394] + Xorg_xtrans_jll v1.5.0+0
  [9a68df92] + isoband_jll v0.2.3+0
  [a4ae2306] + libaom_jll v3.4.0+0
  [0ac62f75] + libass_jll v0.15.1+0
  [f638f0a6] + libfdk_aac_jll v2.0.2+0
  [b53b4c65] + libpng_jll v1.6.38+0
  [075b6546] + libsixel_jll v1.10.3+0
  [f27f6e37] + libvorbis_jll v1.3.7+1
  [1270edf5] + x264_jll v2021.5.5+0
  [dfaa095f] + x265_jll v3.5.0+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [8bf52ea8] + CRC32c
  [ade2ca70] + Dates
  [8ba89e20] + Distributed
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [9fa8497b] + Future
  [b77e0a4c] + InteractiveUtils
  [4af54fe1] + LazyArtifacts
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.9.2
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics v1.9.0
  [4607b0f0] + SuiteSparse
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v1.0.5+0
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.2+0
  [14a3606d] + MozillaCACerts_jll v2022.10.11
  [4536629a] + OpenBLAS_jll v0.3.21+4
  [05823500] + OpenLibm_jll v0.8.1+0
  [efcefdf7] + PCRE2_jll v10.42.0+0
  [bea87d4a] + SuiteSparse_jll v5.10.1+6
  [83775a58] + Zlib_jll v1.2.13+0
  [8e850b90] + libblastrampoline_jll v5.8.0+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
        Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
Precompiling project...
  ✗ FFMPEG
  ✗ Makie
  ✗ CairoMakie
  232 dependencies successfully precompiled in 186 seconds. 8 already precompiled.
  3 dependencies errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the packages

(@v1.9) pkg> precompile
Precompiling project...
  ✗ FFMPEG
  ✗ Makie
  ✗ CairoMakie
  0 dependencies successfully precompiled in 16 seconds. 240 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

CairoMakie [13f3f980-e62b-5c42-98c6-ff1f3baf88f0]

Failed to precompile CairoMakie [13f3f980-e62b-5c42-98c6-ff1f3baf88f0] to "/Users/forcebru/.julia/compiled/v1.9/CairoMakie/jl_B9nZhm".
ERROR: LoadError: InitError: could not load library "/Users/forcebru/.julia/artifacts/ff3aadfd4ca3ccb50156bf905841eb68157b2086/lib/libavdevice.58.13.100.dylib"
dlopen(/Users/forcebru/.julia/artifacts/ff3aadfd4ca3ccb50156bf905841eb68157b2086/lib/libavdevice.58.13.100.dylib, 1): Library not loaded: @rpath/libfreetype.6.dylib
  Referenced from: /Users/forcebru/.julia/artifacts/ff3aadfd4ca3ccb50156bf905841eb68157b2086/lib/libavdevice.58.13.100.dylib
  Reason: Incompatible library version: libavdevice.58.13.100.dylib requires version 27.0.0 or later, but libfreetype.6.dylib provides version 24.0.0
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl ./libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl ./libdl.jl:116
  [3] macro expansion
    @ ~/.julia/packages/JLLWrappers/QpMQW/src/products/library_generators.jl:54 [inlined]
  [4] __init__()
    @ FFMPEG_jll ~/.julia/packages/FFMPEG_jll/ZR3df/src/wrappers/x86_64-apple-darwin.jl:39
  [5] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1115
  [6] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base ./loading.jl:1061
  [7] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base ./loading.jl:1506
  [8] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1783
  [9] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1660
 [10] macro expansion
    @ ./loading.jl:1648 [inlined]
 [11] macro expansion
    @ ./lock.jl:267 [inlined]
 [12] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1611
 [13] include
    @ ./Base.jl:457 [inlined]
 [14] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
    @ Base ./loading.jl:2049
 [15] top-level scope
    @ stdin:3
during initialization of module FFMPEG_jll
in expression starting at /Users/forcebru/.julia/packages/FFMPEG/OUpap/src/FFMPEG.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to "/Users/forcebru/.julia/compiled/v1.9/FFMPEG/jl_hFljIY".
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base ./loading.jl:2300
  [3] compilecache
    @ ./loading.jl:2167 [inlined]
  [4] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1805
  [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1660
  [6] macro expansion
    @ ./loading.jl:1648 [inlined]
  [7] macro expansion
    @ ./lock.jl:267 [inlined]
  [8] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1611
  [9] include
    @ ./Base.jl:457 [inlined]
 [10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
    @ Base ./loading.jl:2049
 [11] top-level scope
    @ stdin:3
in expression starting at /Users/forcebru/.julia/packages/Makie/uAmck/src/Makie.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile Makie [ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a] to "/Users/forcebru/.julia/compiled/v1.9/Makie/jl_dBJTkJ".
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base ./loading.jl:2300
  [3] compilecache
    @ ./loading.jl:2167 [inlined]
  [4] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1805
  [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1660
  [6] macro expansion
    @ ./loading.jl:1648 [inlined]
  [7] macro expansion
    @ ./lock.jl:267 [inlined]
  [8] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1611
  [9] include
    @ ./Base.jl:457 [inlined]
 [10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2049
 [11] top-level scope
    @ stdin:3
in expression starting at /Users/forcebru/.julia/packages/CairoMakie/Ry75I/src/CairoMakie.jl:1
in expression starting at stdin:3

julia> 

Seems like the main culprit is libfreetype:

LoadError: InitError: could not load library "/Users/forcebru/.julia/artifacts/ff3aadfd4ca3ccb50156bf905841eb68157b2086/lib/libavdevice.58.13.100.dylib"
dlopen(/Users/forcebru/.julia/artifacts/ff3aadfd4ca3ccb50156bf905841eb68157b2086/lib/libavdevice.58.13.100.dylib, 1): Library not loaded: @rpath/libfreetype.6.dylib
  Referenced from: /Users/forcebru/.julia/artifacts/ff3aadfd4ca3ccb50156bf905841eb68157b2086/lib/libavdevice.58.13.100.dylib
  Reason: Incompatible library version: libavdevice.58.13.100.dylib requires version 27.0.0 or later, but libfreetype.6.dylib provides version 24.0.0

However, I do have the appropriate libfreetype:

~ $ otool -L /usr/local/opt/freetype/lib/libfreetype.6.dylib
/usr/local/opt/freetype/lib/libfreetype.6.dylib:
	/usr/local/opt/freetype/lib/libfreetype.6.dylib (compatibility version 27.0.0, current version 27.0.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
	/usr/local/opt/libpng/lib/libpng16.16.dylib (compatibility version 57.0.0, current version 57.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)

I guess Julia uses libfreetype from FreeType2_jll v2.10.4+0. BTW, CairoMakie causes v2.10.4 to be installed, even though v2.13.1 is available. Not sure whether this is related.


If I nuke the Julia installation and reinstall it from scratch again and then install only FFMPEG, it installs fine:

~ $ rm -rf .julia/
~ $ juliaup add release && julia +release
Installing Julia 1.9.2+0.x64.apple.darwin14
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.2 (2023-07-05)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.9) pkg> add FFMPEG
  Installing known registries into `~/.julia`
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
   Installed Libmount_jll ────────────── v2.35.0+0
   Installed libass_jll ──────────────── v0.15.1+0
   Installed libfdk_aac_jll ──────────── v2.0.2+0
   Installed Graphite2_jll ───────────── v1.3.14+0
   Installed x265_jll ────────────────── v3.5.0+0
   Installed Pixman_jll ──────────────── v0.42.2+0
   Installed FFMPEG ──────────────────── v0.4.1
   Installed XML2_jll ────────────────── v2.10.3+0
   Installed Xorg_libXext_jll ────────── v1.3.4+4
   Installed Gettext_jll ─────────────── v0.21.0+0
   Installed Xorg_xtrans_jll ─────────── v1.5.0+0
   Installed Bzip2_jll ───────────────── v1.0.8+0
   Installed Expat_jll ───────────────── v2.5.0+0
   Installed OpenSSL_jll ─────────────── v3.0.9+0
   Installed Opus_jll ────────────────── v1.3.2+0
   Installed FFMPEG_jll ──────────────── v4.4.4+0
   Installed Libgcrypt_jll ───────────── v1.8.7+0
   Installed Preferences ─────────────── v1.4.0
   Installed LLVMOpenMP_jll ──────────── v15.0.4+0
   Installed Libffi_jll ──────────────── v3.2.2+1
   Installed LAME_jll ────────────────── v3.100.1+0
   Installed Libiconv_jll ────────────── v1.16.1+2
   Installed HarfBuzz_jll ────────────── v2.8.1+1
   Installed LZO_jll ─────────────────── v2.10.1+0
   Installed Xorg_libXrender_jll ─────── v0.9.10+4
   Installed JLLWrappers ─────────────── v1.4.1
   Installed Glib_jll ────────────────── v2.74.0+2
   Installed libvorbis_jll ───────────── v1.3.7+1
   Installed FriBidi_jll ─────────────── v1.0.10+0
   Installed Ogg_jll ─────────────────── v1.3.5+1
   Installed Xorg_libpthread_stubs_jll ─ v0.1.1+0
   Installed Cairo_jll ───────────────── v1.16.1+1
   Installed XSLT_jll ────────────────── v1.1.34+0
   Installed Fontconfig_jll ──────────── v2.13.93+0
   Installed Libgpg_error_jll ────────── v1.42.0+0
   Installed x264_jll ────────────────── v2021.5.5+0
   Installed FreeType2_jll ───────────── v2.13.1+0
   Installed Xorg_libXau_jll ─────────── v1.0.11+0
   Installed Xorg_libX11_jll ─────────── v1.8.6+0
   Installed Xorg_libXdmcp_jll ───────── v1.1.4+0
   Installed Libuuid_jll ─────────────── v2.36.0+0
   Installed Xorg_libxcb_jll ─────────── v1.15.0+0
   Installed libpng_jll ──────────────── v1.6.38+0
   Installed libaom_jll ──────────────── v3.4.0+0
  Downloaded artifact: x265
  Downloaded artifact: libfdk_aac
  Downloaded artifact: Graphite2
  Downloaded artifact: Pixman
  Downloaded artifact: libass
  Downloaded artifact: XML2
  Downloaded artifact: Gettext
  Downloaded artifact: Expat
  Downloaded artifact: OpenSSL
  Downloaded artifact: Opus
  Downloaded artifact: FFMPEG
  Downloaded artifact: Bzip2
  Downloaded artifact: Libgcrypt
  Downloaded artifact: HarfBuzz
  Downloaded artifact: LLVMOpenMP
  Downloaded artifact: LAME
  Downloaded artifact: Libiconv
  Downloaded artifact: LZO
  Downloaded artifact: Libffi
  Downloaded artifact: Glib
  Downloaded artifact: libvorbis
  Downloaded artifact: FriBidi
  Downloaded artifact: Ogg
  Downloaded artifact: XSLT
  Downloaded artifact: Cairo
  Downloaded artifact: Fontconfig
  Downloaded artifact: Libgpg_error
  Downloaded artifact: x264
  Downloaded artifact: FreeType2
  Downloaded artifact: libpng
  Downloaded artifact: libaom
    Updating `~/.julia/environments/v1.9/Project.toml`
  [c87230d0] + FFMPEG v0.4.1
    Updating `~/.julia/environments/v1.9/Manifest.toml`
  [c87230d0] + FFMPEG v0.4.1
  [692b3bcd] + JLLWrappers v1.4.1
  [21216c6a] + Preferences v1.4.0
  [6e34b625] + Bzip2_jll v1.0.8+0
  [83423d85] + Cairo_jll v1.16.1+1
  [2e619515] + Expat_jll v2.5.0+0
  [b22a6f82] + FFMPEG_jll v4.4.4+0
  [a3f928ae] + Fontconfig_jll v2.13.93+0
  [d7e528f0] + FreeType2_jll v2.13.1+0
  [559328eb] + FriBidi_jll v1.0.10+0
  [78b55507] + Gettext_jll v0.21.0+0
  [7746bdde] + Glib_jll v2.74.0+2
  [3b182d85] + Graphite2_jll v1.3.14+0
  [2e76f6c2] + HarfBuzz_jll v2.8.1+1
  [c1c5ebd0] + LAME_jll v3.100.1+0
  [1d63c593] + LLVMOpenMP_jll v15.0.4+0
  [dd4b983a] + LZO_jll v2.10.1+0
⌅ [e9f186c6] + Libffi_jll v3.2.2+1
  [d4300ac3] + Libgcrypt_jll v1.8.7+0
  [7add5ba3] + Libgpg_error_jll v1.42.0+0
  [94ce4f54] + Libiconv_jll v1.16.1+2
  [4b2f31a3] + Libmount_jll v2.35.0+0
  [38a345b3] + Libuuid_jll v2.36.0+0
  [e7412a2a] + Ogg_jll v1.3.5+1
  [458c3c95] + OpenSSL_jll v3.0.9+0
  [91d4177d] + Opus_jll v1.3.2+0
  [30392449] + Pixman_jll v0.42.2+0
  [02c8fc9c] + XML2_jll v2.10.3+0
  [aed1982a] + XSLT_jll v1.1.34+0
  [4f6342f7] + Xorg_libX11_jll v1.8.6+0
  [0c0b7dd1] + Xorg_libXau_jll v1.0.11+0
  [a3789734] + Xorg_libXdmcp_jll v1.1.4+0
  [1082639a] + Xorg_libXext_jll v1.3.4+4
  [ea2f1a96] + Xorg_libXrender_jll v0.9.10+4
  [14d82f49] + Xorg_libpthread_stubs_jll v0.1.1+0
  [c7cfdc94] + Xorg_libxcb_jll v1.15.0+0
  [c5fb5394] + Xorg_xtrans_jll v1.5.0+0
  [a4ae2306] + libaom_jll v3.4.0+0
  [0ac62f75] + libass_jll v0.15.1+0
  [f638f0a6] + libfdk_aac_jll v2.0.2+0
  [b53b4c65] + libpng_jll v1.6.38+0
  [f27f6e37] + libvorbis_jll v1.3.7+1
  [1270edf5] + x264_jll v2021.5.5+0
  [dfaa095f] + x265_jll v3.5.0+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.9.2
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v1.0.5+0
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.2+0
  [14a3606d] + MozillaCACerts_jll v2022.10.11
  [efcefdf7] + PCRE2_jll v10.42.0+0
  [83775a58] + Zlib_jll v1.2.13+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  45 dependencies successfully precompiled in 24 seconds. 4 already precompiled.

(@v1.9) pkg> st
Status `~/.julia/environments/v1.9/Project.toml`
  [c87230d0] FFMPEG v0.4.1

Running add CairoMakie after add FFMPEG installs CairoMakie v0.6.2. Installation succeeds, but v0.6.2 is extremely outdated:

(@v1.9) pkg> st --outdated
Status `~/.julia/environments/v1.9/Project.toml`
⌃ [13f3f980] CairoMakie v0.6.2 (<v0.10.7)

Running update downgrades FreeType2, and precompilation fails again:

...
  [3a884ed6] + UnPack v1.0.2
  [4e9b3aee] + CRlibm_jll v1.0.1+0
⌅ [d7e528f0] ↓ FreeType2_jll v2.13.1+0 ⇒ v2.10.4+0
  [905a6f67] + Imath_jll v3.1.7+0
  [aacddb02] + JpegTurbo_jll v2.1.91+0
...

Software versions involved

  • macOS 10.15.7
  • CairoMakie v0.6.2 ⇒ v0.10.7
  • FreeType2_jll v2.13.1+0 ⇒ v2.10.4+0
  • FreeType v3.0.1 ⇒ v4.0.0
julia> versioninfo()
Julia Version 1.9.2
Commit e4ee485e909 (2023-07-05 09:39 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin22.4.0)
  CPU: 4 × Intel(R) Core(TM) i5-3330S CPU @ 2.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, ivybridge)
  Threads: 1 on 4 virtual cores
Environment:
  JULIA_IMAGE_THREADS = 1
@ForceBru ForceBru added the bug label Aug 2, 2023
@SimonDanisch
Copy link
Member

Could this be related: #3028 ?
@eschnett, could this be due to JuliaPackaging/Yggdrasil#7141?

@ForceBru
Copy link
Author

ForceBru commented Aug 2, 2023

Could this be related: #3028 ?

The logs I get only show FFMPEG v0.4.1, which is the latest version, while in that issue FFMPEG v0.2.4 breaks stuff and FFMPEG v0.4.1 is listed as the "good version". However, indeed, this seems to be related to FFMPEG...

BTW, Plots.jl installs FFMPEG v0.4.1 as well (along with FreeType2_jll v2.13.1+0), but everything precompiles fine.

However, Plots installs FFMPEG_jll v4.4.2+2, and Pkg says it can be updated:

(@v1.10) pkg> st --outdated -m
Status `~/.julia/environments/v1.10/Manifest.toml`
⌃ [b22a6f82] FFMPEG_jll v4.4.2+2 (<v4.4.4+0)
⌅ [e9f186c6] Libffi_jll v3.2.2+1 (<v3.4.4+0): Glib_jll, HarfBuzz_jll, Wayland_jll
⌅ [458c3c95] OpenSSL_jll v1.1.21+0 (<v3.0.9+0): FFMPEG_jll, Qt6Base_jll
⌅ [214eeab7] fzf_jll v0.29.0+0 (<v0.35.1+0): JLFzf

...yet up -m doesn't update anything. Anyway, Plots works fine with the latest version of FreeType2_jll, while Makie wants v2.10.4+0 and fails to precompile.

@SimonDanisch
Copy link
Member

Huh, maybe we haven't updated the compat: https://github.com/JuliaGraphics/FreeType.jl/blob/master/Project.toml#L11C21-L11C21

@giordano
Copy link

giordano commented Aug 5, 2023

Fixed by JuliaPackaging/Yggdrasil#7164

@giordano
Copy link

giordano commented Aug 5, 2023

@3f6a
Copy link

3f6a commented Aug 28, 2023

I am having a probably related issue. At first I thought it could be related to vscode REPL, so I opened an issue there: julia-vscode/julia-vscode#3386 (see link for error trace).

But actually in another project on the vscode REPL I got Makie working fine. So there is some issue with that particular project, some particular combination of dependencies, I'm not sure what.

@t-bltg
Copy link
Collaborator

t-bltg commented Aug 28, 2023

@36a, after updating FreeType, is your issue fixed ?

@3f6a
Copy link

3f6a commented Aug 28, 2023

Unfortunately, it's not.

@t-bltg
Copy link
Collaborator

t-bltg commented Aug 28, 2023

Can you post the error and the manifest ?

@3f6a
Copy link

3f6a commented Aug 28, 2023

It's tricky. It happens in a stacked environment. If I have Makie as a explicit dependency of my project, there is no error. However if I load Makie without it being a direct dependency of my project (so it's loaded from the stacked global env), it fails with this error (same as the OP)

Any ideas? Not sure how to provide more info here.

@SimonDanisch
Copy link
Member

I think we need to move this to Julia, since this is unlikely a makie issue...

@giordano
Copy link

Did you cut a new release after JuliaGraphics/FreeType.jl#45?

@giordano
Copy link

I think we need to move this to Julia

I don't see how that's a Julia issue. It'd be more useful to know the version of the packages in @3f6a's environment (well, mainly FreeType2_jll and FFMPEG_jll)

@SimonDanisch
Copy link
Member

SimonDanisch commented Aug 28, 2023

Yes, but sadly only 2 hours ago... @ForceBru @3f6a can you try again?

@3f6a
Copy link

3f6a commented Aug 28, 2023

@SimonDanisch I have updated and as far as I can tell, I should have the freshly registered FreeType 4.1.0.

@giordano As I said getting the versions is a bit tricky because the issue only happens when I try to load Makie through the stacked env (and thus these versions are not listed in Manifest). Anyhow, here is the full error stacktrace I get: https://gist.github.com/3f6a/7e631cc863131afc58a08f870d66bcae. You can see there it's attempting to load FFMPEG_jll here:

@ FFMPEG_jll ~/.julia/packages/FFMPEG_jll/OCtN5/src/wrappers/aarch64-apple-darwin.jl:39

So I looked into FFMPEG_jll/OCtN5/Project.toml, the version I see there is version = "4.4.2+2". There is no mention of FreeType2_jll, so I don't know about that. Hope that's helpful?

@giordano
Copy link

So I looked into FFMPEG_jll/OCtN5/Project.toml

The project file isn't much helpful, we need the manifest.

the version I see there is version = "4.4.2+2". There is no mention of FreeType2_jll, so I don't know about that. Hope that's helpful?

Not much.

@3f6a
Copy link

3f6a commented Aug 28, 2023

Here is the manifest of my active project (note this does not mention Makie, FFMPEG, ..., which come from the global env): https://gist.github.com/3f6a/7e631cc863131afc58a08f870d66bcae#file-manifest-toml

Here is the manifest of my global environment (.julia/environments/v1.9/Manifest.toml): https://gist.github.com/3f6a/7e631cc863131afc58a08f870d66bcae#file-manifest-global-toml.

@cossio
Copy link
Contributor

cossio commented Aug 30, 2023

I am seeing this error too. I have setup a small example at https://github.com/cossio/JuliaStackedEnvFFMPEGIssue. Can someone try it out and see if they have the error too? Probably has to be on Mac with Apple Silicon.

The issue seems to happen in a stacked environment. In the linked repo, there is a parent environment which has Makie installed. Then the error is triggered by trying to load Makie from the nested environment at the subdirectory child_env.

@giordano
Copy link

You can't possibly get an error about

  Reason: Incompatible library version: libavdevice.58.13.100.dylib requires version 27.0.0 or later, but libfreetype.6.dylib provides version 24.0.0

if you use FreeType2_jll 2.13.1, since FreeType2_jll 2.13.1 does provide libfreetype.6.dylib with compat version 27.0.0

@cossio
Copy link
Contributor

cossio commented Aug 30, 2023

You're right, I have a different error. You think it's unrelated? Should I open a new issue?
I have added my error message here: https://github.com/cossio/JuliaStackedEnvFFMPEGIssue/blob/main/error.txt

@giordano
Copy link

I have added my error message here: cossio/JuliaStackedEnvFFMPEGIssue@main/error.txt

You do have OpenSSL 1.1 in your environment, I don't know what we should have to do more.

@cossio
Copy link
Contributor

cossio commented Aug 30, 2023

You do have OpenSSL 1.1 in your environment

That's in the parent environment. If I try to load Makie from the parent environment, it works.
Maybe when child_env is active, something different happens.

@giordano
Copy link

I don't know how package resolution works with stacked environments, that might be a different error then (maybe in Pkg?).

@cossio
Copy link
Contributor

cossio commented Aug 30, 2023

I have simplified the stacked environments, now I have only a combination of FFMPEG_jll, Git_jll, and HDF5_jll (see https://github.com/cossio/JuliaStackedEnvFFMPEGIssue). Makie is not involved. I will open a separate issue in Pkg or Julia.

Issue opened: JuliaLang/julia#51115

@ForceBru
Copy link
Author

Yes, but sadly only 2 hours ago... @ForceBru @3f6a can you try again?

Everything seems to be working fine for me. I upgraded FreeType2_jll from v2.10.4+0 to v2.13.1+0, CairoMakie works fine, as it did after this, I think:

Fixed by JuliaPackaging/Yggdrasil#7164

However, I'm not using any stacked environments and don't really know what they are, so maybe it's specific to this kind of env.

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

6 participants