All of lore.kernel.org
 help / color / mirror / Atom feed
* ERROR: QA Issue: Architecture did not match (62 to 3)
@ 2012-07-26 18:37 Saxena, Rahul
  2012-07-26 18:45 ` Bruce Ashfield
  0 siblings, 1 reply; 10+ messages in thread
From: Saxena, Rahul @ 2012-07-26 18:37 UTC (permalink / raw)
  To: yocto@yoctoproject.org

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

I get the following error:



ERROR: QA Issue: Architecture did not match (62 to 3) on /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/packages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard



What does it mean ?



I have copied  the failure logfile below:





DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_package
DEBUG: Executing python function package_get_auto_pr
DEBUG: Python function package_get_auto_pr finished
DEBUG: Executing python function perform_packagecopy
DEBUG: Python function perform_packagecopy finished
DEBUG: Executing python function package_do_split_locales
DEBUG: No locale files in this package
DEBUG: Python function package_do_split_locales finished
DEBUG: Executing python function split_and_strip_files
DEBUG: Python function split_and_strip_files finished
DEBUG: Executing python function fixup_perms
DEBUG: Python function fixup_perms finished
DEBUG: Executing python function populate_packages
ERROR: could not open directory /home/rsaxena/YoctoWork2/rangeley1/tmp/work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/package/lib/modules/3.4.4-yocto-standard: No such file or directory
FATAL: could not search modules: No such file or directory
DEBUG: Executing python function package_name_hook
DEBUG: Executing python function debian_package_name_hook
DEBUG: LIBNAMES: pkg kernel-vmlinux libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg kernel-modules libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg kernel-image libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg kernel-dev libs 1 bins 1 sonames []
DEBUG: LIBNAMES: pkg kernel-base libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg kernel libs 0 bins 0 sonames []
DEBUG: Python function debian_package_name_hook finished
DEBUG: Python function package_name_hook finished
DEBUG: kernel-dev contains dangling link /usr/src/kernel/vmlinux
NOTE: kernel-dev contains dangling symlink to /usr/src/kernel/vmlinux
DEBUG: Python function populate_packages finished
DEBUG: Executing python function package_do_filedeps
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
error: Couldn't exec /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py: No such file or directory
DEBUG: Python function package_do_filedeps finished
DEBUG: Executing python function package_do_shlibs
DEBUG: calculating shlib provides for kernel
DEBUG: calculating shlib provides for kernel-base
DEBUG: calculating shlib provides for kernel-vmlinux
DEBUG: calculating shlib provides for kernel-image
DEBUG: calculating shlib provides for kernel-dev
DEBUG: calculating shlib provides for kernel-modules
DEBUG: calculating shlib requirements for kernel
DEBUG: calculating shlib requirements for kernel-base
DEBUG: calculating shlib requirements for kernel-vmlinux
DEBUG: calculating shlib requirements for kernel-image
DEBUG: calculating shlib requirements for kernel-dev
DEBUG: calculating shlib requirements for kernel-modules
DEBUG: Python function package_do_shlibs finished
DEBUG: Executing python function package_do_pkgconfig
DEBUG: Python function package_do_pkgconfig finished
DEBUG: Executing python function read_shlibdeps
DEBUG: Python function read_shlibdeps finished
DEBUG: Executing python function package_depchains
DEBUG: Python function package_depchains finished
DEBUG: Executing python function emit_pkgdata
DEBUG: Python function emit_pkgdata finished
DEBUG: Executing python function do_package_qa
NOTE: DO PACKAGE QA
NOTE: Checking Package: kernel
NOTE: Checking Package: kernel-base
NOTE: Checking Package: kernel-vmlinux
ERROR: QA Issue: Architecture did not match (62 to 3) on /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/packages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
NOTE: Checking Package: kernel-image
NOTE: Checking Package: kernel-dev
NOTE: Checking Package: kernel-modules
ERROR: QA run found fatal errors. Please consider fixing them.
DEBUG: Python function do_package_qa finished
DEBUG: Python function do_package finished
ERROR: Function failed: do_package_qa


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

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

* Re: ERROR: QA Issue: Architecture did not match (62 to 3)
  2012-07-26 18:37 ERROR: QA Issue: Architecture did not match (62 to 3) Saxena, Rahul
@ 2012-07-26 18:45 ` Bruce Ashfield
  2012-07-26 18:58   ` Saxena, Rahul
  0 siblings, 1 reply; 10+ messages in thread
From: Bruce Ashfield @ 2012-07-26 18:45 UTC (permalink / raw)
  To: Saxena, Rahul; +Cc: yocto@yoctoproject.org

On 12-07-26 02:37 PM, Saxena, Rahul wrote:
> I get the following error:
>
> ERROR: QA Issue: Architecture did not match (62 to 3) on
> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/packages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>
> What does it mean ?

You've ended up with a mix of 64 bit and 32 bit objects in a build.
So you've got a 64 bit kernel in a 32 bit userspace, or vise versa.

Only the x32 kernel has an exception in the QA checker for this.

Cheers,

Bruce

>
> I have copied the failure logfile below:
>
> DEBUG: Executing python function sstate_task_prefunc
> DEBUG: Python function sstate_task_prefunc finished
> DEBUG: Executing python function do_package
> DEBUG: Executing python function package_get_auto_pr
> DEBUG: Python function package_get_auto_pr finished
> DEBUG: Executing python function perform_packagecopy
> DEBUG: Python function perform_packagecopy finished
> DEBUG: Executing python function package_do_split_locales
> DEBUG: No locale files in this package
> DEBUG: Python function package_do_split_locales finished
> DEBUG: Executing python function split_and_strip_files
> DEBUG: Python function split_and_strip_files finished
> DEBUG: Executing python function fixup_perms
> DEBUG: Python function fixup_perms finished
> DEBUG: Executing python function populate_packages
> ERROR: could not open directory
> /home/rsaxena/YoctoWork2/rangeley1/tmp/work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/package/lib/modules/3.4.4-yocto-standard:
> No such file or directory
> FATAL: could not search modules: No such file or directory
> DEBUG: Executing python function package_name_hook
> DEBUG: Executing python function debian_package_name_hook
> DEBUG: LIBNAMES: pkg kernel-vmlinux libs 0 bins 0 sonames []
> DEBUG: LIBNAMES: pkg kernel-modules libs 0 bins 0 sonames []
> DEBUG: LIBNAMES: pkg kernel-image libs 0 bins 0 sonames []
> DEBUG: LIBNAMES: pkg kernel-dev libs 1 bins 1 sonames []
> DEBUG: LIBNAMES: pkg kernel-base libs 0 bins 0 sonames []
> DEBUG: LIBNAMES: pkg kernel libs 0 bins 0 sonames []
> DEBUG: Python function debian_package_name_hook finished
> DEBUG: Python function package_name_hook finished
> DEBUG: kernel-dev contains dangling link /usr/src/kernel/vmlinux
> NOTE: kernel-dev contains dangling symlink to /usr/src/kernel/vmlinux
> DEBUG: Python function populate_packages finished
> DEBUG: Executing python function package_do_filedeps
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> DEBUG: Python function package_do_filedeps finished
> DEBUG: Executing python function package_do_shlibs
> DEBUG: calculating shlib provides for kernel
> DEBUG: calculating shlib provides for kernel-base
> DEBUG: calculating shlib provides for kernel-vmlinux
> DEBUG: calculating shlib provides for kernel-image
> DEBUG: calculating shlib provides for kernel-dev
> DEBUG: calculating shlib provides for kernel-modules
> DEBUG: calculating shlib requirements for kernel
> DEBUG: calculating shlib requirements for kernel-base
> DEBUG: calculating shlib requirements for kernel-vmlinux
> DEBUG: calculating shlib requirements for kernel-image
> DEBUG: calculating shlib requirements for kernel-dev
> DEBUG: calculating shlib requirements for kernel-modules
> DEBUG: Python function package_do_shlibs finished
> DEBUG: Executing python function package_do_pkgconfig
> DEBUG: Python function package_do_pkgconfig finished
> DEBUG: Executing python function read_shlibdeps
> DEBUG: Python function read_shlibdeps finished
> DEBUG: Executing python function package_depchains
> DEBUG: Python function package_depchains finished
> DEBUG: Executing python function emit_pkgdata
> DEBUG: Python function emit_pkgdata finished
> DEBUG: Executing python function do_package_qa
> NOTE: DO PACKAGE QA
> NOTE: Checking Package: kernel
> NOTE: Checking Package: kernel-base
> NOTE: Checking Package: kernel-vmlinux
> ERROR: QA Issue: Architecture did not match (62 to 3) on
> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/packages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
> NOTE: Checking Package: kernel-image
> NOTE: Checking Package: kernel-dev
> NOTE: Checking Package: kernel-modules
> ERROR: QA run found fatal errors. Please consider fixing them.
> DEBUG: Python function do_package_qa finished
> DEBUG: Python function do_package finished
> ERROR: Function failed: do_package_qa
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



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

* Re: ERROR: QA Issue: Architecture did not match (62 to 3)
  2012-07-26 18:45 ` Bruce Ashfield
