From owner-freebsd-ports-bugs@freebsd.org Tue Apr 10 21:27:25 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FBA9F9ADAB for ; Tue, 10 Apr 2018 21:27:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9A7C481F16 for ; Tue, 10 Apr 2018 21:27:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5ADD6F9AD9B; Tue, 10 Apr 2018 21:27:24 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33907F9AD9A for ; Tue, 10 Apr 2018 21:27:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD45C81F12 for ; Tue, 10 Apr 2018 21:27:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 054B4158D0 for ; Tue, 10 Apr 2018 21:27:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3ALRMrN044086 for ; Tue, 10 Apr 2018 21:27:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3ALRMMI044085 for ports-bugs@FreeBSD.org; Tue, 10 Apr 2018 21:27:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 227431] net/google-cloud-sdk: Does not delete all files on uninstall/upgrade causing 'unexpected keyword argument 'release_notes_url'' error Date: Tue, 10 Apr 2018 21:27:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: samorders@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: swills@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2018 21:27:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227431 Bug ID: 227431 Summary: net/google-cloud-sdk: Does not delete all files on uninstall/upgrade causing 'unexpected keyword argument 'release_notes_url'' error Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: swills@FreeBSD.org Reporter: samorders@gmail.com Assignee: swills@FreeBSD.org Flags: maintainer-feedback?(swills@FreeBSD.org) It seems that the google-cloud-sdk port does not delete all files when uninstalled which can cause upgraded versions to not work. At least that is= my experience when I upgraded from 183 to 194, I could not get 194 to work and subsequent upgrades to 195 and 196 would not work either. However, after deleting /usr/local/google-cloud-sdk and reinstalling it works fine. ---------------------- test:/tmp # gsutil Traceback (most recent call last): File "/usr/local/bin/../google-cloud-sdk/bin/bootstrapping/gsutil.py", li= ne 12, in import bootstrapping File "/usr/local/google-cloud-sdk/bin/bootstrapping/bootstrapping.py", li= ne 15, in from googlecloudsdk.core import config File "/usr/local/google-cloud-sdk/lib/googlecloudsdk/core/config.py", line 387, in File "/usr/local/google-cloud-sdk/lib/googlecloudsdk/core/config.py", line 314, in Load def logs_dir(self): TypeError: __init__() got an unexpected keyword argument 'release_notes_url' test:/tmp # pkg delete -y google-cloud-sdk Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packag= es in the universe): Installed packages to be REMOVED: google-cloud-sdk-196.0.0 Number of packages to be removed: 1 The operation will free 84 MiB. [1/1] Deinstalling google-cloud-sdk-196.0.0... [1/1] Deleting files for google-cloud-sdk-196.0.0: 100% test:/tmp # pkg install -y google-cloud-sdk Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: google-cloud-sdk: 196.0.0 Number of packages to be installed: 1 The process will require 84 MiB more space. [1/1] Installing google-cloud-sdk-196.0.0... [1/1] Extracting google-cloud-sdk-196.0.0: 100% test:/tmp # gsutil Traceback (most recent call last): File "/usr/local/bin/../google-cloud-sdk/bin/bootstrapping/gsutil.py", li= ne 12, in import bootstrapping File "/usr/local/google-cloud-sdk/bin/bootstrapping/bootstrapping.py", li= ne 15, in from googlecloudsdk.core import config File "/usr/local/google-cloud-sdk/lib/googlecloudsdk/core/config.py", line 387, in File "/usr/local/google-cloud-sdk/lib/googlecloudsdk/core/config.py", line 314, in Load def logs_dir(self): TypeError: __init__() got an unexpected keyword argument 'release_notes_url' test:/tmp # pkg delete -y google-cloud-sdk Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packag= es in the universe): Installed packages to be REMOVED: google-cloud-sdk-196.0.0 Number of packages to be removed: 1 The operation will free 84 MiB. [1/1] Deinstalling google-cloud-sdk-196.0.0... [1/1] Deleting files for google-cloud-sdk-196.0.0: 100% test:/tmp # ls -al /usr/local/google-cloud-sdk/ total 20 drwxr-xr-x 5 root wheel 1024 Apr 10 21:12 . drwxr-xr-x 15 root wheel 512 Oct 31 16:43 .. drwxr-xr-x 3 root wheel 512 Apr 10 21:12 bin drwxr-xr-x 4 root wheel 512 Apr 10 21:12 lib drwxr-xr-x 3 root wheel 512 Apr 10 21:12 platform test:/tmp # rm -r /usr/local/google-cloud-sdk=20 test:/tmp # pkg install -y google-cloud-sdk Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: google-cloud-sdk: 196.0.0 Number of packages to be installed: 1 The process will require 84 MiB more space. [1/1] Installing google-cloud-sdk-196.0.0... [1/1] Extracting google-cloud-sdk-196.0.0: 100% test:/tmp # gsutil Updates are available for some Cloud SDK components. To install them, please run: $ gcloud components update Usage: gsutil [-D] [-DD] [-h header]... [-m] [-o] [-q] [command [opts...] args...] Available commands: acl Get, set, or change bucket and/or object ACLs cat Concatenate object content to stdout compose Concatenate a sequence of objects into a new composite object. config Obtain credentials and create configuration file cors Get or set a CORS JSON document for one or more buckets cp Copy files and objects defacl Get, set, or change default ACL on buckets defstorageclass Get or set the default storage class on buckets du Display object size usage hash Calculate file hashes help Get help about commands and topics iam Get, set, or change bucket and/or object IAM permissions. kms Configure Cloud KMS encryption label Get, set, or change the label configuration of a bucket. lifecycle Get or set lifecycle configuration for a bucket logging Configure or retrieve logging on buckets ls List providers, buckets, or objects mb Make buckets mv Move/rename objects and/or subdirectories notification Configure object change notification perfdiag Run performance diagnostic rb Remove buckets requesterpays Enable or disable requester pays for one or more buckets rewrite Rewrite objects rm Remove objects rsync Synchronize content of two buckets/directories setmeta Set metadata on already uploaded objects signurl Create a signed url stat Display object status test Run gsutil unit/integration tests (for developers) update Update to the latest gsutil release version Print version info about gsutil versioning Enable or suspend versioning for one or more buckets web Set a main page and/or error page for one or more buckets Additional help topics: acls Working With Access Control Lists anon Accessing Public Data Without Credentials apis Cloud Storage APIs crc32c CRC32C and Installing crcmod creds Credential Types Supporting Various Use Cases dev Contributing Code to gsutil test:/tmp # ---------------------- --=20 You are receiving this mail because: You are the assignee for the bug.=