All of lore.kernel.org
 help / color / mirror / Atom feed
* Trying to bitbake core-image-minimal on Archlinux
@ 2013-03-03 18:02 Ismael Barros²
  2013-03-03 22:16 ` Jack Mitchell
  2013-03-08  9:07 ` Khem Raj
  0 siblings, 2 replies; 6+ messages in thread
From: Ismael Barros² @ 2013-03-03 18:02 UTC (permalink / raw)
  To: yocto

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

Hi there,

I'm new to Yocto, and I keep finding errors that prevent me from building a
minimal image.

I've just installed poky-danny-8.0, sourced oe-init-build-env, and
bitbaked core-image-minimal. The first error is that bitbake sanity checks
fail to detect the network access, while my network connectivity is
perfect, and downloading packages seem to work if I disable this checks.
Full log: http://pastebin.com/6jJCC1qp. I couldn't find any log that told
me which piece of code was failing, so I jut disabled this check
on ../meta-yocto/conf/distro/poky.conf

Upon trying again, building started fine, but it started failing to build
the documentation for some packages, i.e. binutils-cross. First off, I want
to build a single mission appliance, I don't really want to build any
documentation, is there any way I can disable it? Anyway, this is the build
log: http://pastebin.com/n9U4GfjG. Looks like there are some texinfo
commands my machine (texinfo 5.0) doesn't recognice. According to
http://sourceware.org/bugzilla/show_bug.cgi?id=15183, it's a known bug
on binuilts-2.22 and it's fixed on binuilts-2.23.

Poking around, looks like "updating" to binutils-2.23 got it kind of
working:

mv ./meta/recipes-devtools/binutils/binutils-2.22.inc
./meta/recipes-devtools/binutils/binutils-2.23.1.inc
mv ./meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb./meta/recipes-devtools/binutils/
binutils-cross-canadian_2.23.1.bb
mv ./meta/recipes-devtools/binutils/binutils_2.22.bb./meta/recipes-devtools/binutils/
binutils_2.23.1.bb
mv ./meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb./meta/recipes-devtools/binutils/
binutils-crosssdk_2.23.1.bb
mv ./meta/recipes-devtools/binutils/binutils-cross_2.22.bb./meta/recipes-devtools/binutils/
binutils-cross_2.23.1.bb

I also had to update the md5 and sha1
on ./meta/recipes-devtools/binutils/binutils-2.23.1.inc. After that, some
patches failed to apply:
libtool-2.4-update.patch, binutils-2.19.1-ld-sysroot.patch,
binutils-poison.patch,
libtool-rpath-fix.patch, clone-shadow.patch... so gave up
What would be the appropiate way to workaround this issue, besides not
using Archlinux?

Btw, if the bitbake core-image-minimal fails because there's not enough
disk space, and the free disk in the partition is left to 0, after that
even the bitbake clean command fails :\


Anyway, thank you guys for what seems to be an excellent BSP factory, I'm
really looking forward to start using it at our company :)

Kind regards,
Ismael

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

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

* Re: Trying to bitbake core-image-minimal on Archlinux
  2013-03-03 18:02 Trying to bitbake core-image-minimal on Archlinux Ismael Barros²
