[yocto] Update on issue witn do_package_qa

Bruce Ashfield bruce.ashfield at windriver.com
Wed Sep 7 16:13:47 PDT 2016


On 2016-09-06 8:42 PM, Bruce Ashfield wrote:
> On 2016-09-06 2:17 PM, Clark, Mark A wrote:
>> Did a complete clone / checkout of krogoth this morning.  Same
>> results.   Can’t get a core-image-rt build of the latest poky.
>
> I'll fire off a build for this on Wednesday. As I mentioned, I've
> fixed this in other branches, and this is very likely the same
> thing.
>
> I've just been chasing 4.8 issues and haven't had a chance to look
> at it yet.

I ran a build on this, and it was what I thought it was .. but the
fix turned out to be a bit more than I expected.

See my three top commits on: 
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=zedd/krogoth

The first two commits, I'll send for merging into krogoth, the top
one labelled "scratch", is to illustrate what you need to add to have
a valid BSP definition for genericx86 on preempt-rt.

The summary of the fix is:

  - CONFIG_64BIT wasn't being turned off
  - It wasn't being turned off since there wasn't a BSP definition
    for genericx86 on preempt-rt, hence common-pc wasn't being
    used as the base. My 3rd patch defines it.
  - You weren't warned of this auto generated BSP, due to some variables
    not being expanded in the kconf check routine (which is my 2nd patch)
  - The meta data is slightly out of date on krogoth for 4.4, so I bumped
    the SRCREV for it (my first patch).

If you try the branch that I pointed to above, it should work. I'll wait
to hear about the QA check passing for you before sending those updates
for merging.

Cheers,

Bruce

>
> Bruce
>
>>
>>
>>
>> yocto at yocto-HP-Pavilion-dv7-Notebook-PC:~/poky/build$ bitbake
>> core-image-rt
>>
>> Parsing recipes: 100%
>> |####################################################################################|
>>
>> Time: 00:00:23
>>
>> Parsing of 871 .bb files complete (0 cached, 871 parsed). 1301 targets,
>> 46 skipped, 0 masked, 0 errors.
>>
>> NOTE: Resolving any missing task queue dependencies
>>
>>
>>
>> Build Configuration:
>>
>> BB_VERSION        = "1.30.0"
>>
>> BUILD_SYS         = "x86_64-linux"
>>
>> NATIVELSBSTRING   = "Ubuntu-14.04"
>>
>> TARGET_SYS        = "i686-poky-linux"
>>
>> MACHINE           = "genericx86"
>>
>> DISTRO            = "poky"
>>
>> DISTRO_VERSION    = "2.1.1"
>>
>> TUNE_FEATURES     = "m32 core2"
>>
>> TARGET_FPU        = ""
>>
>> meta
>>
>> meta-poky
>>
>> meta-yocto-bsp    = "krogoth:aad7166704021d82ad3a5ec468552f8f10360d41"
>>
>>
>>
>> NOTE: Fetching uninative binary shim from
>> http://downloads.yoctoproject.org/releases/uninative/1.0.1/x86_64-nativesdk-libc.tar.bz2;sha256sum=acf1e44a0ac2e855e81da6426197d36358bf7b4e88e552ef933128498c8910f8
>>
>>
>> NOTE: Preparing RunQueue
>>
>> NOTE: Executing SetScene Tasks
>>
>> NOTE: Executing RunQueue Tasks
>>
>> WARNING: quilt-native-0.64-r0 do_fetch: Failed to fetch URL
>> http://download.savannah.gnu.org/releases/quilt/quilt-0.64.tar.gz,
>> attempting MIRRORS if available
>>
>> WARNING: attr-native-2.4.47-r0 do_fetch: Failed to fetch URL
>> http://download.savannah.gnu.org/releases/attr/attr-2.4.47.src.tar.gz,
>> attempting MIRRORS if available
>>
>> WARNING: acl-native-2.2.52-r0 do_fetch: Failed to fetch URL
>> http://download.savannah.gnu.org/releases/acl/acl-2.2.52.src.tar.gz,
>> attempting MIRRORS if available
>>
>> ERROR: linux-yocto-rt-4.4.11+gitAUTOINC+6ec93aaa70_bf2fbe7f2c-r0
>> do_package_qa: QA Issue: Architecture did not match (3 to 62) on
>> work/genericx86-poky-linux/linux-yocto-rt/4.4.11+gitAUTOINC+6ec93aaa70_bf2fbe7f2c-r0/packages-split/kernel-vmlinux/boot/vmlinux-4.4.11-rt3-yocto-preempt-rt
>>
>> [arch]
>>
>> ERROR: linux-yocto-rt-4.4.11+gitAUTOINC+6ec93aaa70_bf2fbe7f2c-r0
>> do_package_qa: QA run found fatal errors. Please consider fixing them.
>>
>> ERROR: linux-yocto-rt-4.4.11+gitAUTOINC+6ec93aaa70_bf2fbe7f2c-r0
>> do_package_qa: Function failed: do_package_qa
>>
>> ERROR: Logfile of failure stored in:
>> /home/yocto/poky/build/tmp/work/genericx86-poky-linux/linux-yocto-rt/4.4.11+gitAUTOINC+6ec93aaa70_bf2fbe7f2c-r0/temp/log.do_package_qa.2446
>>
>>
>> ERROR: Task 61
>> (/home/yocto/poky/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb,
>> do_package_qa) failed with exit code '1'
>>
>> NOTE: Tasks Summary: Attempted 1552 tasks of which 14 didn't need to be
>> rerun and 1 failed.
>>
>> Waiting for 0 running tasks to finish:
>>
>>
>>
>> Summary: 1 task failed:
>>
>>   /home/yocto/poky/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb,
>> do_package_qa
>>
>> Summary: There were 3 WARNING messages shown.
>>
>> Summary: There were 3 ERROR messages shown, returning a non-zero exit
>> code.
>>
>> yocto at yocto-HP-Pavilion-dv7-Notebook-PC:~/poky/build$
>>
>>
>>
>> ===============
>>
>>
>>
>> Changes from local.conf
>>
>>
>>
>> yocto at yocto-HP-Pavilion-dv7-Notebook-PC:~/poky/build/conf$ diff
>> local.conf local.conf.org
>>
>> 32c32
>>
>> < MACHINE ?= "genericx86"
>>
>> ---
>>
>>> #MACHINE ?= "genericx86"
>>
>> 117c117
>>
>> < SDKMACHINE ?= "i686"
>>
>> ---
>>
>>> #SDKMACHINE ?= "i686"
>>
>> 239,240d238
>>
>> < PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
>>
>> < COMPATIBLE_MACHINE_genericx86 = "genericx86"
>>
>> yocto at yocto-HP-Pavilion-dv7-Notebook-PC:~/poky/build/conf$
>>
>>
>>
>>
>>
>>
>>
>> *Mark Clark*
>>
>> Embedded Software Engineer
>>
>> Embedded Software, Cedar Park, TX
>>
>> Description: Description: Description: Description: National Oilwell
>> Varco Logo Color CMYK.jpg
>>
>>  Wellbore Technologies – Dynamic Drilling Solutions
>>
>> Global Software Engineering
>>
>> Office: (512) 340-5435
>>
>> Mobile: (512) 736-9396
>>
>> /“One Team – Infinite Solutions”/
>>
>>
>>
>>
>>
>




More information about the yocto mailing list