Skip to content

Can't compile gitea #32036

Closed
Closed
@somera

Description

@somera

Description

I try to compile gitea 1.22.2 (5e36e9f - (HEAD, tag: v1.22.2) Add changelog for 1.22.2 (#31935) (vor 8 Tagen) ) from source. https://docs.gitea.com/installation/install-from-source

I get this

make build

...

go: downloading github.com/kevinburke/ssh_config v1.2.0
go: downloading github.com/skeema/knownhosts v1.2.2
go: downloading github.com/xanzy/ssh-agent v0.3.3
go: downloading github.com/cloudflare/circl v1.3.7
package command-line-arguments
        imports flag
        imports fmt
        imports internal/fmtsort
        imports reflect
        imports iter: build constraints exclude all Go files in /usr/local/go/src/iter
modules/charset/escape.go:4: running "go": exit status 1
make: *** [Makefile:781: generate-go] Error 1

error.

My tools:

  • go version go1.22.7 linux/amd64
  • node v21.1.0
  • npm 10.2.0
  • GNU Make 4.3

Gitea Version

1.22.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.46.0

Operating System

Ubuntu 22.04.5 LTS (GNU/Linux 6.8.0-40-generic x86_64)

How are you running Gitea?

Just try to compile

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detail

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions