Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jul 2019 14:37:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238785] sysutils/py-google-compute-engine: Some GCE packages fill the logs with an error message
Message-ID:  <bug-238785-7788-nY2ZCMMFn3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238785-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238785-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238785

--- Comment #7 from Mage <mage@mage.gold> ---
There are multiple problems.

I think it might be dependencies. For example, I managed to uninstall
py27-boto-2.49.0 using pkg autoremove.

I=E2=80=99m not sure, how. I think it happened after I removed google-cloud=
-sdk.

I removed py27-google-compute-engine, then reinstalled it with pkg. It did =
not
install the py27-boto, but provided me an error message and quit at startup.

I tried to migrate to py36-google-compute-engine. It also does not install
py36-boto, and quits after displaying this:


  File "/usr/local/bin/google_accounts_daemon-3.6", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", =
line
3191, in <module>
    @_call_aside
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", =
line
3175, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", =
line
3204, in _initialize_master_working_set
    working_set =3D WorkingSet._build_master()
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", =
line
583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", =
line
900, in require
    needed =3D self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", =
line
786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'boto' distribution was not found a=
nd
is required by google-compute-engine


I believe the dependencies of both py27-google-compute-engine and
py36-google-compute-engine are messed up. Not requiring boto is another iss=
ue,
not the one that made me open this ticket.=20

Most likely, I removed another pkg with autoremove between January 2019 and
now, wich breaks py27-google-compute-engine.

I think someone should review its dependencies.

The above was all about the pkg versions. Now I=E2=80=99m going to try fixi=
ng it with
ports.

By the way, I upgraded the testing servers that I created for this issue to
FreeBSD 12. It didn=E2=80=99t help.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238785-7788-nY2ZCMMFn3>