@ 2012-07-26 18:58   ` Saxena, Rahul
  2012-07-26 19:07     ` Bruce Ashfield
  0 siblings, 1 reply; 10+ messages in thread
From: Saxena, Rahul @ 2012-07-26 18:58 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: yocto@yoctoproject.org

Hmm OK..but not sure what I did wrong. 

I  just started a new BSP (meta-rangley) by copying over meta-sugarbay (this is a 64-bit bsp) to new 
layer meta-rangley, renamed all files and variables etc from "sugarbay" to "rangley". 
Created  new machine standard/common-pc-64 branch in my local clone  of linux-yocto-3.4 and also new meta branch in it.

In short I have just copied over all sugarbay stuff to start a new rangley bsp without making any real changes yet.
So it seems surprising to get this error message.


Rahul

-----Original Message-----
From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com] 
Sent: Thursday, July 26, 2012 11:45 AM
To: Saxena, Rahul
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 to 3)

On 12-07-26 02:37 PM, Saxena, Rahul wrote:
> I get the following error:
>
> ERROR: QA Issue: Architecture did not match (62 to 3) on 
> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f14
> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/pa
> ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>
> What does it mean ?

You've ended up with a mix of 64 bit and 32 bit objects in a build.
So you've got a 64 bit kernel in a 32 bit userspace, or vise versa.

Only the x32 kernel has an exception in the QA checker for this.

Cheers,

Bruce

>
> I have copied the failure logfile below:
>
> DEBUG: Executing python function sstate_task_prefunc
> DEBUG: Python function sstate_task_prefunc finished
> DEBUG: Executing python function do_package
> DEBUG: Executing python function package_get_auto_pr
> DEBUG: Python function package_get_auto_pr finished
> DEBUG: Executing python function perform_packagecopy
> DEBUG: Python function perform_packagecopy finished
> DEBUG: Executing python function package_do_split_locales
> DEBUG: No locale files in this package
> DEBUG: Python function package_do_split_locales finished
> DEBUG: Executing python function split_and_strip_files
> DEBUG: Python function split_and_strip_files finished
> DEBUG: Executing python function fixup_perms
> DEBUG: Python function fixup_perms finished
> DEBUG: Executing python function populate_packages
> ERROR: could not open directory
> /home/rsaxena/YoctoWork2/rangeley1/tmp/work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/package/lib/modules/3.4.4-yocto-standard:
> No such file or directory
> FATAL: could not search modules: No such file or directory
> DEBUG: Executing python function package_name_hook
> DEBUG: Executing python function debian_package_name_hook
> DEBUG: LIBNAMES: pkg kernel-vmlinux libs 0 bins 0 sonames []
> DEBUG: LIBNAMES: pkg kernel-modules libs 0 bins 0 sonames []
> DEBUG: LIBNAMES: pkg kernel-image libs 0 bins 0 sonames []
> DEBUG: LIBNAMES: pkg kernel-dev libs 1 bins 1 sonames []
> DEBUG: LIBNAMES: pkg kernel-base libs 0 bins 0 sonames []
> DEBUG: LIBNAMES: pkg kernel libs 0 bins 0 sonames []
> DEBUG: Python function debian_package_name_hook finished
> DEBUG: Python function package_name_hook finished
> DEBUG: kernel-dev contains dangling link /usr/src/kernel/vmlinux
> NOTE: kernel-dev contains dangling symlink to /usr/src/kernel/vmlinux
> DEBUG: Python function populate_packages finished
> DEBUG: Executing python function package_do_filedeps
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> error: Couldn't exec
> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
> No such file or directory
> DEBUG: Python function package_do_filedeps finished
> DEBUG: Executing python function package_do_shlibs
> DEBUG: calculating shlib provides for kernel
> DEBUG: calculating shlib provides for kernel-base
> DEBUG: calculating shlib provides for kernel-vmlinux
> DEBUG: calculating shlib provides for kernel-image
> DEBUG: calculating shlib provides for kernel-dev
> DEBUG: calculating shlib provides for kernel-modules
> DEBUG: calculating shlib requirements for kernel
> DEBUG: calculating shlib requirements for kernel-base
> DEBUG: calculating shlib requirements for kernel-vmlinux
> DEBUG: calculating shlib requirements for kernel-image
> DEBUG: calculating shlib requirements for kernel-dev
> DEBUG: calculating shlib requirements for kernel-modules
> DEBUG: Python function package_do_shlibs finished
> DEBUG: Executing python function package_do_pkgconfig
> DEBUG: Python function package_do_pkgconfig finished
> DEBUG: Executing python function read_shlibdeps
> DEBUG: Python function read_shlibdeps finished
> DEBUG: Executing python function package_depchains
> DEBUG: Python function package_depchains finished
> DEBUG: Executing python function emit_pkgdata
> DEBUG: Python function emit_pkgdata finished
> DEBUG: Executing python function do_package_qa
> NOTE: DO PACKAGE QA
> NOTE: Checking Package: kernel
> NOTE: Checking Package: kernel-base
> NOTE: Checking Package: kernel-vmlinux
> ERROR: QA Issue: Architecture did not match (62 to 3) on 
> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f14
> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/pa
> ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
> NOTE: Checking Package: kernel-image
> NOTE: Checking Package: kernel-dev
> NOTE: Checking Package: kernel-modules
> ERROR: QA run found fatal errors. Please consider fixing them.
> DEBUG: Python function do_package_qa finished
> DEBUG: Python function do_package finished
> ERROR: Function failed: do_package_qa
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



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

* Re: ERROR: QA Issue: Architecture did not match (62 to 3)
  2012-07-26 18:58   ` Saxena, Rahul
@ 2012-07-26 19:07     ` Bruce Ashfield
  2012-07-26 22:48       ` Saxena, Rahul
  2012-07-26 22:50       ` Saxena, Rahul
  0 siblings, 2 replies; 10+ messages in thread
From: Bruce Ashfield @ 2012-07-26 19:07 UTC (permalink / raw)
  To: Saxena, Rahul; +Cc: yocto@yoctoproject.org

On 12-07-26 02:58 PM, Saxena, Rahul wrote:
> Hmm OK..but not sure what I did wrong.
>
> I  just started a new BSP (meta-rangley) by copying over meta-sugarbay (this is a 64-bit bsp) to new
> layer meta-rangley, renamed all files and variables etc from "sugarbay" to "rangley".
> Created  new machine standard/common-pc-64 branch in my local clone  of linux-yocto-3.4 and also new meta branch in it.
>
> In short I have just copied over all sugarbay stuff to start a new rangley bsp without making any real changes yet.
> So it seems surprising to get this error message.

If something was dropped from your kernel config when you were working
on the BSP, it may have build a default 32 bit, and that could cause the
QA error.

Cheers,

Bruce

