Closed JohannCOSTE closed 3 years ago
I have not seen this issue.. @alimon any idea? Can you please provide the whole build log as well?
Thanks for the fast reply! Here are the logs:
I'm building inside a container, here the Dockerfile:
FROM ubuntu:16.04
RUN adduser --disabled-password --gecos "" user
RUN usermod -a -G sudo user
WORKDIR /home/user
# Update packages
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y openssl
RUN apt-get install -y gawk
RUN apt-get install -y wget
RUN apt-get install -y git
RUN apt-get install -y git-core
RUN apt-get install -y diffstat
RUN apt-get install -y texinfo
RUN apt-get install -y gcc-multilib
RUN apt-get install -y build-essential
RUN apt-get install -y chrpath
RUN apt-get install -y socat
RUN apt-get install -y cpio
RUN apt-get install -y libsqlite3-dev
RUN apt-get install -y python
RUN apt-get install -y python3
RUN apt-get install -y python3-pip
RUN apt-get install -y python3-pexpect
RUN apt-get install -y xz-utils
RUN apt-get install -y debianutils
RUN apt-get install -y iputils-ping
RUN apt-get install -y phablet-tools
RUN apt-get install -y android-tools-fastboot
RUN apt-get install -y android-tools-fsutils
RUN apt-get install -y dosfstools
RUN apt-get install -y gdisk
RUN apt-get install -y zip
RUN apt-get install -y dialog
RUN apt-get install -y locales
RUN apt-get install -y nano
RUN apt-get install -y vim
RUN usermod --password $(echo user | openssl passwd -1 -stdin) user
RUN locale-gen en_US.UTF-8
USER user
# Git : access to git.linaro.org must be done with HTTP instead of HTTPS because of tsl handshake incompatibility (bad_mac_address error)
RUN git config --global url."http://git.linaro.org/".insteadOf https://git.linaro.org/
WORKDIR /home/user/source/
Then I run it with:
docker run --tty --interactive --privileged --volume $PWD/sources/:/home/user/source yocto_dragonboard
Where sources
is the content of the repository initialized with repo command. I already used the same kind of Dockerfile and Docker run command and it worked well.
Hi, I started a new build from scratch and this time it worked! I don't know what happened.
I'm closing the issue, thanks for your support.
Hello, I'm facing an issue when I try to generate images. I followed those instructions https://github.com/96boards/oe-rpb-manifest/blob/qcom/dunfell/README.md. All is going well but in the
do_rootfs
part, the building process is interupted due to errors in postinstall hooks.I tried:
And:
I also tried to
-c clean
and-c cleansstate
and but each time I get the followings errors:The first one is with
update_mime_database
, the logs are:If I create manually this directory, another problem occures with
update_pixbuf_cache
:I'm new to Yocto so maybe I do something wrong. I will be very grateful if you can help me. Don't hesitate if you need more info about my build system or more logs.
Thanks in advance!