@ 2013-03-03 22:16 ` Jack Mitchell
  2013-03-07 15:22   ` Biao
  2013-03-08  9:07 ` Khem Raj
  1 sibling, 1 reply; 6+ messages in thread
From: Jack Mitchell @ 2013-03-03 22:16 UTC (permalink / raw)
  To: yocto

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

On 03/03/13 18:02, Ismael Barros² wrote:
> Hi there,
>
> I'm new to Yocto, and I keep finding errors that prevent me from 
> building a minimal image.
>
> I've just installed poky-danny-8.0, sourced oe-init-build-env, and 
> bitbaked core-image-minimal. The first error is that bitbake sanity 
> checks fail to detect the network access, while my network 
> connectivity is perfect, and downloading packages seem to work if I 
> disable this checks. Full log: http://pastebin.com/6jJCC1qp. I 
> couldn't find any log that told me which piece of code was failing, so 
> I jut disabled this check on ../meta-yocto/conf/distro/poky.conf
>
> Upon trying again, building started fine, but it started failing to 
> build the documentation for some packages, i.e. binutils-cross. First 
> off, I want to build a single mission appliance, I don't really want 
> to build any documentation, is there any way I can disable it? Anyway, 
> this is the build log: http://pastebin.com/n9U4GfjG. Looks like there 
> are some texinfo commands my machine (texinfo 5.0) doesn't recognice. 
> According to http://sourceware.org/bugzilla/show_bug.cgi?id=15183, 
> it's a known bug on binuilts-2.22 and it's fixed on binuilts-2.23.
>
> Poking around, looks like "updating" to binutils-2.23 got it kind of 
> working:
>
> mv ./meta/recipes-devtools/binutils/binutils-2.22.inc 
> ./meta/recipes-devtools/binutils/binutils-2.23.1.inc
> mv ./meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb 
> <http://binutils-cross-canadian_2.22.bb> 
> ./meta/recipes-devtools/binutils/binutils-cross-canadian_2.23.1.bb 
> <http://binutils-cross-canadian_2.23.1.bb>
> mv ./meta/recipes-devtools/binutils/binutils_2.22.bb 
> <http://binutils_2.22.bb> 
> ./meta/recipes-devtools/binutils/binutils_2.23.1.bb 
> <http://binutils_2.23.1.bb>
> mv ./meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb 
> <http://binutils-crosssdk_2.22.bb> 
> ./meta/recipes-devtools/binutils/binutils-crosssdk_2.23.1.bb 
> <http://binutils-crosssdk_2.23.1.bb>
> mv ./meta/recipes-devtools/binutils/binutils-cross_2.22.bb 
> <http://binutils-cross_2.22.bb> 
> ./meta/recipes-devtools/binutils/binutils-cross_2.23.1.bb 
> <http://binutils-cross_2.23.1.bb>
>
> I also had to update the md5 and sha1 
> on ./meta/recipes-devtools/binutils/binutils-2.23.1.inc. After that, 
> some patches failed to apply: 
> libtool-2.4-update.patch, binutils-2.19.1-ld-sysroot.patch, binutils-poison.patch, 
> libtool-rpath-fix.patch, clone-shadow.patch... so gave up
> What would be the appropiate way to workaround this issue, besides not 
> using Archlinux?
>
> Btw, if the bitbake core-image-minimal fails because there's not 
> enough disk space, and the free disk in the partition is left to 0, 
> after that even the bitbake clean command fails :\
>
>
> Anyway, thank you guys for what seems to be an excellent BSP factory, 
> I'm really looking forward to start using it at our company :)
>
> Kind regards,
> Ismael
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Hi Ismael,

Archlinux currently has texinfo5 in it's core repo which breaks a 
significant amount of packages. I would suggest downgrading to 
textinfo4.x (can't remember the exact version) and then things should at 
least start to get going again. I'm afraid however if you insist on 
using a rolling release distro you are going to hit these problems more 
often than most, if you want a stable build environment then I would 
suggest using a sanity tested distro. If you do with to persist with 
Archlinux I suggest you follow oe-core/yocto master and update regulary.

Cheers,
Jack.

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

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

* Re: Trying to bitbake core-image-minimal on Archlinux
  2013-03-03 22:16 ` Jack Mitchell
