apertus-open-source-cinema / axiom-firmware

AXIOM firmware (linux image, gateware and software tools)
GNU General Public License v3.0
171 stars 54 forks source link

[Buildsystem] build rootfs in loopback to work around qemu bug #121

Closed anuejn closed 4 years ago

anuejn commented 4 years ago

Does anyone what the problem with the ci builds is? I can build it locally.

cc @rroohhh @BAndiT1983

BAndiT1983 commented 4 years ago

Looks like daemon build is failing, but it wasn't changed for quite some time. Maybe new CMake package is breaking stuff at the moment.

rroohhh commented 4 years ago

The error looks like the submodules are not getting downloaded correctly, but any attempt to verify that showed they are indeed initialized. So no clue.

I think we need to hack together a script again to ssh into the ci machine, i can't really think of anything better than that.

rroohhh commented 4 years ago

Also one thing that is really strange to me, is why cmake fails at the compiler identification, this should have nothing to do with the submodules and still fails. And this is in a arch linux arm chroot, which should be the same for local and CI builds in a docker container that is the same for a local and a CI build. So no clue what the fuck is going on.

BAndiT1983 commented 4 years ago

Can't grab logs, as the task seems to run over and over, at least it's my impression, as the state is constantyl "Executing". Working on some other things, namely AXIOM Remote, so changing environment at the moment is not that possible. But if i can assist, then just let me know.

BAndiT1983 commented 4 years ago

Can Ninja be the problem? Had some issues with CMake while testing it back then, but forgot what it was.

rroohhh commented 4 years ago

logs should be at https://cirrus-ci.com/task/6237517094846464?command=make#L8702

but the relevant part is also here https://paste.niemo.de/feyolexaha

rroohhh commented 4 years ago

Can Ninja be the problem? Had some issues with CMake while testing it back then, but forgot what it was.

I don't think so, as -- The C compiler identification is unknown already seems pretty fishy and has nothing to do with ninja at all.

BAndiT1983 commented 4 years ago

Hm, looks like it is missing the CXX_COMPILER variable -> https://stackoverflow.com/questions/9699930/cmake-complains-the-cxx-compiler-identification-is-unknown

rroohhh commented 4 years ago

ok so some debugging later and pretty sure this is the bug: https://bugs.launchpad.net/qemu/+bug/1805913

apertus-bot commented 4 years ago

Download a build of the latest commit at https://axiom-images.niemo.de/axiom-beta-pr-121-058613f8.img.xz