Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Link to Pre-build Pi images are dead and unable to build AGL #126

Open
domwoe opened this issue May 1, 2020 · 5 comments
Open

Link to Pre-build Pi images are dead and unable to build AGL #126

domwoe opened this issue May 1, 2020 · 5 comments

Comments

@domwoe
Copy link

domwoe commented May 1, 2020

Hi,

I'm trying to get Kuksa running on a Pi, and I'm failing already with building the image :)
The link to the pre-build image in the docs is dead
https://agl-kuksa.readthedocs.io/en/latest/developers_guide.html
Hence, I tried building it myself.

I tried both approaches described here.
but bitbake is always crashing with the following error:

ERROR: An uncaught exception occurred in runqueue######################################################                                                              | ETA:  0:00:12
Traceback (most recent call last):
  File "/workspace_agl/poky/bitbake/lib/bb/runqueue.py", line 1370, in RunQueue.execute_runqueue():
             try:
    >            return self._execute_runqueue()
             except bb.runqueue.TaskFailure:
  File "/workspace_agl/poky/bitbake/lib/bb/runqueue.py", line 1315, in RunQueue._execute_runqueue():
                     self.rqdata.init_progress_reporter.next_stage()
    >                self.start_worker()
                     self.rqdata.init_progress_reporter.next_stage()
  File "/workspace_agl/poky/bitbake/lib/bb/runqueue.py", line 1169, in RunQueue.start_worker():
             for mc in self.rqdata.dataCaches:
    >            self.worker[mc] = self._start_worker(mc)

  File "/workspace_agl/poky/bitbake/lib/bb/runqueue.py", line 1142, in RunQueue._start_worker(mc='', fakeroot=False, rqexec=None):
             worker.stdin.write(b"<extraconfigdata>" + pickle.dumps(self.cooker.extraconfigdata) + b"</extraconfigdata>")
    >        worker.stdin.write(b"<workerdata>" + pickle.dumps(workerdata) + b"</workerdata>")
             worker.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe

ERROR: Running idle function
Traceback (most recent call last):
  File "/workspace_agl/poky/bitbake/lib/bb/cooker.py", line 1392, in buildTargetsIdle(server=<ProcessServer(ProcessServer-1, started)>, rq=<bb.runqueue.RunQueue object at 0x7f0fa297d0f0>, abort=False):
                 try:
    >                retval = rq.execute_runqueue()
                 except runqueue.TaskFailure as exc:
  File "/workspace_agl/poky/bitbake/lib/bb/runqueue.py", line 1370, in RunQueue.execute_runqueue():
             try:
    >            return self._execute_runqueue()
             except bb.runqueue.TaskFailure:
  File "/workspace_agl/poky/bitbake/lib/bb/runqueue.py", line 1315, in RunQueue._execute_runqueue():
                     self.rqdata.init_progress_reporter.next_stage()
    >                self.start_worker()
                     self.rqdata.init_progress_reporter.next_stage()
  File "/workspace_agl/poky/bitbake/lib/bb/runqueue.py", line 1169, in RunQueue.start_worker():
             for mc in self.rqdata.dataCaches:
    >            self.worker[mc] = self._start_worker(mc)

  File "/workspace_agl/poky/bitbake/lib/bb/runqueue.py", line 1142, in RunQueue._start_worker(mc='', fakeroot=False, rqexec=None):
             worker.stdin.write(b"<extraconfigdata>" + pickle.dumps(self.cooker.extraconfigdata) + b"</extraconfigdata>")
    >        worker.stdin.write(b"<workerdata>" + pickle.dumps(workerdata) + b"</workerdata>")
             worker.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe

Here's the Dockerfile I used for the first approach:

FROM ubuntu:16.04
VOLUME [ "/kuksa-image" ]

# Set locale 
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8

RUN apt-get update

RUN apt-get install -y software-properties-common
RUN apt-add-repository -y ppa:git-core/ppa
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update

RUN apt-get install -y git-core cmake curl chrpath build-essential texinfo cpio diffstat gawk wget python3.7
RUN ln -sf /usr/bin/python3.7 /usr/bin/python

WORKDIR /kuksa

RUN git clone https://github.com/eclipse/kuksa.invehicle.git

RUN cd /kuksa-image

RUN cmake /kuksa/kuksa.invehicle/agl-kuksa

## Now python 2 is needed...
RUN apt-get install -y python

# disable sanity check to run bitbake as root
RUN sed -i 's/INHERIT += "sanity"/#INHERIT += "sanity"/g' ./agl/poky/meta/conf/sanity.conf
RUN make agl-kuksa-sdk
@yang-neu
Copy link

I had encountered the same issue.

@SebastianSchildt
Copy link
Contributor

Hi, currently development focuses on https://github.com/eclipse/kuksa.val and for most setups we are using docker/containers on "normal" Linux (Ubuntu. Apertis, etc.) (for running appmanager, kuksa.val or traccar app from apps repo)

Are you interested in a specific component?

If yocto/AGL is important to you, maybe @rai20 still has some tipps

(also add @wenwenchenbosch )

@leevyth
Copy link

leevyth commented Apr 12, 2021

were you able to solve this issue? I'm having the exact same error when building an imx image with bitbake, I'm on a docker container as well. thank you

@SebastianSchildt
Copy link
Contributor

As I said, we moved away from Agl some time ago. Maybe @daschubert has an idea? Is it only docker related?

@daschubert
Copy link
Contributor

I have never seen that issues. I don't really think that it is docker related but have you ever tried it without docker?
Furthermore, I always used the "cmake scripts" way of building it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants