D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/waylandpp-1.0.0-1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zSIz58 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf waylandpp-1.0.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/waylandpp-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd waylandpp-1.0.0 + rm -rf /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GekDD4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd waylandpp-1.0.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/waylandpp-doc/ -- The CXX compiler identification is GNU 14.0.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Found Doxygen: /usr/bin/doxygen (found version "1.10.0") found components: doxygen dot -- Checking for module 'pugixml>=1.4' -- Found pugixml, version 1.14 -- Checking for module 'wayland-client>=1.11.0' -- Found wayland-client, version 1.22.0 -- Checking for module 'wayland-server>=1.17.0' -- Found wayland-server, version 1.22.0 -- Checking for module 'wayland-egl' -- Found wayland-egl, version 18.1.0 -- Checking for module 'wayland-cursor' -- Found wayland-cursor, version 1.22.0 -- Configuring done (0.5s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build + /usr/bin/cmake --build build -j16 --verbose Change Dir: '/home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16 /usr/bin/cmake -S/home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0 -B/home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build' /usr/bin/gmake -f CMakeFiles/wayland-scanner++.dir/build.make CMakeFiles/wayland-scanner++.dir/depend gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build' cd /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0 /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0 /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build/CMakeFiles/wayland-scanner++.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build' /usr/bin/gmake -f CMakeFiles/wayland-scanner++.dir/build.make CMakeFiles/wayland-scanner++.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build' [ 2%] Building CXX object CMakeFiles/wayland-scanner++.dir/scanner/scanner.cpp.o /usr/bin/g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=gnu++11 -I/usr/include -MD -MT CMakeFiles/wayland-scanner++.dir/scanner/scanner.cpp.o -MF CMakeFiles/wayland-scanner++.dir/scanner/scanner.cpp.o.d -o CMakeFiles/wayland-scanner++.dir/scanner/scanner.cpp.o -c /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp:378:3: error: 'uint32_t' does not name a type 378 | uint32_t width = 0; | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp:29:1: note: 'uint32_t' is defined in header ''; this is probably fixable by adding '#include ' 28 | #include "pugixml.hpp" +++ |+#include 29 | /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp: In member function 'std::string enumeration_t::print_header(const std::string&) const': /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp:401:97: error: 'width' was not declared in this scope; did you mean 'wcwidth'? 401 | ss << "struct " << iface_name << "_" << name << " : public wayland::detail::bitfield<" << width << ", " << id << ">" << std::endl | ^~~~~ | wcwidth /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp:416:62: error: 'width' was not declared in this scope; did you mean 'wcwidth'? 416 | ss << " static const wayland::detail::bitfield<" << width << ", " << id << "> " << sanitise(entry.name) << ";" << std::endl; | ^~~~~ | wcwidth /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp: In member function 'std::string enumeration_t::print_body(const std::string&) const': /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp:436:36: error: 'width' was not declared in this scope; did you mean 'wcwidth'? 436 | ss << "const bitfield<" << width << ", " << id << "> " << iface_name << "_" << name | ^~~~~ | wcwidth /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp: In function 'int main(int, char**)': /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp:1063:13: error: 'struct enumeration_t' has no member named 'width' 1063 | enu.width = 0; | ^~~~~ /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp:1078:34: error: 'uint32_t' does not name a type 1078 | auto tmp = static_cast(std::log2(stol(enum_entry.value, nullptr, 0))) + 1U; | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp:1078:34: note: 'uint32_t' is defined in header ''; this is probably fixable by adding '#include ' /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp:1079:24: error: 'struct enumeration_t' has no member named 'width' 1079 | if(tmp > enu.width) | ^~~~~ /home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/scanner/scanner.cpp:1080:17: error: 'struct enumeration_t' has no member named 'width' 1080 | enu.width = tmp; | ^~~~~ gmake[2]: *** [CMakeFiles/wayland-scanner++.dir/build.make:79: CMakeFiles/wayland-scanner++.dir/scanner/scanner.cpp.o] Error 1 gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build' gmake[1]: *** [CMakeFiles/Makefile2:104: CMakeFiles/wayland-scanner++.dir/all] Error 2 gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/waylandpp-1.0.0/build' gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.GekDD4 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.GekDD4 (%build) I: [iurt_root_command] ERROR: chroot