@ 2013-03-07 15:22   ` Biao
  2013-03-08  7:40     ` Satya Swaroop Damarla
  2013-03-08  8:55     ` Burton, Ross
  0 siblings, 2 replies; 6+ messages in thread
From: Biao @ 2013-03-07 15:22 UTC (permalink / raw)
  To: ml; +Cc: yocto

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








在 2013-03-04 06:16:55,"Jack Mitchell" <ml@communistcode.co.uk> 写道:

On 03/03/13 18:02, Ismael Barros² wrote:

Hi there,


I'm new to Yocto, and I keep finding errors that prevent me from building a minimal image.


I've just installed poky-danny-8.0, sourced oe-init-build-env, and bitbaked core-image-minimal. The first error is that bitbake sanity checks fail to detect the network access, while my network connectivity is perfect, and downloading packages seem to work if I disable this checks. Full log: http://pastebin.com/6jJCC1qp. I couldn't find any log that told me which piece of code was failing, so I jut disabled this check on ../meta-yocto/conf/distro/poky.conf


Upon trying again, building started fine, but it started failing to build the documentation for some packages, i.e. binutils-cross. First off, I want to build a single mission appliance, I don't really want to build any documentation, is there any way I can disable it? Anyway, this is the build log: http://pastebin.com/n9U4GfjG. Looks like there are some texinfo commands my machine (texinfo 5.0) doesn't recognice. According to http://sourceware.org/bugzilla/show_bug.cgi?id=15183, it's a known bug on binuilts-2.22 and it's fixed on binuilts-2.23.


Poking around, looks like "updating" to binutils-2.23 got it kind of working:


mv ./meta/recipes-devtools/binutils/binutils-2.22.inc ./meta/recipes-devtools/binutils/binutils-2.23.1.inc
mv ./meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb ./meta/recipes-devtools/binutils/binutils-cross-canadian_2.23.1.bb
mv ./meta/recipes-devtools/binutils/binutils_2.22.bb ./meta/recipes-devtools/binutils/binutils_2.23.1.bb
mv ./meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb ./meta/recipes-devtools/binutils/binutils-crosssdk_2.23.1.bb
mv ./meta/recipes-devtools/binutils/binutils-cross_2.22.bb ./meta/recipes-devtools/binutils/binutils-cross_2.23.1.bb


I also had to update the md5 and sha1 on ./meta/recipes-devtools/binutils/binutils-2.23.1.inc. After that, some patches failed to apply: libtool-2.4-update.patch, binutils-2.19.1-ld-sysroot.patch, binutils-poison.patch, libtool-rpath-fix.patch, clone-shadow.patch... so gave up
What would be the appropiate way to workaround this issue, besides not using Archlinux?


Btw, if the bitbake core-image-minimal fails because there's not enough disk space, and the free disk in the partition is left to 0, after that even the bitbake clean command fails :\




Anyway, thank you guys for what seems to be an excellent BSP factory, I'm really looking forward to start using it at our company :)


Kind regards,
Ismael



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

Hi Ismael,

Archlinux currently has texinfo5 in it's core repo which breaks a significant amount of packages. I would suggest downgrading to textinfo4.x (can't remember the exact version) and then things should at least start to get going again. I'm afraid however if you insist on using a rolling release distro you are going to hit these problems more often than most, if you want a stable build environment then I would suggest using a sanity tested distro. If you do with to persist with Archlinux I suggest you follow oe-core/yocto master and update regulary.


One dummy question, how to find out the list of all "sanity tested distro", i just saw a long list from the output of "git tag". 


Thanks,
Biao


Cheers,
Jack.

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

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

* Re: Trying to bitbake core-image-minimal on Archlinux
  2013-03-07 15:22   ` Biao
@ 2013-03-08  7:40     ` Satya Swaroop Damarla
  2013-03-08  8:55     ` Burton, Ross
  1 sibling, 0 replies; 6+ messages in thread
From: Satya Swaroop Damarla @ 2013-03-08  7:40 UTC (permalink / raw)
  To: Biao, yocto@yoctoproject.org

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

hey Biao,

The sanity information is provided in the directory meta-yocto/conf/distro/
... Here there are several distributions and in their conf file you have
the sanity tested ditro .. :)

Greets,
Satya


On Thu, Mar 7, 2013 at 4:22 PM, Biao <huanmateme@163.com> wrote:

