[Bug 272414] net/google-cloud-sdk: instacrash in 426.0.0 and later

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 07 Jul 2023 14:44:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272414

            Bug ID: 272414
           Summary: net/google-cloud-sdk: instacrash in 426.0.0 and later
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: asomers@FreeBSD.org
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

google-cloud-sdk version 426.0.0 added this line, which immediately crashes
when running almost any command, because platforms.py doesn't have any
definition for FreeBSD.

https://github.com/twistedpair/google-cloud-sdk/commit/59a95bafaddd85614f04e890f437451ee1b946be#diff-c9fdd196a4a0d3f74b672072e0044bac24c27969a54af489581645d0dbd5104cR628

The crash looks like this:

ERROR: gcloud crashed (AttributeError): 'NoneType' object has no attribute
'clean_version'

The attached patch fixes the problem.  I can't figure out any way to report
this bug upstream.  Perhaps you can?

-- 
You are receiving this mail because:
You are the assignee for the bug.