All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake error?
@ 2010-10-28 13:18 Jaap de Jong
  2010-10-29  1:51 ` James Ronald
  0 siblings, 1 reply; 18+ messages in thread
From: Jaap de Jong @ 2010-10-28 13:18 UTC (permalink / raw)
  To: openembedded-devel

I'm probably totally stupid...
What am doing wrong?
(I'm working on a fresh unstable branch)
When I bitbake I get:

MACHINE=at91sam9263ek  bitbake u-boot
Traceback (most recent call last):
   File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 143, in 
<module>
     main()
   File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 123, in 
main
     cooker.parseConfiguration()
   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 
68, in parseConfiguration
     self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 
402, in parseConfigurationFile
     bb.fetch.fetcher_init(self.configuration.data)
   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/fetch/__init__.py", 
line 93, in fetcher_init
     pd = persist_data.PersistData(d)
   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/persist_data.py", 
line 52, in __init__
     bb.mkdirhier(self.cachedir)
   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 
133, in mkdirhier
     debug(3, "mkdirhier(%s)" % dir)
   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 
103, in debug
     bb.msg.debug(lvl, None, ''.join(args))
   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/msg.py", line 100, 
in debug
     bb.event.fire(MsgDebug(msg, None))
   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/event.py", line 67, 
in fire
     if tmpHandler(event) == Handled:
   File "tmpHandler(e)", line 8, in tmpHandler
NameError: global name 'msg' is not defined




^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error?
  2010-10-28 13:18 bitbake error? Jaap de Jong
@ 2010-10-29  1:51 ` James Ronald
  2010-10-29  9:33   ` Pierluigi Passaro
  0 siblings, 1 reply; 18+ messages in thread
From: James Ronald @ 2010-10-29  1:51 UTC (permalink / raw)
  To: openembedded-devel

Jaap de Jong <jaap.dejong <at> nedap.com> writes:

> 
> I'm probably totally stupid...
> What am doing wrong?
> (I'm working on a fresh unstable branch)
> When I bitbake I get:
> 
> MACHINE=at91sam9263ek  bitbake u-boot
> Traceback (most recent call last):
>    File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 143, in 
> <module>
>      main()
>    File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 123, in 
> main
>      cooker.parseConfiguration()
>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 
> 68, in parseConfiguration
>      self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 
> 402, in parseConfigurationFile
>      bb.fetch.fetcher_init(self.configuration.data)
>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/fetch/__init__.py", 
> line 93, in fetcher_init
>      pd = persist_data.PersistData(d)
>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/persist_data.py", 
> line 52, in __init__
>      bb.mkdirhier(self.cachedir)
>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 
> 133, in mkdirhier
>      debug(3, "mkdirhier(%s)" % dir)
>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 
> 103, in debug
>      bb.msg.debug(lvl, None, ''.join(args))
>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/msg.py", line 100, 
> in debug
>      bb.event.fire(MsgDebug(msg, None))
>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/event.py", line 67, 
> in fire
>      if tmpHandler(event) == Handled:
>    File "tmpHandler(e)", line 8, in tmpHandler
> NameError: global name 'msg' is not defined
> 

I'm getting the exact same error. I'm new to OE and just going through the 
Getting started wiki entry. Ubuntu 10.04 installing bitbake via apt-get install 
bitbake.

bitbake --version 
BitBake Build Tool Core version 1.8.18, bitbake version 1.8.18
  
OE is current as of a few minutes ago.

jr@ubuntu-xpc:~/oe/build$ bitbake nano
Traceback (most recent call last):
  File "/usr/bin/bitbake", line 143, in <module>
    main()
  File "/usr/bin/bitbake", line 123, in main
    cooker.parseConfiguration()
  File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 67, in 
parseConfiguration
    self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
  File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 401, in 
parseConfigurationFile
    bb.fetch.fetcher_init(self.configuration.data)
  File "/usr/lib/pymodules/python2.6/bb/fetch/__init__.py", line 93, in 
fetcher_init
    pd = persist_data.PersistData(d)
  File "/usr/lib/pymodules/python2.6/bb/persist_data.py", line 52, in __init__
    bb.mkdirhier(self.cachedir)
  File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 133, in mkdirhier
    debug(3, "mkdirhier(%s)" % dir)
  File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 103, in debug
    bb.msg.debug(lvl, None, ''.join(args))
  File "/usr/lib/pymodules/python2.6/bb/msg.py", line 100, in debug
    bb.event.fire(MsgDebug(msg, None))
  File "/usr/lib/pymodules/python2.6/bb/event.py", line 67, in fire
    if tmpHandler(event) == Handled:
  File "tmpHandler(e)", line 8, in tmpHandler
NameError: global name 'msg' is not defined

- Jim 




^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error?
  2010-10-29  1:51 ` James Ronald
@ 2010-10-29  9:33   ` Pierluigi Passaro
  2010-10-29 15:20     ` James Ronald
  0 siblings, 1 reply; 18+ messages in thread
From: Pierluigi Passaro @ 2010-10-29  9:33 UTC (permalink / raw)
  To: openembedded-devel

Not sure this is the best solution, but I solved same issue using latest 
bitbake 1.10.1 downloaded from

http://download.berlios.de/bitbake/bitbake-1.10.1.tar.gz


James Ronald wrote:
> Jaap de Jong <jaap.dejong <at> nedap.com> writes:
>
>   
>> I'm probably totally stupid...
>> What am doing wrong?
>> (I'm working on a fresh unstable branch)
>> When I bitbake I get:
>>
>> MACHINE=at91sam9263ek  bitbake u-boot
>> Traceback (most recent call last):
>>    File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 143, in 
>> <module>
>>      main()
>>    File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 123, in 
>> main
>>      cooker.parseConfiguration()
>>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 
>> 68, in parseConfiguration
>>      self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
>>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 
>> 402, in parseConfigurationFile
>>      bb.fetch.fetcher_init(self.configuration.data)
>>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/fetch/__init__.py", 
>> line 93, in fetcher_init
>>      pd = persist_data.PersistData(d)
>>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/persist_data.py", 
>> line 52, in __init__
>>      bb.mkdirhier(self.cachedir)
>>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 
>> 133, in mkdirhier
>>      debug(3, "mkdirhier(%s)" % dir)
>>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 
>> 103, in debug
>>      bb.msg.debug(lvl, None, ''.join(args))
>>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/msg.py", line 100, 
>> in debug
>>      bb.event.fire(MsgDebug(msg, None))
>>    File "/media/OpenEmbedded/unstable/bitbake/lib/bb/event.py", line 67, 
>> in fire
>>      if tmpHandler(event) == Handled:
>>    File "tmpHandler(e)", line 8, in tmpHandler
>> NameError: global name 'msg' is not defined
>>
>>     
>
> I'm getting the exact same error. I'm new to OE and just going through the 
> Getting started wiki entry. Ubuntu 10.04 installing bitbake via apt-get install 
> bitbake.
>
> bitbake --version 
> BitBake Build Tool Core version 1.8.18, bitbake version 1.8.18
>   
> OE is current as of a few minutes ago.
>
> jr@ubuntu-xpc:~/oe/build$ bitbake nano
> Traceback (most recent call last):
>   File "/usr/bin/bitbake", line 143, in <module>
>     main()
>   File "/usr/bin/bitbake", line 123, in main
>     cooker.parseConfiguration()
>   File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 67, in 
> parseConfiguration
>     self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
>   File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 401, in 
> parseConfigurationFile
>     bb.fetch.fetcher_init(self.configuration.data)
>   File "/usr/lib/pymodules/python2.6/bb/fetch/__init__.py", line 93, in 
> fetcher_init
>     pd = persist_data.PersistData(d)
>   File "/usr/lib/pymodules/python2.6/bb/persist_data.py", line 52, in __init__
>     bb.mkdirhier(self.cachedir)
>   File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 133, in mkdirhier
>     debug(3, "mkdirhier(%s)" % dir)
>   File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 103, in debug
>     bb.msg.debug(lvl, None, ''.join(args))
>   File "/usr/lib/pymodules/python2.6/bb/msg.py", line 100, in debug
>     bb.event.fire(MsgDebug(msg, None))
>   File "/usr/lib/pymodules/python2.6/bb/event.py", line 67, in fire
>     if tmpHandler(event) == Handled:
>   File "tmpHandler(e)", line 8, in tmpHandler
> NameError: global name 'msg' is not defined
>
> - Jim 
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>   



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error?
  2010-10-29  9:33   ` Pierluigi Passaro
@ 2010-10-29 15:20     ` James Ronald
  2010-10-30 10:16       ` Jaap de Jong
  0 siblings, 1 reply; 18+ messages in thread
From: James Ronald @ 2010-10-29 15:20 UTC (permalink / raw)
  To: openembedded-devel

Pierluigi,

Thanks! Installing bitbake-1.10.1 fixed my problem.

- Jim

On Fri, Oct 29, 2010 at 5:33 AM, Pierluigi Passaro
<pierluigi.passaro@phoenixsoftware.it> wrote:
>
> Not sure this is the best solution, but I solved same issue using latest bitbake 1.10.1 downloaded from
>
> http://download.berlios.de/bitbake/bitbake-1.10.1.tar.gz
>
>
> James Ronald wrote:
>>
>> Jaap de Jong <jaap.dejong <at> nedap.com> writes:
>>
>>
>>>
>>> I'm probably totally stupid...
>>> What am doing wrong?
>>> (I'm working on a fresh unstable branch)
>>> When I bitbake I get:
>>>
>>> MACHINE=at91sam9263ek  bitbake u-boot
>>> Traceback (most recent call last):
>>>   File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 143, in <module>
>>>     main()
>>>   File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 123, in main
>>>     cooker.parseConfiguration()
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 68, in parseConfiguration
>>>     self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 402, in parseConfigurationFile
>>>     bb.fetch.fetcher_init(self.configuration.data)
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/fetch/__init__.py", line 93, in fetcher_init
>>>     pd = persist_data.PersistData(d)
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/persist_data.py", line 52, in __init__
>>>     bb.mkdirhier(self.cachedir)
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 133, in mkdirhier
>>>     debug(3, "mkdirhier(%s)" % dir)
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 103, in debug
>>>     bb.msg.debug(lvl, None, ''.join(args))
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/msg.py", line 100, in debug
>>>     bb.event.fire(MsgDebug(msg, None))
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/event.py", line 67, in fire
>>>     if tmpHandler(event) == Handled:
>>>   File "tmpHandler(e)", line 8, in tmpHandler
>>> NameError: global name 'msg' is not defined
>>>
>>>
>>
>> I'm getting the exact same error. I'm new to OE and just going through the Getting started wiki entry. Ubuntu 10.04 installing bitbake via apt-get install bitbake.
>>
>> bitbake --version BitBake Build Tool Core version 1.8.18, bitbake version 1.8.18
>>  OE is current as of a few minutes ago.
>>
>> jr@ubuntu-xpc:~/oe/build$ bitbake nano
>> Traceback (most recent call last):
>>  File "/usr/bin/bitbake", line 143, in <module>
>>    main()
>>  File "/usr/bin/bitbake", line 123, in main
>>    cooker.parseConfiguration()
>>  File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 67, in parseConfiguration
>>    self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
>>  File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 401, in parseConfigurationFile
>>    bb.fetch.fetcher_init(self.configuration.data)
>>  File "/usr/lib/pymodules/python2.6/bb/fetch/__init__.py", line 93, in fetcher_init
>>    pd = persist_data.PersistData(d)
>>  File "/usr/lib/pymodules/python2.6/bb/persist_data.py", line 52, in __init__
>>    bb.mkdirhier(self.cachedir)
>>  File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 133, in mkdirhier
>>    debug(3, "mkdirhier(%s)" % dir)
>>  File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 103, in debug
>>    bb.msg.debug(lvl, None, ''.join(args))
>>  File "/usr/lib/pymodules/python2.6/bb/msg.py", line 100, in debug
>>    bb.event.fire(MsgDebug(msg, None))
>>  File "/usr/lib/pymodules/python2.6/bb/event.py", line 67, in fire
>>    if tmpHandler(event) == Handled:
>>  File "tmpHandler(e)", line 8, in tmpHandler
>> NameError: global name 'msg' is not defined
>>
>> - Jim
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error?
  2010-10-29 15:20     ` James Ronald
@ 2010-10-30 10:16       ` Jaap de Jong
  2010-10-30 10:21         ` Denys Dmytriyenko
  0 siblings, 1 reply; 18+ messages in thread
From: Jaap de Jong @ 2010-10-30 10:16 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 4836 bytes --]

That fixes it...

If relevant: 
org.openembedded/conf/sanity.conf needs to be patched?

    -BB_MIN_VERSION = "1.8.18"
    +BB_MIN_VERSION = "1.10.1"

Thanks!

-----Original Message-----
From: openembedded-devel-bounces@lists.openembedded.org on behalf of James Ronald
Sent: Fri 10/10/29 17:20
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] bitbake error?
 
Pierluigi,

Thanks! Installing bitbake-1.10.1 fixed my problem.

- Jim

On Fri, Oct 29, 2010 at 5:33 AM, Pierluigi Passaro
<pierluigi.passaro@phoenixsoftware.it> wrote:
>
> Not sure this is the best solution, but I solved same issue using latest bitbake 1.10.1 downloaded from
>
> http://download.berlios.de/bitbake/bitbake-1.10.1.tar.gz
>
>
> James Ronald wrote:
>>
>> Jaap de Jong <jaap.dejong <at> nedap.com> writes:
>>
>>
>>>
>>> I'm probably totally stupid...
>>> What am doing wrong?
>>> (I'm working on a fresh unstable branch)
>>> When I bitbake I get:
>>>
>>> MACHINE=at91sam9263ek  bitbake u-boot
>>> Traceback (most recent call last):
>>>   File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 143, in <module>
>>>     main()
>>>   File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 123, in main
>>>     cooker.parseConfiguration()
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 68, in parseConfiguration
>>>     self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 402, in parseConfigurationFile
>>>     bb.fetch.fetcher_init(self.configuration.data)
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/fetch/__init__.py", line 93, in fetcher_init
>>>     pd = persist_data.PersistData(d)
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/persist_data.py", line 52, in __init__
>>>     bb.mkdirhier(self.cachedir)
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 133, in mkdirhier
>>>     debug(3, "mkdirhier(%s)" % dir)
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 103, in debug
>>>     bb.msg.debug(lvl, None, ''.join(args))
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/msg.py", line 100, in debug
>>>     bb.event.fire(MsgDebug(msg, None))
>>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/event.py", line 67, in fire
>>>     if tmpHandler(event) == Handled:
>>>   File "tmpHandler(e)", line 8, in tmpHandler
>>> NameError: global name 'msg' is not defined
>>>
>>>
>>
>> I'm getting the exact same error. I'm new to OE and just going through the Getting started wiki entry. Ubuntu 10.04 installing bitbake via apt-get install bitbake.
>>
>> bitbake --version BitBake Build Tool Core version 1.8.18, bitbake version 1.8.18
>>  OE is current as of a few minutes ago.
>>
>> jr@ubuntu-xpc:~/oe/build$ bitbake nano
>> Traceback (most recent call last):
>>  File "/usr/bin/bitbake", line 143, in <module>
>>    main()
>>  File "/usr/bin/bitbake", line 123, in main
>>    cooker.parseConfiguration()
>>  File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 67, in parseConfiguration
>>    self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
>>  File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 401, in parseConfigurationFile
>>    bb.fetch.fetcher_init(self.configuration.data)
>>  File "/usr/lib/pymodules/python2.6/bb/fetch/__init__.py", line 93, in fetcher_init
>>    pd = persist_data.PersistData(d)
>>  File "/usr/lib/pymodules/python2.6/bb/persist_data.py", line 52, in __init__
>>    bb.mkdirhier(self.cachedir)
>>  File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 133, in mkdirhier
>>    debug(3, "mkdirhier(%s)" % dir)
>>  File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 103, in debug
>>    bb.msg.debug(lvl, None, ''.join(args))
>>  File "/usr/lib/pymodules/python2.6/bb/msg.py", line 100, in debug
>>    bb.event.fire(MsgDebug(msg, None))
>>  File "/usr/lib/pymodules/python2.6/bb/event.py", line 67, in fire
>>    if tmpHandler(event) == Handled:
>>  File "tmpHandler(e)", line 8, in tmpHandler
>> NameError: global name 'msg' is not defined
>>
>> - Jim
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 4420 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error?
  2010-10-30 10:16       ` Jaap de Jong
@ 2010-10-30 10:21         ` Denys Dmytriyenko
  2010-11-01  9:59           ` Walter Franzini
  0 siblings, 1 reply; 18+ messages in thread
From: Denys Dmytriyenko @ 2010-10-30 10:21 UTC (permalink / raw)
  To: openembedded-devel

On Sat, Oct 30, 2010 at 12:16:23PM +0200, Jaap de Jong wrote:
> That fixes it...
> 
> If relevant: 
> org.openembedded/conf/sanity.conf needs to be patched?
> 
>     -BB_MIN_VERSION = "1.8.18"
>     +BB_MIN_VERSION = "1.10.1"

NAK! It is not officially decided or announced to require 1.10 as a minimal 
version of Bitbake for OpenEmbedded. The minimal version is still 1.8.18 and 
if it is broken now, it needs to be fixed, not worked around. Too many people 
(especially, out of tree) use 1.8.x bitbake.

Denys

> Thanks!
> 
> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org on behalf of James Ronald
> Sent: Fri 10/10/29 17:20
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] bitbake error?
>  
> Pierluigi,
> 
> Thanks! Installing bitbake-1.10.1 fixed my problem.
> 
> - Jim
> 
> On Fri, Oct 29, 2010 at 5:33 AM, Pierluigi Passaro
> <pierluigi.passaro@phoenixsoftware.it> wrote:
> >
> > Not sure this is the best solution, but I solved same issue using latest bitbake 1.10.1 downloaded from
> >
> > http://download.berlios.de/bitbake/bitbake-1.10.1.tar.gz
> >
> >
> > James Ronald wrote:
> >>
> >> Jaap de Jong <jaap.dejong <at> nedap.com> writes:
> >>
> >>
> >>>
> >>> I'm probably totally stupid...
> >>> What am doing wrong?
> >>> (I'm working on a fresh unstable branch)
> >>> When I bitbake I get:
> >>>
> >>> MACHINE=at91sam9263ek  bitbake u-boot
> >>> Traceback (most recent call last):
> >>>   File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 143, in <module>
> >>>     main()
> >>>   File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 123, in main
> >>>     cooker.parseConfiguration()
> >>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 68, in parseConfiguration
> >>>     self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
> >>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 402, in parseConfigurationFile
> >>>     bb.fetch.fetcher_init(self.configuration.data)
> >>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/fetch/__init__.py", line 93, in fetcher_init
> >>>     pd = persist_data.PersistData(d)
> >>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/persist_data.py", line 52, in __init__
> >>>     bb.mkdirhier(self.cachedir)
> >>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 133, in mkdirhier
> >>>     debug(3, "mkdirhier(%s)" % dir)
> >>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 103, in debug
> >>>     bb.msg.debug(lvl, None, ''.join(args))
> >>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/msg.py", line 100, in debug
> >>>     bb.event.fire(MsgDebug(msg, None))
> >>>   File "/media/OpenEmbedded/unstable/bitbake/lib/bb/event.py", line 67, in fire
> >>>     if tmpHandler(event) == Handled:
> >>>   File "tmpHandler(e)", line 8, in tmpHandler
> >>> NameError: global name 'msg' is not defined
> >>>
> >>>
> >>
> >> I'm getting the exact same error. I'm new to OE and just going through the Getting started wiki entry. Ubuntu 10.04 installing bitbake via apt-get install bitbake.
> >>
> >> bitbake --version BitBake Build Tool Core version 1.8.18, bitbake version 1.8.18
> >>  OE is current as of a few minutes ago.
> >>
> >> jr@ubuntu-xpc:~/oe/build$ bitbake nano
> >> Traceback (most recent call last):
> >>  File "/usr/bin/bitbake", line 143, in <module>
> >>    main()
> >>  File "/usr/bin/bitbake", line 123, in main
> >>    cooker.parseConfiguration()
> >>  File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 67, in parseConfiguration
> >>    self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
> >>  File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 401, in parseConfigurationFile
> >>    bb.fetch.fetcher_init(self.configuration.data)
> >>  File "/usr/lib/pymodules/python2.6/bb/fetch/__init__.py", line 93, in fetcher_init
> >>    pd = persist_data.PersistData(d)
> >>  File "/usr/lib/pymodules/python2.6/bb/persist_data.py", line 52, in __init__
> >>    bb.mkdirhier(self.cachedir)
> >>  File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 133, in mkdirhier
> >>    debug(3, "mkdirhier(%s)" % dir)
> >>  File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 103, in debug
> >>    bb.msg.debug(lvl, None, ''.join(args))
> >>  File "/usr/lib/pymodules/python2.6/bb/msg.py", line 100, in debug
> >>    bb.event.fire(MsgDebug(msg, None))
> >>  File "/usr/lib/pymodules/python2.6/bb/event.py", line 67, in fire
> >>    if tmpHandler(event) == Handled:
> >>  File "tmpHandler(e)", line 8, in tmpHandler
> >> NameError: global name 'msg' is not defined
> >>
> >> - Jim
> >>
> >> _______________________________________________
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >>
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 


> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error?
  2010-10-30 10:21         ` Denys Dmytriyenko
@ 2010-11-01  9:59           ` Walter Franzini
  0 siblings, 0 replies; 18+ messages in thread
From: Walter Franzini @ 2010-11-01  9:59 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1361 bytes --]

Denys Dmytriyenko <denis@denix.org> writes:

> On Sat, Oct 30, 2010 at 12:16:23PM +0200, Jaap de Jong wrote:
>> That fixes it...
>> 
>> If relevant: 
>> org.openembedded/conf/sanity.conf needs to be patched?
>> 
>>     -BB_MIN_VERSION = "1.8.18"
>>     +BB_MIN_VERSION = "1.10.1"
>
> NAK! It is not officially decided or announced to require 1.10 as a minimal 
> version of Bitbake for OpenEmbedded. The minimal version is still 1.8.18 and 
> if it is broken now, it needs to be fixed, not worked around. Too many people 
> (especially, out of tree) use 1.8.x bitbake.

The patch below fix the problem for me with bitbake 1.8.18. 

HTH :-)

diff --git a/classes/base.bbclass b/classes/base.bbclass
index 8708fa9..a14354d 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -237,12 +237,6 @@ python base_eventhandler() {
 	from bb import note, error, data
 	from bb.event import getName
 
-	# Only need to output when using 1.8 or lower, the UI code handles it
-	# otherwise
-	if (int(bb.__version__.split(".")[0]) <= 1 and int(bb.__version__.split(".")[1]) <= 8):
-		if msg:
-			note(msg)
-
 	if isinstance(e, bb.event.BuildStarted):
 		bb.data.setVar( 'BB_VERSION', bb.__version__, e.data )
 		statusvars = bb.data.getVar("BUILDCFG_VARS", e.data, 1).split()

-- 
Walter Franzini
http://aegis.stepbuild.org/

[-- Attachment #2: Type: application/pgp-signature, Size: 204 bytes --]

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: bitbake error ?
  2017-08-09 21:13                 ` Burton, Ross
@ 2017-08-10  1:19                   ` Riko
  0 siblings, 0 replies; 18+ messages in thread
From: Riko @ 2017-08-10  1:19 UTC (permalink / raw)
  To: Burton, Ross; +Cc: N:

[-- Attachment #1: Type: text/plain, Size: 10164 bytes --]

Dear Yocto member,

I fixed it

on /etc/resolv.conf

nameserver 8.8.8.8

Thanks for helping everyone


On 10/08/17 05:13, Burton, Ross wrote:
> Maybe.  We don't have your computer, so this is your problem to resolve.
>
> Ross
>
> On 9 August 2017 at 22:06, Riko Ho <antonius.riko@gmail.com 
> <mailto:antonius.riko@gmail.com>> wrote:
>
>     Can it be related with:
>     https://askubuntu.com/questions/425484/unable-to-use-wget-command
>     <https://askubuntu.com/questions/425484/unable-to-use-wget-command>
>     ?
>
>
>     On 09/08/2017 8:43 PM, "Bejar-Colonia, Carlos"
>     <carlos.bejar-colonia@philips.com
>     <mailto:carlos.bejar-colonia@philips.com>> wrote:
>
>         This issue seems to be related to proxy server. Probably your
>         network is behind a  proxy.
>
>         This may help:
>
>         https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy
>         <https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy>
>
>         -Carlos B
>
>         *From:*yocto-bounces@yoctoproject.org
>         <mailto:yocto-bounces@yoctoproject.org>
>         [mailto:yocto-bounces@yoctoproject.org
>         <mailto:yocto-bounces@yoctoproject.org>] *On Behalf Of
>         *Burton, Ross
>         *Sent:* Wednesday, August 09, 2017 6:35 AM
>         *To:* Riko Ho <antonius.riko@gmail.com
>         <mailto:antonius.riko@gmail.com>>
>         *Cc:* N: <yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>>
>         *Subject:* Re: [yocto] bitbake error ?
>
>         I've no idea why you can't connect to example.com
>         <http://example.com> using wget, you'll have to debug it yourself.
>
>         Ross
>
>         On 9 August 2017 at 11:27, Riko Ho <antonius.riko@gmail.com
>         <mailto:antonius.riko@gmail.com>> wrote:
>
>             so what s the issue? my connection is working. is it
>             related with /etc/hosts?
>             thanks
>
>             On Aug 9, 2017 4:38 PM, "Burton, Ross"
>             <ross.burton@intel.com <mailto:ross.burton@intel.com>> wrote:
>
>                 Yep. That's your problem.
>
>                 $ wget https://www.example.com/
>
>                 --2017-08-09 09:37:43-- https://www.example.com/
>
>                 Resolving www.example.com <http://www.example.com>...
>                 93.184.216.34, 2606:2800:220:1:248:1893:25c8:1946
>
>                 Connecting to www.example.com
>                 <http://www.example.com>|93.184.216.34|:443... connected.
>
>                 HTTP request sent, awaiting response... 200 OK
>
>                 Length: 1270 (1.2K) [text/html]
>
>                 Saving to: ‘index.html’
>
>                 index.html  100%[===================>]   1.24K
>                  --.-KB/s  in 0s
>
>                 2017-08-09 09:37:44 (15.3 MB/s) - ‘index.html’ saved
>                 [1270/1270]
>
>                 Works for me.  Your network or wget is broken, and
>                 that is unrelated to bitbake/yocto/etc.
>
>                 Ross
>
>                 On 9 August 2017 at 09:34, Riko
>                 <antonius.riko@gmail.com
>                 <mailto:antonius.riko@gmail.com>> wrote:
>
>                     This one ?
>
>                     bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$
>                     wget https://www.example.com/
>                     --2017-08-09 16:33:05-- https://www.example.com/
>                     Resolving www.example.com <http://www.example.com>
>                     (www.example.com <http://www.example.com>)...
>                     failed: Name or service not known.
>                     wget: unable to resolve host address
>                     'www.example.com’ <http://www.example.com%E2%80%99>
>
>                     On 09/08/17 16:31, Burton, Ross wrote:
>
>                         For some reason, bitbake can't do "wget
>                         https://www.example.com/".   Try running that
>                         command outside of bitbake and seeing if it
>                         returns any errors.
>
>                         Ross
>
>                         On 9 August 2017 at 09:29, Riko
>                         <antonius.riko@gmail.com
>                         <mailto:antonius.riko@gmail.com>> wrote:
>
>                             Dear Yocto Member,
>
>
>                             I have downloaded fresh install of yocto
>                             but got error, here's the trace :
>
>                             bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~$
>                             git clone -b pyro
>                             git://git.yoctoproject.org/poky.git
>                             <http://git.yoctoproject.org/poky.git>
>                             Cloning into 'poky'...
>                             remote: Counting objects: 373183, done.
>                             remote: Compressing objects: 100%
>                             (89366/89366), done.
>                             remote: Total 373183 (delta 277418),
>                             reused 373031 (delta 277266)
>                             Receiving objects: 100% (373183/373183),
>                             134.71 MiB | 1.47 MiB/s, done.
>                             Resolving deltas: 100% (277418/277418), done.
>                             Checking connectivity... done.
>
>
>                             bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky$
>                             source oe-init-build-env
>                             You had no conf/local.conf file. This
>                             configuration file has therefore been
>                             created for you with some default values.
>                             You may wish to edit it to, for
>                             example, select a different MACHINE
>                             (target hardware). See conf/local.conf
>                             for more information as common
>                             configuration options are commented.
>
>                             You had no conf/bblayers.conf file. This
>                             configuration file has therefore been
>                             created for you with some default values.
>                             To add additional metadata layers
>                             into your configuration please add entries
>                             to conf/bblayers.conf.
>
>                             The Yocto Project has extensive
>                             documentation about OE including a reference
>                             manual which can be found at:
>                             http://yoctoproject.org/documentation
>                             <http://yoctoproject.org/documentation>
>
>                             For more information about OpenEmbedded
>                             see their website:
>                             http://www.openembedded.org/
>
>
>                             ### Shell environment set up for builds. ###
>
>                             You can now run 'bitbake <target>'
>
>                             Common targets are:
>                             core-image-minimal
>                             core-image-sato
>                             meta-toolchain
>                             meta-ide-support
>
>                             You can also run generated qemu images
>                             with a command like 'runqemu qemux86'
>                             bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$
>                             bitbake core-image-minimal
>                             ERROR: OE-core's config sanity checker
>                             detected a potential misconfiguration.
>                                 Either fix the cause of this error or
>                             at your own risk disable the checker (see
>                             sanity.conf).
>                                 Following is the list of potential
>                             problems / advisories:
>
>                                 Fetcher failure for URL:
>                             'https://www.example.com/'. URL
>                             https://www.example.com/ doesn't work.
>                                 Please ensure your host's network is
>                             configured correctly,
>                                 or set BB_NO_NETWORK = "1" to disable
>                             network access if
>                                 all required sources are on local disk.
>
>
>                             Summary: There was 1 ERROR message shown,
>                             returning a non-zero exit code.
>
>
>                             Any suggestions ?
>
>                             I'm using ubuntu 16.04,
>
>                             Thanks
>
>                             -- 
>                             _______________________________________________
>                             yocto mailing list
>                             yocto@yoctoproject.org
>                             <mailto:yocto@yoctoproject.org>
>                             https://lists.yoctoproject.org/listinfo/yocto
>                             <https://lists.yoctoproject.org/listinfo/yocto>
>
>
>         ------------------------------------------------------------------------
>         The information contained in this message may be confidential
>         and legally protected under applicable law. The message is
>         intended solely for the addressee(s). If you are not the
>         intended recipient, you are hereby notified that any use,
>         forwarding, dissemination, or reproduction of this message is
>         strictly prohibited and may be unlawful. If you are not the
>         intended recipient, please contact the sender by return e-mail
>         and destroy all copies of the original message.
>
>
>


[-- Attachment #2: Type: text/html, Size: 40657 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error ?
  2017-08-09  8:38     ` Burton, Ross
  2017-08-09 10:27       ` Riko Ho
@ 2017-08-10  1:09       ` Riko
  1 sibling, 0 replies; 18+ messages in thread
From: Riko @ 2017-08-10  1:09 UTC (permalink / raw)
  To: Burton, Ross; +Cc: N:

[-- Attachment #1: Type: text/plain, Size: 5266 bytes --]

When I test on browser :

https://www.example.com/

I  got server not found ??


On 09/08/17 16:38, Burton, Ross wrote:
> Yep.  That's your problem.
>
> $ wget https://www.example.com/
> --2017-08-09 09:37:43-- https://www.example.com/
> Resolving www.example.com... 93.184.216.34, 
> 2606:2800:220:1:248:1893:25c8:1946
> Connecting to www.example.com 
> <http://www.example.com>|93.184.216.34|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 1270 (1.2K) [text/html]
> Saving to: ‘index.html’
>
> index.html          100%[===================>]   1.24K  --.-KB/s    in 0s
>
> 2017-08-09 09:37:44 (15.3 MB/s) - ‘index.html’ saved [1270/1270]
>
> Works for me.  Your network or wget is broken, and that is unrelated 
> to bitbake/yocto/etc.
>
> Ross
>
> On 9 August 2017 at 09:34, Riko <antonius.riko@gmail.com 
> <mailto:antonius.riko@gmail.com>> wrote:
>
>     This one ?
>
>     bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ wget
>     https://www.example.com/
>     --2017-08-09 16:33:05-- https://www.example.com/
>     Resolving www.example.com <http://www.example.com>
>     (www.example.com <http://www.example.com>)... failed: Name or
>     service not known.
>     wget: unable to resolve host address 'www.example.com’
>     <http://www.example.com%E2%80%99>
>
>
>     On 09/08/17 16:31, Burton, Ross wrote:
>>     For some reason, bitbake can't do "wget
>>     https://www.example.com/".   Try running that command outside of
>>     bitbake and seeing if it returns any errors.
>>
>>     Ross
>>
>>     On 9 August 2017 at 09:29, Riko <antonius.riko@gmail.com
>>     <mailto:antonius.riko@gmail.com>> wrote:
>>
>>         Dear Yocto Member,
>>
>>
>>         I have downloaded fresh install of yocto but got error,
>>         here's the trace :
>>
>>         bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~$ git clone -b
>>         pyro git://git.yoctoproject.org/poky.git
>>         <http://git.yoctoproject.org/poky.git>
>>         Cloning into 'poky'...
>>         remote: Counting objects: 373183, done.
>>         remote: Compressing objects: 100% (89366/89366), done.
>>         remote: Total 373183 (delta 277418), reused 373031 (delta 277266)
>>         Receiving objects: 100% (373183/373183), 134.71 MiB | 1.47
>>         MiB/s, done.
>>         Resolving deltas: 100% (277418/277418), done.
>>         Checking connectivity... done.
>>
>>
>>         bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky$ source
>>         oe-init-build-env
>>         You had no conf/local.conf file. This configuration file has
>>         therefore been
>>         created for you with some default values. You may wish to
>>         edit it to, for
>>         example, select a different MACHINE (target hardware). See
>>         conf/local.conf
>>         for more information as common configuration options are
>>         commented.
>>
>>         You had no conf/bblayers.conf file. This configuration file
>>         has therefore been
>>         created for you with some default values. To add additional
>>         metadata layers
>>         into your configuration please add entries to conf/bblayers.conf.
>>
>>         The Yocto Project has extensive documentation about OE
>>         including a reference
>>         manual which can be found at:
>>         http://yoctoproject.org/documentation
>>         <http://yoctoproject.org/documentation>
>>
>>         For more information about OpenEmbedded see their website:
>>         http://www.openembedded.org/
>>
>>
>>         ### Shell environment set up for builds. ###
>>
>>         You can now run 'bitbake <target>'
>>
>>         Common targets are:
>>             core-image-minimal
>>             core-image-sato
>>             meta-toolchain
>>             meta-ide-support
>>
>>         You can also run generated qemu images with a command like
>>         'runqemu qemux86'
>>         bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$
>>         bitbake core-image-minimal
>>         ERROR:  OE-core's config sanity checker detected a potential
>>         misconfiguration.
>>             Either fix the cause of this error or at your own risk
>>         disable the checker (see sanity.conf).
>>             Following is the list of potential problems / advisories:
>>
>>             Fetcher failure for URL: 'https://www.example.com/'. URL
>>         https://www.example.com/ doesn't work.
>>             Please ensure your host's network is configured correctly,
>>             or set BB_NO_NETWORK = "1" to disable network access if
>>             all required sources are on local disk.
>>
>>
>>         Summary: There was 1 ERROR message shown, returning a
>>         non-zero exit code.
>>
>>
>>         Any suggestions ?
>>
>>         I'm using ubuntu 16.04,
>>
>>         Thanks
>>
>>         -- 
>>         _______________________________________________
>>         yocto mailing list
>>         yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>>         https://lists.yoctoproject.org/listinfo/yocto
>>         <https://lists.yoctoproject.org/listinfo/yocto>
>>
>>
>
>


[-- Attachment #2: Type: text/html, Size: 12359 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error ?
  2017-08-09 21:06               ` Riko Ho
@ 2017-08-09 21:13                 ` Burton, Ross
  2017-08-10  1:19                   ` Riko
  0 siblings, 1 reply; 18+ messages in thread
From: Burton, Ross @ 2017-08-09 21:13 UTC (permalink / raw)
  To: Riko Ho; +Cc: N:

[-- Attachment #1: Type: text/plain, Size: 5919 bytes --]

Maybe.  We don't have your computer, so this is your problem to resolve.

Ross

On 9 August 2017 at 22:06, Riko Ho <antonius.riko@gmail.com> wrote:

> Can it be related with:
> https://askubuntu.com/questions/425484/unable-to-use-wget-command
> ?
>
> On 09/08/2017 8:43 PM, "Bejar-Colonia, Carlos" <
> carlos.bejar-colonia@philips.com> wrote:
>
> This issue seems to be related to proxy server. Probably your network is
> behind a  proxy.
>
> This may help:
>
> https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy
>
>
>
> -Carlos B
>
>
>
> *From:* yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctopro
> ject.org] *On Behalf Of *Burton, Ross
> *Sent:* Wednesday, August 09, 2017 6:35 AM
> *To:* Riko Ho <antonius.riko@gmail.com>
> *Cc:* N: <yocto@yoctoproject.org>
> *Subject:* Re: [yocto] bitbake error ?
>
>
>
> I've no idea why you can't connect to example.com using wget, you'll have
> to debug it yourself.
>
>
>
> Ross
>
>
>
> On 9 August 2017 at 11:27, Riko Ho <antonius.riko@gmail.com> wrote:
>
> so what s the issue? my connection is working. is it related with
> /etc/hosts?
> thanks
>
> On Aug 9, 2017 4:38 PM, "Burton, Ross" <ross.burton@intel.com> wrote:
>
> Yep.  That's your problem.
>
>
>
> $ wget https://www.example.com/
>
> --2017-08-09 09:37:43--  https://www.example.com/
>
> Resolving www.example.com... 93.184.216.34, 2606:2800:220:1:248:1893:25c8:
> 1946
>
> Connecting to www.example.com|93.184.216.34|:443... connected.
>
> HTTP request sent, awaiting response... 200 OK
>
> Length: 1270 (1.2K) [text/html]
>
> Saving to: ‘index.html’
>
>
>
> index.html          100%[===================>]   1.24K  --.-KB/s    in 0s
>
>
>
> 2017-08-09 09:37:44 (15.3 MB/s) - ‘index.html’ saved [1270/1270]
>
>
>
> Works for me.  Your network or wget is broken, and that is unrelated to
> bitbake/yocto/etc.
>
>
>
> Ross
>
>
>
> On 9 August 2017 at 09:34, Riko <antonius.riko@gmail.com> wrote:
>
> This one ?
>
> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ wget
> https://www.example.com/
> --2017-08-09 16:33:05--  https://www.example.com/
> Resolving www.example.com (www.example.com)... failed: Name or service
> not known.
> wget: unable to resolve host address 'www.example.com’
>
>
>
> On 09/08/17 16:31, Burton, Ross wrote:
>
> For some reason, bitbake can't do "wget https://www.example.com/".   Try
> running that command outside of bitbake and seeing if it returns any
> errors.
>
>
>
> Ross
>
>
>
> On 9 August 2017 at 09:29, Riko <antonius.riko@gmail.com> wrote:
>
> Dear Yocto Member,
>
>
> I have downloaded fresh install of yocto but got error, here's the trace :
>
> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~$ git clone -b pyro git://
> git.yoctoproject.org/poky.git
> Cloning into 'poky'...
> remote: Counting objects: 373183, done.
> remote: Compressing objects: 100% (89366/89366), done.
> remote: Total 373183 (delta 277418), reused 373031 (delta 277266)
> Receiving objects: 100% (373183/373183), 134.71 MiB | 1.47 MiB/s, done.
> Resolving deltas: 100% (277418/277418), done.
> Checking connectivity... done.
>
>
> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky$ source
> oe-init-build-env
> You had no conf/local.conf file. This configuration file has therefore been
> created for you with some default values. You may wish to edit it to, for
> example, select a different MACHINE (target hardware). See conf/local.conf
> for more information as common configuration options are commented.
>
> You had no conf/bblayers.conf file. This configuration file has therefore
> been
> created for you with some default values. To add additional metadata layers
> into your configuration please add entries to conf/bblayers.conf.
>
> The Yocto Project has extensive documentation about OE including a
> reference
> manual which can be found at:
>     http://yoctoproject.org/documentation
>
> For more information about OpenEmbedded see their website:
>     http://www.openembedded.org/
>
>
> ### Shell environment set up for builds. ###
>
> You can now run 'bitbake <target>'
>
> Common targets are:
>     core-image-minimal
>     core-image-sato
>     meta-toolchain
>     meta-ide-support
>
> You can also run generated qemu images with a command like 'runqemu
> qemux86'
> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ bitbake
> core-image-minimal
> ERROR:  OE-core's config sanity checker detected a potential
> misconfiguration.
>     Either fix the cause of this error or at your own risk disable the
> checker (see sanity.conf).
>     Following is the list of potential problems / advisories:
>
>     Fetcher failure for URL: 'https://www.example.com/'. URL
> https://www.example.com/ doesn't work.
>     Please ensure your host's network is configured correctly,
>     or set BB_NO_NETWORK = "1" to disable network access if
>     all required sources are on local disk.
>
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
> Any suggestions ?
>
> I'm using ubuntu 16.04,
>
> Thanks
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
>
>
>
>
>
>
>
> ------------------------------
> The information contained in this message may be confidential and legally
> protected under applicable law. The message is intended solely for the
> addressee(s). If you are not the intended recipient, you are hereby
> notified that any use, forwarding, dissemination, or reproduction of this
> message is strictly prohibited and may be unlawful. If you are not the
> intended recipient, please contact the sender by return e-mail and destroy
> all copies of the original message.
>
>
>

[-- Attachment #2: Type: text/html, Size: 13431 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error ?
       [not found]             ` <CAByQQ_rHGL-wCDP_gnws4txKTq_6Qn1ux83jx4BjiZbveLDCNQ@mail.gmail.com>
@ 2017-08-09 21:06               ` Riko Ho
  2017-08-09 21:13                 ` Burton, Ross
  0 siblings, 1 reply; 18+ messages in thread
From: Riko Ho @ 2017-08-09 21:06 UTC (permalink / raw)
  To: Bejar-Colonia, Carlos; +Cc: N:

[-- Attachment #1: Type: text/plain, Size: 5430 bytes --]

Can it be related with:
https://askubuntu.com/questions/425484/unable-to-use-wget-command
?

On 09/08/2017 8:43 PM, "Bejar-Colonia, Carlos" <
carlos.bejar-colonia@philips.com> wrote:

This issue seems to be related to proxy server. Probably your network is
behind a  proxy.

This may help:

https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy



-Carlos B



*From:* yocto-bounces@yoctoproject.org [mailto:yocto-bounces@
yoctoproject.org] *On Behalf Of *Burton, Ross
*Sent:* Wednesday, August 09, 2017 6:35 AM
*To:* Riko Ho <antonius.riko@gmail.com>
*Cc:* N: <yocto@yoctoproject.org>
*Subject:* Re: [yocto] bitbake error ?



I've no idea why you can't connect to example.com using wget, you'll have
to debug it yourself.



Ross



On 9 August 2017 at 11:27, Riko Ho <antonius.riko@gmail.com> wrote:

so what s the issue? my connection is working. is it related with
/etc/hosts?
thanks

On Aug 9, 2017 4:38 PM, "Burton, Ross" <ross.burton@intel.com> wrote:

Yep.  That's your problem.



$ wget https://www.example.com/

--2017-08-09 09:37:43--  https://www.example.com/

Resolving www.example.com... 93.184.216.34, 2606:2800:220:1:248:1893:25c8:
1946

Connecting to www.example.com|93.184.216.34|:443... connected.

HTTP request sent, awaiting response... 200 OK

Length: 1270 (1.2K) [text/html]

Saving to: ‘index.html’



index.html          100%[===================>]   1.24K  --.-KB/s    in 0s



2017-08-09 09:37:44 (15.3 MB/s) - ‘index.html’ saved [1270/1270]



Works for me.  Your network or wget is broken, and that is unrelated to
bitbake/yocto/etc.



Ross



On 9 August 2017 at 09:34, Riko <antonius.riko@gmail.com> wrote:

This one ?

bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ wget
https://www.example.com/
--2017-08-09 16:33:05--  https://www.example.com/
Resolving www.example.com (www.example.com)... failed: Name or service not
known.
wget: unable to resolve host address 'www.example.com’



On 09/08/17 16:31, Burton, Ross wrote:

For some reason, bitbake can't do "wget https://www.example.com/".   Try
running that command outside of bitbake and seeing if it returns any
errors.



Ross



On 9 August 2017 at 09:29, Riko <antonius.riko@gmail.com> wrote:

Dear Yocto Member,


I have downloaded fresh install of yocto but got error, here's the trace :

bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~$ git clone -b pyro git://
git.yoctoproject.org/poky.git
Cloning into 'poky'...
remote: Counting objects: 373183, done.
remote: Compressing objects: 100% (89366/89366), done.
remote: Total 373183 (delta 277418), reused 373031 (delta 277266)
Receiving objects: 100% (373183/373183), 134.71 MiB | 1.47 MiB/s, done.
Resolving deltas: 100% (277418/277418), done.
Checking connectivity... done.


bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky$ source oe-init-build-env
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to, for
example, select a different MACHINE (target hardware). See conf/local.conf
for more information as common configuration options are commented.

You had no conf/bblayers.conf file. This configuration file has therefore
been
created for you with some default values. To add additional metadata layers
into your configuration please add entries to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/


### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'
bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ bitbake
core-image-minimal
ERROR:  OE-core's config sanity checker detected a potential
misconfiguration.
    Either fix the cause of this error or at your own risk disable the
checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Fetcher failure for URL: 'https://www.example.com/'. URL
https://www.example.com/ doesn't work.
    Please ensure your host's network is configured correctly,
    or set BB_NO_NETWORK = "1" to disable network access if
    all required sources are on local disk.


Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Any suggestions ?

I'm using ubuntu 16.04,

Thanks

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto









------------------------------
The information contained in this message may be confidential and legally
protected under applicable law. The message is intended solely for the
addressee(s). If you are not the intended recipient, you are hereby
notified that any use, forwarding, dissemination, or reproduction of this
message is strictly prohibited and may be unlawful. If you are not the
intended recipient, please contact the sender by return e-mail and destroy
all copies of the original message.

[-- Attachment #2: Type: text/html, Size: 12700 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error ?
  2017-08-09 10:34         ` Burton, Ross
@ 2017-08-09 12:42           ` Bejar-Colonia, Carlos
       [not found]             ` <CAByQQ_rHGL-wCDP_gnws4txKTq_6Qn1ux83jx4BjiZbveLDCNQ@mail.gmail.com>
  0 siblings, 1 reply; 18+ messages in thread
From: Bejar-Colonia, Carlos @ 2017-08-09 12:42 UTC (permalink / raw)
  To: Burton, Ross, Riko Ho; +Cc: N:

[-- Attachment #1: Type: text/plain, Size: 5453 bytes --]

This issue seems to be related to proxy server. Probably your network is behind a  proxy.
This may help:
https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy

-Carlos B

From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Burton, Ross
Sent: Wednesday, August 09, 2017 6:35 AM
To: Riko Ho <antonius.riko@gmail.com>
Cc: N: <yocto@yoctoproject.org>
Subject: Re: [yocto] bitbake error ?

I've no idea why you can't connect to example.com<http://example.com> using wget, you'll have to debug it yourself.

Ross

On 9 August 2017 at 11:27, Riko Ho <antonius.riko@gmail.com<mailto:antonius.riko@gmail.com>> wrote:

so what s the issue? my connection is working. is it related with /etc/hosts?
thanks
On Aug 9, 2017 4:38 PM, "Burton, Ross" <ross.burton@intel.com<mailto:ross.burton@intel.com>> wrote:
Yep.  That's your problem.

$ wget https://www.example.com/
--2017-08-09 09:37:43--  https://www.example.com/
Resolving www.example.com<http://www.example.com>... 93.184.216.34, 2606:2800:220:1:248:1893:25c8:1946
Connecting to www.example.com<http://www.example.com>|93.184.216.34|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1270 (1.2K) [text/html]
Saving to: ‘index.html’

index.html          100%[===================>]   1.24K  --.-KB/s    in 0s

2017-08-09 09:37:44 (15.3 MB/s) - ‘index.html’ saved [1270/1270]

Works for me.  Your network or wget is broken, and that is unrelated to bitbake/yocto/etc.

Ross

On 9 August 2017 at 09:34, Riko <antonius.riko@gmail.com<mailto:antonius.riko@gmail.com>> wrote:

This one ?

bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ wget https://www.example.com/
--2017-08-09 16:33:05--  https://www.example.com/
Resolving www.example.com<http://www.example.com> (www.example.com<http://www.example.com>)... failed: Name or service not known.
wget: unable to resolve host address 'www.example.com’<http://www.example.com’>

On 09/08/17 16:31, Burton, Ross wrote:
For some reason, bitbake can't do "wget https://www.example.com/".   Try running that command outside of bitbake and seeing if it returns any errors.

Ross

On 9 August 2017 at 09:29, Riko <antonius.riko@gmail.com<mailto:antonius.riko@gmail.com>> wrote:
Dear Yocto Member,


I have downloaded fresh install of yocto but got error, here's the trace :

bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~$ git clone -b pyro git://git.yoctoproject.org/poky.git<http://git.yoctoproject.org/poky.git>
Cloning into 'poky'...
remote: Counting objects: 373183, done.
remote: Compressing objects: 100% (89366/89366), done.
remote: Total 373183 (delta 277418), reused 373031 (delta 277266)
Receiving objects: 100% (373183/373183), 134.71 MiB | 1.47 MiB/s, done.
Resolving deltas: 100% (277418/277418), done.
Checking connectivity... done.


bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky$ source oe-init-build-env
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to, for
example, select a different MACHINE (target hardware). See conf/local.conf
for more information as common configuration options are commented.

You had no conf/bblayers.conf file. This configuration file has therefore been
created for you with some default values. To add additional metadata layers
into your configuration please add entries to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/


### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'
bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ bitbake core-image-minimal
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Fetcher failure for URL: 'https://www.example.com/'. URL https://www.example.com/ doesn't work.
    Please ensure your host's network is configured correctly,
    or set BB_NO_NETWORK = "1" to disable network access if
    all required sources are on local disk.


Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Any suggestions ?

I'm using ubuntu 16.04,

Thanks

--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto





________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

[-- Attachment #2: Type: text/html, Size: 13608 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error ?
  2017-08-09 10:27       ` Riko Ho
@ 2017-08-09 10:34         ` Burton, Ross
  2017-08-09 12:42           ` Bejar-Colonia, Carlos
  0 siblings, 1 reply; 18+ messages in thread
From: Burton, Ross @ 2017-08-09 10:34 UTC (permalink / raw)
  To: Riko Ho; +Cc: N:

[-- Attachment #1: Type: text/plain, Size: 4750 bytes --]

I've no idea why you can't connect to example.com using wget, you'll have
to debug it yourself.

Ross

On 9 August 2017 at 11:27, Riko Ho <antonius.riko@gmail.com> wrote:

> so what s the issue? my connection is working. is it related with
> /etc/hosts?
> thanks
> On Aug 9, 2017 4:38 PM, "Burton, Ross" <ross.burton@intel.com> wrote:
>
>> Yep.  That's your problem.
>>
>> $ wget https://www.example.com/
>> --2017-08-09 09:37:43--  https://www.example.com/
>> Resolving www.example.com... 93.184.216.34, 2606:2800:220:1:248:1893:25c8:
>> 1946
>> Connecting to www.example.com|93.184.216.34|:443... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 1270 (1.2K) [text/html]
>> Saving to: ‘index.html’
>>
>> index.html          100%[===================>]   1.24K  --.-KB/s    in 0s
>>
>> 2017-08-09 09:37:44 (15.3 MB/s) - ‘index.html’ saved [1270/1270]
>>
>> Works for me.  Your network or wget is broken, and that is unrelated to
>> bitbake/yocto/etc.
>>
>> Ross
>>
>> On 9 August 2017 at 09:34, Riko <antonius.riko@gmail.com> wrote:
>>
>>> This one ?
>>>
>>> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ wget
>>> https://www.example.com/
>>> --2017-08-09 16:33:05--  https://www.example.com/
>>> Resolving www.example.com (www.example.com)... failed: Name or service
>>> not known.
>>> wget: unable to resolve host address 'www.example.com’
>>>
>>>
>>> On 09/08/17 16:31, Burton, Ross wrote:
>>>
>>> For some reason, bitbake can't do "wget https://www.example.com/".
>>> Try running that command outside of bitbake and seeing if it returns any
>>> errors.
>>>
>>> Ross
>>>
>>> On 9 August 2017 at 09:29, Riko <antonius.riko@gmail.com> wrote:
>>>
>>>> Dear Yocto Member,
>>>>
>>>>
>>>> I have downloaded fresh install of yocto but got error, here's the
>>>> trace :
>>>>
>>>> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~$ git clone -b pyro git://
>>>> git.yoctoproject.org/poky.git
>>>> Cloning into 'poky'...
>>>> remote: Counting objects: 373183, done.
>>>> remote: Compressing objects: 100% (89366/89366), done.
>>>> remote: Total 373183 (delta 277418), reused 373031 (delta 277266)
>>>> Receiving objects: 100% (373183/373183), 134.71 MiB | 1.47 MiB/s, done.
>>>> Resolving deltas: 100% (277418/277418), done.
>>>> Checking connectivity... done.
>>>>
>>>>
>>>> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky$ source
>>>> oe-init-build-env
>>>> You had no conf/local.conf file. This configuration file has therefore
>>>> been
>>>> created for you with some default values. You may wish to edit it to,
>>>> for
>>>> example, select a different MACHINE (target hardware). See
>>>> conf/local.conf
>>>> for more information as common configuration options are commented.
>>>>
>>>> You had no conf/bblayers.conf file. This configuration file has
>>>> therefore been
>>>> created for you with some default values. To add additional metadata
>>>> layers
>>>> into your configuration please add entries to conf/bblayers.conf.
>>>>
>>>> The Yocto Project has extensive documentation about OE including a
>>>> reference
>>>> manual which can be found at:
>>>>     http://yoctoproject.org/documentation
>>>>
>>>> For more information about OpenEmbedded see their website:
>>>>     http://www.openembedded.org/
>>>>
>>>>
>>>> ### Shell environment set up for builds. ###
>>>>
>>>> You can now run 'bitbake <target>'
>>>>
>>>> Common targets are:
>>>>     core-image-minimal
>>>>     core-image-sato
>>>>     meta-toolchain
>>>>     meta-ide-support
>>>>
>>>> You can also run generated qemu images with a command like 'runqemu
>>>> qemux86'
>>>> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ bitbake
>>>> core-image-minimal
>>>> ERROR:  OE-core's config sanity checker detected a potential
>>>> misconfiguration.
>>>>     Either fix the cause of this error or at your own risk disable the
>>>> checker (see sanity.conf).
>>>>     Following is the list of potential problems / advisories:
>>>>
>>>>     Fetcher failure for URL: 'https://www.example.com/'. URL
>>>> https://www.example.com/ doesn't work.
>>>>     Please ensure your host's network is configured correctly,
>>>>     or set BB_NO_NETWORK = "1" to disable network access if
>>>>     all required sources are on local disk.
>>>>
>>>>
>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit
>>>> code.
>>>>
>>>>
>>>> Any suggestions ?
>>>>
>>>> I'm using ubuntu 16.04,
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>>
>>>
>>>
>>

[-- Attachment #2: Type: text/html, Size: 9394 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error ?
  2017-08-09  8:38     ` Burton, Ross
@ 2017-08-09 10:27       ` Riko Ho
  2017-08-09 10:34         ` Burton, Ross
  2017-08-10  1:09       ` Riko
  1 sibling, 1 reply; 18+ messages in thread
From: Riko Ho @ 2017-08-09 10:27 UTC (permalink / raw)
  To: Burton, Ross; +Cc: N:

[-- Attachment #1: Type: text/plain, Size: 4423 bytes --]

so what s the issue? my connection is working. is it related with
/etc/hosts?
thanks
On Aug 9, 2017 4:38 PM, "Burton, Ross" <ross.burton@intel.com> wrote:

> Yep.  That's your problem.
>
> $ wget https://www.example.com/
> --2017-08-09 09:37:43--  https://www.example.com/
> Resolving www.example.com... 93.184.216.34, 2606:2800:220:1:248:1893:25c8:
> 1946
> Connecting to www.example.com|93.184.216.34|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 1270 (1.2K) [text/html]
> Saving to: ‘index.html’
>
> index.html          100%[===================>]   1.24K  --.-KB/s    in 0s
>
> 2017-08-09 09:37:44 (15.3 MB/s) - ‘index.html’ saved [1270/1270]
>
> Works for me.  Your network or wget is broken, and that is unrelated to
> bitbake/yocto/etc.
>
> Ross
>
> On 9 August 2017 at 09:34, Riko <antonius.riko@gmail.com> wrote:
>
>> This one ?
>>
>> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ wget
>> https://www.example.com/
>> --2017-08-09 16:33:05--  https://www.example.com/
>> Resolving www.example.com (www.example.com)... failed: Name or service
>> not known.
>> wget: unable to resolve host address 'www.example.com’
>>
>>
>> On 09/08/17 16:31, Burton, Ross wrote:
>>
>> For some reason, bitbake can't do "wget https://www.example.com/".   Try
>> running that command outside of bitbake and seeing if it returns any
>> errors.
>>
>> Ross
>>
>> On 9 August 2017 at 09:29, Riko <antonius.riko@gmail.com> wrote:
>>
>>> Dear Yocto Member,
>>>
>>>
>>> I have downloaded fresh install of yocto but got error, here's the trace
>>> :
>>>
>>> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~$ git clone -b pyro git://
>>> git.yoctoproject.org/poky.git
>>> Cloning into 'poky'...
>>> remote: Counting objects: 373183, done.
>>> remote: Compressing objects: 100% (89366/89366), done.
>>> remote: Total 373183 (delta 277418), reused 373031 (delta 277266)
>>> Receiving objects: 100% (373183/373183), 134.71 MiB | 1.47 MiB/s, done.
>>> Resolving deltas: 100% (277418/277418), done.
>>> Checking connectivity... done.
>>>
>>>
>>> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky$ source
>>> oe-init-build-env
>>> You had no conf/local.conf file. This configuration file has therefore
>>> been
>>> created for you with some default values. You may wish to edit it to, for
>>> example, select a different MACHINE (target hardware). See
>>> conf/local.conf
>>> for more information as common configuration options are commented.
>>>
>>> You had no conf/bblayers.conf file. This configuration file has
>>> therefore been
>>> created for you with some default values. To add additional metadata
>>> layers
>>> into your configuration please add entries to conf/bblayers.conf.
>>>
>>> The Yocto Project has extensive documentation about OE including a
>>> reference
>>> manual which can be found at:
>>>     http://yoctoproject.org/documentation
>>>
>>> For more information about OpenEmbedded see their website:
>>>     http://www.openembedded.org/
>>>
>>>
>>> ### Shell environment set up for builds. ###
>>>
>>> You can now run 'bitbake <target>'
>>>
>>> Common targets are:
>>>     core-image-minimal
>>>     core-image-sato
>>>     meta-toolchain
>>>     meta-ide-support
>>>
>>> You can also run generated qemu images with a command like 'runqemu
>>> qemux86'
>>> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ bitbake
>>> core-image-minimal
>>> ERROR:  OE-core's config sanity checker detected a potential
>>> misconfiguration.
>>>     Either fix the cause of this error or at your own risk disable the
>>> checker (see sanity.conf).
>>>     Following is the list of potential problems / advisories:
>>>
>>>     Fetcher failure for URL: 'https://www.example.com/'. URL
>>> https://www.example.com/ doesn't work.
>>>     Please ensure your host's network is configured correctly,
>>>     or set BB_NO_NETWORK = "1" to disable network access if
>>>     all required sources are on local disk.
>>>
>>>
>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>>
>>>
>>> Any suggestions ?
>>>
>>> I'm using ubuntu 16.04,
>>>
>>> Thanks
>>>
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 8631 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error ?
  2017-08-09  8:34   ` Riko
@ 2017-08-09  8:38     ` Burton, Ross
  2017-08-09 10:27       ` Riko Ho
  2017-08-10  1:09       ` Riko
  0 siblings, 2 replies; 18+ messages in thread
From: Burton, Ross @ 2017-08-09  8:38 UTC (permalink / raw)
  To: Riko; +Cc: N:

[-- Attachment #1: Type: text/plain, Size: 4105 bytes --]

Yep.  That's your problem.

$ wget https://www.example.com/
--2017-08-09 09:37:43--  https://www.example.com/
Resolving www.example.com... 93.184.216.34,
2606:2800:220:1:248:1893:25c8:1946
Connecting to www.example.com|93.184.216.34|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1270 (1.2K) [text/html]
Saving to: ‘index.html’

index.html          100%[===================>]   1.24K  --.-KB/s    in 0s

2017-08-09 09:37:44 (15.3 MB/s) - ‘index.html’ saved [1270/1270]

Works for me.  Your network or wget is broken, and that is unrelated to
bitbake/yocto/etc.

Ross

On 9 August 2017 at 09:34, Riko <antonius.riko@gmail.com> wrote:

> This one ?
>
> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ wget
> https://www.example.com/
> --2017-08-09 16:33:05--  https://www.example.com/
> Resolving www.example.com (www.example.com)... failed: Name or service
> not known.
> wget: unable to resolve host address 'www.example.com’
>
>
> On 09/08/17 16:31, Burton, Ross wrote:
>
> For some reason, bitbake can't do "wget https://www.example.com/".   Try
> running that command outside of bitbake and seeing if it returns any
> errors.
>
> Ross
>
> On 9 August 2017 at 09:29, Riko <antonius.riko@gmail.com> wrote:
>
>> Dear Yocto Member,
>>
>>
>> I have downloaded fresh install of yocto but got error, here's the trace :
>>
>> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~$ git clone -b pyro git://
>> git.yoctoproject.org/poky.git
>> Cloning into 'poky'...
>> remote: Counting objects: 373183, done.
>> remote: Compressing objects: 100% (89366/89366), done.
>> remote: Total 373183 (delta 277418), reused 373031 (delta 277266)
>> Receiving objects: 100% (373183/373183), 134.71 MiB | 1.47 MiB/s, done.
>> Resolving deltas: 100% (277418/277418), done.
>> Checking connectivity... done.
>>
>>
>> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky$ source
>> oe-init-build-env
>> You had no conf/local.conf file. This configuration file has therefore
>> been
>> created for you with some default values. You may wish to edit it to, for
>> example, select a different MACHINE (target hardware). See conf/local.conf
>> for more information as common configuration options are commented.
>>
>> You had no conf/bblayers.conf file. This configuration file has therefore
>> been
>> created for you with some default values. To add additional metadata
>> layers
>> into your configuration please add entries to conf/bblayers.conf.
>>
>> The Yocto Project has extensive documentation about OE including a
>> reference
>> manual which can be found at:
>>     http://yoctoproject.org/documentation
>>
>> For more information about OpenEmbedded see their website:
>>     http://www.openembedded.org/
>>
>>
>> ### Shell environment set up for builds. ###
>>
>> You can now run 'bitbake <target>'
>>
>> Common targets are:
>>     core-image-minimal
>>     core-image-sato
>>     meta-toolchain
>>     meta-ide-support
>>
>> You can also run generated qemu images with a command like 'runqemu
>> qemux86'
>> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ bitbake
>> core-image-minimal
>> ERROR:  OE-core's config sanity checker detected a potential
>> misconfiguration.
>>     Either fix the cause of this error or at your own risk disable the
>> checker (see sanity.conf).
>>     Following is the list of potential problems / advisories:
>>
>>     Fetcher failure for URL: 'https://www.example.com/'. URL
>> https://www.example.com/ doesn't work.
>>     Please ensure your host's network is configured correctly,
>>     or set BB_NO_NETWORK = "1" to disable network access if
>>     all required sources are on local disk.
>>
>>
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>>
>> Any suggestions ?
>>
>> I'm using ubuntu 16.04,
>>
>> Thanks
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
>

[-- Attachment #2: Type: text/html, Size: 7998 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error ?
  2017-08-09  8:31 ` Burton, Ross
@ 2017-08-09  8:34   ` Riko
  2017-08-09  8:38     ` Burton, Ross
  0 siblings, 1 reply; 18+ messages in thread
From: Riko @ 2017-08-09  8:34 UTC (permalink / raw)
  To: Burton, Ross; +Cc: N:

[-- Attachment #1: Type: text/plain, Size: 3791 bytes --]

This one ?

bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ wget 
https://www.example.com/
--2017-08-09 16:33:05--  https://www.example.com/
Resolving www.example.com (www.example.com)... failed: Name or service 
not known.
wget: unable to resolve host address 'www.example.com’


On 09/08/17 16:31, Burton, Ross wrote:
> For some reason, bitbake can't do "wget https://www.example.com/".   
> Try running that command outside of bitbake and seeing if it returns 
> any errors.
>
> Ross
>
> On 9 August 2017 at 09:29, Riko <antonius.riko@gmail.com 
> <mailto:antonius.riko@gmail.com>> wrote:
>
>     Dear Yocto Member,
>
>
>     I have downloaded fresh install of yocto but got error, here's the
>     trace :
>
>     bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~$ git clone -b pyro
>     git://git.yoctoproject.org/poky.git
>     <http://git.yoctoproject.org/poky.git>
>     Cloning into 'poky'...
>     remote: Counting objects: 373183, done.
>     remote: Compressing objects: 100% (89366/89366), done.
>     remote: Total 373183 (delta 277418), reused 373031 (delta 277266)
>     Receiving objects: 100% (373183/373183), 134.71 MiB | 1.47 MiB/s,
>     done.
>     Resolving deltas: 100% (277418/277418), done.
>     Checking connectivity... done.
>
>
>     bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky$ source
>     oe-init-build-env
>     You had no conf/local.conf file. This configuration file has
>     therefore been
>     created for you with some default values. You may wish to edit it
>     to, for
>     example, select a different MACHINE (target hardware). See
>     conf/local.conf
>     for more information as common configuration options are commented.
>
>     You had no conf/bblayers.conf file. This configuration file has
>     therefore been
>     created for you with some default values. To add additional
>     metadata layers
>     into your configuration please add entries to conf/bblayers.conf.
>
>     The Yocto Project has extensive documentation about OE including a
>     reference
>     manual which can be found at:
>     http://yoctoproject.org/documentation
>     <http://yoctoproject.org/documentation>
>
>     For more information about OpenEmbedded see their website:
>     http://www.openembedded.org/
>
>
>     ### Shell environment set up for builds. ###
>
>     You can now run 'bitbake <target>'
>
>     Common targets are:
>         core-image-minimal
>         core-image-sato
>         meta-toolchain
>         meta-ide-support
>
>     You can also run generated qemu images with a command like
>     'runqemu qemux86'
>     bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ bitbake
>     core-image-minimal
>     ERROR:  OE-core's config sanity checker detected a potential
>     misconfiguration.
>         Either fix the cause of this error or at your own risk disable
>     the checker (see sanity.conf).
>         Following is the list of potential problems / advisories:
>
>         Fetcher failure for URL: 'https://www.example.com/'. URL
>     https://www.example.com/ doesn't work.
>         Please ensure your host's network is configured correctly,
>         or set BB_NO_NETWORK = "1" to disable network access if
>         all required sources are on local disk.
>
>
>     Summary: There was 1 ERROR message shown, returning a non-zero
>     exit code.
>
>
>     Any suggestions ?
>
>     I'm using ubuntu 16.04,
>
>     Thanks
>
>     -- 
>     _______________________________________________
>     yocto mailing list
>     yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/yocto
>     <https://lists.yoctoproject.org/listinfo/yocto>
>
>


[-- Attachment #2: Type: text/html, Size: 6940 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: bitbake error ?
  2017-08-09  8:29 bitbake error ? Riko
@ 2017-08-09  8:31 ` Burton, Ross
  2017-08-09  8:34   ` Riko
  0 siblings, 1 reply; 18+ messages in thread
From: Burton, Ross @ 2017-08-09  8:31 UTC (permalink / raw)
  To: Riko; +Cc: N:

[-- Attachment #1: Type: text/plain, Size: 2941 bytes --]

For some reason, bitbake can't do "wget https://www.example.com/".   Try
running that command outside of bitbake and seeing if it returns any errors.

Ross

On 9 August 2017 at 09:29, Riko <antonius.riko@gmail.com> wrote:

> Dear Yocto Member,
>
>
> I have downloaded fresh install of yocto but got error, here's the trace :
>
> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~$ git clone -b pyro git://
> git.yoctoproject.org/poky.git
> Cloning into 'poky'...
> remote: Counting objects: 373183, done.
> remote: Compressing objects: 100% (89366/89366), done.
> remote: Total 373183 (delta 277418), reused 373031 (delta 277266)
> Receiving objects: 100% (373183/373183), 134.71 MiB | 1.47 MiB/s, done.
> Resolving deltas: 100% (277418/277418), done.
> Checking connectivity... done.
>
>
> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky$ source
> oe-init-build-env
> You had no conf/local.conf file. This configuration file has therefore been
> created for you with some default values. You may wish to edit it to, for
> example, select a different MACHINE (target hardware). See conf/local.conf
> for more information as common configuration options are commented.
>
> You had no conf/bblayers.conf file. This configuration file has therefore
> been
> created for you with some default values. To add additional metadata layers
> into your configuration please add entries to conf/bblayers.conf.
>
> The Yocto Project has extensive documentation about OE including a
> reference
> manual which can be found at:
>     http://yoctoproject.org/documentation
>
> For more information about OpenEmbedded see their website:
>     http://www.openembedded.org/
>
>
> ### Shell environment set up for builds. ###
>
> You can now run 'bitbake <target>'
>
> Common targets are:
>     core-image-minimal
>     core-image-sato
>     meta-toolchain
>     meta-ide-support
>
> You can also run generated qemu images with a command like 'runqemu
> qemux86'
> bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ bitbake
> core-image-minimal
> ERROR:  OE-core's config sanity checker detected a potential
> misconfiguration.
>     Either fix the cause of this error or at your own risk disable the
> checker (see sanity.conf).
>     Following is the list of potential problems / advisories:
>
>     Fetcher failure for URL: 'https://www.example.com/'. URL
> https://www.example.com/ doesn't work.
>     Please ensure your host's network is configured correctly,
>     or set BB_NO_NETWORK = "1" to disable network access if
>     all required sources are on local disk.
>
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
> Any suggestions ?
>
> I'm using ubuntu 16.04,
>
> Thanks
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 4166 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bitbake error ?
@ 2017-08-09  8:29 Riko
  2017-08-09  8:31 ` Burton, Ross
  0 siblings, 1 reply; 18+ messages in thread
From: Riko @ 2017-08-09  8:29 UTC (permalink / raw)
  To: N:

Dear Yocto Member,


I have downloaded fresh install of yocto but got error, here's the trace :

bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~$ git clone -b pyro 
git://git.yoctoproject.org/poky.git
Cloning into 'poky'...
remote: Counting objects: 373183, done.
remote: Compressing objects: 100% (89366/89366), done.
remote: Total 373183 (delta 277418), reused 373031 (delta 277266)
Receiving objects: 100% (373183/373183), 134.71 MiB | 1.47 MiB/s, done.
Resolving deltas: 100% (277418/277418), done.
Checking connectivity... done.


bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky$ source oe-init-build-env
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to, for
example, select a different MACHINE (target hardware). See conf/local.conf
for more information as common configuration options are commented.

You had no conf/bblayers.conf file. This configuration file has 
therefore been
created for you with some default values. To add additional metadata layers
into your configuration please add entries to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
     http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
     http://www.openembedded.org/


### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
     core-image-minimal
     core-image-sato
     meta-toolchain
     meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'
bianchi@bianchi-HP-Pavilion-dv6-Notebook-PC:~/poky/build$ bitbake 
core-image-minimal
ERROR:  OE-core's config sanity checker detected a potential 
misconfiguration.
     Either fix the cause of this error or at your own risk disable the 
checker (see sanity.conf).
     Following is the list of potential problems / advisories:

     Fetcher failure for URL: 'https://www.example.com/'. URL 
https://www.example.com/ doesn't work.
     Please ensure your host's network is configured correctly,
     or set BB_NO_NETWORK = "1" to disable network access if
     all required sources are on local disk.


Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Any suggestions ?

I'm using ubuntu 16.04,

Thanks



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-08-10  1:19 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-28 13:18 bitbake error? Jaap de Jong
2010-10-29  1:51 ` James Ronald
2010-10-29  9:33   ` Pierluigi Passaro
2010-10-29 15:20     ` James Ronald
2010-10-30 10:16       ` Jaap de Jong
2010-10-30 10:21         ` Denys Dmytriyenko
2010-11-01  9:59           ` Walter Franzini
2017-08-09  8:29 bitbake error ? Riko
2017-08-09  8:31 ` Burton, Ross
2017-08-09  8:34   ` Riko
2017-08-09  8:38     ` Burton, Ross
2017-08-09 10:27       ` Riko Ho
2017-08-09 10:34         ` Burton, Ross
2017-08-09 12:42           ` Bejar-Colonia, Carlos
     [not found]             ` <CAByQQ_rHGL-wCDP_gnws4txKTq_6Qn1ux83jx4BjiZbveLDCNQ@mail.gmail.com>
2017-08-09 21:06               ` Riko Ho
2017-08-09 21:13                 ` Burton, Ross
2017-08-10  1:19                   ` Riko
2017-08-10  1:09       ` Riko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.