Bug 8675 - Fedora 23 build fails with locale error
Summary: Fedora 23 build fails with locale error
Status: VERIFIED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1
Assignee: Ross Burton
QA Contact: Alexandru Roman
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-11-11 13:37 UTC by Mihail Stanciu
Modified: 2016-05-05 12:14 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Unknown (Hard to categorize)
Verified:
Documentation change: Don't know


Attachments
task log (614.29 KB, text/plain)
2015-11-11 13:37 UTC, Mihail Stanciu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mihail Stanciu 2015-11-11 13:37:09 UTC
Created attachment 2847 [details]
task log

Tested on master:
OS: Fedora 23

Steps:
1. download poky
2. source environment
3. run bitbake core-image-minimal

Build fails on task "glibc-locale_2.22.bb, do_package"

Short error message, see attached file for full task log:
| Makefile:1144: recipe for target '/home/autobuilder/poky2/build/tmp/work/i586-poky-linux/glibc-locale/2.22-r0/locale-tree/usr/lib/locale/fy_NL' failed
| make: *** [/home/autobuilder/poky2/build/tmp/work/i586-poky-linux/glibc-locale/2.22-r0/locale-tree/usr/lib/locale/fy_NL] Error 1
| make: *** Waiting for unfinished jobs....
| make: Leaving directory '/home/autobuilder/poky2/build/tmp/work/i586-poky-linux/glibc-locale/2.22-r0/locale-tree'
| WARNING: /home/autobuilder/poky2/build/tmp/work/i586-poky-linux/glibc-locale/2.22-r0/temp/run.oe_runmake.31979:1 exit 1 from
|   exit 1
| ERROR: oe_runmake failed
| DEBUG: Python function package_do_split_gconvs finished
| DEBUG: Python function populate_packages finished
| DEBUG: Python function do_package finished
| ERROR: Function failed: oe_runmake (log file is located at /home/autobuilder/poky2/build/tmp/work/i586-poky-linux/glibc-locale/2.22-r0/temp/log.do_package.31979)
Comment 1 Randy MacLeod 2015-11-17 17:33:37 UTC
I can't reproduce this error; poky builds fine on my F23 HW system.

Here's a dockerfile that can be used as a starting point well:

$ more Dockerfile 
FROM fedora:23

MAINTAINER Konrad Scherer <Konrad.Scherer@windriver.com>

RUN \
    useradd --home-dir /home/build --uid 1000 --gid 100 --shell /bin/bash wrlbuild

RUN \
    echo "multilib_policy=best" >> /etc/dnf/dnf.conf && \
    echo "deltarpm=0" >> /etc/dnf/dnf.conf && \
    chmod +x /tmp/local_mirror.sh && \
    dnf -y --noplugins clean all && \
    dnf -y --noplugins install glibc.i686 glibc-devel.i686 glibc-devel.x86_64 libgcc.i686 \
    libgcc.x86_64 ncurses-libs.i686 perl-Text-ParseWords perl-podlators perl-autodie \
    perl-Thread-Queue texi2html diffstat subversion mesa-libGL mesa-libGLU SDL-devel \
    texinfo gawk gcc gcc-c++ help2man chrpath git pygtk2 bzip2 wget tar patch xz which cpio \
    make diffutils file screen which sudo time openssh-server expect ccache hostname findutils \
    perl-bignum && \
    dnf --noplugins clean all && \
    rm -rf /var/cache/dnf && \
    rm -rf /usr/share/{man,doc,info,gnome/help} && \
    rm -rf /usr/share/texlive/texmf-dist/{fonts,doc,tex} && \
    cd /usr/libexec/git-core && \
    find . -samefile git -name 'git-*' -exec ln -sf git {} \; && \
    localedef --list-archive | grep -v -i ^en | xargs localedef --delete-from-archive && \
    mv /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl && \
    build-locale-archive && \
    rm /usr/lib/locale/locale-archive.tmpl && \

USER build

CMD ["/bin/bash"]
Comment 2 Ross Burton 2016-02-05 17:34:39 UTC
Nobody can replicate this.  Lowering severity, will close if it doesn't repeat for 2.1.
Comment 3 Ross Burton 2016-04-11 15:49:59 UTC
Closing, no reports of this happening recently.
Comment 4 Alexandru Roman 2016-05-05 12:14:59 UTC
VERIFIED.