Icinga / icinga2

The core of our monitoring platform with a powerful configuration language and REST API.
https://icinga.com/docs/icinga2/latest
GNU General Public License v2.0
2.03k stars 577 forks source link

Build on Fedora29 (aarch64) fails on latest git master #7139

Closed georg-h closed 5 years ago

georg-h commented 5 years ago

as there are no icinga2 packages for aarch64 in icinga-rpm-release-29-latest.noarch.rpm I've tried to compile it myself following the instructions from https://icinga.com/docs/icinga2/latest/doc/21-development/#development-linux-dev-env

Expected Behavior

successful build

Current Behavior

build stops with

[ 17%] Building CXX object lib/base/CMakeFiles/base.dir/object.cpp.o [ 17%] Building CXX object lib/base/CMakeFiles/base.dir/object-script.cpp.o /root/icinga2/lib/base/object.cpp: In constructor ‘icinga::Object::Object()’: /root/icinga2/lib/base/object.cpp:31:2: error: ‘m_LockOwner’ was not declared in this scope m_LockOwner.store(decltype(m_LockOwner.load())()); ^~~ make[2]: [lib/base/CMakeFiles/base.dir/build.make:676: lib/base/CMakeFiles/base.dir/object.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: Leaving directory '/root/icinga2/release' make[1]: [CMakeFiles/Makefile2:1391: lib/base/CMakeFiles/base.dir/all] Error 2 make[1]: Leaving directory '/root/icinga2/release' make: [Makefile:163: all] Error 2 make: Leaving directory '/root/icinga2/release' compilation terminated.

Steps to Reproduce (for bugs)

follow the steps from documentation

Your Environment

kind regards Georg

georg-h commented 5 years ago

icinga2_build.txt icinga2_cmake.txt

--> gcc --version gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2)

dnsmichi commented 5 years ago

Thanks, my mistake. I'm using debug builds only, same as #7138.