[Sugar-devel] Fwd: osbuild throws error in Python import statement

Marion Zepf marion.zepf at gmail.com
Sat Jun 22 18:16:18 EDT 2013


Thank you for letting me know.  I downgraded automake to 1.11 in the
meantime and that fixed it.


2013/6/22 Daniel Narvaez <dwnarvaez at gmail.com>

> As we discussed in irc you had an unofficial automake package installed. I
> made some unrelated changes and now I would expect the build to work even
> if that's the case.
>
>
> On Friday, 21 June 2013, Daniel Narvaez wrote:
>
>> Oh you seem to have automake 1.13.2 installed. Ubuntu 13.04 has 1.11
>> though. Did you install it yourself somewhere on the path?
>>
>>
>> On 21 June 2013 15:23, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
>>
>>> Weird. Are you fully updated? (apt-get update, apt-get dist-upgrade).
>>>
>>>
>>> On 20 June 2013 01:58, Marion Zepf <marion.zepf at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> When I try to build sugar with the osbuild command, I get:
>>>>  /usr/bin/install -c -m 644 __init__.py types.py module.py importer.py
>>>> pygtkcompat.py
>>>> '/bigrepos/sugar-labs/sugar-build/build/out/install/lib/python2.7/site-packages/gi'
>>>> Traceback (most recent call last):
>>>>   File "/usr/lib/python2.7/site.py", line 68, in <module>
>>>>     import os
>>>>   File "/usr/lib/python2.7/os.py", line 49, in <module>
>>>>     import posixpath as path
>>>>   File "/usr/lib/python2.7/posixpath.py", line 17, in <module>
>>>>     import warnings
>>>>   File "/usr/lib/python2.7/warnings.py", line 8, in <module>
>>>>     import types
>>>>   File "./types.py", line 27, in <module>
>>>>     from . import _gobject
>>>> ValueError: Attempted relative import in non-package
>>>>
>>>> Further up it says:
>>>> Command failed: make install
>>>>
>>>> I already tried cleaning everything with
>>>> git clean -df
>>>> git reset --hard
>>>> ./osbuild clean
>>>> but it did not help.
>>>>
>>>> I'm attaching the complete log (console output) and
>>>> build/logs/main.log.  Thanks in advance for your help!
>>>>
>>>> Marion
>>>>
>>>> _______________________________________________
>>>> Sugar-devel mailing list
>>>> Sugar-devel at lists.sugarlabs.org
>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>
>>>>
>>>
>>>
>>> --
>>> Daniel Narvaez
>>>
>>
>>
>>
>> --
>> Daniel Narvaez
>>
>
>
> --
> Daniel Narvaez
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130623/467b2003/attachment.html>


More information about the Sugar-devel mailing list