Opened 13 years ago

Closed 13 years ago

#32963 closed defect (fixed)

depot_tools: gclient doesn't work, port installs files without tracking

Reported by: singingwolfboy@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: depot_tools

Description

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. :/

Change History (2)

comment:1 Changed 13 years ago by nerdling (Jeremy Lavergne)

I am considering removing the port since, as you rightly point out, it wants to stand alone from everything else and manage itself.

comment:2 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

The port was removed in r89991.

Note: See TracTickets for help on using tickets.