Skip to contentSkip to conversation

bitbake error ?

DISCUSSION Riko 3 participants 11 messages Aug 9, 2017 – Aug 10, 2017 1 message not in the archive

lore
Share & tools
lore

Riko

author
#0 lore raw

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

#1 lore raw

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

Quoted 79 lines · Riko

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

author
#2 lore raw

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’
Quoted 96 lines · Ross

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 <[email protected] <mailto:[email protected]>> 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
[email protected] <mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/yocto
<https://lists.yoctoproject.org/listinfo/yocto>

#3 lore raw

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

Quoted 104 lines · Riko

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

Quoted 81 lines · Riko

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

author
#4 lore raw

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

Quoted 129 lines · Ross

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

Quoted 106 lines · Riko

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

Quoted 83 lines · Riko

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#5 lore raw

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

Ross

Quoted 136 lines · Riko Ho

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

Quoted 131 lines · Ross

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

Quoted 108 lines · Riko

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

Quoted 85 lines · Riko

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#6 lore raw

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: [email protected] [mailto:[email protected]] On Behalf Of Burton, Ross
Sent: Wednesday, August 09, 2017 6:35 AM
To: Riko Ho <[email protected]>
Cc: N: <[email protected]>
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 <[email protected]<mailto:[email protected]>> 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" <[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]>
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.

A message that is not in the archive (sent off-list or not yet received): CAByQQ_rHGL-wCDP_gnws4txKTq_6Qn1ux83jx4BjiZbveLDCNQ@mail.gmail.com

author
#8 lore raw

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" <
[email protected]> 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:* [email protected] [mailto:yocto-bounces@ yoctoproject.org] *On Behalf Of *Burton, Ross *Sent:* Wednesday, August 09, 2017 6:35 AM
*To:* Riko Ho <[email protected]>
*Cc:* N: <[email protected]>
*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 <[email protected]> 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" <[email protected]> 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 <[email protected]> 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 <[email protected]> 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

Signature · 21 lines
_______________________________________________
yocto mailing list
[email protected]
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.
#9 lore raw

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

Ross

Quoted 209 lines · Riko Ho

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" <
[email protected]> 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:* [email protected] [mailto:yocto-bounces@yoctopro ject.org] *On Behalf Of *Burton, Ross
*Sent:* Wednesday, August 09, 2017 6:35 AM
*To:* Riko Ho <[email protected]>
*Cc:* N: <[email protected]>
*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 <[email protected]> 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" <[email protected]> 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 <[email protected]> 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 <[email protected]> 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
[email protected]
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.

author
#10 lore raw

Dear Yocto member,

I fixed it

on /etc/resolv.conf

nameserver 8.8.8.8

Thanks for helping everyone

Quoted 223 lines · Ross

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

Ross

On 9 August 2017 at 22:06, Riko Ho <[email protected] <mailto:[email protected]>> 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" <[email protected] <mailto:[email protected]>> 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:*[email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]>] *On Behalf Of *Burton, Ross
*Sent:* Wednesday, August 09, 2017 6:35 AM
*To:* Riko Ho <[email protected] <mailto:[email protected]>>
*Cc:* N: <[email protected] <mailto:[email protected]>> *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 <[email protected] <mailto:[email protected]>> 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" <[email protected] <mailto:[email protected]>> 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 <[email protected] <mailto:[email protected]>> 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 <[email protected] <mailto:[email protected]>> 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 [email protected] <mailto:[email protected]>
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.

author
#11 lore raw
In reply to Burton, Ross

When I test on browser :

https://www.example.com/

I got server not found ??

Quoted 135 lines · Ross

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 <[email protected] <mailto:[email protected]>> 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>

Quoted 100 lines · Ross

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 <[email protected] <mailto:[email protected]>> 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
[email protected] <mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/yocto
<https://lists.yoctoproject.org/listinfo/yocto>