From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Johannes König" <koenig@inmach.de>
Cc: yocto@yoctoproject.org
Subject: Re: bitbake gets confused with ~/user-config.jam
Date: Sun, 15 Apr 2012 23:30:38 +0100 [thread overview]
Message-ID: <1334529038.16992.58.camel@ted> (raw)
In-Reply-To: <op.wco6222ky8ugr7@farbauti.inmach.dnsalias.com>
On Fri, 2012-04-13 at 11:53 +0200, Johannes König wrote:
> Hi,
>
> It seems that bitbake (or more precisely the boost_1.44.0.bb recipe) gets
> confused with an user-config.jam file in the users home directory.
>
> When trying to build core-image-sato (or zypper) the build aborts due to
> an error in the zypper package. I use poky-edison-6.0.1.tar.gz.
>
> Relevant part of the do_compile.log:
>
> > build/tmp/sysroots/x86_64-linux/usr/libexec/core2-poky-linux/gcc/i586-poky-linux/4.6.3/ld:
> > skipping incompatible
> > build/tmp/sysroots/crownbay/usr/lib/libboost_signals-mt.so when
> > searching for -lboost_signals-mt
> > build/tmp/sysroots/x86_64-linux/usr/libexec/core2-poky-linux/gcc/i586-poky-linux/4.6.3/ld:
> > skipping incompatible
> > build/tmp/sysroots/crownbay/usr/lib/libboost_signals-mt.a when searching
> > for -lboost_signals-mt
> > build/tmp/sysroots/x86_64-linux/usr/libexec/core2-poky-linux/gcc/i586-poky-linux/4.6.3/ld:
> > skipping incompatible
> > build/tmp/sysroots/crownbay/usr/lib/libboost_signals-mt.so when
> > searching for -lboost_signals-mt
> > build/tmp/sysroots/x86_64-linux/usr/libexec/core2-poky-linux/gcc/i586-poky-linux/4.6.3/ld:
> > skipping incompatible
> > build/tmp/sysroots/crownbay/usr/lib/libboost_signals-mt.a when searching
> > for -lboost_signals-mt
> > build/tmp/sysroots/x86_64-linux/usr/libexec/core2-poky-linux/gcc/i586-poky-linux/4.6.3/ld:
> > cannot find -lboost_signals-mt
> > collect2: ld returned 1 exit status
> > make[2]: *** [zypp/libzypp.so.810.1.0] Error 1
> > make[2]: Leaving directory
> > `build/tmp/work/crownbay-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r16/git'
> > make[1]: *** [zypp/CMakeFiles/zypp.dir/all] Error 2
> > make[1]: Leaving directory
> > `build/tmp/work/crownbay-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r16/git'
> > make: *** [all] Error 2
> > ERROR: oe_runmake failed
> > ERROR: Function 'do_compile' failed (see
> > build/tmp/work/crownbay-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r16/temp/log.do_compile.31334
> > for further information)
>
> After removing the ~/user-config.jam file and recompiling zypper with
>
> bitbake -c cleanall libzypp boost zypper && bitbake zypper
>
> no more errors are reported.
>
> Content of the ~/user-config.jam file is:
>
> > using gcc ;
>
> (Usually I have more options in my user-config.jam, but I can strip it
> down to the single line above to reproduce the error.)
>
> Can this problem be fixed without removeing the user-config.jam?
This sounds like a host contamination issue, we shoudn't be looking at
files like that during the build. We probably need to stop the system
looking at those files but I'm not familiar with boost to know enough
about how to stop it doing that.
I'd recommend filing a bug in the bugzilla to ensure this doesn't get
forgotten about...
Cheers,
Richard
prev parent reply other threads:[~2012-04-15 22:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-13 9:53 bitbake gets confused with ~/user-config.jam Johannes König
2012-04-15 22:30 ` Richard Purdie [this message]
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=1334529038.16992.58.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=koenig@inmach.de \
--cc=yocto@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.