gmacario / easy-build

Collection of Dockerfiles for building embedded software distributions
Mozilla Public License 2.0
154 stars 83 forks source link

RFC: Implement a go.genivi.org agent #203

Closed gmacario closed 8 years ago

gmacario commented 8 years ago

See https://at.projects.genivi.org/jira/browse/TOOL-21

gmacario commented 8 years ago

Testing successful

gmacario@mv-linux-powerhorse:~/test⟫ docker run -ti --volume $PWD:/home/build test/build-yocto-genivi /usr/local/bin/clone-and-build-gdp.sh
...
++ echo 'Now run:  bitbake genivi-demo-platform'
Now run:  bitbake genivi-demo-platform
+ bitbake genivi-demo-platform
Parsing recipes: 100% |############################################################################################| Time: 00:00:51
Parsing of 1547 .bb files complete (0 cached, 1547 parsed). 1995 targets, 167 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.24.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky-ivi-systemd"
DISTRO_VERSION    = "8.0.1"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp    = "(detachedfrom6d34267):6d34267e0a13e10ab91b60590b27a2b5ba3b7da6"
meta-ivi
meta-ivi-bsp      = "(detachedfromcc64f96):cc64f96b285e64524d7e0c740155851bbc44d790"
meta-oe
meta-ruby         = "(detachedfrom6413cdb):6413cdb66acf43059f94d0076ec9b8ad6a475b35"
meta-qt5          = "(detachedfromadeca0d):adeca0db212d61a933d7952ad44ea1064cfca747"
meta-genivi-demo  = "(detachedfrome0c9fe6):e0c9fe684d84de9831d2b5612570c552c8bf7be1"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL http://zlib.net/pigz/pigz-2.3.1.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng16/1.6.13/libpng-1.6.13.tar.xz, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.freedesktop.org/pub/mesa/10.1.3/MesaLib-10.1.3.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/apr/apr-1.5.1.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/apr/apr-util-1.5.3.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.8.9.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://code.entropywave.com/download/orc/orc-0.4.18.tar.gz;name=orc, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-1.03ii.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://downloads.sourceforge.net/fuse/fuse-2.9.3.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/n/netbase/netbase_5.2.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.17.4.tar.xz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://ftp.de.debian.org/debian/pool/main/m/mklibs/mklibs_0.1.39.tar.xz, attempting MIRRORS if available
NOTE: validating kernel config, see log.do_kernel_configcheck for details
WARNING: QA Issue: ELF binary '/home/build/genivi-demo-platform/gdp-src-build/tmp/work/core2-64-poky-linux/wayland-ivi-extension/1.3.0-r0/packages-split/wayland-ivi-extension/usr/lib/weston/ivi-controller.so' has relocations in .text [textrel]
WARNING: QA Issue: pulseaudio-module-console-kit rdepends on consolekit, but it isn't a build dependency? [build-deps]
NOTE: Tasks Summary: Attempted 4431 tasks of which 22 didn't need to be rerun and all succeeded.

Summary: There were 15 WARNING messages shown.
gmacario@mv-linux-powerhorse:~/test⟫
gmacario commented 8 years ago

Successfully through all the examples in the build-yocto-genivi/README.md.

LGTM, merging

gmacario commented 8 years ago

Notice that the GoCD agent executables are installed inside the image, but at the moment I am still unable to test them against the go.genivi.org server - See blocker https://at.projects.genivi.org/jira/browse/TOOL-34