Closed mmoya closed 1 month ago
thanks for the report. can you share what environment you are running on ? Seems like the .tgz distro on arch linux? Also share the command line arguments and I'll help to repro .
Hi @tonymet
I really needed gcloud
working for $WORK thus debugging capability time was pragmatically limited. First thing I did was to install stock gcloud
and it exposed the same problem.
Then I started to remove "suspicious" packages until it worked, bruteforcing basically. These packages were uninstalled:
[ALPM] removed python-proto-plus (1.24.0-1)
[ALPM] removed python-google-api-core (2.18.0-2)
[ALPM] removed python-google-auth (2.30.0-1)
[ALPM] removed python-oauth2client (4.1.3-10)
[ALPM] removed python-httplib2 (0.22.0-5)
[ALPM] removed python-pyparsing (3.1.2-2)
[ALPM] removed python-rsa (4.9-4)
[ALPM] removed python-pyasn1-modules (0.3.0-2)
[ALPM] removed python-pyasn1 (0.5.1-1)
[ALPM] removed python-cachetools (5.3.2-3)
[ALPM] removed python-googleapis-common-protos (1.63.0-2)
[ALPM] removed crun (1.15-1)
[ALPM] removed yajl (2.1.0-6)
[ALPM] removed catt (0.12.12-1)
[ALPM] removed yt-dlp (2024.07.09-1)
[ALPM] removed criu (3.19-1)
[ALPM] removed python-pychromecast (14.0.1-1)
[ALPM] removed python-protobuf (27.2-1)
[ALPM] removed python-casttube (0.2.1-4)
the second batch was reverse dependencies of python-protobuf
, I think it's the culprit.
After that I was able to build google-cloud-cli-lite 483.0.0
and the build itself was an indicator that I got out of the dependency hell. I installed the new package and call it a day.
Closing because it's something very environment specific.
Thanks
thanks for reporting this issue and following up.
Running
gcloud
is failing with the following error:I haven't looked deep enough but I'm willing to help with debugging. They're some recommendations of installing
python-proto-plus>=1.24
as a fix.I've tested it locallly, installing
python-proto-plus==1.24
and the problem persists. From the backtrace it seems this distribution hasproto
vendored so installing anything is useless.Would like to raise the issue to see if anyone else is able to reproduce.
Thanks