← Back to team overview

launchpad-dev team mailing list archive

Re: make schema doesn't work

 

On Sat, Sep 12, 2009 at 5:11 PM, Florian Effenberger <floeff@xxxxxxxxx> wrote:
> Hello,
>

Hello & welcome,

> I'm fairly new to LaunchPad, but I wanted to set up my own instance
> locally for hosting projects. I've followed the documentation in the
> wiki, but unfortunately, at the point of "make schema" things don't
> seem to work anymore:
>
> ==
> utilities/shhh.py PYTHONPATH= python2.4 bootstrap.py\
>                --ez_setup-source=ez_setup.py \
>                --download-base=download-cache/dist --eggs=eggs
> The found YUI root isn't valid:
> /home/lpad/launchpad/lp-branches/devel/lib/canonical/launchpad/icing/yui/3.0.0pr2/build
> utilities/shhh.py make -C sourcecode build PYTHON=python2.4 \
>            PYTHON_VERSION=2.4 LPCONFIG=development
> utilities/shhh.py LPCONFIG=development
> /home/lpad/launchpad/lp-branches/devel/bin/py -t buildmailman.py
> Traceback (most recent call last):
>  File "buildmailman.py", line 197, in ?
>    return_code = main()
>  File "buildmailman.py", line 192, in main
>    return build_mailman()
>  File "buildmailman.py", line 98, in build_mailman
>    retcode = subprocess.call(configure_args, cwd=mailman_source)
>  File "/usr/lib/python2.4/subprocess.py", line 414, in call
>    return Popen(*args, **kwargs).wait()
>  File "/usr/lib/python2.4/subprocess.py", line 544, in __init__
>    errread, errwrite)
>  File "/usr/lib/python2.4/subprocess.py", line 987, in _execute_child
>    raise child_exception
> OSError: [Errno 2] No such file or directory: 'sourcecode/mailman'
> make: *** [compile] Fehler 1
> ==
>
> The directory /home/lpad/launchpad/lp-branches/devel/lib/canonical/launchpad/icing/yui/3.0.0pr2/build
> doesn't seem to exist. I've also tried downloading the .tar.gz
> sourcecode, but no luck either. :-(
>

The error is occurring with this command:
    /home/lpad/launchpad/lp-branches/devel/bin/py -t buildmailman.py

Specifically, it looks like the following directory ought to exist, but doesn't:
    /home/lpad/launchpad/lp-branches/devel/sourcecode/mailman

I don't know why it doesn't exist, but here are some things to try:
    * run ./utilities/rocketfuel-get

    * if you've already got a copy of the Launchpad branch of mailman,
along with the other source dependencies, run
./utilities/link-external-sourcecode /path/to/sourcedeps

After trying either or both of those, run 'make schema' again.

Since this looks to be a local configuration problem, you might prefer
to get help on #launchpad-dev on Freenode. That way the
question/answer process will be a lot faster.

Hope this helps,
jml



Follow ups

References