openbmc / openpower-debug-collector

Apache License 2.0
2 stars 3 forks source link

openpower-debug-collector no longer builds in SDK #2

Open geissonator opened 3 years ago

geissonator commented 3 years ago

https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/44340 moved us to meson and appears to have broken our ability to build this package as a part of the SDK. I played around with it for a bit but couldn't find anything real obvious and still don't really understand why this or the nativesdk-openpower-debug-collector-yaml aspect of it are really needed.

Here's the error we hit:

| The Meson build system
| Version: 0.58.1
| Source dir: /data0/jenkins/workspace/latest-master-sdk/label/docker-builder/target/witherspoon/openbmc/build/work/x86_64-nativesdk-oesdk-linux/nativesdk-openpower-debug-collector/1.0+gitAUTOINC+bce0d4a571-r1/git
| Build dir: /data0/jenkins/workspace/latest-master-sdk/label/docker-builder/target/witherspoon/openbmc/build/work/x86_64-nativesdk-oesdk-linux/nativesdk-openpower-debug-collector/1.0+gitAUTOINC+bce0d4a571-r1/build
| Build type: cross build
| Project name: openpower-debug-collector
| Project version: 1.0.0
| C++ compiler for the host machine: x86_64-oesdk-linux-g++ --sysroot=/data0/jenkins/workspace/latest-master-sdk/label/docker-builder/target/witherspoon/openbmc/build/work/x86_64-nativesdk-oesdk-linux/nativesdk-openpower-debug-collector/1.0+gitAUTOINC+bce0d4a571-r1/recipe-sysroot (gcc 11.1.1 "x86_64-oesdk-linux-g++ (GCC) 11.1.1 20210523")
| C++ linker for the host machine: x86_64-oesdk-linux-g++ --sysroot=/data0/jenkins/workspace/latest-master-sdk/label/docker-builder/target/witherspoon/openbmc/build/work/x86_64-nativesdk-oesdk-linux/nativesdk-openpower-debug-collector/1.0+gitAUTOINC+bce0d4a571-r1/recipe-sysroot ld.bfd 2.36.1.20210209
| C++ compiler for the build machine: g++ (gcc 9.3.0 "g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
| C++ linker for the build machine: g++ ld.bfd 2.34
| Build machine cpu family: x86_64
| Build machine cpu: x86_64
| Host machine cpu family: x86_64
| Host machine cpu: x86_64
| Target machine cpu family: x86_64
| Target machine cpu: x86_64
| Found pkg-config: /data0/jenkins/workspace/latest-master-sdk/label/docker-builder/target/witherspoon/openbmc/build/work/x86_64-nativesdk-oesdk-linux/nativesdk-openpower-debug-collector/1.0+gitAUTOINC+bce0d4a571-r1/recipe-sysroot-native/usr/bin/pkg-config (0.29.2)
| Found CMake: NO
| Run-time dependency systemd found: NO (tried pkgconfig)
| 
| ../git/meson.build:14:0: ERROR: Dependency "systemd" not found, tried pkgconfig
| 
| A full log can be found at /data0/jenkins/workspace/latest-master-sdk/label/docker-builder/target/witherspoon/openbmc/build/work/x86_64-nativesdk-oesdk-linux/nativesdk-openpower-debug-collector/1.0+gitAUTOINC+bce0d4a571-r1/build/meson-logs/meson-log.txt
| WARNING: exit code 1 from a shell command.
| 
NOTE: recipe nativesdk-openpower-debug-collector-1.0+gitAUTOINC+bce0d4a571-r1: task do_configure: Failed
ERROR: Task (virtual:nativesdk:/data0/jenkins/workspace/latest-master-sdk/label/docker-builder/target/witherspoon/openbmc/meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb:do_configure) failed with exit code '1'

For now my plan is to just disable this from building in the SDK so we can make forward progress.

geissonator commented 3 years ago

Disable up at https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/45047