Bug 4899 - External toolchain does not work with poky dylan
Summary: External toolchain does not work with poky dylan
Status: RESOLVED DUPLICATE of bug 4908
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: Other arm
: High critical
Target Milestone: 1.4.2
Assignee: Christopher Larson
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-07-24 18:19 UTC by Laszlo Papp
Modified: 2013-07-25 08:21 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
conf/local.conf (9.66 KB, application/octet-stream)
2013-07-24 18:19 UTC, Laszlo Papp
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laszlo Papp 2013-07-24 18:19:48 UTC
Created attachment 1355 [details]
conf/local.conf

bblayers.conf is the default generated with ". oe-init-build-env"

Tried using both csl and sourcery. Here you can find the error which is 100% reproducable:

ERROR: Multiple .bb files are due to be built which each provide virtual/arm-none-linux-gnueabi-libc-for-gcc (/home/lpapp/Projects/foo/Yocto/poky-dylan-9.0.0/meta/recipes-core/eglibc/eglibc_2.17.bb /home/lpapp/Projects/foo/Yocto/poky-dylan-9.0.0/meta/recipes-core/meta/external-sourcery-toolchain.bb).
 This usually means one provides something the other doesn't and should.
ERROR: Multiple .bb files are due to be built which each provide virtual/libc (/home/lpapp/Projects/foo/Yocto/poky-dylan-9.0.0/meta/recipes-core/eglibc/eglibc_2.17.bb /home/lpapp/Projects/foo/Yocto/poky-dylan-9.0.0/meta/recipes-core/meta/external-sourcery-toolchain.bb).
 This usually means one provides something the other doesn't and should.
ERROR: Multiple .bb files are due to be built which each provide virtual/libiconv (/home/lpapp/Projects/foo/Yocto/poky-dylan-9.0.0/meta/recipes-core/eglibc/eglibc_2.17.bb /home/lpapp/Projects/foo/Yocto/poky-dylan-9.0.0/meta/recipes-core/meta/external-sourcery-toolchain.bb).
 This usually means one provides something the other doesn't and should.
Comment 1 Laszlo Papp 2013-07-24 18:22:30 UTC
Here you can find the toolchain I am using for this test:

https://developer.ridgerun.com/wiki/index.php/Code_Sourcery_ARM_toolchain_2009q1-203

Note that, it is "gnueabi", so you have to obtain the right toolchain.
Comment 2 Laszlo Papp 2013-07-24 18:23:33 UTC
Using dylan 9.0.0, so not git. It would be awesome to have a fix for this in the upcoming bugfix release.
Comment 3 Laszlo Papp 2013-07-24 18:32:41 UTC
the command probably does not matter, but it was "bitbake image minimal"
Comment 4 Laszlo Papp 2013-07-24 18:35:02 UTC
bugzilla does not allow edit... so could not fix my typo...

here it goes in a new comment: "bitbake core-image-minimal"
Comment 5 Saul Wold 2013-07-24 18:35:52 UTC
Trying to reproduce this now.
Comment 6 Laszlo Papp 2013-07-24 18:37:17 UTC
Master HEAD is also broken, but in a different sense (earlier in the build process):

commit 67864ca79da08df752487a3a4e1a975546da123d
Author: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Date:   Fri Jul 19 16:53:25 2013 +0500

bitbake core-image-minimal
ERROR: ParseError at /home/lpapp/Projects/poky/meta/recipes-core/gettext/gettext_0.18.1.1.bb.BACKUP.13382.bb:8: unparsed line: '<<<<<<< HEAD'                                                                                | ETA:  00:00:26
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext-native SRC_URI entry parallel.patch: file could not be found
WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch: file could not be found
ERROR: Command execution failed: Exited with 1

Summary: There were 42 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Comment 7 Laszlo Papp 2013-07-24 18:47:46 UTC
Same issue with 9.0.1 as with 9.0.0
Comment 8 Laszlo Papp 2013-07-24 18:48:01 UTC
same with master head, too.
Comment 9 Saul Wold 2013-07-24 20:20:01 UTC
(In reply to comment #6)
> Master HEAD is also broken, but in a different sense (earlier in the build
> process):
> 
> commit 67864ca79da08df752487a3a4e1a975546da123d
> Author: Muhammad Shakeel <muhammad_shakeel@mentor.com>
> Date:   Fri Jul 19 16:53:25 2013 +0500
> 
> bitbake core-image-minimal
> ERROR: ParseError at
> /home/lpapp/Projects/poky/meta/recipes-core/gettext/gettext_0.18.1.1.bb.
> BACKUP.13382.bb:8: unparsed line: '<<<<<<< HEAD'              

You must have done a merge of somekind since this is a BACKUP file and has the <<<<<<< HEAD as being unparsed.  the 9.0.1 branch does not have this file, so please verify you have a clean environment.

You can either download the tarball from the website:

http://downloads.yoctoproject.org/releases/yocto/yocto-1.4.1/poky-dylan-9.0.1.tar.bz2

Or re-clone the poky repo and checkout the 9.0.1 tag
              

I will continue to investigate the toolchain related issue.


> | ETA:  00:00:26
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch:
> file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch:
> file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch:
> file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch:
> file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch:
> file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch:
> file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch:
> file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch:
> file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch:
> file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch:
> file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch:
> file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> remove_gets.patch: file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch:
> file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry remove_gets.patch:
> file could not be found
> WARNING: Unable to get checksum for nativesdk-gettext SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for gettext-native SRC_URI entry
> parallel.patch: file could not be found
> WARNING: Unable to get checksum for gettext SRC_URI entry parallel.patch:
> file could not be found
> ERROR: Command execution failed: Exited with 1
> 
> Summary: There were 42 WARNING messages shown.
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Comment 10 Laszlo Papp 2013-07-24 20:28:11 UTC
Yes, I did clone a new one before I wrote "same with master head, too.".

Perhaps, users should use the meta-sourcery layer instead of the oe-core import?
Comment 11 Laszlo Papp 2013-07-25 04:49:38 UTC
Any workaround? Otherwise, it is a full blocker. :'(
Comment 12 Ross Burton 2013-07-25 08:06:31 UTC
Trust us, this file shouldn't be there and isn't in git (either master, danny or dylan branches):

ERROR: ParseError at /home/lpapp/Projects/poky/meta/recipes-core/gettext/gettext_0.18.1.1.bb.BACKUP.13382.bb:8: unparsed line: '<<<<<<< HEAD

That's a merge conflict file.  If you wiped the repo and did a fresh checkout then you're pasting in old logs.
Comment 13 Laszlo Papp 2013-07-25 08:14:56 UTC
Can we stop the hijacking? There is a lot of fuss about totally unrelated issue in here. You just make your work harder by parsing the comments in here.
Comment 14 Laszlo Papp 2013-07-25 08:17:52 UTC
It is totally unrelated about trust or not. Have you read and understood this comment? Perhaps not because this bugreport gets a bit noisy with unrelated comments.

"Yes, I did clone a new one before I wrote "same with master head, too.".
Comment 15 Laszlo Papp 2013-07-25 08:21:51 UTC
Cleaned up the readability in a new bugreport.

*** This bug has been marked as a duplicate of bug 4908 ***