Bug 7108 - Cannot enable libc-libm as specified in the wiki
Summary: Cannot enable libc-libm as specified in the wiki
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-12-30 19:44 UTC by Benjamin Esquivel
Modified: 2015-01-18 17:52 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
Tail of the log.do_compile (832 bytes, text/plain)
2014-12-30 19:44 UTC, Benjamin Esquivel
no flags Details
full log.do_compile (7.27 MB, application/octet-stream)
2014-12-30 19:46 UTC, Benjamin Esquivel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Esquivel 2014-12-30 19:44:54 UTC
Created attachment 2309 [details]
Tail of the log.do_compile

Following the steps at 

https://wiki.yoctoproject.org/wiki/Minimal_Image#eglibc_component_configuration_system

specifically adding this to conf/local.conf:

  DISTRO_FEATURES_LIBC = "libc-libm"
  DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci ${DISTRO_FEATURES_LIBC}"

fails at the glibc:do_compile step

I tested poky dizzy (glibc) and poky daisy (eglibc) and both fail.

Steps to reproduce:

1. get poky-dizzy
2. source oe-init-build-env
3. edit conf/local.conf, add the following lines:
  DISTRO_FEATURES_LIBC = "libc-libm"
  DISTRO_FEATURES =+ "${DISTRO_FEATURES_LIBC}"
4. bitbake glibc
5. Expect a failure at the do_compile step
Comment 1 Benjamin Esquivel 2014-12-30 19:46:56 UTC
Created attachment 2310 [details]
full log.do_compile
Comment 2 Saul Wold 2015-01-18 17:52:53 UTC
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=08970d45bfa491b215a0dd90f19995a752e616c9

We needed to disable the nscd code if inet-anl is not a distro feature.