Unable to set up development environment due to outdated Makefile

Bug #1542774 reported by Simon Quigley
This bug report is a duplicate of:  Bug #1490784: make run broken. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LoCo Team Portal
Confirmed
Undecided
Unassigned

Bug Description

I tried to use the instructions in the INSTALL file to get my development environment set up, but it fails when I try to run make init.

simon@semantic:~/gitworkspace/loco-team-portal$ make init
virtualenv --clear --no-site-packages --python=/usr/bin/python env
Running virtualenv with interpreter /usr/bin/python
Not deleting env/bin
New python executable in env/bin/python
Installing setuptools, pip...done.
wget http://python-distribute.org/distribute_setup.py
--2016-02-06 22:25:47-- http://python-distribute.org/distribute_setup.py
Resolving python-distribute.org (python-distribute.org)... 103.224.182.250
Connecting to python-distribute.org (python-distribute.org)|103.224.182.250|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ww43.python-distribute.org/distribute_setup.py [following]
--2016-02-06 22:25:48-- http://ww43.python-distribute.org/distribute_setup.py
Resolving ww43.python-distribute.org (ww43.python-distribute.org)... 192.64.147.152
Connecting to ww43.python-distribute.org (ww43.python-distribute.org)|192.64.147.152|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-02-06 22:25:48 ERROR 404: Not Found.

Makefile:13: recipe for target 'env' failed
make: *** [env] Error 8

My guess is this is an outdated file specified in the Makefile or one of the configuration files somewhere.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

First problem is the 404. You can substitute
https://bitbucket.org/tarek/distribute/raw/f18396c6e1875476279d8bbffd8e6dadcc695136/distribute_setup.py
for the given location of distribute_setup hardcoded into the Makefile and you'll get a bit farther but not much:

Downloading/unpacking vobject==0.8.1c (from -r requirements/prod.txt (line 18))
  Downloading vobject-0.8.1c.zip (85kB): 85kB downloaded
  Running setup.py (path:/home/wxl/dev/bzr/loco-team-portal/env/build/vobject/setup.py) egg_info for package vobject
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
    IOError: [Errno 2] No such file or directory: '/home/wxl/dev/bzr/loco-team-portal/env/build/vobject/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

IOError: [Errno 2] No such file or directory: '/home/wxl/dev/bzr/loco-team-portal/env/build/vobject/setup.py'

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/wxl/dev/bzr/loco-team-portal/env/build/vobject
Storing debug log for failure in /home/wxl/.pip/pip.log
make: *** [env] Error 1

Changed in loco-team-portal:
status: New → Confirmed
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

