[yocto] build failure on crownbay with EMGD

Tom Zanussi tom.zanussi at intel.com
Wed Nov 9 12:16:15 PST 2011


On Wed, 2011-11-09 at 12:03 -0800, James Abernathy wrote:
> 
> 
> On Wed, Nov 9, 2011 at 2:43 PM, Tom Zanussi <tom.zanussi at intel.com>
> wrote:
>         
>         
>         On Wed, 2011-11-09 at 10:24 -0800, James Abernathy wrote:
>         >
>         >
>         > On Wed, Nov 9, 2011 at 12:56 PM, James Abernathy
>         > <jfabernathy at gmail.com> wrote:
>         >
>         >
>         >         On Wed, Nov 9, 2011 at 12:51 PM, Tom Zanussi
>         >         <tom.zanussi at intel.com> wrote:
>         >                 On Wed, 2011-11-09 at 09:41 -0800, James
>         Abernathy
>         >                 wrote:
>         >                 > In the past I've built the crownbay-noemgd
>         >                 successfully, using the
>         >                 > Development Manual Appendix A corrected
>         instructions
>         >                 that have been
>         >                 > patched.  I thought I'd try my hand at
>         building the
>         >                 crownbay with EMGD
>         >                 > this time.  Following the instructions in
>         the
>         >                 Appendix A, but using
>         >                 > the opposite instructions related to EMGD,
>         plus
>         >                 installing EMGD per
>         >                 > the instructions in the README file in the
>         >                 meta-crownbay directory, I
>         >                 > got a long way into the build, but failed
>         toward the
>         >                 end in what looks
>         >                 > like a dependance issue.  Can someone spot
>         what I
>         >                 need to change???
>         >                 >
>         >
>         >
>         >                 Yes, you've hit the missing step added to
>         the update
>         >                 release notes here:
>         >
>         >
>         http://www.yoctoproject.org/download/bsp/intel-atom-processor-e660-intel-platform-controller-hub-eg20t-development-kit-1
>         >
>         >
>         >                 7. Remove the following unused file from the
>         emgd
>         >                 binaries in order to
>         >                 avoid a packaging error at build-time:
>         >                        $ rm
>         >
>         meta-intel/common/recipes-graphics/xorg-xserver/emgd-driver-bin-1.8/lib/dri/emgd_drv_video.so
>         >
>         >
>         >                 This was an omission in the README, queued
>         for the
>         >                 next edison point
>         >                 release.
>         >
>         >         If I remember my MeeGo stuff, then removing this
>         file will
>         >         eliminate the ability to do Media decode
>         acceleration??
>         >
>         >
>         > Not sure what it takes to get past this error. Just removing
>         the file
>         > and rerunning bitbake gets the same error.  Do I need
>         > to reset something before rerunning???
>         >
>         
>         
>         You should bump the PR of emgd-driver-bin_1.8.bb to get it to
>         use the
>         new contents i.e.
>         
>         change
>         
>         PR = "r7"
>         
>         to
>         
>         PR = "r8"
>         
>         To
> Okay, that fixed the issue. Now, how was I to know that? Is that a
> basic step in reruns? I'm guessing if I started from scratch and rm'ed
> the video file the first time it would have run with PR = "r7"?
>  
> Let me know what I should have read to know about the PR setting
>  

Yeah, in general, if you change a package, you need to update the PR so
it gets rebuilt.

It's described here:

http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html

3.4.3. Package Revision Incrementing


Admittedly, it might not be something a beginner would easily find, but
on the other hand, the instructions assume you're doing the setup before
a first build where rebuilding the package wouldn't matter.  On the
other hand, I guess the reason it happened in the first place was due to
the omission in the README, which by necessity could only be addressed
in the release notes for the BSP.  So we probably need to add a note to
bump the PR to the addition in the release notes as well.  Sound right?

Tom