>
>
> Rahul
>
> -----Original Message-----
> From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
> Sent: Thursday, July 26, 2012 11:45 AM
> To: Saxena, Rahul
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 to 3)
>
> On 12-07-26 02:37 PM, Saxena, Rahul wrote:
>> I get the following error:
>>
>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f14
>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/pa
>> ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>>
>> What does it mean ?
>
> You've ended up with a mix of 64 bit and 32 bit objects in a build.
> So you've got a 64 bit kernel in a 32 bit userspace, or vise versa.
>
> Only the x32 kernel has an exception in the QA checker for this.
>
> Cheers,
>
> Bruce
>
>>
>> I have copied the failure logfile below:
>>
>> DEBUG: Executing python function sstate_task_prefunc
>> DEBUG: Python function sstate_task_prefunc finished
>> DEBUG: Executing python function do_package
>> DEBUG: Executing python function package_get_auto_pr
>> DEBUG: Python function package_get_auto_pr finished
>> DEBUG: Executing python function perform_packagecopy
>> DEBUG: Python function perform_packagecopy finished
>> DEBUG: Executing python function package_do_split_locales
>> DEBUG: No locale files in this package
>> DEBUG: Python function package_do_split_locales finished
>> DEBUG: Executing python function split_and_strip_files
>> DEBUG: Python function split_and_strip_files finished
>> DEBUG: Executing python function fixup_perms
>> DEBUG: Python function fixup_perms finished
>> DEBUG: Executing python function populate_packages
>> ERROR: could not open directory
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/package/lib/modules/3.4.4-yocto-standard:
>> No such file or directory
>> FATAL: could not search modules: No such file or directory
>> DEBUG: Executing python function package_name_hook
>> DEBUG: Executing python function debian_package_name_hook
>> DEBUG: LIBNAMES: pkg kernel-vmlinux libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel-modules libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel-image libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel-dev libs 1 bins 1 sonames []
>> DEBUG: LIBNAMES: pkg kernel-base libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel libs 0 bins 0 sonames []
>> DEBUG: Python function debian_package_name_hook finished
>> DEBUG: Python function package_name_hook finished
>> DEBUG: kernel-dev contains dangling link /usr/src/kernel/vmlinux
>> NOTE: kernel-dev contains dangling symlink to /usr/src/kernel/vmlinux
>> DEBUG: Python function populate_packages finished
>> DEBUG: Executing python function package_do_filedeps
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> DEBUG: Python function package_do_filedeps finished
>> DEBUG: Executing python function package_do_shlibs
>> DEBUG: calculating shlib provides for kernel
>> DEBUG: calculating shlib provides for kernel-base
>> DEBUG: calculating shlib provides for kernel-vmlinux
>> DEBUG: calculating shlib provides for kernel-image
>> DEBUG: calculating shlib provides for kernel-dev
>> DEBUG: calculating shlib provides for kernel-modules
>> DEBUG: calculating shlib requirements for kernel
>> DEBUG: calculating shlib requirements for kernel-base
>> DEBUG: calculating shlib requirements for kernel-vmlinux
>> DEBUG: calculating shlib requirements for kernel-image
>> DEBUG: calculating shlib requirements for kernel-dev
>> DEBUG: calculating shlib requirements for kernel-modules
>> DEBUG: Python function package_do_shlibs finished
>> DEBUG: Executing python function package_do_pkgconfig
>> DEBUG: Python function package_do_pkgconfig finished
>> DEBUG: Executing python function read_shlibdeps
>> DEBUG: Python function read_shlibdeps finished
>> DEBUG: Executing python function package_depchains
>> DEBUG: Python function package_depchains finished
>> DEBUG: Executing python function emit_pkgdata
>> DEBUG: Python function emit_pkgdata finished
>> DEBUG: Executing python function do_package_qa
>> NOTE: DO PACKAGE QA
>> NOTE: Checking Package: kernel
>> NOTE: Checking Package: kernel-base
>> NOTE: Checking Package: kernel-vmlinux
>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f14
>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/pa
>> ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>> NOTE: Checking Package: kernel-image
>> NOTE: Checking Package: kernel-dev
>> NOTE: Checking Package: kernel-modules
>> ERROR: QA run found fatal errors. Please consider fixing them.
>> DEBUG: Python function do_package_qa finished
>> DEBUG: Python function do_package finished
>> ERROR: Function failed: do_package_qa
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>



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

* Re: ERROR: QA Issue: Architecture did not match (62 to 3)
  2012-07-26 19:07     ` Bruce Ashfield
@ 2012-07-26 22:48       ` Saxena, Rahul
  2012-07-27  1:52         ` Bruce Ashfield
  2012-07-26 22:50       ` Saxena, Rahul
  1 sibling, 1 reply; 10+ messages in thread
From: Saxena, Rahul @ 2012-07-26 22:48 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: yocto@yoctoproject.org

Hi Bruce,

I think you are right. I do get following warning message:

WARNING: Looked at meta/cfg/standard/rangeley/hdw_frags.txt and meta/cfg/standard/Rangeley/required_frags.txt in
Directory: meta/cfg/standard.rangeley

However I do find my kernel configuration .cfg and .scc files to be pulled into the build area in tmp/work/rangeley-poky-linux/
linux-yocto-3.4.4+git2+cxxx.../linux/meta/cfg/kernel-cache/bsp/rangley dir

Hence I am not sure why exactly is the above WARNING occurring..

 I am using the master branch.

Rahul

-----Original Message-----
From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com] 
Sent: Thursday, July 26, 2012 12:08 PM
To: Saxena, Rahul
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 to 3)

On 12-07-26 02:58 PM, Saxena, Rahul wrote:
> Hmm OK..but not sure what I did wrong.
>
> I  just started a new BSP (meta-rangley) by copying over meta-sugarbay 
> (this is a 64-bit bsp) to new layer meta-rangley, renamed all files and variables etc from "sugarbay" to "rangley".
> Created  new machine standard/common-pc-64 branch in my local clone  of linux-yocto-3.4 and also new meta branch in it.
>
> In short I have just copied over all sugarbay stuff to start a new rangley bsp without making any real changes yet.
> So it seems surprising to get this error message.

If something was dropped from your kernel config when you were working on the BSP, it may have build a default 32 bit, and that could cause the QA error.

Cheers,

Bruce

>
>
> Rahul
>
> -----Original Message-----
> From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
> Sent: Thursday, July 26, 2012 11:45 AM
> To: Saxena, Rahul
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 
> to 3)
>
> On 12-07-26 02:37 PM, Saxena, Rahul wrote:
>> I get the following error:
>>
>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1
>> 4 
>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/p
>> a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>>
>> What does it mean ?
>
> You've ended up with a mix of 64 bit and 32 bit objects in a build.
> So you've got a 64 bit kernel in a 32 bit userspace, or vise versa.
>
> Only the x32 kernel has an exception in the QA checker for this.
>
> Cheers,
>
> Bruce
>
>>
>> I have copied the failure logfile below:
>>
>> DEBUG: Executing python function sstate_task_prefunc
>> DEBUG: Python function sstate_task_prefunc finished
>> DEBUG: Executing python function do_package
>> DEBUG: Executing python function package_get_auto_pr
>> DEBUG: Python function package_get_auto_pr finished
>> DEBUG: Executing python function perform_packagecopy
>> DEBUG: Python function perform_packagecopy finished
>> DEBUG: Executing python function package_do_split_locales
>> DEBUG: No locale files in this package
>> DEBUG: Python function package_do_split_locales finished
>> DEBUG: Executing python function split_and_strip_files
>> DEBUG: Python function split_and_strip_files finished
>> DEBUG: Executing python function fixup_perms
>> DEBUG: Python function fixup_perms finished
>> DEBUG: Executing python function populate_packages
>> ERROR: could not open directory
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/package/lib/modules/3.4.4-yocto-standard:
>> No such file or directory
>> FATAL: could not search modules: No such file or directory
>> DEBUG: Executing python function package_name_hook
>> DEBUG: Executing python function debian_package_name_hook
>> DEBUG: LIBNAMES: pkg kernel-vmlinux libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel-modules libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel-image libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel-dev libs 1 bins 1 sonames []
>> DEBUG: LIBNAMES: pkg kernel-base libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel libs 0 bins 0 sonames []
>> DEBUG: Python function debian_package_name_hook finished
>> DEBUG: Python function package_name_hook finished
>> DEBUG: kernel-dev contains dangling link /usr/src/kernel/vmlinux
>> NOTE: kernel-dev contains dangling symlink to /usr/src/kernel/vmlinux
>> DEBUG: Python function populate_packages finished
>> DEBUG: Executing python function package_do_filedeps
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> DEBUG: Python function package_do_filedeps finished
>> DEBUG: Executing python function package_do_shlibs
>> DEBUG: calculating shlib provides for kernel
>> DEBUG: calculating shlib provides for kernel-base
>> DEBUG: calculating shlib provides for kernel-vmlinux
>> DEBUG: calculating shlib provides for kernel-image
>> DEBUG: calculating shlib provides for kernel-dev
>> DEBUG: calculating shlib provides for kernel-modules
>> DEBUG: calculating shlib requirements for kernel
>> DEBUG: calculating shlib requirements for kernel-base
>> DEBUG: calculating shlib requirements for kernel-vmlinux
>> DEBUG: calculating shlib requirements for kernel-image
>> DEBUG: calculating shlib requirements for kernel-dev
>> DEBUG: calculating shlib requirements for kernel-modules
>> DEBUG: Python function package_do_shlibs finished
>> DEBUG: Executing python function package_do_pkgconfig
>> DEBUG: Python function package_do_pkgconfig finished
>> DEBUG: Executing python function read_shlibdeps
>> DEBUG: Python function read_shlibdeps finished
>> DEBUG: Executing python function package_depchains
>> DEBUG: Python function package_depchains finished
>> DEBUG: Executing python function emit_pkgdata
>> DEBUG: Python function emit_pkgdata finished
>> DEBUG: Executing python function do_package_qa
>> NOTE: DO PACKAGE QA
>> NOTE: Checking Package: kernel
>> NOTE: Checking Package: kernel-base
>> NOTE: Checking Package: kernel-vmlinux
>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1
>> 4 
>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/p
>> a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>> NOTE: Checking Package: kernel-image
>> NOTE: Checking Package: kernel-dev
>> NOTE: Checking Package: kernel-modules
>> ERROR: QA run found fatal errors. Please consider fixing them.
>> DEBUG: Python function do_package_qa finished
>> DEBUG: Python function do_package finished
>> ERROR: Function failed: do_package_qa
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>



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

