From: Denys Dmytriyenko <denis@denix.org>
To: Raphael Philipe <rapphil@gmail.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>,
Otavio Salvador <otavio@ossystems.com.br>,
Denys Dmytriyenko <denys@ti.com>
Subject: Re: [PATCH] u-boot: update to 2015.01
Date: Wed, 21 Jan 2015 15:28:01 -0500 [thread overview]
Message-ID: <20150121202801.GL20639@denix.org> (raw)
In-Reply-To: <CAENGNhc2gomqGRn3z1UantivS8wkWJn8kfDbjCL96tjTdQ4XAQ@mail.gmail.com>
On Wed, Jan 21, 2015 at 06:25:35PM -0200, Raphael Philipe wrote:
> Denys, I tested your patch and It seems not to be working for
> u-boot-fw-utils-cross
Did the old version work for you?
> $ 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 <fcntl.h>
> | ^
> | 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 <arpa/inet.h>
> | ^
> | 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 <fcntl.h>
> | ^
> | 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
> <otavio@ossystems.com.br> wrote:
> > On Wed, Jan 21, 2015 at 5:11 PM, Denys Dmytriyenko <denis@denix.org> 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 <denis@denix.org> wrote:
> >>> > From: Denys Dmytriyenko <denys@ti.com>
> >>> >
> >>> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> >>> ...
> >>> > +++ 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 <yamada.m@jp.panasonic.com>
> >>> > +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 <yamada.m@jp.panasonic.com>
> >>> > +Reported-by: Denys Dmytriyenko <denys@ti.com>
> >>>
> >>> 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
>
next prev parent reply other threads:[~2015-01-21 20:28 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-13 16:09 [PATCH] u-boot: update to 2015.01 Denys Dmytriyenko
2015-01-20 20:19 ` Denys Dmytriyenko
2015-01-21 13:17 ` Otavio Salvador
2015-01-21 19:11 ` Denys Dmytriyenko
2015-01-21 20:11 ` Otavio Salvador
2015-01-21 20:20 ` Denys Dmytriyenko
2015-01-22 9:50 ` Raphael Philipe
2015-01-22 12:05 ` Burton, Ross
2015-01-22 14:57 ` Denys Dmytriyenko
2015-01-22 15:02 ` Burton, Ross
2015-01-22 15:12 ` Raphael Philipe
2015-01-22 15:17 ` Denys Dmytriyenko
2015-01-22 15:40 ` Otavio Salvador
2015-01-22 16:00 ` Denys Dmytriyenko
2015-01-22 16:05 ` Otavio Salvador
2015-01-22 21:23 ` Denys Dmytriyenko
2015-01-23 3:50 ` Denys Dmytriyenko
2015-01-22 16:07 ` Denys Dmytriyenko
2015-01-22 16:12 ` Otavio Salvador
2015-01-22 16:33 ` Denys Dmytriyenko
2015-01-21 20:25 ` Raphael Philipe
2015-01-21 20:28 ` Denys Dmytriyenko [this message]
2015-01-21 20:31 ` Raphael Philipe
2015-01-21 20:35 ` Denys Dmytriyenko
2015-01-21 20:48 ` Raphael Philipe
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=20150121202801.GL20639@denix.org \
--to=denis@denix.org \
--cc=denys@ti.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=otavio@ossystems.com.br \
--cc=rapphil@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox