From: Carlos Rafael Giani <dv@pseudoterminal.org>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Build error in kernel-module-imx-gpu-viv when building linux-boundary kernel explicitely first
Date: Fri, 18 Mar 2016 11:39:43 +0100 [thread overview]
Message-ID: <56EBDAEF.7050002@pseudoterminal.org> (raw)
I noticed a build error when building a rootfs for nitrogen6x.
I first ran: MACHINE=nitrogen6x nice bitbake virtual/kernel
Then, MACHINE=nitrogen6x nice bitbake kernel-module-imx-gpu-viv
and I got the compile error attached below.
Then I ran: MACHINE=nitrogen6x nice bitbake -c cleansstate
kernel-module-imx-gpu-viv virtual/kernel
and: MACHINE=nitrogen6x nice bitbake kernel-module-imx-gpu-viv (letting
bitbake build the kernel automatically as a dependency)
and the error did not appear. Neither does it happen if I just build an
image directly. Only if I explicitley build the kernel first it breaks.
This is using latest master in poky, meta-openembedded, meta-fsl-arm,
meta-fsl-arm-extra.
Any ideas why this happens?
===== compile error =====:
ERROR:
kernel-module-imx-gpu-viv-5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0
do_make_scripts: Function failed: do_make_scripts (log file is located
at
/home/build/BuildSetups/yocto-master/poky/build/tmp/work/nitrogen6x-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/temp/log.do_make_scripts.17831)
ERROR: Logfile of failure stored in:
/home/build/BuildSetups/yocto-master/poky/build/tmp/work/nitrogen6x-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/temp/log.do_make_scripts.17831
Log data follows:
| DEBUG: Executing shell function do_make_scripts
| make: Entering directory
'/home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source'
| HOSTCC scripts/basic/fixdep
| GEN
/home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-build-artifacts/Makefile
| HOSTCC scripts/kconfig/conf.o
| SHIPPED scripts/kconfig/zconf.tab.c
| SHIPPED scripts/kconfig/zconf.lex.c
| SHIPPED scripts/kconfig/zconf.hash.c
| HOSTCC scripts/kconfig/zconf.tab.o
| In file included from scripts/kconfig/zconf.tab.c:2537:0:
|
/home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/scripts/kconfig/menu.c:
In function 'get_symbol_str':
|
/home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/scripts/kconfig/menu.c:587:18:
warning: 'jump' may be used uninitialized in this function
[-Wmaybe-uninitialized]
| jump->offset = strlen(r->s);
| ^
|
/home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/scripts/kconfig/menu.c:548:19:
note: 'jump' was declared here
| struct jump_key *jump;
| ^
| HOSTLD scripts/kconfig/conf
| scripts/kconfig/conf --silentoldconfig Kconfig
| ***
| *** Configuration file ".config" not found!
| ***
| *** Please run some configurator (e.g. "make oldconfig" or
| *** "make menuconfig" or "make xconfig").
| ***
|
/home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/scripts/kconfig/Makefile:36:
recipe for target 'silentoldconfig' failed
| make[3]: *** [silentoldconfig] Error 1
|
/home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/Makefile:512:
recipe for target 'silentoldconfig' failed
| make[2]: *** [silentoldconfig] Error 2
| make[1]: *** No rule to make target 'include/config/auto.conf', needed
by 'scripts'. Stop.
| Makefile:133: recipe for target 'sub-make' failed
| make: *** [sub-make] Error 2
| make: Leaving directory
'/home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source'
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_make_scripts (log file is located at
/home/build/BuildSetups/yocto-master/poky/build/tmp/work/nitrogen6x-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/temp/log.do_make_scripts.17831)
ERROR: Task 6
(/home/build/BuildSetups/yocto-master/meta-fsl-arm/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p7.4+fslc.bb,
do_make_scripts) failed with exit code '1'
next reply other threads:[~2016-03-18 10:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-18 10:39 Carlos Rafael Giani [this message]
2016-03-21 13:17 ` Build error in kernel-module-imx-gpu-viv when building linux-boundary kernel explicitely first Otavio Salvador
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56EBDAEF.7050002@pseudoterminal.org \
--to=dv@pseudoterminal.org \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.