* Re: ERROR: QA Issue: Architecture did not match (62 to 3)
  2012-07-26 19:07     ` Bruce Ashfield
  2012-07-26 22:48       ` Saxena, Rahul
@ 2012-07-26 22:50       ` Saxena, Rahul
  1 sibling, 0 replies; 10+ messages in thread
From: Saxena, Rahul @ 2012-07-26 22:50 UTC (permalink / raw)
  To: Saxena, Rahul, Bruce Ashfield; +Cc: yocto@yoctoproject.org

Fixing typo..The warning message is actually;

WARNING: Looked at meta/cfg/standard/rangeley/hdw_frags.txt and meta/cfg/standard/Rangeley/required_frags.txt in
Directory: meta/cfg/standard/rangeley

-----Original Message-----
From: Saxena, Rahul 
Sent: Thursday, July 26, 2012 3:49 PM
To: 'Bruce Ashfield'
Cc: yocto@yoctoproject.org
Subject: RE: [yocto] ERROR: QA Issue: Architecture did not match (62 to 3)

Hi Bruce,

I think you are right. I do get following warning message:

WARNING: Looked at meta/cfg/standard/rangeley/hdw_frags.txt and meta/cfg/standard/Rangeley/required_frags.txt in
Directory: meta/cfg/standard.rangeley

However I do find my kernel configuration .cfg and .scc files to be pulled into the build area in tmp/work/rangeley-poky-linux/ linux-yocto-3.4.4+git2+cxxx.../linux/meta/cfg/kernel-cache/bsp/rangley dir

Hence I am not sure why exactly is the above WARNING occurring..

 I am using the master branch.

Rahul

-----Original Message-----
From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
Sent: Thursday, July 26, 2012 12:08 PM
To: Saxena, Rahul
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 to 3)

On 12-07-26 02:58 PM, Saxena, Rahul wrote:
> Hmm OK..but not sure what I did wrong.
>
> I  just started a new BSP (meta-rangley) by copying over meta-sugarbay 
> (this is a 64-bit bsp) to new layer meta-rangley, renamed all files and variables etc from "sugarbay" to "rangley".
> Created  new machine standard/common-pc-64 branch in my local clone  of linux-yocto-3.4 and also new meta branch in it.
>
> In short I have just copied over all sugarbay stuff to start a new rangley bsp without making any real changes yet.
> So it seems surprising to get this error message.

If something was dropped from your kernel config when you were working on the BSP, it may have build a default 32 bit, and that could cause the QA error.

Cheers,

Bruce

>
>
> Rahul
>
> -----Original Message-----
> From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
> Sent: Thursday, July 26, 2012 11:45 AM
> To: Saxena, Rahul
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 
> to 3)
>
> On 12-07-26 02:37 PM, Saxena, Rahul wrote:
>> I get the following error:
>>
>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1
>> 4
>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/p
>> a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>>
>> What does it mean ?
>
> You've ended up with a mix of 64 bit and 32 bit objects in a build.
> So you've got a 64 bit kernel in a 32 bit userspace, or vise versa.
>
> Only the x32 kernel has an exception in the QA checker for this.
>
> Cheers,
>
> Bruce
>
>>
>> I have copied the failure logfile below:
>>
>> DEBUG: Executing python function sstate_task_prefunc
>> DEBUG: Python function sstate_task_prefunc finished
>> DEBUG: Executing python function do_package
>> DEBUG: Executing python function package_get_auto_pr
>> DEBUG: Python function package_get_auto_pr finished
>> DEBUG: Executing python function perform_packagecopy
>> DEBUG: Python function perform_packagecopy finished
>> DEBUG: Executing python function package_do_split_locales
>> DEBUG: No locale files in this package
>> DEBUG: Python function package_do_split_locales finished
>> DEBUG: Executing python function split_and_strip_files
>> DEBUG: Python function split_and_strip_files finished
>> DEBUG: Executing python function fixup_perms
>> DEBUG: Python function fixup_perms finished
>> DEBUG: Executing python function populate_packages
>> ERROR: could not open directory
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/package/lib/modules/3.4.4-yocto-standard:
>> No such file or directory
>> FATAL: could not search modules: No such file or directory
>> DEBUG: Executing python function package_name_hook
>> DEBUG: Executing python function debian_package_name_hook
>> DEBUG: LIBNAMES: pkg kernel-vmlinux libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel-modules libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel-image libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel-dev libs 1 bins 1 sonames []
>> DEBUG: LIBNAMES: pkg kernel-base libs 0 bins 0 sonames []
>> DEBUG: LIBNAMES: pkg kernel libs 0 bins 0 sonames []
>> DEBUG: Python function debian_package_name_hook finished
>> DEBUG: Python function package_name_hook finished
>> DEBUG: kernel-dev contains dangling link /usr/src/kernel/vmlinux
>> NOTE: kernel-dev contains dangling symlink to /usr/src/kernel/vmlinux
>> DEBUG: Python function populate_packages finished
>> DEBUG: Executing python function package_do_filedeps
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> error: Couldn't exec
>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>> No such file or directory
>> DEBUG: Python function package_do_filedeps finished
>> DEBUG: Executing python function package_do_shlibs
>> DEBUG: calculating shlib provides for kernel
>> DEBUG: calculating shlib provides for kernel-base
>> DEBUG: calculating shlib provides for kernel-vmlinux
>> DEBUG: calculating shlib provides for kernel-image
>> DEBUG: calculating shlib provides for kernel-dev
>> DEBUG: calculating shlib provides for kernel-modules
>> DEBUG: calculating shlib requirements for kernel
>> DEBUG: calculating shlib requirements for kernel-base
>> DEBUG: calculating shlib requirements for kernel-vmlinux
>> DEBUG: calculating shlib requirements for kernel-image
>> DEBUG: calculating shlib requirements for kernel-dev
>> DEBUG: calculating shlib requirements for kernel-modules
>> DEBUG: Python function package_do_shlibs finished
>> DEBUG: Executing python function package_do_pkgconfig
>> DEBUG: Python function package_do_pkgconfig finished
>> DEBUG: Executing python function read_shlibdeps
>> DEBUG: Python function read_shlibdeps finished
>> DEBUG: Executing python function package_depchains
>> DEBUG: Python function package_depchains finished
>> DEBUG: Executing python function emit_pkgdata
>> DEBUG: Python function emit_pkgdata finished
>> DEBUG: Executing python function do_package_qa
>> NOTE: DO PACKAGE QA
>> NOTE: Checking Package: kernel
>> NOTE: Checking Package: kernel-base
>> NOTE: Checking Package: kernel-vmlinux
>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1
>> 4
>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/p
>> a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>> NOTE: Checking Package: kernel-image
>> NOTE: Checking Package: kernel-dev
>> NOTE: Checking Package: kernel-modules
>> ERROR: QA run found fatal errors. Please consider fixing them.
>> DEBUG: Python function do_package_qa finished
>> DEBUG: Python function do_package finished
>> ERROR: Function failed: do_package_qa
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>



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

* Re: ERROR: QA Issue: Architecture did not match (62 to 3)
  2012-07-26 22:48       ` Saxena, Rahul
@ 2012-07-27  1:52         ` Bruce Ashfield
  2012-07-27  4:51           ` Saxena, Rahul
  0 siblings, 1 reply; 10+ messages in thread
