Opened 5 years ago

Closed 5 years ago

#59332 closed defect (worksforme)

bazel26 fails to build

Reported by: gjaeger (Gregor Jäger) Owned by: RootFunction
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: catalina Cc: cjones051073 (Chris Jones)
Port: bazel26

Description

bazel26 fails to build during the process of port py36-tensorflow

Attachments (2)

main.log (1.3 MB) - added by gjaeger (Gregor Jäger) 5 years ago.
main.2.log (1.3 MB) - added by gjaeger (Gregor Jäger) 5 years ago.

Change History (10)

Changed 5 years ago by gjaeger (Gregor Jäger)

Attachment: main.log added

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Cc: cjones051073 added

comment:2 Changed 5 years ago by cjones051073 (Chris Jones)

It looks like you might have have an issue with your local Xcode installation.

Please run

xcode-select --install

to make sure you have fully updated the CLTs.

also, to be sure, then please try starting the main Xcode application (I usually do this just to make sure there are no other pending questions / tasks it needs to do).

Then, run

xcode-select -p

to make sure it points to the correct Xcode installation.

Then try a clean rebuild of bazel26.

comment:3 Changed 5 years ago by gjaeger (Gregor Jäger)

I use Xcode 11.1 (11A1027) and i have fully updated the CLTs. xcode-select -ppoints to the correct Xcode installation (/Applications/Xcode.app/Contents/Developer).

---> Building bazel26
Error: Failed to build bazel26: command execution failed

Changed 5 years ago by gjaeger (Gregor Jäger)

Attachment: main.2.log added

comment:4 Changed 5 years ago by cjones051073 (Chris Jones)

hmmmm. can you try something, edit the bazel portfile and try reverting the bazel26 build back to use openjdk12 ? I recently updated both bazel and bazel26 to use openjdk13. bazel built fine, but I may not have fully tested bazel26... I cannot do this myself right now as I won't be infront of my 10.15 machine until this evening.

comment:5 Changed 5 years ago by cjones051073 (Chris Jones)

OK, I cannot reproduce this. Builds fine for me on macOS10.15 + Xcode 11.1 (and also other OSes). so openjdk13 is not the problem.

It still looks to me from your log you have an issue with your Xcode installation. I am afraid you are going to have to investigate this yourself, if need be perhaps contact the upstream bazel developers for help.

comment:6 Changed 5 years ago by gjaeger (Gregor Jäger)

Xcode has been reinstalled or updated. Xcode can be used without problems.

Independently of that, I said goodbye to MacPorts this week. After updating to Catalina, updating MacPort only caused problems. I've posted a few here. With Homebrew the setup was possible without any problems and I can work again.

comment:7 Changed 5 years ago by gjaeger (Gregor Jäger)

We can close this issue.

comment:8 Changed 5 years ago by cjones051073 (Chris Jones)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.