What you are missing is also :opt-xenomai-next.yml because 5.4 requires

Yes! This worked:

  kas-container build 
kas.yml:board-beagle-bone-black.yml:opt-xenomai-next.yml:opt-linux-latest-5.4.yml

Then I checked out c6fafd0b83752c529483f7ba3a4277d02ce6aace (wip/dovetail) and 
attempted:

  kas-container build 
kas.yml:board-beagle-bone-black.yml:opt-xenomai-next.yml:opt-linux-latest-5.10.yml

however this failed because `dovetail/master` was not available in 
GIT_REPO_armhf. I am submitting a patch separately to fix this.

I also tried to build with gitlab-runner, but the line provided in the README 
didn't work:

gitlab-runner exec docker --docker-privileged \
  --env "HTTP_PROXY=$HTTP_PROXY" --env "HTTPS_PROXY=$HTTPS_PROXY" \
  --env "NO_PROXY=$NO_PROXY" build:qemu-armhf

fails with

FATAL: no job named "build:qemu-armhf"

Note that I don't have any of those variables set in my env and that I am not 
running behind a proxy, but the failure seems to be unrelated (I am no docker 
expert), so maybe the README needs update on this one, too?

Best,
Giulio



Jan Kiszka wrote on 09/02/2021 11:42:
On 09.02.21 12:35, Giulio Moro wrote:
Hi there,
I tried building this with:
    kas-container build
kas.yml:board-beagle-bone-black.yml:opt-linux-latest-5.4.yml
(not sure if that's the right syntax to get 5.4 ... I had to second
guess it)

Yeah, all these knobs are not well documented, primarily as they are
currently being added more for testing than for users. Should be improved.


but it errors. I think the relevant error is:

   AR      kernel/printk/built-in.a
   CC      kernel/trace/ring_buffer.o
   DTC     arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dtb
   CC      arch/arm/mach-omap2/prm2xxx_3xxx.o
   DTC     arch/arm/boot/dts/omap3430-sdp.dtb
   DTC     arch/arm/boot/dts/omap3-beagle.dtb
   CC      arch/arm/mach-omap2/prm3xxx.o
   CC      kernel/trace/trace.o
   CC      kernel/irq/generic-chip.o
   DTC     arch/arm/boot/dts/omap3-beagle-xm.dtb
   AR      arch/arm/mach-imx/built-in.a
   DTC     arch/arm/boot/dts/omap3-beagle-xm-ab.dtb
   CC      arch/arm/mach-omap2/cm3xxx.o
../kernel/xenomai/posix/clock.c:21:10: fatal error:
cobalt/kernel/vdso.h: No such file or directory
  #include <cobalt/kernel/vdso.h>
           ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
   CC      kernel/time/timekeeping.o
make[6]: *** [../scripts/Makefile.build:262:
kernel/xenomai/posix/clock.o] Error 1
make[5]: *** [../scripts/Makefile.build:496: kernel/xenomai/posix] Error 2
make[4]: *** [../scripts/Makefile.build:496: kernel/xenomai] Error 2
make[4]: *** Waiting for unfinished jobs....

Full log is available here
https://gist.github.com/giuliomoro/c1996a5b4c915ea385f2bde3900f8bb2
(pastebin rejects the log because of "potentially offensive or
questionable content").

Any advice will be greatly appreciated.


What you are missing is also :opt-xenomai-next.yml because 5.4 requires
some changes that are not in the last release (which is the default
otherwise). Then you will get [1] - where the resulting options are
unfortunately not printed.

Jan

[1] https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/220139


Reply via email to