From: Bruce Ashfield @ 2012-07-27  1:52 UTC (permalink / raw)
  To: Saxena, Rahul; +Cc: yocto@yoctoproject.org

On Thu, Jul 26, 2012 at 6:48 PM, Saxena, Rahul <rahul.saxena@intel.com> wrote:
> Hi Bruce,
>
> I think you are right. I do get following warning message:
>
> WARNING: Looked at meta/cfg/standard/rangeley/hdw_frags.txt and meta/cfg/standard/Rangeley/required_frags.txt in
> Directory: meta/cfg/standard.rangeley
>
> However I do find my kernel configuration .cfg and .scc files to be pulled into the build area in tmp/work/rangeley-poky-linux/
> linux-yocto-3.4.4+git2+cxxx.../linux/meta/cfg/kernel-cache/bsp/rangley dir
>
> Hence I am not sure why exactly is the above WARNING occurring..

It may not be finding the new BSP definition, and an automatic one was
generated, which means you
built a defconfig .. which was 32 bit.

If you cat linux-yocto-3.4.4+git2+cxxx.../linux/meta/top_tgt .. what
do you see ?

Bruce



>
>  I am using the master branch.
>
> Rahul
>
> -----Original Message-----
> From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
> Sent: Thursday, July 26, 2012 12:08 PM
> To: Saxena, Rahul
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 to 3)
>
> On 12-07-26 02:58 PM, Saxena, Rahul wrote:
>> Hmm OK..but not sure what I did wrong.
>>
>> I  just started a new BSP (meta-rangley) by copying over meta-sugarbay
>> (this is a 64-bit bsp) to new layer meta-rangley, renamed all files and variables etc from "sugarbay" to "rangley".
>> Created  new machine standard/common-pc-64 branch in my local clone  of linux-yocto-3.4 and also new meta branch in it.
>>
>> In short I have just copied over all sugarbay stuff to start a new rangley bsp without making any real changes yet.
>> So it seems surprising to get this error message.
>
> If something was dropped from your kernel config when you were working on the BSP, it may have build a default 32 bit, and that could cause the QA error.
>
> Cheers,
>
> Bruce
>
>>
>>
>> Rahul
>>
>> -----Original Message-----
>> From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
>> Sent: Thursday, July 26, 2012 11:45 AM
>> To: Saxena, Rahul
>> Cc: yocto@yoctoproject.org
>> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62
>> to 3)
>>
>> On 12-07-26 02:37 PM, Saxena, Rahul wrote:
>>> I get the following error:
>>>
>>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1
>>> 4
>>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/p
>>> a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>>>
>>> What does it mean ?
>>
>> You've ended up with a mix of 64 bit and 32 bit objects in a build.
>> So you've got a 64 bit kernel in a 32 bit userspace, or vise versa.
>>
>> Only the x32 kernel has an exception in the QA checker for this.
>>
>> Cheers,
>>
>> Bruce
>>
>>>
>>> I have copied the failure logfile below:
>>>
>>> DEBUG: Executing python function sstate_task_prefunc
>>> DEBUG: Python function sstate_task_prefunc finished
>>> DEBUG: Executing python function do_package
>>> DEBUG: Executing python function package_get_auto_pr
>>> DEBUG: Python function package_get_auto_pr finished
>>> DEBUG: Executing python function perform_packagecopy
>>> DEBUG: Python function perform_packagecopy finished
>>> DEBUG: Executing python function package_do_split_locales
>>> DEBUG: No locale files in this package
>>> DEBUG: Python function package_do_split_locales finished
>>> DEBUG: Executing python function split_and_strip_files
>>> DEBUG: Python function split_and_strip_files finished
>>> DEBUG: Executing python function fixup_perms
>>> DEBUG: Python function fixup_perms finished
>>> DEBUG: Executing python function populate_packages
>>> ERROR: could not open directory
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/package/lib/modules/3.4.4-yocto-standard:
>>> No such file or directory
>>> FATAL: could not search modules: No such file or directory
>>> DEBUG: Executing python function package_name_hook
>>> DEBUG: Executing python function debian_package_name_hook
>>> DEBUG: LIBNAMES: pkg kernel-vmlinux libs 0 bins 0 sonames []
>>> DEBUG: LIBNAMES: pkg kernel-modules libs 0 bins 0 sonames []
>>> DEBUG: LIBNAMES: pkg kernel-image libs 0 bins 0 sonames []
>>> DEBUG: LIBNAMES: pkg kernel-dev libs 1 bins 1 sonames []
>>> DEBUG: LIBNAMES: pkg kernel-base libs 0 bins 0 sonames []
>>> DEBUG: LIBNAMES: pkg kernel libs 0 bins 0 sonames []
>>> DEBUG: Python function debian_package_name_hook finished
>>> DEBUG: Python function package_name_hook finished
>>> DEBUG: kernel-dev contains dangling link /usr/src/kernel/vmlinux
>>> NOTE: kernel-dev contains dangling symlink to /usr/src/kernel/vmlinux
>>> DEBUG: Python function populate_packages finished
>>> DEBUG: Executing python function package_do_filedeps
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> DEBUG: Python function package_do_filedeps finished
>>> DEBUG: Executing python function package_do_shlibs
>>> DEBUG: calculating shlib provides for kernel
>>> DEBUG: calculating shlib provides for kernel-base
>>> DEBUG: calculating shlib provides for kernel-vmlinux
>>> DEBUG: calculating shlib provides for kernel-image
>>> DEBUG: calculating shlib provides for kernel-dev
>>> DEBUG: calculating shlib provides for kernel-modules
>>> DEBUG: calculating shlib requirements for kernel
>>> DEBUG: calculating shlib requirements for kernel-base
>>> DEBUG: calculating shlib requirements for kernel-vmlinux
>>> DEBUG: calculating shlib requirements for kernel-image
>>> DEBUG: calculating shlib requirements for kernel-dev
>>> DEBUG: calculating shlib requirements for kernel-modules
>>> DEBUG: Python function package_do_shlibs finished
>>> DEBUG: Executing python function package_do_pkgconfig
>>> DEBUG: Python function package_do_pkgconfig finished
>>> DEBUG: Executing python function read_shlibdeps
>>> DEBUG: Python function read_shlibdeps finished
>>> DEBUG: Executing python function package_depchains
>>> DEBUG: Python function package_depchains finished
>>> DEBUG: Executing python function emit_pkgdata
>>> DEBUG: Python function emit_pkgdata finished
>>> DEBUG: Executing python function do_package_qa
>>> NOTE: DO PACKAGE QA
>>> NOTE: Checking Package: kernel
>>> NOTE: Checking Package: kernel-base
>>> NOTE: Checking Package: kernel-vmlinux
>>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1
>>> 4
>>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/p
>>> a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>>> NOTE: Checking Package: kernel-image
>>> NOTE: Checking Package: kernel-dev
>>> NOTE: Checking Package: kernel-modules
>>> ERROR: QA run found fatal errors. Please consider fixing them.
>>> DEBUG: Python function do_package_qa finished
>>> DEBUG: Python function do_package finished
>>> ERROR: Function failed: do_package_qa
>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


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

