Opened 14 months ago

Closed 6 months ago

#67039 closed request (fixed)

bazel: update available to 6.0.0

Reported by: kickingvegas (Charles Choi) Owned by: missa-prime (Mohamed Issa)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: bazel

Description (last modified by kencu (Ken))

In MacPorts, the current version of bazel is at 4.2.2 <https://ports.macports.org/port/bazel/details/>

However, the current release of bazel is at 6.0.0 as of 2023-03-04. <https://github.com/bazelbuild/bazel/releases/tag/6.0.0>

Request is to please update bazel to 6.0.0 on MacPorts.

In particular this is driven by desire to support building swiftlint <https://github.com/realm/SwiftLint> using tools from MacPorts which in this case, includes bazel.

Change History (7)

comment:1 Changed 14 months ago by kencu (Ken)

Description: modified (diff)
Keywords: bazel removed
Summary: Update bazel to 6.0.0bazel: update available to 6.0.0

comment:2 Changed 14 months ago by jmroot (Joshua Root)

Owner: set to missa-prime
Status: newassigned

comment:3 Changed 13 months ago by kickingvegas (Charles Choi)

Any updates?

comment:4 Changed 12 months ago by herbygillot (Herby Gillot)

Resolution: fixed
Status: assignedclosed

Bazel has been updated to 6.1.2 for about a week at this point: https://ports.macports.org/port/bazel/

comment:5 Changed 12 months ago by kickingvegas (Charles Choi)

Resolution: fixed
Status: closedreopened

Hello! While I appreciate the update of the Bazel port, I think it would be prudent to update its dependencies which are quite old as well. Currently it is set as follows:

--->  Computing dependencies for bazel
The following dependencies will be installed: 
 openjdk11-zulu
 python27
 python2_select

Reopending this ticket to update its dependencies. Thank you for your efforts!

comment:6 Changed 12 months ago by herbygillot (Herby Gillot)

According to the Bazel documentation ( https://bazel.build/install/compile-source ), JDK 11 is required:

2.1. Install the prerequisites

- Bash

- zip, unzip

- C++ build toolchain

- JDK. Version 11 is required.

- Python. Versions 2 and 3 are supported, installing one of them is enough.

Also in bazel's Portfile, it's indicated that both Python 2 and 3 are required.

comment:7 Changed 6 months ago by herbygillot (Herby Gillot)

Resolution: fixed
Status: reopenedclosed

In 3bdbe95fe4fa669fe86e521fd85f5e51c1f088f2/macports-ports (master):

bazel: update to 6.4.0

  • remove Python 2
  • add @herbygillot as co-maintainer

Fixes: #67039

Note: See TracTickets for help on using tickets.