>
>
>
>
>
>
> 在 2013-03-04 06:16:55,"Jack Mitchell" <ml@communistcode.co.uk> 写道:
>
>  On 03/03/13 18:02, Ismael Barros² wrote:
>
> Hi there,
>
>  I'm new to Yocto, and I keep finding errors that prevent me from
> building a minimal image.
>
>  I've just installed poky-danny-8.0, sourced oe-init-build-env, and
> bitbaked core-image-minimal. The first error is that bitbake sanity checks
> fail to detect the network access, while my network connectivity is
> perfect, and downloading packages seem to work if I disable this checks.
> Full log: http://pastebin.com/6jJCC1qp. I couldn't find any log that told
> me which piece of code was failing, so I jut disabled this check
> on ../meta-yocto/conf/distro/poky.conf
>
>  Upon trying again, building started fine, but it started failing to
> build the documentation for some packages, i.e. binutils-cross. First off,
> I want to build a single mission appliance, I don't really want to build
> any documentation, is there any way I can disable it? Anyway, this is the
> build log: http://pastebin.com/n9U4GfjG. Looks like there are some
> texinfo commands my machine (texinfo 5.0) doesn't recognice. According to
> http://sourceware.org/bugzilla/show_bug.cgi?id=15183, it's a known bug
> on binuilts-2.22 and it's fixed on binuilts-2.23.
>
>  Poking around, looks like "updating" to binutils-2.23 got it kind of
> working:
>
>  mv ./meta/recipes-devtools/binutils/binutils-2.22.inc
> ./meta/recipes-devtools/binutils/binutils-2.23.1.inc
> mv ./meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb./meta/recipes-devtools/binutils/
> binutils-cross-canadian_2.23.1.bb
> mv ./meta/recipes-devtools/binutils/binutils_2.22.bb./meta/recipes-devtools/binutils/
> binutils_2.23.1.bb
> mv ./meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb./meta/recipes-devtools/binutils/
> binutils-crosssdk_2.23.1.bb
> mv ./meta/recipes-devtools/binutils/binutils-cross_2.22.bb./meta/recipes-devtools/binutils/
> binutils-cross_2.23.1.bb
>
>  I also had to update the md5 and sha1
> on ./meta/recipes-devtools/binutils/binutils-2.23.1.inc. After that, some
> patches failed to apply:
> libtool-2.4-update.patch, binutils-2.19.1-ld-sysroot.patch, binutils-poison.patch,
> libtool-rpath-fix.patch, clone-shadow.patch... so gave up
> What would be the appropiate way to workaround this issue, besides not
> using Archlinux?
>
>  Btw, if the bitbake core-image-minimal fails because there's not enough
> disk space, and the free disk in the partition is left to 0, after that
> even the bitbake clean command fails :\
>
>
>  Anyway, thank you guys for what seems to be an excellent BSP factory,
> I'm really looking forward to start using it at our company :)
>
>  Kind regards,
> Ismael
>
>
> _______________________________________________
> yocto mailing listyocto@yoctoproject.orghttps://lists.yoctoproject.org/listinfo/yocto
>
>
> Hi Ismael,
>
> Archlinux currently has texinfo5 in it's core repo which breaks a
> significant amount of packages. I would suggest downgrading to textinfo4.x
> (can't remember the exact version) and then things should at least start to
> get going again. I'm afraid however if you insist on using a rolling
> release distro you are going to hit these problems more often than most, if
> you want a stable build environment then I would suggest using a sanity
> tested distro. If you do with to persist with Archlinux I suggest you
> follow oe-core/yocto master and update regulary.
>
>
> One dummy question, how to find out the list of all "sanity tested
> distro", i just saw a long list from the output of "git tag".
>
> Thanks,
> Biao
>
>
> Cheers,
> Jack.
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

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

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

* Re: Trying to bitbake core-image-minimal on Archlinux
  2013-03-07 15:22   ` Biao
  2013-03-08  7:40     ` Satya Swaroop Damarla
@ 2013-03-08  8:55     ` Burton, Ross
  1 sibling, 0 replies; 6+ messages in thread
From: Burton, Ross @ 2013-03-08  8:55 UTC (permalink / raw)
  To: Biao; +Cc: yocto

On 7 March 2013 15:22, Biao <huanmateme@163.com> wrote:
> One dummy question, how to find out the list of all "sanity tested distro",
> i just saw a long list from the output of "git tag".

Have a look in meta-yocto/conf/distro/poky.conf, specifically
SANITY_TESTED_DISTROS.

Related: if you get the warning but your system is fine, then you can
set that variable to "" in your local.conf.  I do this as I run Debian
Unstable, which for obvious reasons isn't certified.

Ross


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

* Re: Trying to bitbake core-image-minimal on Archlinux
  2013-03-03 18:02 Trying to bitbake core-image-minimal on Archlinux Ismael Barros²
  2013-03-03 22:16 ` Jack Mitchell
@ 2013-03-08  9:07 ` Khem Raj
  1 sibling, 0 replies; 6+ messages in thread
From: Khem Raj @ 2013-03-08  9:07 UTC (permalink / raw)
  To: Ismael Barros²; +Cc: yocto

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


On Mar 3, 2013, at 10:02 AM, Ismael Barros² <ismael@imasdetres.com> wrote:

> Hi there,
> 
> I'm new to Yocto, and I keep finding errors that prevent me from building a minimal image.
> 
> I've just installed poky-danny-8.0, sourced oe-init-build-env, and bitbaked core-image-minimal. The first error is that bitbake sanity checks fail to detect the network access, while my network connectivity is perfect, and downloading packages seem to work if I disable this checks. Full log: http://pastebin.com/6jJCC1qp. I couldn't find any log that told me which piece of code was failing, so I jut disabled this check on ../meta-yocto/conf/distro/poky.conf
> 
> Upon trying again, building started fine, but it started failing to build the documentation for some packages, i.e. binutils-cross. First off, I want to build a single mission appliance, I don't really want to build any documentation, is there any way I can disable it? Anyway, this is the build log: http://pastebin.com/n9U4GfjG. Looks like there are some texinfo commands my machine (texinfo 5.0) doesn't recognice. According to http://sourceware.org/bugzilla/show_bug.cgi?id=15183, it's a known bug on binuilts-2.22 and it's fixed on binuilts-2.23.

Archlinux version you might be using may not be one of sanitized distro for building danny
you could have upgrades to components that are pre-requisites for building binutils cross

if you can try to use one of sanitized distros on your build host that way you can avoid some
of these issues.

> 
> Poking around, looks like "updating" to binutils-2.23 got it kind of working:

thats invasive change for danny to back port. May be you can try latest master and upcoming
release 1.4 if you can afford that

> 
> mv ./meta/recipes-devtools/binutils/binutils-2.22.inc ./meta/recipes-devtools/binutils/binutils-2.23.1.inc
> mv ./meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb ./meta/recipes-devtools/binutils/binutils-cross-canadian_2.23.1.bb
> mv ./meta/recipes-devtools/binutils/binutils_2.22.bb ./meta/recipes-devtools/binutils/binutils_2.23.1.bb
> mv ./meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb ./meta/recipes-devtools/binutils/binutils-crosssdk_2.23.1.bb
> mv ./meta/recipes-devtools/binutils/binutils-cross_2.22.bb ./meta/recipes-devtools/binutils/binutils-cross_2.23.1.bb
> 
> I also had to update the md5 and sha1 on ./meta/recipes-devtools/binutils/binutils-2.23.1.inc. After that, some patches failed to apply: libtool-2.4-update.patch, binutils-2.19.1-ld-sysroot.patch, binutils-poison.patch, libtool-rpath-fix.patch, clone-shadow.patch... so gave up
> What would be the appropiate way to workaround this issue, besides not using Archlinux?
> 
> Btw, if the bitbake core-image-minimal fails because there's not enough disk space, and the free disk in the partition is left to 0, after that even the bitbake clean command fails :\
> 
> 
> Anyway, thank you guys for what seems to be an excellent BSP factory, I'm really looking forward to start using it at our company :)
> 
> Kind regards,
> Ismael
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

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

end of thread, other threads:[~2013-03-08  9:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-03 18:02 Trying to bitbake core-image-minimal on Archlinux Ismael Barros²
2013-03-03 22:16 ` Jack Mitchell
2013-03-07 15:22   ` Biao
2013-03-08  7:40     ` Satya Swaroop Damarla
2013-03-08  8:55     ` Burton, Ross
2013-03-08  9:07 ` Khem Raj

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.