[Sugar-devel] Problem when building a module

Ajay Garg ajay at activitycentral.com
Sat Dec 29 07:18:47 EST 2012


Thanks Daniel for the response.

On Sat, Dec 29, 2012 at 5:30 PM, Daniel Narvaez <dwnarvaez at gmail.com> wrote:

> Hey,
>
> thanks for looking into this. I'm away from my laptop for a few days...
> Could you please commit the fix (I added you as committer)? Perhaps use two
> separate lines instead of the comma, to match the style of the rest of the
> code.
>

Commit done at
http://git.sugarlabs.org/sugar-build/sugar-build/commit/39ac72f314dc408f4f7c878ccbf61d629f3cca0a
after making the change to match the styling :)



> Btw, not sure what you are doing exactly but these days you don't normally
> need to build a specific module... Both make run and make build will figure
> out which modules are changed and build just those.
>

I just happened to download the new, much-cleaner sugar-build today, and
was just playing around :)




>
> On Saturday, 29 December 2012, Ajay Garg wrote:
>
>> Ahhh.. never-mind...
>>
>> replacing
>> ""from devbot import main""
>>
>> by
>> "from devbot import main, build"
>>
>> in "commands/build" did the trick !!!
>>
>>
>>
>> On Sat, Dec 29, 2012 at 4:49 PM, Ajay Garg <ajay at activitycentral.com>wrote:
>>
>>> Hi.
>>>
>>> I cloned the latest code for sugar-build architecture; and I then tried
>>> to (just) build "sugar".
>>> I ran "make build-sugar"; however, I am getting the error ::
>>>
>>>
>>> ###########################################################################
>>> [ajay at localhost sugar-build]$ make build-sugar
>>> Traceback (most recent call last):
>>>   File "/home/ajay/doosra/commands/build", line 17, in <module>
>>>     if not build.build_one(args.module):
>>> NameError: name 'build' is not defined
>>> make: *** [build-sugar] Error 1
>>>
>>> ###########################################################################
>>>
>>>
>>> Any ideas how the issue may be solved?
>>>
>>>
>>>
>>> Regards,
>>>
>>> Ajay Garg
>>> Dextrose Developer
>>> Activity Central: http://activitycentral.com
>>
>>
>>
>>
>> --
>> Regards,
>>
>> Ajay Garg
>> Dextrose Developer
>> Activity Central: http://activitycentral.com
>
>
>
> --
> Daniel Narvaez
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


Regards,

Ajay Garg
Dextrose Developer
Activity Central: http://activitycentral.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20121229/bcb77de1/attachment-0001.html>


More information about the Sugar-devel mailing list