• The build failure is in zsh-5.1.1, which is 9 years old. Your version of Fedora is likely newer than that with a newer GCC. I’d suggest updating the version of zsh to something newer, it might have fixed that build error already.


    score 1 · canonical

    • lobsters__andyc@crustaceanson.theshelf.topOPM
      link
      fedilink
      arrow-up
      1
      ·
      19 days ago

      Yeah I suspected that and actually tried it

      https://github.com/oilshell/oil/blob/master/deps/source.medo/zsh/WEDGE#L23

        # Fedora has a conflict with zsh/Src/Modules/termcap.c and
        # /usr/include/term.h
        # Happens from zsh 5.1.1 all the way to zsh 5.9.
        # This doesn't happen on Debian/Ubuntu.
      

      I’m strongly suspecting something is weird about the sourcehut Fedora VM image, because there are not only compile errors in new zsh, but also new bash and MyPy typed_ast

      For now, it’s not urgent, but I guess I will wait until a Fedora user wants to contribute. Or until our Nix support is fixed up, so Fedora users can presumably use it


      score 1 · canonical