* Problem building glibc-locale
@ 2017-02-03 22:52 Andras Tantos
2017-02-03 23:14 ` Burton, Ross
0 siblings, 1 reply; 5+ messages in thread
From: Andras Tantos @ 2017-02-03 22:52 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 5888 bytes --]
Hi all,
I'm trying to build glibc-locale (actually I'm trying to build
core-image-base, but that fails building glibc-locale) and encountering
the following error:
WARNING: Host distribution "Ubuntu-16.04" has not been validated
with this version of the build system; you may possibly experience
unexpected failures. It is recommended that you use a tested
distribution.
Parsing recipes: 100%
|#####################################################################################################################|
Time: 00:00:05
Parsing of 871 .bb files complete (0 cached, 871 parsed). 1301
targets, 218 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "i586-poky-linux"
MACHINE = "qemux86"
DISTRO = "poky"
DISTRO_VERSION = "2.1.2"
TUNE_FEATURES = "m32 i586"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "krogoth:ae9b341ecfcc60e970f29cfe04306411ad26c0cf"
NOTE: Fetching uninative binary shim from
http://downloads.yoctoproject.org/releases/uninative/1.0.1/x86_64-nativesdk-libc.tar.bz2;sha256sum=acf1e44a0ac2e855e81da6426197d36358bf7b4e88e552ef933128498c8910f8
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: zlib-native-1.2.8-r0 do_fetch: Failed to fetch URL
http://www.zlib.net/zlib-1.2.8.tar.xz, attempting MIRRORS if available
WARNING: libpcre-native-8.38-r0 do_fetch: Failed to fetch URL
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.bz2,
attempting MIRRORS if available
ERROR: glibc-locale-2.23-r0 do_package: QA Issue: glibc-locale:
Files/directories were installed but not shipped in any package:
/usr/lib/gconv/IBM4971.so
/usr/lib/gconv/IBM1004.so
/usr/lib/gconv/GREEK7.so
/usr/lib/gconv/IBM866.so
/usr/lib/gconv/ISO8859-11.so
... lots of files listed and trimmed ...
/usr/share/i18n/locales/es_CU
/usr/share/i18n/locales/crh_UA
/usr/share/i18n/locales/the_NP
/usr/share/i18n/locales/ar_DZ
/usr/share/i18n/locales/os_RU
/usr/share/i18n/locales/nds_DE
/usr/share/i18n/locales/ar_MA
/usr/share/i18n/locales/cs_CZ
/usr/share/i18n/locales/sv_FI
/usr/share/i18n/locales/sd_IN
/usr/share/i18n/locales/es_VE
Please set FILES such that these items are packaged. Alternatively
if they are unneeded, avoid installing them or delete them within
do_install.
glibc-locale: 815 installed and not shipped files.
[installed-vs-shipped]
ERROR: glibc-locale-2.23-r0 do_package: Fatal QA errors found,
failing task.
ERROR: glibc-locale-2.23-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in:
/home/atantos/personal/cray-xmp/trunk/sockit_sw/t7/krogoth/build/tmp/work/i586-poky-linux/glibc-locale/2.23-r0/temp/log.do_package.187260
ERROR: Task 11
(/home/atantos/personal/cray-xmp/trunk/sockit_sw/t7/krogoth/poky/meta/recipes-core/glibc/glibc-locale_2.23.bb,
do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 341 tasks of which 0 didn't need to
be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/home/atantos/personal/cray-xmp/trunk/sockit_sw/t7/krogoth/poky/meta/recipes-core/glibc/glibc-locale_2.23.bb,
do_package
Summary: There were 3 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero
exit code.
The problem seems to be related to trying to include usbhost in
DISTRO_FEATURES.
The minimal repro seems to be this script:
#!/bin/bash
BRANCH=krogoth
#BRANCH=jethro
function error_exit
{
echo "$1" 1>&2
exit 1
}
mkdir $BRANCH || error_exit "can't create directory: $BANCH"
cd $BRANCH || error_exit "can't CD to directory: $BANCH"
BASE=$PWD
echo setting up branch: $BRANCH
echo ====================================================
echo
echo STEP 1: cloning repositories
echo ----------------------------------------------------
git clone -b $BRANCH git://git.yoctoproject.org/poky.git ||
error_exit "Can't clone main repo"
echo
echo STEP 2: creating default config
echo ----------------------------------------------------
source poky/oe-init-build-env ./build
echo
echo STEP 3: customizing configuration
echo ----------------------------------------------------
echo "###########################################" >> conf/local.conf
echo "###########################################" >> conf/local.conf
echo "###########################################" >> conf/local.conf
echo "# LOCAL CHANGES" >> conf/local.conf
echo "###########################################" >> conf/local.conf
echo "###########################################" >> conf/local.conf
echo "###########################################" >> conf/local.conf
echo "DISTRO_FEATURES += \"usbhost\"" >> conf/local.conf
echo
echo STEP 3: building
echo ----------------------------------------------------
bitbake glibc-locale
I've seen other people report this problem but no solution, for example
here: https://www.mail-archive.com/yocto@yoctoproject.org/msg32378.html
and here:
http://stackoverflow.com/questions/41937565/yocto-glibc-locale-do-package-installed-but-not-shipped-in-any-package.
Can you please help me fix the problem?
Thanks,
Andras Tantos
[-- Attachment #2: Type: text/html, Size: 7791 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem building glibc-locale
2017-02-03 22:52 Problem building glibc-locale Andras Tantos
@ 2017-02-03 23:14 ` Burton, Ross
2017-02-04 2:25 ` Andras Tantos
2017-05-26 3:16 ` Craig McQueen
0 siblings, 2 replies; 5+ messages in thread
From: Burton, Ross @ 2017-02-03 23:14 UTC (permalink / raw)
To: Andras Tantos; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 805 bytes --]
So you did:
echo "DISTRO_FEATURES += \"usbhost\"" >> conf/local.conf
But poky.conf does:
DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}
${POKY_DEFAULT_DISTRO_FEATURES}"
Which means that the final value of DISTRO_FEATURES is "usbhost", so none
of the locale support is enabled, and glibc packages badly.
If you just want to add a feature, use DISTRO_FEATURES_append = " usbhost"
(leading whitespace in the string is critical). Note that usbhost is a
default distro feature:
meta/conf/distro/include/default-distrovars.inc:DISTRO_FEATURES_DEFAULT ?=
"acl alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi
xattr nfs zeroconf pci 3g nfc x11"
So you don't need to specify it unless you are defining a distribution from
scratch.
Ross
[-- Attachment #2: Type: text/html, Size: 1363 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem building glibc-locale
2017-02-03 23:14 ` Burton, Ross
@ 2017-02-04 2:25 ` Andras Tantos
2017-05-26 3:16 ` Craig McQueen
1 sibling, 0 replies; 5+ messages in thread
From: Andras Tantos @ 2017-02-04 2:25 UTC (permalink / raw)
To: Burton, Ross; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 956 bytes --]
Thank you very much! This solved my problems!!
Andras
On 2/3/2017 3:14 PM, Burton, Ross wrote:
> So you did:
>
> echo "DISTRO_FEATURES += \"usbhost\"" >> conf/local.conf
>
> But poky.conf does:
>
> DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}
> ${POKY_DEFAULT_DISTRO_FEATURES}"
>
> Which means that the final value of DISTRO_FEATURES is "usbhost", so
> none of the locale support is enabled, and glibc packages badly.
>
> If you just want to add a feature, use DISTRO_FEATURES_append = "
> usbhost" (leading whitespace in the string is critical). Note that
> usbhost is a default distro feature:
>
> meta/conf/distro/include/default-distrovars.inc:DISTRO_FEATURES_DEFAULT
> ?= "acl alsa argp bluetooth ext2 irda largefile pcmcia usbgadget
> usbhost wifi xattr nfs zeroconf pci 3g nfc x11"
>
> So you don't need to specify it unless you are defining a distribution
> from scratch.
>
> Ross
[-- Attachment #2: Type: text/html, Size: 2184 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem building glibc-locale
2017-02-03 23:14 ` Burton, Ross
2017-02-04 2:25 ` Andras Tantos
@ 2017-05-26 3:16 ` Craig McQueen
2017-05-26 15:55 ` Burton, Ross
1 sibling, 1 reply; 5+ messages in thread
From: Craig McQueen @ 2017-05-26 3:16 UTC (permalink / raw)
To: Burton, Ross, Andras Tantos; +Cc: yocto
>
> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Burton, Ross
>
> So you did:
>
> echo "DISTRO_FEATURES += \"usbhost\"" >> conf/local.conf
>
> But poky.conf does:
>
> DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}"
>
> Which means that the final value of DISTRO_FEATURES is "usbhost", so none of the locale support is enabled, and glibc packages badly.
>
> If you just want to add a feature, use DISTRO_FEATURES_append = " usbhost" (leading whitespace in the string is critical). Note that usbhost is a default distro feature:
>
> meta/conf/distro/include/default-distrovars.inc:DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11"
>
> So you don't need to specify it unless you are defining a distribution from scratch.
>
> Ross
I'm having this issue, when trying to use a modification of the poky-tiny distro (currently using morty). Does the poky-tiny distro do the right thing?
--
Craig McQueen
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem building glibc-locale
2017-05-26 3:16 ` Craig McQueen
@ 2017-05-26 15:55 ` Burton, Ross
0 siblings, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2017-05-26 15:55 UTC (permalink / raw)
To: Craig McQueen; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 428 bytes --]
On 26 May 2017 at 04:16, Craig McQueen <craig.mcqueen@innerrange.com> wrote:
> I'm having this issue, when trying to use a modification of the poky-tiny
> distro (currently using morty). Does the poky-tiny distro do the right
> thing?
>
Yes, we autobuild poky-tiny quite frequently so it should work. It's
probably not the same problem - or if it is then it's your local.conf which
is causing the breakage.
Ross
[-- Attachment #2: Type: text/html, Size: 830 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-05-26 15:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-03 22:52 Problem building glibc-locale Andras Tantos
2017-02-03 23:14 ` Burton, Ross
2017-02-04 2:25 ` Andras Tantos
2017-05-26 3:16 ` Craig McQueen
2017-05-26 15:55 ` Burton, Ross
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.