openbmc / phosphor-certificate-manager

Apache License 2.0
6 stars 5 forks source link

Build failure with master (possibly gcc 8 related) #13

Closed wilhelmy closed 4 years ago

wilhelmy commented 4 years ago
DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 32
make  all-recursive
make[1]: Entering directory '/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/build'
Making all in .
make[2]: Entering directory '/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/build'
arm-openbmc-linux-gnueabi-g++  -march=armv6 -marm -mtune=arm1176jz-s --sysroot=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot -std=c++17 -DHAVE_CONFIG_H -I. -I../git     -lsdeventplus   -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1=/usr/src/debug/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1                      -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1=/usr/src/debug/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1                      -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot=                      -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot-native=  -fvisibility-inlines-hidden -Wall -Werror -c -o phosphor_certificate_manager-mainapp.o `test -f 'mainapp.cpp' || echo '../git/'`mainapp.cpp
arm-openbmc-linux-gnueabi-g++  -march=armv6 -marm -mtune=arm1176jz-s --sysroot=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot -std=c++17 -DHAVE_CONFIG_H -I. -I../git     -lsdeventplus   -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1=/usr/src/debug/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1                      -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1=/usr/src/debug/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1                      -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot=                      -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot-native=  -fvisibility-inlines-hidden -Wall -Werror -c -o phosphor_certificate_manager-certs_manager.o `test -f 'certs_manager.cpp' || echo '../git/'`certs_manager.cpp
arm-openbmc-linux-gnueabi-g++  -march=armv6 -marm -mtune=arm1176jz-s --sysroot=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot -std=c++17 -DHAVE_CONFIG_H -I. -I../git     -lsdeventplus   -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1=/usr/src/debug/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1                      -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1=/usr/src/debug/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1                      -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot=                      -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot-native=  -fvisibility-inlines-hidden -Wall -Werror -c -o phosphor_certificate_manager-certificate.o `test -f 'certificate.cpp' || echo '../git/'`certificate.cpp
In file included from ../git/mainapp.cpp:20:
../git/certs_manager.hpp:70:17: error: conflicting return type specified for 'virtual std::__cxx11::string phosphor::certs::Manager::install(std::__cxx11::string)'
     std::string install(const std::string filePath) override;
                 ^~~~~~~
In file included from ../git/certs_manager.hpp:11,
                 from ../git/mainapp.cpp:20:
/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot/usr/include/xyz/openbmc_project/Certs/Install/server.hpp:54:22: note: overridden function is 'virtual void sdbusplus::xyz::openbmc_project::Certs::server::Install::install(std::__cxx11::string)'
         virtual void install(
                      ^~~~~~~
In file included from ../git/certificate.cpp:5:
../git/certs_manager.hpp:70:17: error: conflicting return type specified for 'virtual std::__cxx11::string phosphor::certs::Manager::install(std::__cxx11::string)'
     std::string install(const std::string filePath) override;
                 ^~~~~~~
In file included from ../git/certs_manager.hpp:11,
                 from ../git/certificate.cpp:5:
/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot/usr/include/xyz/openbmc_project/Certs/Install/server.hpp:54:22: note: overridden function is 'virtual void sdbusplus::xyz::openbmc_project::Certs::server::Install::install(std::__cxx11::string)'
         virtual void install(
                      ^~~~~~~
In file included from ../git/certs_manager.cpp:1:
../git/certs_manager.hpp:70:17: error: conflicting return type specified for 'virtual std::__cxx11::string phosphor::certs::Manager::install(std::__cxx11::string)'
     std::string install(const std::string filePath) override;
                 ^~~~~~~
In file included from ../git/certs_manager.hpp:11,
                 from ../git/certs_manager.cpp:1:
/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/recipe-sysroot/usr/include/xyz/openbmc_project/Certs/Install/server.hpp:54:22: note: overridden function is 'virtual void sdbusplus::xyz::openbmc_project::Certs::server::Install::install(std::__cxx11::string)'
         virtual void install(
                      ^~~~~~~
Makefile:605: recipe for target 'phosphor_certificate_manager-mainapp.o' failed
make[2]: *** [phosphor_certificate_manager-mainapp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:619: recipe for target 'phosphor_certificate_manager-certs_manager.o' failed
make[2]: *** [phosphor_certificate_manager-certs_manager.o] Error 1
Makefile:647: recipe for target 'phosphor_certificate_manager-certificate.o' failed
make[2]: *** [phosphor_certificate_manager-certificate.o] Error 1
make[2]: Leaving directory '/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/build'
Makefile:700: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/build'
Makefile:451: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-certificate-manager/0.1+gitAUTOINC+bddee63b9a-r1/temp/log.do_compile.21391)
wilhelmy commented 4 years ago

Commit 06a69d7 seems to break the build for me, the one just before (2e8c3a5) works.

devenrao commented 4 years ago

this is because phosphor-dbus-interfaces is not bumped

wilhelmy commented 4 years ago

I see, thanks