elisa-tech / wg-automotive

Creative Commons Attribution Share Alike 4.0 International
12 stars 15 forks source link

Reproduce existing demo with meta-elisa based on koi #35

Closed pahmann closed 1 year ago

pahmann commented 1 year ago

ELISA used the AGL koi release as a base for the first tell tale demo, which was base for later STPA analysis. As the demo was built and created a long time ago, the existing documentation need to be checked and reproduced.

A fresh PC and mind is useful for this task to see, if the things are still reproducible

pahmann commented 1 year ago

Currently my build fails for QT5.14.2 with followiing error message:

| ERROR: Configuring qt failed. QT_CONFIG_FLAGS was -sysroot /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native -L/home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/lib -no-gcc-sysroot -system-zlib -qt-pcre -qt-doubleconversion -no-accessibility -no-cups -no-sql-mysql -no-sql-sqlite -no-sql-psql -no-opengl -no-vulkan -no-xcb -no-icu -verbose -release -prefix /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr -hostprefix /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr -bindir /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/bin -hostbindir /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/bin -libdir /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/lib -hostlibdir /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/lib -headerdir /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/include -archdatadir /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/lib -datadir /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/share -hostdatadir /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/lib -docdir /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/share/doc -sysconfdir /home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/etc -no-glib -no-iconv -silent -nomake examples -nomake tests -no-rpath -no-feature-linkat -platform linux-oe-g++ -no-gui -no-libpng -no-libjpeg -no-ico -no-gif -no-openssl | WARNING: exit code 1 from a shell command. | ERROR: Execution of '/home/philipp/projects/agl/koi/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/temp/run.do_configure.16476' failed with exit code 1 ERROR: Task (/home/philipp/projects/agl/koi/external/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_configure) failed with exit code '1'

pahmann commented 1 year ago

@sudipm-mukherjee did a clean build and had no issues. I will use the information from the docker container build to check if this builds without failure. The necessary instructions and the docker container file was shared on the mailing list: https://lists.elisa.tech/g/automotive/message/346 If this works the documentation will be updated to point to the container based build and guidance. This issue relates to "provide docker container and provide documentation" https://github.com/elisa-tech/meta-elisa/issues/24

pahmann commented 1 year ago

I can confirm that the build for koi was successful for me. I used the instructions provided on the mailing list (as from previous comment) for the docker container and could build the demo straight forward.

pahmann commented 1 year ago

Port to needlefish is completed in PR https://github.com/elisa-tech/meta-elisa/pull/28. No more need to go with koi. Closiing this iem accordingly.