This repository was archived by the owner on Nov 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
This repository was 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
Copy link
Copy link
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels