Opened 4 years ago
Closed 4 years ago
#66946 closed defect (fixed)
bazel-3.7 @3.7.2_1: build fails on Ventura, no python
| Reported by: | kencu (Ken) | Owned by: | missa-prime (Mohamed Issa) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | ventura | Cc: | cjones051073 (Chris Jones) |
| Port: | bazel-3.7 |
Description
Execution platform: //:default_host_platform env: python: No such file or directory Target //src:bazel_nojdk failed to build
Attachments (1)
Change History (5)
Changed 4 years ago by kencu (Ken)
| Attachment: | bazel-fail.log added |
|---|
comment:1 Changed 4 years ago by kencu (Ken)
| Port: | bazel-3.7 added; bazel removed |
|---|---|
| Summary: | bazel @4.2.2: build fails on Ventura, no python → bazel-3.7 @3.7.2_1: build fails on Ventura, no python |
comment:2 Changed 4 years ago by kencu (Ken)
comment:3 Changed 4 years ago by kencu (Ken)
yeah, that fixes both of the current ones:
% port -v installed | grep bazel bazel @4.2.2_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2023-02-18T09:05:52-0800' bazel-3.7 @3.7.2_1 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2023-02-18T08:53:12-0800'
as this port is broken and this is super-trivial, I'll just push that fix.
comment:4 Changed 4 years ago by kencu (Ken)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

this trivial little tweak fixes it:
% git diff diff --git a/devel/bazel/Portfile b/devel/bazel/Portfile index 95711397ded..522bb470dae 100644 --- a/devel/bazel/Portfile +++ b/devel/bazel/Portfile @@ -209,6 +209,7 @@ post-extract { file mkdir ${workpath}/bin ln -s ${prefix}/bin/python${py2ver} ${workpath}/bin/python2 ln -s ${prefix}/bin/python${py3ver} ${workpath}/bin/python3 + ln -s ${prefix}/bin/python${py3ver} ${workpath}/bin/python } if {${os.platform} eq "darwin" && ${os.major} < 16} {