* Re: ERROR: QA Issue: Architecture did not match (62 to 3)
  2012-07-27  1:52         ` Bruce Ashfield
@ 2012-07-27  4:51           ` Saxena, Rahul
  2012-07-27 14:13             ` Bruce Ashfield
  0 siblings, 1 reply; 10+ messages in thread
From: Saxena, Rahul @ 2012-07-27  4:51 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: yocto@yoctoproject.org



-----Original Message-----
From: Bruce Ashfield [mailto:bruce.ashfield@gmail.com] 
Sent: Thursday, July 26, 2012 6:53 PM
To: Saxena, Rahul
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 to 3)

On Thu, Jul 26, 2012 at 6:48 PM, Saxena, Rahul <rahul.saxena@intel.com> wrote:
> Hi Bruce,
>
> I think you are right. I do get following warning message:
>
> WARNING: Looked at meta/cfg/standard/rangeley/hdw_frags.txt and 
> meta/cfg/standard/Rangeley/required_frags.txt in
> Directory: meta/cfg/standard.rangeley
>
> However I do find my kernel configuration .cfg and .scc files to be 
> pulled into the build area in tmp/work/rangeley-poky-linux/ 
> linux-yocto-3.4.4+git2+cxxx.../linux/meta/cfg/kernel-cache/bsp/rangley 
> dir
>
> Hence I am not sure why exactly is the above WARNING occurring..

It may not be finding the new BSP definition, and an automatic one was generated, which means you built a defconfig .. which was 32 bit.

If you cat linux-yocto-3.4.4+git2+cxxx.../linux/meta/top_tgt .. what do you see ?

Bruce

top_tgt has following:

meta/cfg/scratch/obj/rangeley-standard.scc


Rahul

>
>  I am using the master branch.
>
> Rahul
>
> -----Original Message-----
> From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
> Sent: Thursday, July 26, 2012 12:08 PM
> To: Saxena, Rahul
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 
> to 3)
>
> On 12-07-26 02:58 PM, Saxena, Rahul wrote:
>> Hmm OK..but not sure what I did wrong.
>>
>> I  just started a new BSP (meta-rangley) by copying over 
>> meta-sugarbay (this is a 64-bit bsp) to new layer meta-rangley, renamed all files and variables etc from "sugarbay" to "rangley".
>> Created  new machine standard/common-pc-64 branch in my local clone  of linux-yocto-3.4 and also new meta branch in it.
>>
>> In short I have just copied over all sugarbay stuff to start a new rangley bsp without making any real changes yet.
>> So it seems surprising to get this error message.
>
> If something was dropped from your kernel config when you were working on the BSP, it may have build a default 32 bit, and that could cause the QA error.
>
> Cheers,
>
> Bruce
>
>>
>>
>> Rahul
>>
>> -----Original Message-----
>> From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
>> Sent: Thursday, July 26, 2012 11:45 AM
>> To: Saxena, Rahul
>> Cc: yocto@yoctoproject.org
>> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 
>> to 3)
>>
>> On 12-07-26 02:37 PM, Saxena, Rahul wrote:
>>> I get the following error:
>>>
>>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f
>>> 1
>>> 4
>>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/
>>> p a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>>>
>>> What does it mean ?
>>
>> You've ended up with a mix of 64 bit and 32 bit objects in a build.
>> So you've got a 64 bit kernel in a 32 bit userspace, or vise versa.
>>
>> Only the x32 kernel has an exception in the QA checker for this.
>>
>> Cheers,
>>
>> Bruce
>>
>>>
>>> I have copied the failure logfile below:
>>>
>>> DEBUG: Executing python function sstate_task_prefunc
>>> DEBUG: Python function sstate_task_prefunc finished
>>> DEBUG: Executing python function do_package
>>> DEBUG: Executing python function package_get_auto_pr
>>> DEBUG: Python function package_get_auto_pr finished
>>> DEBUG: Executing python function perform_packagecopy
>>> DEBUG: Python function perform_packagecopy finished
>>> DEBUG: Executing python function package_do_split_locales
>>> DEBUG: No locale files in this package
>>> DEBUG: Python function package_do_split_locales finished
>>> DEBUG: Executing python function split_and_strip_files
>>> DEBUG: Python function split_and_strip_files finished
>>> DEBUG: Executing python function fixup_perms
>>> DEBUG: Python function fixup_perms finished
>>> DEBUG: Executing python function populate_packages
>>> ERROR: could not open directory
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/package/lib/modules/3.4.4-yocto-standard:
>>> No such file or directory
>>> FATAL: could not search modules: No such file or directory
>>> DEBUG: Executing python function package_name_hook
>>> DEBUG: Executing python function debian_package_name_hook
>>> DEBUG: LIBNAMES: pkg kernel-vmlinux libs 0 bins 0 sonames []
>>> DEBUG: LIBNAMES: pkg kernel-modules libs 0 bins 0 sonames []
>>> DEBUG: LIBNAMES: pkg kernel-image libs 0 bins 0 sonames []
>>> DEBUG: LIBNAMES: pkg kernel-dev libs 1 bins 1 sonames []
>>> DEBUG: LIBNAMES: pkg kernel-base libs 0 bins 0 sonames []
>>> DEBUG: LIBNAMES: pkg kernel libs 0 bins 0 sonames []
>>> DEBUG: Python function debian_package_name_hook finished
>>> DEBUG: Python function package_name_hook finished
>>> DEBUG: kernel-dev contains dangling link /usr/src/kernel/vmlinux
>>> NOTE: kernel-dev contains dangling symlink to 
>>> /usr/src/kernel/vmlinux
>>> DEBUG: Python function populate_packages finished
>>> DEBUG: Executing python function package_do_filedeps
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> error: Couldn't exec
>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>> No such file or directory
>>> DEBUG: Python function package_do_filedeps finished
>>> DEBUG: Executing python function package_do_shlibs
>>> DEBUG: calculating shlib provides for kernel
>>> DEBUG: calculating shlib provides for kernel-base
>>> DEBUG: calculating shlib provides for kernel-vmlinux
>>> DEBUG: calculating shlib provides for kernel-image
>>> DEBUG: calculating shlib provides for kernel-dev
>>> DEBUG: calculating shlib provides for kernel-modules
>>> DEBUG: calculating shlib requirements for kernel
>>> DEBUG: calculating shlib requirements for kernel-base
>>> DEBUG: calculating shlib requirements for kernel-vmlinux
>>> DEBUG: calculating shlib requirements for kernel-image
>>> DEBUG: calculating shlib requirements for kernel-dev
>>> DEBUG: calculating shlib requirements for kernel-modules
>>> DEBUG: Python function package_do_shlibs finished
>>> DEBUG: Executing python function package_do_pkgconfig
>>> DEBUG: Python function package_do_pkgconfig finished
>>> DEBUG: Executing python function read_shlibdeps
>>> DEBUG: Python function read_shlibdeps finished
>>> DEBUG: Executing python function package_depchains
>>> DEBUG: Python function package_depchains finished
>>> DEBUG: Executing python function emit_pkgdata
>>> DEBUG: Python function emit_pkgdata finished
>>> DEBUG: Executing python function do_package_qa
>>> NOTE: DO PACKAGE QA
>>> NOTE: Checking Package: kernel
>>> NOTE: Checking Package: kernel-base
>>> NOTE: Checking Package: kernel-vmlinux
>>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f
>>> 1
>>> 4
>>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/
>>> p a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>>> NOTE: Checking Package: kernel-image
>>> NOTE: Checking Package: kernel-dev
>>> NOTE: Checking Package: kernel-modules
>>> ERROR: QA run found fatal errors. Please consider fixing them.
>>> DEBUG: Python function do_package_qa finished
>>> DEBUG: Python function do_package finished
>>> ERROR: Function failed: do_package_qa
>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"


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

* Re: ERROR: QA Issue: Architecture did not match (62 to 3)
  2012-07-27  4:51           ` Saxena, Rahul
@ 2012-07-27 14:13             ` Bruce Ashfield
  2012-07-28  0:22               ` Saxena, Rahul
  0 siblings, 1 reply; 10+ messages in thread
From: Bruce Ashfield @ 2012-07-27 14:13 UTC (permalink / raw)
  To: Saxena, Rahul; +Cc: yocto@yoctoproject.org

On 12-07-27 12:51 AM, Saxena, Rahul wrote:
>
>
> -----Original Message-----
> From: Bruce Ashfield [mailto:bruce.ashfield@gmail.com]
> Sent: Thursday, July 26, 2012 6:53 PM
> To: Saxena, Rahul
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 to 3)
>
> On Thu, Jul 26, 2012 at 6:48 PM, Saxena, Rahul<rahul.saxena@intel.com>  wrote:
>> Hi Bruce,
>>
>> I think you are right. I do get following warning message:
>>
>> WARNING: Looked at meta/cfg/standard/rangeley/hdw_frags.txt and
>> meta/cfg/standard/Rangeley/required_frags.txt in
>> Directory: meta/cfg/standard.rangeley
>>
>> However I do find my kernel configuration .cfg and .scc files to be
>> pulled into the build area in tmp/work/rangeley-poky-linux/
>> linux-yocto-3.4.4+git2+cxxx.../linux/meta/cfg/kernel-cache/bsp/rangley
>> dir
>>
>> Hence I am not sure why exactly is the above WARNING occurring..
>
> It may not be finding the new BSP definition, and an automatic one was generated, which means you built a defconfig .. which was 32 bit.
>
> If you cat linux-yocto-3.4.4+git2+cxxx.../linux/meta/top_tgt .. what do you see ?
>
> Bruce
>
> top_tgt has following:
>
> meta/cfg/scratch/obj/rangeley-standard.scc

And if it is found in scratch/obj, that does mean that the system generated
that on your behalf.

