All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Ernberg <john.ernberg@actia.se>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Replacing eglibc with glibc in Yocto 1.6.1?
Date: Tue, 8 Mar 2016 08:04:15 +0000	[thread overview]
Message-ID: <56DE87AA.7090109@actia.se> (raw)

Hi

I'm using Yocto 1.6.1 (Daisy) in a project, and I'm not allowed to 
update to a newer version, I did however get the task to update from 
eglibc-2.19 to glibc-2.23.

So far I have imported the recipes from Yocto 2.1, including the 
tclibc-glibc.inc file.
Changed the TCLIBC variable to the new value.
Imported the configuration values from the other .inc files (such as 
preferred version) into my distro.conf.
Disabled the distro feature ptest (temporary).

After these changes I am getting the error log attached below.
One solution I tried was setting the RPROVIDES from eglibc to "". It 
didn't change anything.

I am wondering if anyone has any advice on what I have done wrong?

Thank you in advance and best regards // John Ernberg


Build log using "bitbake -vD [image]":

DEBUG: providers for glibc are: ['glibc']
DEBUG: selecting 
/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc_2.23.bb 
as PREFERRED_VERSION 2.23 of package glibc (for item glibc)
DEBUG: sorted providers for glibc are: 
['/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc_2.23.bb']
NOTE: Resolving any missing task queue dependencies
DEBUG: providers for quilt-native are: ['quilt-native']
DEBUG: sorted providers for quilt-native are: 
['/home/jernberg/yocto/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.61.bb']
DEBUG: providers for virtual/fakeroot-native are: ['pseudo-native']
NOTE: selecting pseudo-native to satisfy virtual/fakeroot-native due to 
PREFERRED_PROVIDERS
DEBUG: sorted providers for virtual/fakeroot-native are: 
['virtual:native:/home/jernberg/yocto/sources/poky/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb']
DEBUG: providers for prelink-native are: ['prelink-native']
DEBUG: sorted providers for prelink-native are: 
['virtual:native:/home/jernberg/yocto/sources/poky/meta/recipes-devtools/prelink/prelink_git.bb']
DEBUG: providers for rpm-native are: ['rpm-native']
DEBUG: sorted providers for rpm-native are: 
['virtual:native:/home/jernberg/yocto/sources/poky/meta/recipes-devtools/rpm/rpm_5.4.9.bb']
DEBUG: providers for file-native are: ['file-native']
DEBUG: sorted providers for file-native are: 
['virtual:native:/home/jernberg/yocto/sources/poky/meta/recipes-devtools/file/file_5.16.bb']
DEBUG: providers for autoconf-native are: ['autoconf-native']
DEBUG: sorted providers for autoconf-native are: 
['virtual:native:/home/jernberg/yocto/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb']
DEBUG: providers for automake-native are: ['automake-native']
DEBUG: sorted providers for automake-native are: 
['virtual:native:/home/jernberg/yocto/sources/poky/meta/recipes-devtools/automake/automake_1.14.bb']
DEBUG: providers for libtool-native are: ['libtool-native']
DEBUG: sorted providers for libtool-native are: 
['/home/jernberg/yocto/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb']
DEBUG: providers for gnu-config-native are: ['gnu-config-native']
DEBUG: sorted providers for gnu-config-native are: 
['virtual:native:/home/jernberg/yocto/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb']
DEBUG: providers for virtual/arm-distro-linux-gnueabi-gcc-initial are: 
['gcc-cross-initial']
DEBUG: selecting 
/home/jernberg/yocto/sources/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.8.bb 
as PREFERRED_VERSION 4.8% of package gcc-cross-initial (for item 
virtual/arm-distro-linux-gnueabi-gcc-initial)
NOTE: selecting gcc-cross-initial to satisfy 
virtual/arm-distro-linux-gnueabi-gcc-initial due to PREFERRED_PROVIDERS
DEBUG: sorted providers for virtual/arm-distro-linux-gnueabi-gcc-initial 
are: 
['/home/jernberg/yocto/sources/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.8.bb']
DEBUG: providers for linux-libc-headers are: ['linux-libc-headers']
DEBUG: selecting 
/home/jernberg/yocto/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_3.14.bb 
as PREFERRED_VERSION 3.14 of package linux-libc-headers (for item 
linux-libc-headers)
NOTE: selecting linux-libc-headers to satisfy linux-libc-headers due to 
PREFERRED_PROVIDERS
DEBUG: sorted providers for linux-libc-headers are: 
['/home/jernberg/yocto/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_3.14.bb']
DEBUG: providers for virtual/arm-distro-linux-gnueabi-libc-initial are: 
['glibc-initial', 'eglibc-initial']
DEBUG: selecting 
/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc-initial_2.23.bb 
as PREFERRED_VERSION 2.23 of package glibc-initial (for item 
virtual/arm-distro-linux-gnueabi-libc-initial)
DEBUG: selecting 
/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc-initial_2.19.bb 
as PREFERRED_VERSION 2.19 of package eglibc-initial (for item 
virtual/arm-distro-linux-gnueabi-libc-initial)
NOTE: selecting glibc-initial to satisfy 
virtual/arm-distro-linux-gnueabi-libc-initial due to PREFERRED_PROVIDERS
DEBUG: sorted providers for 
virtual/arm-distro-linux-gnueabi-libc-initial are: 
['/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc-initial_2.23.bb', 
'/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc-initial_2.19.bb']
DEBUG: providers for gperf-native are: ['gperf-native']
DEBUG: sorted providers for gperf-native are: 
['virtual:native:/home/jernberg/yocto/sources/poky/meta/recipes-extended/gperf/gperf_3.0.4.bb']
DEBUG: providers for libsegfault are: ['glibc', 'eglibc']
DEBUG: selecting 
/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc_2.23.bb 
as PREFERRED_VERSION 2.23 of package glibc (for item libsegfault)
DEBUG: selecting 
/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc_2.19.bb as 
PREFERRED_VERSION 2.19 of package eglibc (for item libsegfault)
NOTE: selecting glibc to satisfy runtime libsegfault due to 
PREFERRED_PROVIDER_virtual/libc = glibc
DEBUG: sorted runtime providers for libsegfault are: 
['/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc_2.23.bb', 
'/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc_2.19.bb']
DEBUG: providers for glibc-dev are: ['glibc', 'eglibc']
DEBUG: selecting 
/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc_2.23.bb 
as PREFERRED_VERSION 2.23 of package glibc (for item glibc-dev)
DEBUG: selecting 
/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc_2.19.bb as 
PREFERRED_VERSION 2.19 of package eglibc (for item glibc-dev)
NOTE: selecting glibc to satisfy runtime glibc-dev due to 
PREFERRED_PROVIDER_virtual/libc = glibc
DEBUG: sorted runtime providers for glibc-dev are: 
['/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc_2.23.bb', 
'/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc_2.19.bb']
DEBUG: providers for glibc are: ['glibc-initial', 'eglibc-initial', 
'glibc', 'eglibc', 'nativesdk-eglibc-initial', 'nativesdk-glibc-initial']
DEBUG: selecting 
/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc-initial_2.23.bb 
as PREFERRED_VERSION 2.23 of package glibc-initial (for item glibc)
DEBUG: selecting 
/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc-initial_2.19.bb 
as PREFERRED_VERSION 2.19 of package eglibc-initial (for item glibc)
DEBUG: selecting 
/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc_2.23.bb 
as PREFERRED_VERSION 2.23 of package glibc (for item glibc)
DEBUG: selecting 
/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc_2.19.bb as 
PREFERRED_VERSION 2.19 of package eglibc (for item glibc)
DEBUG: selecting 
virtual:nativesdk:/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc-initial_2.19.bb 
as PREFERRED_VERSION 2.19 of package nativesdk-eglibc-initial (for item 
glibc)
DEBUG: selecting 
virtual:nativesdk:/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc-initial_2.23.bb 
as PREFERRED_VERSION 2.23 of package nativesdk-glibc-initial (for item 
glibc)
NOTE: selecting glibc to satisfy runtime glibc due to 
PREFERRED_PROVIDER_virtual/libc = glibc
NOTE: selecting glibc-initial to satisfy runtime glibc due to 
PREFERRED_PROVIDER_virtual/arm-distro-linux-gnueabi-libc-initial = 
glibc-initial
NOTE: selecting nativesdk-glibc-initial to satisfy runtime glibc due to 
PREFERRED_PROVIDER_virtual/nativesdk-x86_64-distrosdk-linux-libc-initial 
= nativesdk-glibc-initial
ERROR: Trying to resolve runtime dependency glibc resulted in 
conflicting PREFERRED_PROVIDER entries being found.
The providers found were: 
['/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc_2.23.bb', 
'/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc-initial_2.23.bb', 
'virtual:nativesdk:/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc-initial_2.23.bb']
The PREFERRED_PROVIDER entries resulting in this conflict were: 
['PREFERRED_PROVIDER_virtual/libc = glibc', 
'PREFERRED_PROVIDER_virtual/arm-distro-linux-gnueabi-libc-initial = 
glibc-initial', 
'PREFERRED_PROVIDER_virtual/nativesdk-x86_64-distrosdk-linux-libc-initial = 
nativesdk-glibc-initial']
DEBUG: sorted runtime providers for glibc are: 
['virtual:nativesdk:/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc-initial_2.23.bb', 
'/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc-initial_2.23.bb', 
'/home/jernberg/yocto/sources/yocto/recipes-core/glibc/glibc_2.23.bb', 
'/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc-initial_2.19.bb', 
'/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc_2.19.bb', 
'virtual:nativesdk:/home/jernberg/yocto/sources/poky/meta/recipes-core/eglibc/eglibc-initial_2.19.bb']
NOTE: multiple providers are available for runtime glibc 
(nativesdk-glibc-initial, glibc-initial, glibc, eglibc-initial, eglibc, 
nativesdk-eglibc-initial)
NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc
NOTE: Runtime target 'glibc' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['glibc']
DEBUG: File 
'/home/jernberg/yocto/sources/meta-test/recipes-core/glibc/glibc_2.23.bb' is 
unbuildable, removing...
NOTE: Target 'glibc' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['glibc', 'glibc']
ERROR: Required build target 'glibc' has no buildable providers.
Missing or unbuildable dependency chain was: ['glibc', 'glibc']

Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

             reply	other threads:[~2016-03-08  8:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-08  8:04 John Ernberg [this message]
2016-03-09  2:17 ` Replacing eglibc with glibc in Yocto 1.6.1? Khem Raj

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=56DE87AA.7090109@actia.se \
    --to=john.ernberg@actia.se \
    --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.