[poky] Problem building MIPS image (core-image-minimal)

Gary Thomas gary at mlbassoc.com
Fri Mar 30 09:50:30 PDT 2012


On 2012-03-30 09:17, Zhouheng Zhuang wrote:
> I used package_rpm instead and it worked. Thanks.
> I am wondering why package_rpm works, but package_deb doesn't. Can you explain what happens here? Thanks.

Looks like package_deb is broken all around - check out https://bugzilla.yoctoproject.org/show_bug.cgi?id=1858
package_ipk (what I use all the time) and package_rpm work fine

> On Fri, Mar 30, 2012 at 2:22 AM, Khem Raj <raj.khem at gmail.com <mailto:raj.khem at gmail.com>> wrote:
>
>     On Thu, Mar 29, 2012 at 1:51 PM, Zhouheng Zhuang <zz245 at cornell.edu <mailto:zz245 at cornell.edu>> wrote:
>     >  Hi all,
>     >  I am a student, and I just started using Yocto Project, and tried to build a
>     >  MIPS image (core-image-minimal) myself, but failed. Can anyone help me on
>     >  this issue?
>     >
>     >  I downloaded Yocto 1.1. After
>     >  % source oe-init-build-env
>     >  I set configurations in ./build/conf/local.conf with (the file is attached)
>     >  ------
>     >  BB_NUMBER_THREADS = "4"
>     >  PARALLEL_MAKE = "-j 3"
>     >  MACHINE ??= "qemumips"
>     >  DISTRO ?= "poky"
>     >  PACKAGE_CLASSES = "package_deb"
>
>     what happens when you use package_ipk or package_rpm and rebuild?
>     just want to make sure if its related to package backend
>
>     >  EXTRA_IMAGE_FEATURES = "debug-tweaks"
>     >  USER_CLASSES ?= "image-mklibs image-prelink"
>     >  PATCHRESOLVE = "noop"
>     >  CONF_VERSION = "1"
>     >  INHERIT += rm_work
>     >  ------
>     >
>     >  Then, I ran
>     >  % bitbake -k core-image-minimal
>     >  and got errors:
>     >  ------
>     >  Errors were encountered while processing:
>     >   /home/zhouheng/poky/build/tmp/deploy/deb/mips/./base-passwd_3.5.22-r9_mips.deb
>     >  W: Ignoring Provides line with DepCompareOp for package rtld
>     >  W: You may want to run apt-get update to correct these problems
>     >  E: Sub-process dpkg returned an error code (1)
>     >  ERROR: Function 'do_rootfs' failed (see
>     >  /home/zhouheng/poky/build/tmp/work/qemumips-poky-linux/core-image-minimal-1.0-r0/temp/log.do_rootfs.2097
>     >  for further information)
>     >  -------
>     >  I have attached the errorlog with the email, too.
>     >  I have tried searching the error, but I haven't figured out why it happens.
>     >  Can anyone answer my questions?
>     >  I would appreciate it very much if anyone can share their configuration to
>     >  successfully build the image.
>     >  Thank you very much!
>     >
>     >  Zhouheng (Philip) Zhuang
>     >
>     >
>     >
>     >
>     >  _______________________________________________
>     >  poky mailing list
>     >  poky at yoctoproject.org <mailto:poky at yoctoproject.org>
>     >  https://lists.yoctoproject.org/listinfo/poky
>     >
>
>
>
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list