(as an aside, it seems distribute is deprecated, but that's for another bug)

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Next problem: when installing requirements/prod.txt, there's a location fail as env/build does not exist. Digging a little bit deeper, it seems that pip has no problem grabbing an appropriate version and other modules seem to set up fine running out of env/build, so I'm a little confused.

Revision history for this message
Adnane Belmadiaf (daker) wrote :

Upgrading to vobject==0.8.2 should fix the issue

Revision history for this message
Pablo Rubianes (pablorubianes-uy) wrote : Re: [Bug 1542774] Re: Unable to set up development environment due to outdated Makefile

I have already submit a fix for this but i Will get back from holidays on
wed

On Mon, Feb 8, 2016, 08:55 Adnane Belmadiaf <email address hidden>
wrote:

> Upgrading to vobject==0.8.2 should fix the issue
>
> --
> You received this bug notification because you are a member of Ubuntu
> LoCo Council, which is subscribed to the bug report.
> https://bugs.launchpad.net/bugs/1542774
>
> Title:
> Unable to set up development environment due to outdated Makefile
>
> Status in LoCo Team Portal:
> Confirmed
>
> Bug description:
> I tried to use the instructions in the INSTALL file to get my
> development environment set up, but it fails when I try to run make
> init.
>
> simon@semantic:~/gitworkspace/loco-team-portal$ make init
> virtualenv --clear --no-site-packages --python=/usr/bin/python env
> Running virtualenv with interpreter /usr/bin/python
> Not deleting env/bin
> New python executable in env/bin/python
> Installing setuptools, pip...done.
> wget http://python-distribute.org/distribute_setup.py
> --2016-02-06 22:25:47--
> http://python-distribute.org/distribute_setup.py
> Resolving python-distribute.org (python-distribute.org)...
> 103.224.182.250
> Connecting to python-distribute.org (python-distribute.org)|103.224.182.250|:80...
> connected.
> HTTP request sent, awaiting response... 302 Found
> Location: http://ww43.python-distribute.org/distribute_setup.py
> [following]
> --2016-02-06 22:25:48--
> http://ww43.python-distribute.org/distribute_setup.py
> Resolving ww43.python-distribute.org (ww43.python-distribute.org)...
> 192.64.147.152
> Connecting to ww43.python-distribute.org (ww43.python-distribute.org)|192.64.147.152|:80...
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2016-02-06 22:25:48 ERROR 404: Not Found.
>
> Makefile:13: recipe for target 'env' failed
> make: *** [env] Error 8
>
> My guess is this is an outdated file specified in the Makefile or one
> of the configuration files somewhere.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/loco-team-portal/+bug/1542774/+subscriptions
>

Revision history for this message
Pablo Rubianes (pablorubianes-uy) wrote :

https://code.launchpad.net/~pablorubianes-uy/loco-team-portal/1490784

On Mon, Feb 8, 2016 at 10:39 AM Pablo Rubianes <email address hidden>
wrote:

> I have already submit a fix for this but i Will get back from holidays on
> wed
>
> On Mon, Feb 8, 2016, 08:55 Adnane Belmadiaf <email address hidden>
> wrote:
>
>> Upgrading to vobject==0.8.2 should fix the issue
>>
>> --
>> You received this bug notification because you are a member of Ubuntu
>> LoCo Council, which is subscribed to the bug report.
>> https://bugs.launchpad.net/bugs/1542774
>>
>> Title:
>> Unable to set up development environment due to outdated Makefile
>>
>> Status in LoCo Team Portal:
>> Confirmed
>>
>> Bug description:
>> I tried to use the instructions in the INSTALL file to get my
>> development environment set up, but it fails when I try to run make
>> init.
>>
>> simon@semantic:~/gitworkspace/loco-team-portal$ make init
>> virtualenv --clear --no-site-packages --python=/usr/bin/python env
>> Running virtualenv with interpreter /usr/bin/python
>> Not deleting env/bin
>> New python executable in env/bin/python
>> Installing setuptools, pip...done.
>> wget http://python-distribute.org/distribute_setup.py
>> --2016-02-06 22:25:47--
>> http://python-distribute.org/distribute_setup.py
>> Resolving python-distribute.org (python-distribute.org)...
>> 103.224.182.250
>> Connecting to python-distribute.org (python-distribute.org)|103.224.182.250|:80...
>> connected.
>> HTTP request sent, awaiting response... 302 Found
>> Location: http://ww43.python-distribute.org/distribute_setup.py
>> [following]
>> --2016-02-06 22:25:48--
>> http://ww43.python-distribute.org/distribute_setup.py
>> Resolving ww43.python-distribute.org (ww43.python-distribute.org)...
>> 192.64.147.152
>> Connecting to ww43.python-distribute.org (ww43.python-distribute.org)|192.64.147.152|:80...
>> connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2016-02-06 22:25:48 ERROR 404: Not Found.
>>
>> Makefile:13: recipe for target 'env' failed
>> make: *** [env] Error 8
>>
>> My guess is this is an outdated file specified in the Makefile or one
>> of the configuration files somewhere.
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/loco-team-portal/+bug/1542774/+subscriptions
>>
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.