From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4D36CE00C6F; Fri, 18 Mar 2016 03:39:49 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from ptmx.org (ptmx.org [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BBD21E00C64 for ; Fri, 18 Mar 2016 03:39:46 -0700 (PDT) Received: from [172.16.1.4] (chello062178118086.5.14.vie.surfer.at [62.178.118.86]) by ptmx.org (Postfix) with ESMTPSA id D0E6D2C173 for ; Fri, 18 Mar 2016 11:39:44 +0100 (CET) To: "meta-freescale@yoctoproject.org" From: Carlos Rafael Giani Message-ID: <56EBDAEF.7050002@pseudoterminal.org> Date: Fri, 18 Mar 2016 11:39:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Subject: Build error in kernel-module-imx-gpu-viv when building linux-boundary kernel explicitely first X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2016 10:39:49 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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'