If this is a new BSP, have you already defined your own board 
description (rangeley-standard.scc) with the matching KMACHINE,
KARCH, KTYPE as you are trying to build ?

Cheers,

Bruce

>
>
> Rahul
>
>>
>>   I am using the master branch.
>>
>> Rahul
>>
>> -----Original Message-----
>> From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
>> Sent: Thursday, July 26, 2012 12:08 PM
>> To: Saxena, Rahul
>> Cc: yocto@yoctoproject.org
>> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62
>> to 3)
>>
>> On 12-07-26 02:58 PM, Saxena, Rahul wrote:
>>> Hmm OK..but not sure what I did wrong.
>>>
>>> I  just started a new BSP (meta-rangley) by copying over
>>> meta-sugarbay (this is a 64-bit bsp) to new layer meta-rangley, renamed all files and variables etc from "sugarbay" to "rangley".
>>> Created  new machine standard/common-pc-64 branch in my local clone  of linux-yocto-3.4 and also new meta branch in it.
>>>
>>> In short I have just copied over all sugarbay stuff to start a new rangley bsp without making any real changes yet.
>>> So it seems surprising to get this error message.
>>
>> If something was dropped from your kernel config when you were working on the BSP, it may have build a default 32 bit, and that could cause the QA error.
>>
>> Cheers,
>>
>> Bruce
>>
>>>
>>>
>>> Rahul
>>>
>>> -----Original Message-----
>>> From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
>>> Sent: Thursday, July 26, 2012 11:45 AM
>>> To: Saxena, Rahul
>>> Cc: yocto@yoctoproject.org
>>> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62
>>> to 3)
>>>
>>> On 12-07-26 02:37 PM, Saxena, Rahul wrote:
>>>> I get the following error:
>>>>
>>>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>>>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f
>>>> 1
>>>> 4
>>>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/
>>>> p a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>>>>
>>>> What does it mean ?
>>>
>>> You've ended up with a mix of 64 bit and 32 bit objects in a build.
>>> So you've got a 64 bit kernel in a 32 bit userspace, or vise versa.
>>>
>>> Only the x32 kernel has an exception in the QA checker for this.
>>>
>>> Cheers,
>>>
>>> Bruce
>>>
>>>>
>>>> I have copied the failure logfile below:
>>>>
>>>> DEBUG: Executing python function sstate_task_prefunc
>>>> DEBUG: Python function sstate_task_prefunc finished
>>>> DEBUG: Executing python function do_package
>>>> DEBUG: Executing python function package_get_auto_pr
>>>> DEBUG: Python function package_get_auto_pr finished
>>>> DEBUG: Executing python function perform_packagecopy
>>>> DEBUG: Python function perform_packagecopy finished
>>>> DEBUG: Executing python function package_do_split_locales
>>>> DEBUG: No locale files in this package
>>>> DEBUG: Python function package_do_split_locales finished
>>>> DEBUG: Executing python function split_and_strip_files
>>>> DEBUG: Python function split_and_strip_files finished
>>>> DEBUG: Executing python function fixup_perms
>>>> DEBUG: Python function fixup_perms finished
>>>> DEBUG: Executing python function populate_packages
>>>> ERROR: could not open directory
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/package/lib/modules/3.4.4-yocto-standard:
>>>> No such file or directory
>>>> FATAL: could not search modules: No such file or directory
>>>> DEBUG: Executing python function package_name_hook
>>>> DEBUG: Executing python function debian_package_name_hook
>>>> DEBUG: LIBNAMES: pkg kernel-vmlinux libs 0 bins 0 sonames []
>>>> DEBUG: LIBNAMES: pkg kernel-modules libs 0 bins 0 sonames []
>>>> DEBUG: LIBNAMES: pkg kernel-image libs 0 bins 0 sonames []
>>>> DEBUG: LIBNAMES: pkg kernel-dev libs 1 bins 1 sonames []
>>>> DEBUG: LIBNAMES: pkg kernel-base libs 0 bins 0 sonames []
>>>> DEBUG: LIBNAMES: pkg kernel libs 0 bins 0 sonames []
>>>> DEBUG: Python function debian_package_name_hook finished
>>>> DEBUG: Python function package_name_hook finished
>>>> DEBUG: kernel-dev contains dangling link /usr/src/kernel/vmlinux
>>>> NOTE: kernel-dev contains dangling symlink to
>>>> /usr/src/kernel/vmlinux
>>>> DEBUG: Python function populate_packages finished
>>>> DEBUG: Executing python function package_do_filedeps
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> DEBUG: Python function package_do_filedeps finished
>>>> DEBUG: Executing python function package_do_shlibs
>>>> DEBUG: calculating shlib provides for kernel
>>>> DEBUG: calculating shlib provides for kernel-base
>>>> DEBUG: calculating shlib provides for kernel-vmlinux
>>>> DEBUG: calculating shlib provides for kernel-image
>>>> DEBUG: calculating shlib provides for kernel-dev
>>>> DEBUG: calculating shlib provides for kernel-modules
>>>> DEBUG: calculating shlib requirements for kernel
>>>> DEBUG: calculating shlib requirements for kernel-base
>>>> DEBUG: calculating shlib requirements for kernel-vmlinux
>>>> DEBUG: calculating shlib requirements for kernel-image
>>>> DEBUG: calculating shlib requirements for kernel-dev
>>>> DEBUG: calculating shlib requirements for kernel-modules
>>>> DEBUG: Python function package_do_shlibs finished
>>>> DEBUG: Executing python function package_do_pkgconfig
>>>> DEBUG: Python function package_do_pkgconfig finished
>>>> DEBUG: Executing python function read_shlibdeps
>>>> DEBUG: Python function read_shlibdeps finished
>>>> DEBUG: Executing python function package_depchains
>>>> DEBUG: Python function package_depchains finished
>>>> DEBUG: Executing python function emit_pkgdata
>>>> DEBUG: Python function emit_pkgdata finished
>>>> DEBUG: Executing python function do_package_qa
>>>> NOTE: DO PACKAGE QA
>>>> NOTE: Checking Package: kernel
>>>> NOTE: Checking Package: kernel-base
>>>> NOTE: Checking Package: kernel-vmlinux
>>>> ERROR: QA Issue: Architecture did not match (62 to 3) on
>>>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f
>>>> 1
>>>> 4
>>>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/
>>>> p a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>>>> NOTE: Checking Package: kernel-image
>>>> NOTE: Checking Package: kernel-dev
>>>> NOTE: Checking Package: kernel-modules
>>>> ERROR: QA run found fatal errors. Please consider fixing them.
>>>> DEBUG: Python function do_package_qa finished
>>>> DEBUG: Python function do_package finished
>>>> ERROR: Function failed: do_package_qa
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



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

* Re: ERROR: QA Issue: Architecture did not match (62 to 3)
  2012-07-27 14:13             ` Bruce Ashfield
@ 2012-07-28  0:22               ` Saxena, Rahul
  0 siblings, 0 replies; 10+ messages in thread
From: Saxena, Rahul @ 2012-07-28  0:22 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: yocto@yoctoproject.org

-----Original Message-----
From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com] 
Sent: Friday, July 27, 2012 7:13 AM
To: Saxena, Rahul
Cc: Bruce Ashfield; yocto@yoctoproject.org
Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 to 3)

On 12-07-27 12:51 AM, Saxena, Rahul wrote:
>
>
> -----Original Message-----
> From: Bruce Ashfield [mailto:bruce.ashfield@gmail.com]
> Sent: Thursday, July 26, 2012 6:53 PM
> To: Saxena, Rahul
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 
> to 3)
>
> On Thu, Jul 26, 2012 at 6:48 PM, Saxena, Rahul<rahul.saxena@intel.com>  wrote:
>> Hi Bruce,
>>
>> I think you are right. I do get following warning message:
>>
>> WARNING: Looked at meta/cfg/standard/rangeley/hdw_frags.txt and 
>> meta/cfg/standard/Rangeley/required_frags.txt in
>> Directory: meta/cfg/standard.rangeley
>>
>> However I do find my kernel configuration .cfg and .scc files to be 
>> pulled into the build area in tmp/work/rangeley-poky-linux/ 
>> linux-yocto-3.4.4+git2+cxxx.../linux/meta/cfg/kernel-cache/bsp/rangle
>> y
>> dir
>>
>> Hence I am not sure why exactly is the above WARNING occurring..
>
> It may not be finding the new BSP definition, and an automatic one was generated, which means you built a defconfig .. which was 32 bit.
>
> If you cat linux-yocto-3.4.4+git2+cxxx.../linux/meta/top_tgt .. what do you see ?
>
> Bruce
>
> top_tgt has following:
>
> meta/cfg/scratch/obj/rangeley-standard.scc

