# Julia master build failing with "static\_assert failed"

**URL:** https://discourse.julialang.org/t/julia-master-build-failing-with-static-assert-failed/61384
**Category:** Internals & Design
**Created:** [May 18, 2021, 6:13pm UTC](https://discourse.julialang.org/t/julia-master-build-failing-with-static-assert-failed/61384 "2021-05-18T18:13:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [May 18, 2021, 6:13pm UTC](https://discourse.julialang.org/t/julia-master-build-failing-with-static-assert-failed/61384/1 "2021-05-18T18:13:14Z")

</div>

I tried rebuilding my `master` branch today (on macOS 10.15.7) and it failed with:

```nohighlight
    CC src/jltypes.o
/............../julia/src/jltypes.c:2294:25: error: static_assert
      failed due to requirement '25 == sizeof ((char *[26]){"name", "module",
      "file", "line", "primary_world", "deleted_world", "sig",
      "specializations", "speckeyset", "slot_syms", "external_mt", "source",
      "unspecialized", "generator", "roots", "ccallable", "invokes",
      "recursion_relation", "nargs", "called", "nospecialize", "nkw", "isva",
      "pure", "is_for_opaque_closure", "aggressive_constprop"}) / sizeof(char
      *)' "Number of passed arguments does not match expected number"
                        jl_perm_symsvec(25,
                        ^ ~~~~~~~~~~~~~~~~~~./julia_internal.h:374:13: note: expanded from macro 'jl_perm_symsvec'
            static_assert(     

```

What am I doing wrong?

---

<div class="post-metadata">

### Author: ![imcinerney](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/imcinerney/32/9882_2.png) [@imcinerney](https://discourse.julialang.org/u/imcinerney)
#### Post date: [May 18, 2021, 10:57pm UTC](https://discourse.julialang.org/t/julia-master-build-failing-with-static-assert-failed/61384/2 "2021-05-18T22:57:50Z")

</div>

Pull and try again. When [https://github.com/JuliaLang/julia/pull/39697](https://github.com/JuliaLang/julia/pull/39697) was merged it ended up breaking the build, so it was reverted a few hours ago in [Revert "External Method Tables" by vtjnash · Pull Request #40862 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/pull/40862) until it can be fixed.

---

<div class="post-metadata">

### Author: ![jpsamaroo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jpsamaroo/32/46804_2.png) [@jpsamaroo](https://discourse.julialang.org/u/jpsamaroo)
#### Post date: [May 19, 2021, 12:41am UTC](https://discourse.julialang.org/t/julia-master-build-failing-with-static-assert-failed/61384/3 "2021-05-19T00:41:47Z")

</div>

Nice catch, I filed [External Method Tables: Fixup by jpsamaroo · Pull Request #40866 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/pull/40866) with the appropriate fix.
