[MacPorts] #32963: depot_tools: gclient doesn't work, port installs files without tracking

MacPorts noreply at macports.org
Fri Jan 20 13:23:08 PST 2012


#32963: depot_tools: gclient doesn't work, port installs files without tracking
-----------------------------------------+----------------------------------
 Reporter:  singingwolfboy@…             |       Owner:  snc@…           
     Type:  defect                       |      Status:  new             
 Priority:  Normal                       |   Milestone:                  
Component:  ports                        |     Version:  2.0.3           
 Keywords:                               |        Port:  depot_tools     
-----------------------------------------+----------------------------------
 On trying to use `gclient` from the `depot_tools` port to check out the
 code for `page-speed`, I get this:
 {{{
 $ gclient config http://page-speed.googlecode.com/svn/lib/trunk/src
 Traceback (most recent call last):
   File "/opt/local/bin/gclient.py", line 72, in <module>
     from third_party import colorama
 ImportError: cannot import name colorama
 }}}

 In investigating this, I discovered that depot_tools leaves files on disk
 that Macports doesn't know about:

 {{{
 $ port provides /opt/local/bin/third_party
 /opt/local/bin/third_party is provided by: depot_tools
 $ port provides /opt/local/bin/third_party/upload.py
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/third_party/upload.py
 is not provided by a MacPorts port.
 }}}

 It's also generally poor organization to leave dependencies in the bin
 directory. It doesn't appear that the depot_tools project is organized in
 a way that Macports can install it cleanly. :/

-- 
Ticket URL: <https://trac.macports.org/ticket/32963>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list