Skip to content

Can't build with Zig master #1147

Closed
Closed

Description

@yerlaser

Zig Version

0.11.0-dev.2680+a1aa55ebe

Zig Language Server Version

825cbd2

Steps to Reproduce

Run zig build -Doptimize=ReleaseSafe or zig build

Expected Behavior

ZLS should build.

Actual Behavior

Error message: error: EndOfStream

Activity

  1. added
    bug
    on Apr 20, 2023
  2. kassane commented on Apr 20, 2023

    @kassane

    Same error!!

  3. leecannon commented on Apr 20, 2023

    @leecannon
    Member

    Same here but works with zig 0.11.0-dev.2666+1e207f1ed
    Upstream zig issue: ziglang/zig#15376

  4. benbot commented on Apr 24, 2023

    @benbot

    A rough git bisect tells me that the first commit with this issue is a78950c

  5. SuperAuguste commented on Apr 24, 2023

    @SuperAuguste
    Member

    @benbot this is not an issue with zls but rather with Zig (see the mentioned Zig issue)

  6. leecannon commented on Apr 26, 2023

    @leecannon
    Member

    The upstream issue (ziglang/zig#15376) has been resolved.

    I am not at a computer can someone see if this issue is resolved. @yerlaser @kassane

    note: at time of writing the master zig tarball will not contain the fix

  7. BratishkaErik commented on Apr 26, 2023

    @BratishkaErik
    Contributor

    The upstream issue (ziglang/zig#15376) has been resolved.

    I am not at a computer can someone see if this issue is resolved. @yerlaser @kassane

    note: at time of writing the master zig tarball will not contain the fix

    It builds fine on my Gentoo system, so I guess yes? Just updated Zig to master.

  8. leecannon commented on Apr 26, 2023

    @leecannon
    Member
  9. yerlaser commented on Apr 26, 2023

    @yerlaser
    Author

    Just tried with 0.11.0-dev.2777+b95cdf0ae and the issue persists.
    I pulled the latest changes and removed zig-cache but it didn't help.

  10. BratishkaErik commented on Apr 26, 2023

    @BratishkaErik
    Contributor

    Just tried with 0.11.0-dev.2777+b95cdf0ae and the issue persists. I pulled the latest changes and removed zig-cache but it didn't help.

    That's not a latest version, latest is 0.11.0-dev.2835+7285eedcd. I think you downloaded tarball from Ziglang.org website?

  11. yerlaser commented on Apr 26, 2023

    @yerlaser
    Author

    Yep. Should I build from sources instead?

  12. BratishkaErik commented on Apr 26, 2023

    @BratishkaErik
    Contributor

    Yep. Should I build from sources instead?

    Yes, or you'll need to wait until tarballs will be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions