Julia master build failing with "static_assert failed"

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

    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"
./julia_internal.h:374:13: note: expanded from macro 'jl_perm_symsvec'

What am I doing wrong?

Pull and try again. When External Method Tables by Keno · Pull Request #39697 · JuliaLang/julia · GitHub 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 until it can be fixed.

1 Like

Nice catch, I filed External Method Tables: Fixup by jpsamaroo · Pull Request #40866 · JuliaLang/julia · GitHub with the appropriate fix.