Bug 7108

Summary: Cannot enable libc-libm as specified in the wiki
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Benjamin Esquivel <benjamin.esquivel>
Component: configurationAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: sgw
Version: 1.8   
Target Milestone: 1.8   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Tail of the log.do_compile
none
full log.do_compile none

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.