> Thanks,
>  
> JIm A
>  
>         
>         >         Jim A
>         >
>         >                 Tom
>         >
>         >                 > NOTE: Running noexec task 4432 of 4436
>         (ID:
>         >                 >
>         >
>         715, /home/jim/poky/meta/recipes-kernel/linux/linux-yocto_3.0.bb,
>         >                 > do_package_write)
>         >                 > NOTE: package eglibc-locale-2.13-r16: task
>         >                 do_package_write_rpm:
>         >                 > Succeeded
>         >                 > NOTE: Running task 4433 of 4436 (ID:
>         >                 >
>         >
>         8, /home/jim/poky/meta/recipes-sato/images/core-image-sato.bb,
>         >                 > do_rootfs)
>         >                 > NOTE: Running noexec task 4434 of 4436
>         (ID:
>         >                 >
>         >
>         260, /home/jim/poky/meta/recipes-core/eglibc/eglibc-locale_2.13.bb,
>         >                 > do_package_write)
>         >                 > NOTE: package core-image-sato-1.0-r0: task
>         >                 do_rootfs: Started
>         >                 > ERROR: Function 'do_rootfs' failed
>         >                 >
>         >
>         (see /home/jim/poky/build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_rootfs.29608 for further information)
>         >                 > ERROR: Logfile of failure stored
>         >                 >
>         >
>         in: /home/jim/poky/build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_rootfs.29608
>         >                 > Log data follows:
>         >                 > | Generating solve db
>         >                 >
>         for /home/jim/poky/build/tmp/deploy/rpm/mymachine...
>         >                 > |    total:               1      0.000000
>         MB
>         >                  1.251276 secs
>         >                 > |    fingerprint:      1179      0.007580
>         MB
>         >                  0.225419 secs
>         >                 > |    install:           393      0.000000
>         MB
>         >                  0.467978 secs
>         >                 > |    dbadd:             393      0.000000
>         MB
>         >                  0.458049 secs
>         >                 > |    dbget:            2413      0.000000
>         MB
>         >                  0.002657 secs
>         >                 > |    dbput:             393      1.816904
>         MB
>         >                  0.387933 secs
>         >                 > |    readhdr:          3931      3.623312
>         MB
>         >                  0.007842 secs
>         >                 > |    hdrload:          1965      5.352088
>         MB
>         >                  0.015769 secs
>         >                 > |    hdrget:          67287      0.000000
>         MB
>         >                  0.025251 secs
>         >                 > | Generating solve db
>         >
>         for /home/jim/poky/build/tmp/deploy/rpm/core2...
>         >                 > |    total:               1      0.000000
>         MB
>         >                 30.690842 secs
>         >                 > |    fingerprint:     16377      0.192190
>         MB
>         >                  1.357263 secs
>         >                 > |    install:          5459      0.000000
>         MB
>         >                  9.185276 secs
>         >                 > |    dbadd:            5459      0.000000
>         MB
>         >                  8.997421 secs
>         >                 > |    dbget:           61190      0.000000
>         MB
>         >                  0.097393 secs
>         >                 > |    dbput:            5459     27.436448
>         MB
>         >                  8.057184 secs
>         >                 > |    readhdr:         54591     55.326554
>         MB
>         >                  0.216373 secs
>         >                 > |    hdrload:         27777     84.106654
>         MB
>         >                  0.241450 secs
>         >                 > |    hdrget:         982855      0.000000
>         MB
>         >                  0.367838 secs
>         >                 > | Generating solve db
>         >
>         for /home/jim/poky/build/tmp/deploy/rpm/all...
>         >                 > |    total:               1      0.000000
>         MB
>         >                  0.123502 secs
>         >                 > |    fingerprint:        96      0.003258
>         MB
>         >                  0.004244 secs
>         >                 > |    install:            32      0.000000
>         MB
>         >                  0.065233 secs
>         >                 > |    dbadd:              32      0.000000
>         MB
>         >                  0.062755 secs
>         >                 > |    dbget:             585      0.000000
>         MB
>         >                  0.000230 secs
>         >                 > |    dbput:              32      0.259492
>         MB
>         >                  0.039171 secs
>         >                 > |    readhdr:           321      0.520536
>         MB
>         >                  0.000570 secs
>         >                 > |    hdrload:           160      0.772764
>         MB
>         >                  0.001263 secs
>         >                 > |    hdrget:           5288      0.000000
>         MB
>         >                  0.002207 secs
>         >                 > | Generating solve db
>         >
>         for /home/jim/poky/build/tmp/deploy/rpm/all...
>         >                 > |    total:               1      0.000000
>         MB
>         >                  0.111927 secs
>         >                 > |    fingerprint:        96      0.003258
>         MB
>         >                  0.004173 secs
>         >                 > |    install:            32      0.000000
>         MB
>         >                  0.057706 secs
>         >                 > |    dbadd:              32      0.000000
>         MB
>         >                  0.055191 secs
>         >                 > |    dbget:             585      0.000000
>         MB
>         >                  0.000204 secs
>         >                 > |    dbput:              32      0.259492
>         MB
>         >                  0.034089 secs
>         >                 > |    readhdr:           321      0.520536
>         MB
>         >                  0.000673 secs
>         >                 > |    hdrload:           160      0.772764
>         MB
>         >                  0.001158 secs
>         >                 > |    hdrget:           5288      0.000000
>         MB
>         >                  0.001854 secs
>         >                 > | Processing locale-base-en-us...
>         >                 > | Processing locale-base-en-gb...
>         >                 > | Processing task-core-boot...
>         >                 > | Processing task-core-apps-console...
>         >                 > | Processing task-core-ssh-dropbear...
>         >                 > | Processing task-core-apps-x11-pimlico...
>         >                 > | Processing task-core-x11-sato...
>         >                 > | Processing zypper...
>         >                 > | Processing task-core-x11-base...
>         >                 > | Processing task-core-apps-x11-games...
>         >                 > | Processing task-core-apps-x11-core...
>         >                 > | Processing task-base-extended...
>         >                 > | Processing rpm...
>         >                 > | error: Failed dependencies:
>         >                 > |     libva.so.1 is needed by
>         libegl1-1.8-r7.core2
>         >                 > | ERROR: Function 'do_rootfs' failed
>         >                 >
>         >
>         (see /home/jim/poky/build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_rootfs.29608 for further information)
>         >                 > NOTE: package core-image-sato-1.0-r0: task
>         >                 do_rootfs: Failed
>         >                 > ERROR: Task 8
>         >                 >
>         >
>         (/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb,
>         >                 > do_rootfs) failed with exit code '1'
>         >                 > ERROR:
>         >
>         '/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb'
>         >                 > failed
>         >                 > jim at jim-ubuntu:~/poky/build$
>         >                 >
>         >                 >
>         >
>         >
>         >
>         >
>         >
>         
>         
> 





More information about the yocto mailing list