Skip to content

Can not build anymore since version 1.9.0 #7997

Closed
@ecsgh

Description

@ecsgh
  • Gitea version (or commit ref): 1.9.2
  • Git version:2.16.4
  • Operating system: openSUSE Leap 15.1, openSUSE Leap 15.0, openSUSE Tumbleweed
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

A build using opensuse build service and also local is not possible.
First I want to build gitea in the opensuse build service.
But this fails, because the build process would like to load different packages from github, even though the files actually exist in the vendor directory of the source. The buildservice does not allow external sources to be downloaded during the build process.
Up to version 1.8.2 the build worked without problems.
As of version 1.9.0, this is no longer possible.
Even a build directly does not work. I first download the 1.9.2 release. Unzip the source and change to the directory. then I do the following:
TAGS = "bindata" make generate all
It then appears:
github.com/klauspost/compress/gzip
github.com/blevesearch/bleve/index/scorch
make: *** [Makefile: 315: gitea] Error 1

Why are the files in the vendor directory no longer used?
What do I have to do to reuse it so that I can recreate a package using opensuse buid service?

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