From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f45.google.com (mail-qa0-f45.google.com [209.85.216.45]) by mail.openembedded.org (Postfix) with ESMTP id BE92765C7B for ; Wed, 21 Jan 2015 20:25:35 +0000 (UTC) Received: by mail-qa0-f45.google.com with SMTP id n8so34702846qaq.4 for ; Wed, 21 Jan 2015 12:25:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2Ored59oDVy48aeUDiJY8sYYYJtkpICNlfwSv4fnDv0=; b=f+hBDXqwRg3wcplwm9qJloE7X637TP56eMS161vkQ/4kIU3Y+AWoEQl9nV6meg3BQy rGnTZJ91e3WP34jYFnoIMfoSesu+RS+0NjW9EuO5kCbG6B1z0q4QuFKwnDbR7oAXW4eu +k/MOVoYjIq4dfXVUfxnCt7gcbzMqm4AJgBI3/h/RaozcAEcLoWiEL5Ba4qTgz9wwj/h KGeDMehFmTuZQSdzpvRt+OEVDWa6Qlf6uRvoI+gUwja8zmPrHsS0hWsIP9lxPojFmxkg ANtUfpLbrjrvQBP4R9/WjaN9vrIZxpbaRtEGtKov6g5yJYzACHfkaMHmmkSGsmPpHQ2Z hOEw== MIME-Version: 1.0 X-Received: by 10.140.21.229 with SMTP id 92mr57809060qgl.33.1421871935493; Wed, 21 Jan 2015 12:25:35 -0800 (PST) Received: by 10.140.240.67 with HTTP; Wed, 21 Jan 2015 12:25:35 -0800 (PST) In-Reply-To: References: <1421165391-30203-1-git-send-email-denis@denix.org> <20150121191123.GH20639@denix.org> Date: Wed, 21 Jan 2015 18:25:35 -0200 Message-ID: From: Raphael Philipe To: Otavio Salvador Cc: Patches and discussions about the oe-core layer , Denys Dmytriyenko Subject: Re: [PATCH] u-boot: update to 2015.01 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2015 20:25:37 -0000 Content-Type: text/plain; charset=UTF-8 Denys, I tested your patch and It seems not to be working for u-boot-fw-utils-cross $ bitbake u-boot-fw-utils-cross Loading cache: 100% |########################################################################################################################################################################| ETA: 00:00:00 Loaded 1921 entries from dependency cache. Parsing recipes: 100% |######################################################################################################################################################################| Time: 00:00:00 Parsing of 1451 .bb files complete (1450 cached, 1 parsed). 1914 targets, 85 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.25.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-14.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "beaglebone" DISTRO = "poky" DISTRO_VERSION = "1.7" TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa8" TARGET_FPU = "vfp-neon" meta meta-yocto meta-yocto-bsp = "master:45d090024d7b88c434fef2e88317946449e32c2c" meta-oe = "mymaster:5b4413ccf329a981bee976c9fcde5d2872f0defb" NOTE: Preparing RunQueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Function failed: do_compile (log file is located at /home/rapphil/work/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-fw-utils-cross/v2015.01+gitAUTOINC+92fa7f53f1-r0/temp/log.do_compile.31549) ERROR: Logfile of failure stored in: /home/rapphil/work/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-fw-utils-cross/v2015.01+gitAUTOINC+92fa7f53f1-r0/temp/log.do_compile.31549 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 am335x_evm_config | HOSTCC scripts/basic/fixdep | HOSTCC scripts/kconfig/conf.o | HOSTCC scripts/kconfig/zconf.tab.o | HOSTLD scripts/kconfig/conf | # | # configuration written to .config | # | # | # configuration written to spl/.config | # | NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 env | scripts/kconfig/conf --silentoldconfig Kconfig | scripts/kconfig/conf --silentoldconfig Kconfig | CHK include/config.h | GEN include/autoconf.mk | GEN include/autoconf.mk.dep | GEN spl/include/autoconf.mk | HOSTCC tools/env/fw_env.o | HOSTCC tools/env/fw_env_main.o | HOSTCC tools/env/crc32.o | HOSTCC tools/env/ctype.o | tools/env/fw_env_main.c:30:19: fatal error: fcntl.h: No such file or directory | #include | ^ | compilation terminated. | In file included from tools/env/crc32.c:1:0: | tools/env/../../lib/crc32.c:12:23: fatal error: arpa/inet.h: No such file or directory | #include | ^ | compilation terminated. | make[1]: *** [tools/env/fw_env_main.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | make[1]: *** [tools/env/crc32.o] Error 1 | tools/env/fw_env.c:16:19: fatal error: fcntl.h: No such file or directory | #include | ^ | compilation terminated. | make[1]: *** [tools/env/fw_env.o] Error 1 | make: *** [env] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/rapphil/work/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-fw-utils-cross/v2015.01+gitAUTOINC+92fa7f53f1-r0/temp/log.do_compile.31549) ERROR: Task 6 (/home/rapphil/work/poky/meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2015.01.bb, do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 658 tasks of which 656 didn't need to be rerun and 1 failed. No currently running tasks (658 of 661) Summary: 1 task failed: /home/rapphil/work/poky/meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2015.01.bb, do_compile On Wed, Jan 21, 2015 at 6:11 PM, Otavio Salvador wrote: > On Wed, Jan 21, 2015 at 5:11 PM, Denys Dmytriyenko wrote: >> On Wed, Jan 21, 2015 at 11:17:19AM -0200, Otavio Salvador wrote: >>> On Tue, Jan 13, 2015 at 2:09 PM, Denys Dmytriyenko wrote: >>> > From: Denys Dmytriyenko >>> > >>> > Signed-off-by: Denys Dmytriyenko >>> ... >>> > +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils/0001-tools-env-fix-build-error.patch >>> > @@ -0,0 +1,36 @@ >>> > +From ee2d75513452aa6d5306fd380104adc8a2f6d8f2 Mon Sep 17 00:00:00 2001 >>> > +From: Masahiro Yamada >>> > +Date: Wed, 3 Dec 2014 10:22:50 +0900 >>> > +Subject: [PATCH] tools: env: fix build error >>> > + >>> > +Since CONFIG_SYS_ARCH, CONFIG_SYS_CPU, ... were moved to Kconfig, >>> > +tools/env/fw_printenv fails to build if CONFIG_ENV_VARS_UBOOT_CONFIG >>> > +is defined. >>> > +(I do not think this is the right way to fix the problem, but >>> > +for now I do not have enough time to take a close look.) >>> > + >>> > +Upstream-Status: Submitted [http://patchwork.ozlabs.org/patch/417192/] >>> > + >>> > +Signed-off-by: Masahiro Yamada >>> > +Reported-by: Denys Dmytriyenko >>> >>> Is it necessary? In meta-fsl-arm we don't have this patch and get the >>> tools built. >> >> Really? The patch above is rather self-explanatory. The issue was confirmed by >> U-boot maintainers and the workaround provided by one of the core developers. >> I'm not familiar with meta-fsl-arm, but I guess you can grep your platform's >> defconfig to see if CONFIG_ENV_VARS_UBOOT_CONFIG and others are defined and >> whether your platforms are affected or not. It does affect our platforms >> (among many others), including beaglebone. > > I think this is for the cross tool only. > > -- > Otavio Salvador O.S. Systems > http://www.ossystems.com.br http://code.ossystems.com.br > Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core