Skip to content

[Bug] cannot build on windows #938

Closed

Description

@adlternative
Image

I'm trying to integrate zoekt into gitea, but I've discovered that zoekt cannot build on Windows.
The main issue is undefined: unix.Umask, which breaks the Windows build. I've noticed that zoekt may no longer support Windows. Is there a way to include zoekt via go.mod without actually building it on Windows, and instead notify users that zoekt functionality is disabled on Windows platforms?

https://github.com/go-gitea/gitea/actions/runs/14326331838/job/40152410749?pr=33850

Activity

  1. linear commented on Apr 9, 2025

    @linear
  2. Alligator-1 commented on Apr 9, 2025

    @Alligator-1

    Very strange, but I also complained not so long ago about Windows support, but now I can't find this issue here in the list as open or closed... Strange... do the admins wipe inconvenient messages?

  3. Alligator-1 commented on Apr 9, 2025

    @Alligator-1

    Ah, no, sorry👉👈😊 ) I found
    It wasn't in an issue, it was in the PullRequest discussion
    #909 (comment)

  4. adlternative commented on Apr 13, 2025

    @adlternative
    ContributorAuthor

    Ah, no, sorry👉👈😊 ) I found It wasn't in an issue, it was in the PullRequest discussion #909 (comment)

    Yes, I also noticed this PR, but it seems the original author hasn't responded to it yet.

  5. keegancsmith commented on Apr 13, 2025

    @keegancsmith
    Member

    I need to review this change and make sure if it actually makes sense to support, but this is some minimal effort of adding windows support back. I don't have a windows machine to test on, can you try it out? #941

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions