Problem while setting up yocto environment on Wandboard.

11,913 views
Skip to first unread message

mayur....@mindastoneridge.com

unread,
Aug 8, 2014, 1:24:48 AM8/8/14
to wand...@googlegroups.com, Sandeep Gound, Nilesh Kokane, Switesh Fulpagare
Hi All,

I am setting up yocto on wandboard & for that I am using link http://wiki.wandboard.org/index.php/Getting_started_with_Yocto_on_Wandboard.

After going to step by step as per this document, i am getting stuck at the command $ bitbake core-image-minimal. When I enter this command its gives me an error as,

 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:

    libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be found in PATH. Please either install it, or configure qemu not to require sdl.Failed to fetch test data from the network. Please ensure your network is configured correctly.



Then i search on net for the respective error. i got the solution at link http://android.serverbox.ch/?p=1273
 (As "If you get the same error, you should obviously check your internet connection first, but chances are, that you are indeed online – you are reading this blog after all :) – and the test data is currently not available. To disable the network test data download, we need to empty the variable CONNECTIVTY_CHECK_URIS. This could be done in the file yocto/poky/meta-yocto-conf/distro/poky.conf. A better approach however is adding this variable to our local configuration under conf/local.conf so that it reads:
CONNECTIVITY_CHECK_URIS = ""
# ..
")



Then I make empty the variable CONNECTIVTY_CHECK_URIS & saved & again execute the command $ bitbake core-image-minimal then i got the error as,
ERROR: Traceback (most recent call last):
  File "/home/msil/Yocto_Distribution/sources/poky/bitbake/lib/bb/cookerdata.py", line 163, in wrapped
    return func(fn, *args)
  File "/home/msil/Yocto_Distribution/sources/poky/bitbake/lib/bb/cookerdata.py", line 173, in parse_config_file
    return bb.parse.handle(fn, data, include)
  File "/home/msil/Yocto_Distribution/sources/poky/bitbake/lib/bb/parse/__init__.py", line 102, in handle
    return h['handle'](fn, data, include)
  File "/home/msil/Yocto_Distribution/sources/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 151, in handle
    statements.eval(data)
  File "/home/msil/Yocto_Distribution/sources/poky/bitbake/lib/bb/parse/ast.py", line 39, in eval
    statement.eval(data)
  File "/home/msil/Yocto_Distribution/sources/poky/bitbake/lib/bb/parse/ast.py", line 63, in eval
    bb.parse.ConfHandler.include(self.filename, s, self.lineno, data, False)
  File "/home/msil/Yocto_Distribution/sources/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 97, in include
    ret = handle(fn, data, True)
  File "/home/msil/Yocto_Distribution/sources/poky/bitbake/lib/bb/parse/__init__.py", line 102, in handle
    return h['handle'](fn, data, include)
  File "/home/msil/Yocto_Distribution/sources/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 147, in handle
    feeder(lineno, s, abs_fn, statements)
  File "/home/msil/Yocto_Distribution/sources/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 184, in feeder
    raise ParseError("unparsed line: '%s'" % s, fn, lineno);
ParseError: ParseError at /home/msil/Yocto_Distribution/sources/poky/meta-yocto/conf/distro/poky.conf:73: unparsed line: 'CONNECTIVITY_CHECK_URIS = "" /* " https://eula-downloads.yoctoproject.org/index.php http://bugzilla.yoctoproject.org/report.cgi" */'

ERROR: Unable to parse conf/bitbake.conf: ParseError at /home/msil/Yocto_Distribution/sources/poky/meta-yocto/conf/distro/poky.conf:73: unparsed line: 'CONNECTIVITY_CHECK_URIS = "" /* " https://eula-downloads.yoctoproject.org/index.php http://bugzilla.yoctoproject.org/report.cgi" */'

Please let me know what is missing in the  procedure.


Thanks & regards,

Mayur Gaikwad



“The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.”

bx...@powerhydrant.com

unread,
Aug 12, 2014, 10:23:26 AM8/12/14
to wand...@googlegroups.com, sand...@mindastoneridge.com, nilesh...@mindastoneridge.com, switesh....@mindastoneridge.com

Hi, 
I met exactly the same problem! Have you figure out how to fix it? 

thanks!

Zoe

John Weber

unread,
Aug 12, 2014, 11:54:37 AM8/12/14
to wand...@googlegroups.com

On 8/12/14, 9:23 AM, bx...@powerhydrant.com wrote:

Hi, 
I met exactly the same problem! Have you figure out how to fix it? 

thanks!

Zoe
On Friday, August 8, 2014 1:24:48 AM UTC-4, mayur....@mindastoneridge.com wrote:
Hi All,

I am setting up yocto on wandboard & for that I am using link http://wiki.wandboard.org/index.php/Getting_started_with_Yocto_on_Wandboard.

In the future please specify the branch (master or daisy).

After going to step by step as per this document, i am getting stuck at the command $ bitbake core-image-minimal. When I enter this command its gives me an error as,

 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:

    libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be found in PATH. Please either install it, or configure qemu not to require sdl.Failed to fetch test data from the network. Please ensure your network is configured correctly.


Try installing libsdl1.2-dev package (if you're using Ubuntu)

sudo apt-get install libsdl1.2-dev

This is not in the normal list of required packages for installation, so I wonder if it should be required or if it is needed.



Then i search on net for the respective error. i got the solution at link http://android.serverbox.ch/?p=1273
 (As "If you get the same error, you should obviously check your internet connection first, but chances are, that you are indeed online – you are reading this blog after all :) – and the test data is currently not available. To disable the network test data download, we need to empty the variable CONNECTIVTY_CHECK_URIS. This could be done in the file yocto/poky/meta-yocto-conf/distro/poky.conf. A better approach however is adding this variable to our local configuration under conf/local.conf so that it reads:
CONNECTIVITY_CHECK_URIS = ""
# ..
")


You should never have to make changes to poky.conf in order to build standard images.  The fix you mention above seems to bypass the connectivity checker, which is used to verify Internet connectivity, needed for downloading the packages to be built.
--
You received this message because you are subscribed to the Google Groups "Wandboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wandboard+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mayur....@mindastoneridge.com

unread,
Aug 13, 2014, 12:14:16 AM8/13/14
to wand...@googlegroups.com, Sandeep Gound
Hi Zoe,

As per John Weber's reply, try to install  libsdl1.2-dev package. It will surely work at your end & don't modify poky.conf

thanks.

Bingqian Xie

unread,
Aug 15, 2014, 4:50:21 PM8/15/14
to wand...@googlegroups.com
Hi John, 
Thanks a lot! This really helps me solve the problem. 
btw, the branch I tried is master, my host machine is Ubuntu 14.04. and it works now!

also many thanks to Mayur!

Best,
Zoe
Reply all
Reply to author
Forward
0 new messages