And if it is found in scratch/obj, that does mean that the system generated that on your behalf.

If this is a new BSP, have you already defined your own board description (rangeley-standard.scc) with the matching KMACHINE, KARCH, KTYPE as you are trying to build ?

Cheers,

Bruce


 
Yes, my KYTPYE had a mistake.  Fixed it and it seems to be working now. Thanks for your help !

Rahul


>
>
> Rahul
>
>>
>>   I am using the master branch.
>>
>> Rahul
>>
>> -----Original Message-----
>> From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
>> Sent: Thursday, July 26, 2012 12:08 PM
>> To: Saxena, Rahul
>> Cc: yocto@yoctoproject.org
>> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 
>> to 3)
>>
>> On 12-07-26 02:58 PM, Saxena, Rahul wrote:
>>> Hmm OK..but not sure what I did wrong.
>>>
>>> I  just started a new BSP (meta-rangley) by copying over 
>>> meta-sugarbay (this is a 64-bit bsp) to new layer meta-rangley, renamed all files and variables etc from "sugarbay" to "rangley".
>>> Created  new machine standard/common-pc-64 branch in my local clone  of linux-yocto-3.4 and also new meta branch in it.
>>>
>>> In short I have just copied over all sugarbay stuff to start a new rangley bsp without making any real changes yet.
>>> So it seems surprising to get this error message.
>>
>> If something was dropped from your kernel config when you were working on the BSP, it may have build a default 32 bit, and that could cause the QA error.
>>
>> Cheers,
>>
>> Bruce
>>
>>>
>>>
>>> Rahul
>>>
>>> -----Original Message-----
>>> From: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
>>> Sent: Thursday, July 26, 2012 11:45 AM
>>> To: Saxena, Rahul
>>> Cc: yocto@yoctoproject.org
>>> Subject: Re: [yocto] ERROR: QA Issue: Architecture did not match (62 
>>> to 3)
>>>
>>> On 12-07-26 02:37 PM, Saxena, Rahul wrote:
>>>> I get the following error:
>>>>
>>>> ERROR: QA Issue: Architecture did not match (62 to 3) on 
>>>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29
>>>> f
>>>> 1
>>>> 4
>>>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0
>>>> / p a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>>>>
>>>> What does it mean ?
>>>
>>> You've ended up with a mix of 64 bit and 32 bit objects in a build.
>>> So you've got a 64 bit kernel in a 32 bit userspace, or vise versa.
>>>
>>> Only the x32 kernel has an exception in the QA checker for this.
>>>
>>> Cheers,
>>>
>>> Bruce
>>>
>>>>
>>>> I have copied the failure logfile below:
>>>>
>>>> DEBUG: Executing python function sstate_task_prefunc
>>>> DEBUG: Python function sstate_task_prefunc finished
>>>> DEBUG: Executing python function do_package
>>>> DEBUG: Executing python function package_get_auto_pr
>>>> DEBUG: Python function package_get_auto_pr finished
>>>> DEBUG: Executing python function perform_packagecopy
>>>> DEBUG: Python function perform_packagecopy finished
>>>> DEBUG: Executing python function package_do_split_locales
>>>> DEBUG: No locale files in this package
>>>> DEBUG: Python function package_do_split_locales finished
>>>> DEBUG: Executing python function split_and_strip_files
>>>> DEBUG: Python function split_and_strip_files finished
>>>> DEBUG: Executing python function fixup_perms
>>>> DEBUG: Python function fixup_perms finished
>>>> DEBUG: Executing python function populate_packages
>>>> ERROR: could not open directory
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0/package/lib/modules/3.4.4-yocto-standard:
>>>> No such file or directory
>>>> FATAL: could not search modules: No such file or directory
>>>> DEBUG: Executing python function package_name_hook
>>>> DEBUG: Executing python function debian_package_name_hook
>>>> DEBUG: LIBNAMES: pkg kernel-vmlinux libs 0 bins 0 sonames []
>>>> DEBUG: LIBNAMES: pkg kernel-modules libs 0 bins 0 sonames []
>>>> DEBUG: LIBNAMES: pkg kernel-image libs 0 bins 0 sonames []
>>>> DEBUG: LIBNAMES: pkg kernel-dev libs 1 bins 1 sonames []
>>>> DEBUG: LIBNAMES: pkg kernel-base libs 0 bins 0 sonames []
>>>> DEBUG: LIBNAMES: pkg kernel libs 0 bins 0 sonames []
>>>> DEBUG: Python function debian_package_name_hook finished
>>>> DEBUG: Python function package_name_hook finished
>>>> DEBUG: kernel-dev contains dangling link /usr/src/kernel/vmlinux
>>>> NOTE: kernel-dev contains dangling symlink to 
>>>> /usr/src/kernel/vmlinux
>>>> DEBUG: Python function populate_packages finished
>>>> DEBUG: Executing python function package_do_filedeps
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> error: Couldn't exec
>>>> /home/rsaxena/YoctoWork2/rangeley1/tmp/sysroots/x86_64-linux/usr/lib/rpm/pythoneggs.py:
>>>> No such file or directory
>>>> DEBUG: Python function package_do_filedeps finished
>>>> DEBUG: Executing python function package_do_shlibs
>>>> DEBUG: calculating shlib provides for kernel
>>>> DEBUG: calculating shlib provides for kernel-base
>>>> DEBUG: calculating shlib provides for kernel-vmlinux
>>>> DEBUG: calculating shlib provides for kernel-image
>>>> DEBUG: calculating shlib provides for kernel-dev
>>>> DEBUG: calculating shlib provides for kernel-modules
>>>> DEBUG: calculating shlib requirements for kernel
>>>> DEBUG: calculating shlib requirements for kernel-base
>>>> DEBUG: calculating shlib requirements for kernel-vmlinux
>>>> DEBUG: calculating shlib requirements for kernel-image
>>>> DEBUG: calculating shlib requirements for kernel-dev
>>>> DEBUG: calculating shlib requirements for kernel-modules
>>>> DEBUG: Python function package_do_shlibs finished
>>>> DEBUG: Executing python function package_do_pkgconfig
>>>> DEBUG: Python function package_do_pkgconfig finished
>>>> DEBUG: Executing python function read_shlibdeps
>>>> DEBUG: Python function read_shlibdeps finished
>>>> DEBUG: Executing python function package_depchains
>>>> DEBUG: Python function package_depchains finished
>>>> DEBUG: Executing python function emit_pkgdata
>>>> DEBUG: Python function emit_pkgdata finished
>>>> DEBUG: Executing python function do_package_qa
>>>> NOTE: DO PACKAGE QA
>>>> NOTE: Checking Package: kernel
>>>> NOTE: Checking Package: kernel-base
>>>> NOTE: Checking Package: kernel-vmlinux
>>>> ERROR: QA Issue: Architecture did not match (62 to 3) on 
>>>> /work/rangeley-poky-linux/linux-yocto-3.4.4+git1+a8cf77018b0faa0d29
>>>> f
>>>> 1
>>>> 4
>>>> 83ff4e5a2034dc8edd5_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0
>>>> / p a ckages-split/kernel-vmlinux/boot/vmlinux-3.4.4-yocto-standard
>>>> NOTE: Checking Package: kernel-image
>>>> NOTE: Checking Package: kernel-dev
>>>> NOTE: Checking Package: kernel-modules
>>>> ERROR: QA run found fatal errors. Please consider fixing them.
>>>> DEBUG: Python function do_package_qa finished
>>>> DEBUG: Python function do_package finished
>>>> ERROR: Function failed: do_package_qa
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



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

end of thread, other threads:[~2012-07-28  0:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 18:37 ERROR: QA Issue: Architecture did not match (62 to 3) Saxena, Rahul
2012-07-26 18:45 ` Bruce Ashfield
2012-07-26 18:58   ` Saxena, Rahul
2012-07-26 19:07     ` Bruce Ashfield
2012-07-26 22:48       ` Saxena, Rahul
2012-07-27  1:52         ` Bruce Ashfield
2012-07-27  4:51           ` Saxena, Rahul
2012-07-27 14:13             ` Bruce Ashfield
2012-07-28  0:22               ` Saxena, Rahul
2012-07-26 22:50       ` Saxena, Rahul

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.