[Bug 238122] sysutils/py-google-compute-engine: put back boto dependency in python 2 case

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 25 21:45:30 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238122

            Bug ID: 238122
           Summary: sysutils/py-google-compute-engine: put back boto
                    dependency in python 2 case
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: swills at FreeBSD.org
                CC: lucas.kanashiro at collabora.com
                CC: lucas.kanashiro at collabora.com
             Flags: maintainer-feedback?(lucas.kanashiro at collabora.com)

Created attachment 204606
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204606&action=edit
patch to depend on boto in python 2 case

Seems the package now fails at startup with:

Starting google_instance_setup.                                                 
Traceback (most recent call last):                                              
  File "/usr/local/bin/google_instance_setup-2.7", line 6, in <module>          
    from pkg_resources import load_entry_point                                  
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3241, in <module>                                                               
    @_call_aside                                                                
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3225, in _call_aside                                                            
    f(*args, **kwargs)                                                          
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3254, in _initialize_master_working_set                                         
    working_set = WorkingSet._build_master()                                    
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
583, in _build_master                                                           
    ws.require(__requires__)                                                    
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
900, in require                                                                 
    needed = self.resolve(parse_requirements(requirements))                     
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
786, in resolve                                                                 
    raise DistributionNotFound(req, requirers)                                  
pkg_resources.DistributionNotFound: The 'boto' distribution was not found and
is required by google-compute-engine                                            
/etc/rc: WARNING: failed to start google_instance_setup               

I think the attached patch should fix it.

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


More information about the freebsd-ports-bugs mailing list