Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67882 - [bazel] version string displayed is wrong: 3.4.1-

Attached to Project: Community Packages
Opened by soloturn (soloturn) - Saturday, 12 September 2020, 21:08 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 14 September 2020, 06:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Konstantin Gizdov (kgizdov)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
bazel --vethrsion gives a wrong string, 3.4.1-

this confuses e.g. the gerrit build:

$ bazel
ERROR: The project you're trying to build requires Bazel 3.4.1 (specified in /src/gerrit/.bazelversion), but it wasn't found in /usr/bin.

$ bazel --version
bazel 3.4.1- (@non-git)

This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 14 September 2020, 06:10 GMT
Reason for closing:  Fixed
Comment by loqs (loqs) - Monday, 14 September 2020, 03:55 GMT
Please try building bazel with the attached diff applied to the PKGBUILD which sets the version to $pkgver.
Edit:
To build 3.5.0 requires applying:
https://github.com/bazelbuild/bazel/commit/c8e8fd7b713cd9df1c460ea2b40cb40a369a6e3a.patch
https://github.com/bazelbuild/bazel/commit/5bf6eddd729064d90113087b1bbd81e3e1b8cec5.patch
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 14 September 2020, 06:10 GMT
Thanks loqs!

Loading...