# GitHub Actions: Cairo fails to build

**URL:** <https://discourse.julialang.org/t/github-actions-cairo-fails-to-build/61826>\
**Category:** Tooling\
**Created:** [May 26, 2021, 1:08am UTC](https://discourse.julialang.org/t/github-actions-cairo-fails-to-build/61826 "2021-05-26T01:08:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MA\_Laforge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ma_laforge/32/385_2.png) [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)\
**Post date:** [May 26, 2021, 1:08am UTC](https://discourse.julialang.org/t/github-actions-cairo-fails-to-build/61826/1 "2021-05-26T01:08:02Z")

</div>

Can’t figure out why. There appears to be issues compiling `HarfBuzz_jll` , `Pango_jll` , then eventually `Cairo`.

Here is a link to a sample run demonstrating this issue:  
 → [https://github.com/ma-laforge/InspectDR.jl/runs/2670296369?check\_suite\_focus=true](https://github.com/ma-laforge/InspectDR.jl/runs/2670296369?check_suite_focus=true)

Results/failures:

- ✅ (passes) Julia 1.3 (ubuntu, windows, macos)
- ✅ (passes) Julia 1/nightly (ubuntu)
- ❌ (fails) Julia 1/nightly (windows)
- ❌ (fails) Julia 1/nightly (macos)

I tried mirroring what I saw in the ci.yml files of Gtk.jl & Cairo.jl:

- actions/cache@v1 → v2
- julia-actions/julia-buildpkg@v1 → latest
- julia-actions/julia-runtest@v1 → latest

But it didn’t appear to help.

### Worked 2 months ago

Before Julia v1.6 was released. Actually, my [last working CI run](https://github.com/ma-laforge/InspectDR.jl/runs/2197103640?check_suite_focus=true) from 2 months ago seems to have just made a successful execution on a Julia v1.6.0 release.

### Any idea what is causing this issue?

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [May 26, 2021, 8:02am UTC](https://discourse.julialang.org/t/github-actions-cairo-fails-to-build/61826/2 "2021-05-26T08:02:30Z")

</div>

I think this problem is quite recent - [Cairo artifacts issues · Issue #154 · JuliaGraphics/Luxor.jl · GitHub](https://github.com/JuliaGraphics/Luxor.jl/issues/154)

Something amiss with the artifacts apparently.

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [May 26, 2021, 9:30am UTC](https://discourse.julialang.org/t/github-actions-cairo-fails-to-build/61826/3 "2021-05-26T09:30:15Z")

</div>

Try again now

---

<div class="post-metadata">

**Author:** ![MA\_Laforge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ma_laforge/32/385_2.png) [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)\
**Post date:** [May 26, 2021, 3:13pm UTC](https://discourse.julialang.org/t/github-actions-cairo-fails-to-build/61826/4 "2021-05-26T15:13:05Z")

</div>

Everything works now. Thanks!
