Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/folly.spec'], chrootPath='/var/lib/mock/f45-build-55958-960/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbhw38wc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbhw38wc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6b1bdfbcf28540da8aaff0bc8e5f8f65', '-D', '/var/lib/mock/f45-build-55958-960/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbhw38wc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/folly.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1738713600 Wrote: /builddir/build/SRPMS/folly-2025.02.03.00-2.fc45.rv64.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/folly.spec'], chrootPath='/var/lib/mock/f45-build-55958-960/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbhw38wc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbhw38wc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f7219dc56c0a429381b5b44251f05e2b', '-D', '/var/lib/mock/f45-build-55958-960/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbhw38wc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/folly.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1738713600 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.QEtS73 Creating(rpmbuild.env): /builddir/build/BUILD/folly-2025.02.03.00-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/folly-2025.02.03.00-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/folly-2025.02.03.00-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="folly" RPM_PACKAGE_VERSION="2025.02.03.00" RPM_PACKAGE_RELEASE="2.fc45.rv64" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/folly-2025.02.03.00-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.79aJzs + umask 022 + cd /builddir/build/BUILD/folly-2025.02.03.00-build + cd /builddir/build/BUILD/folly-2025.02.03.00-build + rm -rf folly-2025.02.03.00 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/folly-2025.02.03.00.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd folly-2025.02.03.00 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7XgtTk + umask 022 + cd /builddir/build/BUILD/folly-2025.02.03.00-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd folly-2025.02.03.00 ++ find . -name CMakeLists.txt -o -name '*.cmake' + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FindCython.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FindFastFloat.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FindFmt.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FindLZ4.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FindLibAIO.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FindLibDwarf.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FindLibUring.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FindLibiberty.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FindLibsodium.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FindSnappy.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FindZstd.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FollyCompilerMSVC.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FollyCompilerUnix.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FollyConfigChecks.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/FollyFunctions.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/GenPkgConfig.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/folly-config.h.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMake/folly-deps.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./CMakeLists.txt + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FBBuildOptions.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FBCMakeParseArgs.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FBCompilerSettings.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FBCompilerSettingsMSVC.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FBCompilerSettingsUnix.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FBPythonBinary.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FBPythonTestAddTests.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FBThriftCppLibrary.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FBThriftLibrary.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FBThriftPyLibrary.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindDoubleConversion.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindGMock.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindGflags.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindGlog.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindLMDB.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindLibEvent.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindLibUnwind.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindPCRE.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindPCRE2.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindRe2.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindSodium.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindXxhash.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/FindZstd.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./build/fbcode_builder/CMake/RustStaticLibrary.cmake + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./folly/CMakeLists.txt + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./folly/debugging/exception_tracer/CMakeLists.txt + for f in $(find . -name CMakeLists.txt -o -name '*.cmake') + sed -i -E 's|^([[:space:]]*)cmake_policy[[:space:]]*\([[:space:]]*SET[[:space:]]+(CMP[0-9]+)[[:space:]]+OLD[[:space:]]*\)|\1# HoX removed unsupported OLD policy: \2|' ./folly/logging/example/CMakeLists.txt + export CMAKE_POLICY_VERSION_MINIMUM=3.5 + CMAKE_POLICY_VERSION_MINIMUM=3.5 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -G Ninja -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_FULL_SBINDIR:PATH=/usr/bin -DCMAKE_INSTALL_SBINDIR:PATH=bin -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_DIR=/usr/lib64/cmake/folly -DLIBDWARF_INCLUDE_DIR=/usr/include/libdwarf-0 -DFOLLY_HAVE_INT128_T=1 -DPACKAGE_VERSION=2025.02.03.00 CMake Deprecation Warning at CMakeLists.txt:15 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- The CXX compiler identification is GNU 16.1.1 -- The C compiler identification is GNU 16.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- 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 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- setting C++ standard to C++17 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE CMake Warning (dev) at CMake/folly-deps.cmake:38 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:135 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Boost: /usr/lib64/cmake/Boost-1.90.0/BoostConfig.cmake (found suitable version "1.90.0", minimum required is "1.51.0") found components: context filesystem program_options regex system thread -- Found DoubleConversion: /usr/lib64/libdouble-conversion.so -- Found FastFloat: /usr/include -- Found gflags from package config /usr/lib64/cmake/gflags/gflags-config.cmake -- Found Glog: /usr/lib64/libglog.so -- Found gflags as a dependency of glog::glog, include=/usr/include, libs=gflags_shared CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (LIBUNWIND) does not match the name of the calling package (LibUnwind). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): build/fbcode_builder/CMake/FindLibUnwind.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) build/fbcode_builder/CMake/FindGlog.cmake:44 (find_package) CMake/folly-deps.cmake:67 (find_package) CMakeLists.txt:135 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBUNWIND: /usr/lib64/libunwind.so -- Found LibUnwind as a dependency of glog::glog, include=/usr/include, libs=/usr/lib64/libunwind.so -- Found libevent: /usr/lib64/libevent.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "4.0.2", minimum required is "1.1.1") -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Looking for lzma_auto_decoder in /usr/lib64/liblzma.so -- Looking for lzma_auto_decoder in /usr/lib64/liblzma.so - found -- Looking for lzma_easy_encoder in /usr/lib64/liblzma.so -- Looking for lzma_easy_encoder in /usr/lib64/liblzma.so - found -- Looking for lzma_lzma_preset in /usr/lib64/liblzma.so -- Looking for lzma_lzma_preset in /usr/lib64/liblzma.so - found -- Found LibLZMA: /usr/lib64/liblzma.so (found version "5.8.3") -- Found LZ4: /usr/lib64/liblz4.so -- Found LZ4: /usr/lib64/liblz4.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (ZSTD) does not match the name of the calling package (Zstd). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): CMake/FindZstd.cmake:32 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMake/folly-deps.cmake:116 (find_package) CMakeLists.txt:135 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found ZSTD: /usr/lib64/libzstd.so -- Found Zstd: /usr/lib64/libzstd.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (SNAPPY) does not match the name of the calling package (Snappy). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): CMake/FindSnappy.cmake:31 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMake/folly-deps.cmake:123 (find_package) CMakeLists.txt:135 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found SNAPPY: /usr/lib64/libsnappy.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (LIBDWARF) does not match the name of the calling package (LibDwarf). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): CMake/FindLibDwarf.cmake:26 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMake/folly-deps.cmake:130 (find_package) CMakeLists.txt:135 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBDWARF: /usr/lib64/libdwarf.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (LIBIBERTY) does not match the name of the calling package (Libiberty). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): CMake/FindLibiberty.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMake/folly-deps.cmake:134 (find_package) CMakeLists.txt:135 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBIBERTY: /usr/lib64/libiberty.a CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (LIBAIO) does not match the name of the calling package (LibAIO). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): CMake/FindLibAIO.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMake/folly-deps.cmake:138 (find_package) CMakeLists.txt:135 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBAIO: /usr/lib64/libaio.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (LIBURING) does not match the name of the calling package (LibUring). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): CMake/FindLibUring.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMake/folly-deps.cmake:142 (find_package) CMakeLists.txt:135 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBURING: /usr/lib64/liburing.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (LIBSODIUM) does not match the name of the calling package (Libsodium). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): CMake/FindLibsodium.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMake/folly-deps.cmake:146 (find_package) CMakeLists.txt:135 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBSODIUM: /usr/lib64/libsodium.so -- Found Libsodium: /usr/lib64/libsodium.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (LIBUNWIND) does not match the name of the calling package (LibUnwind). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): build/fbcode_builder/CMake/FindLibUnwind.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMake/folly-deps.cmake:158 (find_package) CMakeLists.txt:135 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for swapcontext -- Looking for swapcontext - found -- Looking for C++ include elf.h -- Looking for C++ include elf.h - found -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Setting FOLLY_USE_SYMBOLIZER: ON -- Setting FOLLY_HAVE_ELF: 1 -- Setting FOLLY_HAVE_DWARF: TRUE -- Performing Test FOLLY_CPP_ATOMIC_BUILTIN -- Performing Test FOLLY_CPP_ATOMIC_BUILTIN - Success -- Performing Test FOLLY_STDLIB_LIBSTDCXX -- Performing Test FOLLY_STDLIB_LIBSTDCXX - Success -- Performing Test FOLLY_STDLIB_LIBSTDCXX_GE_9 -- Performing Test FOLLY_STDLIB_LIBSTDCXX_GE_9 - Success -- Performing Test FOLLY_STDLIB_LIBCXX -- Performing Test FOLLY_STDLIB_LIBCXX - Failed -- Performing Test FOLLY_STDLIB_LIBCXX_GE_9 -- Performing Test FOLLY_STDLIB_LIBCXX_GE_9 - Failed -- Performing Test FOLLY_STDLIB_LIBCPP -- Performing Test FOLLY_STDLIB_LIBCPP - Failed -- Looking for C++ include jemalloc/jemalloc.h -- Looking for C++ include jemalloc/jemalloc.h - not found -- Performing Test COMPILER_HAS_UNKNOWN_WARNING_OPTION -- Performing Test COMPILER_HAS_UNKNOWN_WARNING_OPTION - Failed -- Performing Test COMPILER_HAS_W_SHADOW_LOCAL -- Performing Test COMPILER_HAS_W_SHADOW_LOCAL - Success -- Performing Test COMPILER_HAS_W_SHADOW_COMPATIBLE_LOCAL -- Performing Test COMPILER_HAS_W_SHADOW_COMPATIBLE_LOCAL - Success -- Performing Test COMPILER_HAS_W_NOEXCEPT_TYPE -- Performing Test COMPILER_HAS_W_NOEXCEPT_TYPE - Success -- Performing Test COMPILER_HAS_W_NULLABILITY_COMPLETENESS -- Performing Test COMPILER_HAS_W_NULLABILITY_COMPLETENESS - Failed -- Performing Test COMPILER_HAS_W_INCONSISTENT_MISSING_OVERRIDE -- Performing Test COMPILER_HAS_W_INCONSISTENT_MISSING_OVERRIDE - Failed -- Performing Test COMPILER_HAS_F_ALIGNED_NEW -- Performing Test COMPILER_HAS_F_ALIGNED_NEW - Success -- Performing Test COMPILER_HAS_F_OPENMP -- Performing Test COMPILER_HAS_F_OPENMP - Success -- Looking for pthread_atfork -- Looking for pthread_atfork - found -- Looking for accept4 -- Looking for accept4 - found -- Looking for getrandom -- Looking for getrandom - found -- Looking for preadv -- Looking for preadv - found -- Looking for pwritev -- Looking for pwritev - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for pipe2 -- Looking for pipe2 - found -- Looking for malloc_usable_size -- Looking for malloc_usable_size - found -- Performing Test FOLLY_HAVE_IFUNC -- Performing Test FOLLY_HAVE_IFUNC - Success -- Performing Test FOLLY_HAVE_UNALIGNED_ACCESS -- Performing Test FOLLY_HAVE_UNALIGNED_ACCESS - Success -- Performing Test FOLLY_HAVE_VLA -- Performing Test FOLLY_HAVE_VLA - Success -- Performing Test FOLLY_HAVE_WEAK_SYMBOLS -- Performing Test FOLLY_HAVE_WEAK_SYMBOLS - Success -- Performing Test FOLLY_HAVE_LINUX_VDSO -- Performing Test FOLLY_HAVE_LINUX_VDSO - Success -- Performing Test FOLLY_HAVE_WCHAR_SUPPORT -- Performing Test FOLLY_HAVE_WCHAR_SUPPORT - Success -- Performing Test FOLLY_HAVE_EXTRANDOM_SFMT19937 -- Performing Test FOLLY_HAVE_EXTRANDOM_SFMT19937 - Success -- Performing Test HAVE_VSNPRINTF_ERRORS -- Performing Test HAVE_VSNPRINTF_ERRORS - Success -- Performing Test COMPILER_HAS_F_COROUTINES -- Performing Test COMPILER_HAS_F_COROUTINES - Success -- GCC has support for C++ coroutines, setting flag for Folly build. -- arch does not match x86_64, skipping building SSE4.2 version of base64 -- arch does not match x86_64, skipping setting SSE2/AVX2 compile flags for LtHash SIMD code -- Performing Test COMPILER_HAS_M_PCLMUL -- Performing Test COMPILER_HAS_M_PCLMUL - Failed -- compiler does not have flag pclmul, skipping setting compile flags for /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/external/fast-crc32/avx512_crc32c_v8s3x4.cpp;/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/external/fast-crc32/sse_crc32c_v8s3x3.cpp;/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/hash/detail/ChecksumDetail.cpp;/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/hash/detail/Crc32CombineDetail.cpp;/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/hash/detail/Crc32cDetail.cpp -- arch does not match x86_64, skipping setting AVX512 compile flags for crc32c SIMD code -- Configuring done (12.8s) -- Generating done (0.3s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j8 --verbose Change Dir: '/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 8 [1/355] /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/ClockGettimeWrappers.cpp.o -MF CMakeFiles/folly_base.dir/folly/ClockGettimeWrappers.cpp.o.d -o CMakeFiles/folly_base.dir/folly/ClockGettimeWrappers.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/ClockGettimeWrappers.cpp [2/355] /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/Executor.cpp.o -MF CMakeFiles/folly_base.dir/folly/Executor.cpp.o.d -o CMakeFiles/folly_base.dir/folly/Executor.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/Executor.cpp FAILED: [code=1] CMakeFiles/folly_base.dir/folly/Executor.cpp.o /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/Executor.cpp.o -MF CMakeFiles/folly_base.dir/folly/Executor.cpp.o.d -o CMakeFiles/folly_base.dir/folly/Executor.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/Executor.cpp In file included from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/Executor.cpp:21: /usr/include/glog/logging.h:60:4: error: #error was not included correctly. See the documentation for how to consume the library. 60 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:63: /usr/include/glog/flags.h:45:4: error: #error was not included correctly. See the documentation for how to consume the library. 45 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:77: /usr/include/glog/log_severity.h:38:4: error: #error was not included correctly. See the documentation for how to consume the library. 38 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:78: /usr/include/glog/vlog_is_on.h:71:4: error: #error was not included correctly. See the documentation for how to consume the library. 71 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ /usr/include/glog/flags.h:105:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 105 | DECLARE_int32(logemaillevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:105:1: error: ‘FLAGS_logemaillevel’ has not been declared in ‘fLI’ 105 | DECLARE_int32(logemaillevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:106:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 106 | DECLARE_int32(logcleansecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:106:1: error: ‘FLAGS_logcleansecs’ has not been declared in ‘fLI’ 106 | DECLARE_int32(logcleansecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:109:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 109 | DECLARE_bool(drop_log_memory); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:109:1: error: ‘FLAGS_drop_log_memory’ has not been declared in ‘fLB’ 109 | DECLARE_bool(drop_log_memory); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:111:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 111 | DECLARE_string(alsologtoemail); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:111:1: error: ‘FLAGS_alsologtoemail’ has not been declared in ‘fLS’ 111 | DECLARE_string(alsologtoemail); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:112:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 112 | DECLARE_string(log_backtrace_at); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:112:1: error: ‘FLAGS_log_backtrace_at’ has not been declared in ‘fLS’ 112 | DECLARE_string(log_backtrace_at); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:115:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 115 | DECLARE_bool(timestamp_in_logfile_name); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:115:1: error: ‘FLAGS_timestamp_in_logfile_name’ has not been declared in ‘fLB’ 115 | DECLARE_bool(timestamp_in_logfile_name); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:118:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 118 | DECLARE_bool(logtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:118:1: error: ‘FLAGS_logtostdout’ has not been declared in ‘fLB’ 118 | DECLARE_bool(logtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:121:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 121 | DECLARE_bool(colorlogtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:121:1: error: ‘FLAGS_colorlogtostdout’ has not been declared in ‘fLB’ 121 | DECLARE_bool(colorlogtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:124:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 124 | DECLARE_bool(logtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:124:1: error: ‘FLAGS_logtostderr’ has not been declared in ‘fLB’ 124 | DECLARE_bool(logtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:127:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 127 | DECLARE_bool(alsologtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:127:1: error: ‘FLAGS_alsologtostderr’ has not been declared in ‘fLB’ 127 | DECLARE_bool(alsologtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:130:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 130 | DECLARE_bool(colorlogtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:130:1: error: ‘FLAGS_colorlogtostderr’ has not been declared in ‘fLB’ 130 | DECLARE_bool(colorlogtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:134:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 134 | DECLARE_int32(stderrthreshold); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:134:1: error: ‘FLAGS_stderrthreshold’ has not been declared in ‘fLI’ 134 | DECLARE_int32(stderrthreshold); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:137:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 137 | DECLARE_bool(log_file_header); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:137:1: error: ‘FLAGS_log_file_header’ has not been declared in ‘fLB’ 137 | DECLARE_bool(log_file_header); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:140:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 140 | DECLARE_bool(log_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:140:1: error: ‘FLAGS_log_prefix’ has not been declared in ‘fLB’ 140 | DECLARE_bool(log_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:143:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 143 | DECLARE_bool(log_year_in_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:143:1: error: ‘FLAGS_log_year_in_prefix’ has not been declared in ‘fLB’ 143 | DECLARE_bool(log_year_in_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:147:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 147 | DECLARE_int32(logbuflevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:147:1: error: ‘FLAGS_logbuflevel’ has not been declared in ‘fLI’ 147 | DECLARE_int32(logbuflevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:150:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 150 | DECLARE_int32(logbufsecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:150:1: error: ‘FLAGS_logbufsecs’ has not been declared in ‘fLI’ 150 | DECLARE_int32(logbufsecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:154:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 154 | DECLARE_int32(minloglevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:154:1: error: ‘FLAGS_minloglevel’ has not been declared in ‘fLI’ 154 | DECLARE_int32(minloglevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:158:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 158 | DECLARE_string(log_dir); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:158:1: error: ‘FLAGS_log_dir’ has not been declared in ‘fLS’ 158 | DECLARE_string(log_dir); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:161:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 161 | DECLARE_int32(logfile_mode); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:161:1: error: ‘FLAGS_logfile_mode’ has not been declared in ‘fLI’ 161 | DECLARE_int32(logfile_mode); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:165:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 165 | DECLARE_string(log_link); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:165:1: error: ‘FLAGS_log_link’ has not been declared in ‘fLS’ 165 | DECLARE_string(log_link); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:167:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 167 | DECLARE_int32(v); // in vlog_is_on.cc | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:167:1: error: ‘FLAGS_v’ has not been declared in ‘fLI’ 167 | DECLARE_int32(v); // in vlog_is_on.cc | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:169:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 169 | DECLARE_string(vmodule); // also in vlog_is_on.cc | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:169:1: error: ‘FLAGS_vmodule’ has not been declared in ‘fLS’ 169 | DECLARE_string(vmodule); // also in vlog_is_on.cc | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:172:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 172 | DECLARE_uint32(max_log_size); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:172:1: error: ‘FLAGS_max_log_size’ has not been declared in ‘fLU’ 172 | DECLARE_uint32(max_log_size); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:175:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 175 | DECLARE_bool(stop_logging_if_full_disk); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:175:1: error: ‘FLAGS_stop_logging_if_full_disk’ has not been declared in ‘fLB’ 175 | DECLARE_bool(stop_logging_if_full_disk); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:178:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 178 | DECLARE_bool(log_utc_time); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:178:1: error: ‘FLAGS_log_utc_time’ has not been declared in ‘fLB’ 178 | DECLARE_bool(log_utc_time); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:181:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 181 | DECLARE_string(logmailer); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:181:1: error: ‘FLAGS_logmailer’ has not been declared in ‘fLS’ 181 | DECLARE_string(logmailer); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:183:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 183 | DECLARE_bool(symbolize_stacktrace); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:183:1: error: ‘FLAGS_symbolize_stacktrace’ has not been declared in ‘fLB’ 183 | DECLARE_bool(symbolize_stacktrace); | ^~~~~~~~~~~~ /usr/include/glog/vlog_is_on.h:111:8: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 111 | extern GLOG_EXPORT int SetVLOGLevel(const char* module_pattern, int log_level); | ^~~~~~~~~~~ | FOLLY_EXPORT /usr/include/glog/vlog_is_on.h:130:8: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 130 | extern GLOG_EXPORT bool InitVLOG3__(SiteFlag* site_flag, | ^~~~~~~~~~~ | FOLLY_EXPORT /usr/include/glog/logging.h:82:20: error: variable ‘google::GLOG_EXPORT google::LogMessageTime’ has initializer but incomplete type 82 | struct GLOG_EXPORT LogMessageTime { | ^~~~~~~~~~~~~~ /usr/include/glog/logging.h:83:19: error: expected ‘}’ before ‘;’ token 83 | LogMessageTime(); | ^ /usr/include/glog/logging.h:82:35: note: to match this ‘{’ 82 | struct GLOG_EXPORT LogMessageTime { | ^ /usr/include/glog/logging.h:84:3: error: ‘explicit’ outside class declaration 84 | explicit LogMessageTime(std::chrono::system_clock::time_point now); | ^~~~~~~~ /usr/include/glog/logging.h:87:13: error: non-member function ‘time_t google::timestamp()’ cannot have cv-qualifier 87 | const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘time_t google::timestamp()’: /usr/include/glog/logging.h:88:49: error: ‘when’ was not declared in this scope 88 | return std::chrono::system_clock::to_time_t(when()); | ^~~~ /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:90:61: error: non-member function ‘const std::chrono::_V2::system_clock::time_point& google::when()’ cannot have cv-qualifier 90 | const std::chrono::system_clock::time_point& when() const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘const std::chrono::_V2::system_clock::time_point& google::when()’: /usr/include/glog/logging.h:91:12: error: ‘timestamp_’ was not declared in this scope; did you mean ‘timestamp’? 91 | return timestamp_; | ^~~~~~~~~~ | timestamp /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:93:19: error: non-member function ‘int google::sec()’ cannot have cv-qualifier 93 | int sec() const noexcept { return tm_.tm_sec; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::sec()’: /usr/include/glog/logging.h:93:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 93 | int sec() const noexcept { return tm_.tm_sec; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:94:21: error: non-member function ‘long int google::usec()’ cannot have cv-qualifier 94 | long usec() const noexcept { return usecs_.count(); } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘long int google::usec()’: /usr/include/glog/logging.h:94:39: error: ‘usecs_’ was not declared in this scope; did you mean ‘usec’? 94 | long usec() const noexcept { return usecs_.count(); } | ^~~~~~ | usec /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:95:20: error: non-member function ‘int google::min()’ cannot have cv-qualifier 95 | int(min)() const noexcept { return tm_.tm_min; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::min()’: /usr/include/glog/logging.h:95:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 95 | int(min)() const noexcept { return tm_.tm_min; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:96:20: error: non-member function ‘int google::hour()’ cannot have cv-qualifier 96 | int hour() const noexcept { return tm_.tm_hour; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::hour()’: /usr/include/glog/logging.h:96:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 96 | int hour() const noexcept { return tm_.tm_hour; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:97:19: error: non-member function ‘int google::day()’ cannot have cv-qualifier 97 | int day() const noexcept { return tm_.tm_mday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::day()’: /usr/include/glog/logging.h:97:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 97 | int day() const noexcept { return tm_.tm_mday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:98:21: error: non-member function ‘int google::month()’ cannot have cv-qualifier 98 | int month() const noexcept { return tm_.tm_mon; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::month()’: /usr/include/glog/logging.h:98:39: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 98 | int month() const noexcept { return tm_.tm_mon; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:99:20: error: non-member function ‘int google::year()’ cannot have cv-qualifier 99 | int year() const noexcept { return tm_.tm_year; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::year()’: /usr/include/glog/logging.h:99:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 99 | int year() const noexcept { return tm_.tm_year; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:100:25: error: non-member function ‘int google::dayOfWeek()’ cannot have cv-qualifier 100 | int dayOfWeek() const noexcept { return tm_.tm_wday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dayOfWeek()’: /usr/include/glog/logging.h:100:43: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 100 | int dayOfWeek() const noexcept { return tm_.tm_wday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:101:25: error: non-member function ‘int google::dayInYear()’ cannot have cv-qualifier 101 | int dayInYear() const noexcept { return tm_.tm_yday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dayInYear()’: /usr/include/glog/logging.h:101:43: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 101 | int dayInYear() const noexcept { return tm_.tm_yday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:102:19: error: non-member function ‘int google::dst()’ cannot have cv-qualifier 102 | int dst() const noexcept { return tm_.tm_isdst; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dst()’: /usr/include/glog/logging.h:102:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 102 | int dst() const noexcept { return tm_.tm_isdst; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:104:13: error: non-member function ‘long int google::gmtoff()’ cannot have cv-qualifier 104 | const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘long int google::gmtoff()’: /usr/include/glog/logging.h:105:12: error: ‘gmtoffset_’ was not declared in this scope; did you mean ‘gmtoff’? 105 | return gmtoffset_.count(); | ^~~~~~~~~~ | gmtoff /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:107:42: error: non-member function ‘std::chrono::seconds google::gmtoffset()’ cannot have cv-qualifier 107 | std::chrono::seconds gmtoffset() const noexcept { return gmtoffset_; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘std::chrono::seconds google::gmtoffset()’: /usr/include/glog/logging.h:107:60: error: ‘gmtoffset_’ was not declared in this scope; did you mean ‘gmtoffset’? 107 | std::chrono::seconds gmtoffset() const noexcept { return gmtoffset_; } | ^~~~~~~~~~ | gmtoffset /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:108:29: error: non-member function ‘const tm& google::tm()’ cannot have cv-qualifier 108 | const std::tm& tm() const noexcept { return tm_; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘const tm& google::tm()’: /usr/include/glog/logging.h:108:47: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 108 | const std::tm& tm() const noexcept { return tm_; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:110:2: error: expected unqualified-id before ‘private’ 110 | private: | ^~~~~~~ /usr/include/glog/logging.h:122:33: error: ‘LogMessageTime’ does not name a type; did you mean ‘LogMessageInfo’? 122 | const LogMessageTime& time_) | ^~~~~~~~~~~~~~ | LogMessageInfo /usr/include/glog/logging.h:133:9: error: ‘LogMessageTime’ does not name a type; did you mean ‘LogMessageInfo’? 133 | const LogMessageTime& time; | ^~~~~~~~~~~~~~ | LogMessageInfo /usr/include/glog/logging.h: In constructor ‘LogMessageInfo::LogMessageInfo(const char*, const char*, const int&, std::thread::id, const int&)’: /usr/include/glog/logging.h:127:9: error: class ‘LogMessageInfo’ does not have any field named ‘time’ 127 | time(time_) {} | ^~~~ /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:136:1: error: expected declaration before ‘}’ token 136 | } // namespace google | ^ /usr/include/glog/logging.h:483:1: error: two or more data types in declaration of ‘InitGoogleLogging’ 483 | GLOG_EXPORT void InitGoogleLogging(const char* argv0); | ^~~~~~~~~~~ /usr/include/glog/logging.h:502:55: error: two or more data types in declaration of ‘InitGoogleLogging’ 502 | [[deprecated("Use InstallPrefixFormatter instead.")]] GLOG_EXPORT void | ^~~~~~~~~~~ /usr/include/glog/logging.h:507:1: error: two or more data types in declaration of ‘IsGoogleLoggingInitialized’ 507 | GLOG_EXPORT bool IsGoogleLoggingInitialized(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:510:1: error: two or more data types in declaration of ‘ShutdownGoogleLogging’ 510 | GLOG_EXPORT void ShutdownGoogleLogging(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:521:1: error: two or more data types in declaration of ‘InstallPrefixFormatter’ 521 | GLOG_EXPORT void InstallPrefixFormatter(PrefixFormatterCallback callback, | ^~~~~~~~~~~ /usr/include/glog/logging.h:527:1: error: expected initializer before ‘InstallFailureFunction’ 527 | InstallFailureFunction(logging_fail_func_t fail_func); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:531:19: error: two or more data types in declaration of ‘EnableLogCleaner’ 531 | "instead.")]] GLOG_EXPORT void | ^~~~~~~~~~~ /usr/include/glog/logging.h:534:1: error: two or more data types in declaration of ‘EnableLogCleaner’ 534 | GLOG_EXPORT void EnableLogCleaner(const std::chrono::minutes& overdue); | ^~~~~~~~~~~ /usr/include/glog/logging.h:535:1: error: two or more data types in declaration of ‘DisableLogCleaner’ 535 | GLOG_EXPORT void DisableLogCleaner(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:536:1: error: two or more data types in declaration of ‘SetApplicationFingerprint’ 536 | GLOG_EXPORT void SetApplicationFingerprint(const std::string& fingerprint); | ^~~~~~~~~~~ /usr/include/glog/logging.h:660:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 660 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, const char& v); | ^~~~~~~~~~~ /usr/include/glog/logging.h:662:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 662 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, const signed char& v); | ^~~~~~~~~~~ /usr/include/glog/logging.h:664:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 664 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, | ^~~~~~~~~~~ /usr/include/glog/logging.h:669:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 669 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, | ^~~~~~~~~~~ /usr/include/glog/logging.h:689:19: error: variable ‘google::GLOG_EXPORT google::logging::internal::CheckOpMessageBuilder’ has initializer but incomplete type 689 | class GLOG_EXPORT CheckOpMessageBuilder { | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:690:2: error: expected primary-expression before ‘public’ 690 | public: | ^~~~~~ /usr/include/glog/logging.h:690:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:689:41: note: to match this ‘{’ 689 | class GLOG_EXPORT CheckOpMessageBuilder { | ^ /usr/include/glog/logging.h:690:2: note: probably missing a comma or an operator before 690 | public: | ^~~~~~ /usr/include/glog/logging.h: In function ‘std::unique_ptr > google::logging::internal::MakeCheckOpString(const T1&, const T2&, const char*)’: /usr/include/glog/logging.h:709:24: error: expected ‘;’ before ‘comb’ [-Wtemplate-body] 709 | CheckOpMessageBuilder comb(exprtext); | ^~~~~ | ; /usr/include/glog/logging.h:710:26: error: ‘comb’ was not declared in this scope; did you mean ‘wctomb’? [-Wtemplate-body] 710 | MakeCheckOpValueString(comb.ForVar1(), v1); | ^~~~ | wctomb /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:830:1: error: invalid declarator before ‘CheckstrcmptrueImpl’ 830 | DECLARE_CHECK_STROP_IMPL(strcmp, true) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:831:1: error: invalid declarator before ‘CheckstrcmpfalseImpl’ 831 | DECLARE_CHECK_STROP_IMPL(strcmp, false) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:832:1: error: invalid declarator before ‘CheckstrcasecmptrueImpl’ 832 | DECLARE_CHECK_STROP_IMPL(strcasecmp, true) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:833:1: error: invalid declarator before ‘CheckstrcasecmpfalseImpl’ 833 | DECLARE_CHECK_STROP_IMPL(strcasecmp, false) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:1198:32: error: expected initializer before ‘:’ token 1198 | class GLOG_EXPORT LogStreamBuf : public std::streambuf { | ^ /usr/include/glog/logging.h:1215:23: error: aggregate ‘google::logging::internal::GLOG_NO_EXPORT google::logging::internal::LogMessageData’ has incomplete type and cannot be defined 1215 | struct GLOG_NO_EXPORT LogMessageData; | ^~~~~~~~~~~~~~ /usr/include/glog/logging.h:1228:19: error: variable ‘google::GLOG_EXPORT google::LogMessage’ has initializer but incomplete type 1228 | class GLOG_EXPORT LogMessage { | ^~~~~~~~~~ /usr/include/glog/logging.h:1229:2: error: expected primary-expression before ‘public’ 1229 | public: | ^~~~~~ /usr/include/glog/logging.h:1229:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1228:30: note: to match this ‘{’ 1228 | class GLOG_EXPORT LogMessage { | ^ /usr/include/glog/logging.h:1229:2: note: probably missing a comma or an operator before 1229 | public: | ^~~~~~ /usr/include/glog/logging.h:1410:35: error: expected initializer before ‘:’ token 1410 | class GLOG_EXPORT LogMessageFatal : public LogMessage { | ^ /usr/include/glog/logging.h:1434:25: error: expected initializer before ‘&’ token 1434 | GLOG_EXPORT std::ostream& operator<<(std::ostream& os, const Counter_t&); | ^ /usr/include/glog/logging.h:1437:35: error: expected initializer before ‘:’ token 1437 | class GLOG_EXPORT ErrnoLogMessage : public LogMessage { | ^ /usr/include/glog/logging.h: In function ‘T google::logging::internal::CheckNotNull(const char*, int, const char*, T&&)’: /usr/include/glog/logging.h:1468:5: error: there are no arguments to ‘LogMessageFatal’ that depend on a template parameter, so a declaration of ‘LogMessageFatal’ must be available [-Wtemplate-body] 1468 | LogMessageFatal(file, line, std::make_unique(names)); | ^~~~~~~~~~~~~~~ /usr/include/glog/logging.h:1468:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:1484:1: error: two or more data types in declaration of ‘FlushLogFiles’ 1484 | GLOG_EXPORT void FlushLogFiles(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1489:1: error: two or more data types in declaration of ‘FlushLogFilesUnsafe’ 1489 | GLOG_EXPORT void FlushLogFilesUnsafe(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1496:1: error: two or more data types in declaration of ‘SetLogDestination’ 1496 | GLOG_EXPORT void SetLogDestination(LogSeverity severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1505:1: error: two or more data types in declaration of ‘SetLogSymlink’ 1505 | GLOG_EXPORT void SetLogSymlink(LogSeverity severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1513:19: error: variable ‘google::GLOG_EXPORT google::LogSink’ has initializer but incomplete type 1513 | class GLOG_EXPORT LogSink { | ^~~~~~~ /usr/include/glog/logging.h:1514:2: error: expected primary-expression before ‘public’ 1514 | public: | ^~~~~~ /usr/include/glog/logging.h:1514:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1513:27: note: to match this ‘{’ 1513 | class GLOG_EXPORT LogSink { | ^ /usr/include/glog/logging.h:1514:2: note: probably missing a comma or an operator before 1514 | public: | ^~~~~~ /usr/include/glog/logging.h:1553:1: error: two or more data types in declaration of ‘AddLogSink’ 1553 | GLOG_EXPORT void AddLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1553:38: error: ‘destination’ was not declared in this scope 1553 | GLOG_EXPORT void AddLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1554:1: error: two or more data types in declaration of ‘RemoveLogSink’ 1554 | GLOG_EXPORT void RemoveLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1554:41: error: ‘destination’ was not declared in this scope 1554 | GLOG_EXPORT void RemoveLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1562:1: error: two or more data types in declaration of ‘SetLogFilenameExtension’ 1562 | GLOG_EXPORT void SetLogFilenameExtension(const char* filename_extension); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1569:1: error: two or more data types in declaration of ‘SetStderrLogging’ 1569 | GLOG_EXPORT void SetStderrLogging(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1574:1: error: two or more data types in declaration of ‘LogToStderr’ 1574 | GLOG_EXPORT void LogToStderr(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1582:1: error: two or more data types in declaration of ‘SetEmailLogging’ 1582 | GLOG_EXPORT void SetEmailLogging(LogSeverity min_severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1587:1: error: two or more data types in declaration of ‘SendEmail’ 1587 | GLOG_EXPORT bool SendEmail(const char* dest, const char* subject, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1590:43: error: invalid declarator before ‘&’ token 1590 | GLOG_EXPORT const std::vector& GetLoggingDirectories(); | ^ /usr/include/glog/logging.h:1595:1: error: two or more data types in declaration of ‘ReprintFatalMessage’ 1595 | GLOG_EXPORT void ReprintFatalMessage(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1604:1: error: two or more data types in declaration of ‘TruncateLogFile’ 1604 | GLOG_EXPORT void TruncateLogFile(const char* path, uint64 limit, uint64 keep); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1609:1: error: two or more data types in declaration of ‘TruncateStdoutStderr’ 1609 | GLOG_EXPORT void TruncateStdoutStderr(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1613:1: error: two or more data types in declaration of ‘GetLogSeverityName’ 1613 | GLOG_EXPORT const char* GetLogSeverityName(LogSeverity severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1628:19: error: variable ‘google::GLOG_EXPORT google::base::Logger’ has initializer but incomplete type 1628 | class GLOG_EXPORT Logger { | ^~~~~~ /usr/include/glog/logging.h:1629:2: error: expected primary-expression before ‘public’ 1629 | public: | ^~~~~~ /usr/include/glog/logging.h:1629:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1628:26: note: to match this ‘{’ 1628 | class GLOG_EXPORT Logger { | ^ /usr/include/glog/logging.h:1629:2: note: probably missing a comma or an operator before 1629 | public: | ^~~~~~ /usr/include/glog/logging.h:1662:26: error: expected initializer before ‘*’ token 1662 | extern GLOG_EXPORT Logger* GetLogger(LogSeverity level); | ^ /usr/include/glog/logging.h:1667:54: error: ‘Logger’ is not a type 1667 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~ /usr/include/glog/logging.h:1667:8: error: two or more data types in declaration of ‘SetLogger’ 1667 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1672:30: error: expected initializer before ‘:’ token 1672 | class GLOG_EXPORT NullStream : public LogMessage::LogStream { | ^ /usr/include/glog/logging.h:1697:8: error: ‘NullStream’ does not name a type 1697 | inline NullStream& operator<<(NullStream& str, const T&) { | ^~~~~~~~~~ /usr/include/glog/logging.h:1703:35: error: expected initializer before ‘:’ token 1703 | class GLOG_EXPORT NullStreamFatal : public NullStream { | ^ /usr/include/glog/logging.h:1727:1: error: two or more data types in declaration of ‘InstallFailureSignalHandler’ 1727 | GLOG_EXPORT void InstallFailureSignalHandler(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1730:1: error: two or more data types in declaration of ‘IsFailureSignalHandlerInstalled’ 1730 | GLOG_EXPORT bool IsFailureSignalHandlerInstalled(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1736:1: error: two or more data types in declaration of ‘InstallFailureWriter’ 1736 | GLOG_EXPORT void InstallFailureWriter(void (*writer)(const char* data, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1740:25: error: expected initializer before ‘GetStackTrace’ 1740 | GLOG_EXPORT std::string GetStackTrace(); | ^~~~~~~~~~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/Executor.cpp: In member function ‘virtual void folly::Executor::keepAliveRelease()’: /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/Executor.cpp:44:3: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? 44 | LOG(FATAL) << __func__ << "() should not be called for folly::Executor types " | ^~~ [3/355] /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/ExceptionWrapper.cpp.o -MF CMakeFiles/folly_base.dir/folly/ExceptionWrapper.cpp.o.d -o CMakeFiles/folly_base.dir/folly/ExceptionWrapper.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/ExceptionWrapper.cpp FAILED: [code=1] CMakeFiles/folly_base.dir/folly/ExceptionWrapper.cpp.o /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/ExceptionWrapper.cpp.o -MF CMakeFiles/folly_base.dir/folly/ExceptionWrapper.cpp.o.d -o CMakeFiles/folly_base.dir/folly/ExceptionWrapper.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/ExceptionWrapper.cpp In file included from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/GLog.h:24, from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/ExceptionWrapper.cpp:21: /usr/include/glog/logging.h:60:4: error: #error was not included correctly. See the documentation for how to consume the library. 60 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:63: /usr/include/glog/flags.h:45:4: error: #error was not included correctly. See the documentation for how to consume the library. 45 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:77: /usr/include/glog/log_severity.h:38:4: error: #error was not included correctly. See the documentation for how to consume the library. 38 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:78: /usr/include/glog/vlog_is_on.h:71:4: error: #error was not included correctly. See the documentation for how to consume the library. 71 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ /usr/include/glog/flags.h:105:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 105 | DECLARE_int32(logemaillevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:105:1: error: ‘FLAGS_logemaillevel’ has not been declared in ‘fLI’ 105 | DECLARE_int32(logemaillevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:106:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 106 | DECLARE_int32(logcleansecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:106:1: error: ‘FLAGS_logcleansecs’ has not been declared in ‘fLI’ 106 | DECLARE_int32(logcleansecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:109:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 109 | DECLARE_bool(drop_log_memory); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:109:1: error: ‘FLAGS_drop_log_memory’ has not been declared in ‘fLB’ 109 | DECLARE_bool(drop_log_memory); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:111:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 111 | DECLARE_string(alsologtoemail); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:111:1: error: ‘FLAGS_alsologtoemail’ has not been declared in ‘fLS’ 111 | DECLARE_string(alsologtoemail); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:112:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 112 | DECLARE_string(log_backtrace_at); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:112:1: error: ‘FLAGS_log_backtrace_at’ has not been declared in ‘fLS’ 112 | DECLARE_string(log_backtrace_at); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:115:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 115 | DECLARE_bool(timestamp_in_logfile_name); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:115:1: error: ‘FLAGS_timestamp_in_logfile_name’ has not been declared in ‘fLB’ 115 | DECLARE_bool(timestamp_in_logfile_name); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:118:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 118 | DECLARE_bool(logtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:118:1: error: ‘FLAGS_logtostdout’ has not been declared in ‘fLB’ 118 | DECLARE_bool(logtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:121:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 121 | DECLARE_bool(colorlogtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:121:1: error: ‘FLAGS_colorlogtostdout’ has not been declared in ‘fLB’ 121 | DECLARE_bool(colorlogtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:124:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 124 | DECLARE_bool(logtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:124:1: error: ‘FLAGS_logtostderr’ has not been declared in ‘fLB’ 124 | DECLARE_bool(logtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:127:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 127 | DECLARE_bool(alsologtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:127:1: error: ‘FLAGS_alsologtostderr’ has not been declared in ‘fLB’ 127 | DECLARE_bool(alsologtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:130:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 130 | DECLARE_bool(colorlogtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:130:1: error: ‘FLAGS_colorlogtostderr’ has not been declared in ‘fLB’ 130 | DECLARE_bool(colorlogtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:134:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 134 | DECLARE_int32(stderrthreshold); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:134:1: error: ‘FLAGS_stderrthreshold’ has not been declared in ‘fLI’ 134 | DECLARE_int32(stderrthreshold); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:137:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 137 | DECLARE_bool(log_file_header); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:137:1: error: ‘FLAGS_log_file_header’ has not been declared in ‘fLB’ 137 | DECLARE_bool(log_file_header); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:140:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 140 | DECLARE_bool(log_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:140:1: error: ‘FLAGS_log_prefix’ has not been declared in ‘fLB’ 140 | DECLARE_bool(log_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:143:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 143 | DECLARE_bool(log_year_in_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:143:1: error: ‘FLAGS_log_year_in_prefix’ has not been declared in ‘fLB’ 143 | DECLARE_bool(log_year_in_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:147:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 147 | DECLARE_int32(logbuflevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:147:1: error: ‘FLAGS_logbuflevel’ has not been declared in ‘fLI’ 147 | DECLARE_int32(logbuflevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:150:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 150 | DECLARE_int32(logbufsecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:150:1: error: ‘FLAGS_logbufsecs’ has not been declared in ‘fLI’ 150 | DECLARE_int32(logbufsecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:154:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 154 | DECLARE_int32(minloglevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:154:1: error: ‘FLAGS_minloglevel’ has not been declared in ‘fLI’ 154 | DECLARE_int32(minloglevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:158:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 158 | DECLARE_string(log_dir); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:158:1: error: ‘FLAGS_log_dir’ has not been declared in ‘fLS’ 158 | DECLARE_string(log_dir); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:161:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 161 | DECLARE_int32(logfile_mode); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:161:1: error: ‘FLAGS_logfile_mode’ has not been declared in ‘fLI’ 161 | DECLARE_int32(logfile_mode); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:165:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 165 | DECLARE_string(log_link); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:165:1: error: ‘FLAGS_log_link’ has not been declared in ‘fLS’ 165 | DECLARE_string(log_link); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:167:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 167 | DECLARE_int32(v); // in vlog_is_on.cc | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:167:1: error: ‘FLAGS_v’ has not been declared in ‘fLI’ 167 | DECLARE_int32(v); // in vlog_is_on.cc | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:169:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 169 | DECLARE_string(vmodule); // also in vlog_is_on.cc | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:169:1: error: ‘FLAGS_vmodule’ has not been declared in ‘fLS’ 169 | DECLARE_string(vmodule); // also in vlog_is_on.cc | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:172:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 172 | DECLARE_uint32(max_log_size); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:172:1: error: ‘FLAGS_max_log_size’ has not been declared in ‘fLU’ 172 | DECLARE_uint32(max_log_size); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:175:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 175 | DECLARE_bool(stop_logging_if_full_disk); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:175:1: error: ‘FLAGS_stop_logging_if_full_disk’ has not been declared in ‘fLB’ 175 | DECLARE_bool(stop_logging_if_full_disk); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:178:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 178 | DECLARE_bool(log_utc_time); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:178:1: error: ‘FLAGS_log_utc_time’ has not been declared in ‘fLB’ 178 | DECLARE_bool(log_utc_time); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:181:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 181 | DECLARE_string(logmailer); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:181:1: error: ‘FLAGS_logmailer’ has not been declared in ‘fLS’ 181 | DECLARE_string(logmailer); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:183:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 183 | DECLARE_bool(symbolize_stacktrace); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:183:1: error: ‘FLAGS_symbolize_stacktrace’ has not been declared in ‘fLB’ 183 | DECLARE_bool(symbolize_stacktrace); | ^~~~~~~~~~~~ /usr/include/glog/vlog_is_on.h:111:8: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 111 | extern GLOG_EXPORT int SetVLOGLevel(const char* module_pattern, int log_level); | ^~~~~~~~~~~ | FOLLY_EXPORT /usr/include/glog/vlog_is_on.h:130:8: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 130 | extern GLOG_EXPORT bool InitVLOG3__(SiteFlag* site_flag, | ^~~~~~~~~~~ | FOLLY_EXPORT /usr/include/glog/logging.h:82:20: error: variable ‘google::GLOG_EXPORT google::LogMessageTime’ has initializer but incomplete type 82 | struct GLOG_EXPORT LogMessageTime { | ^~~~~~~~~~~~~~ /usr/include/glog/logging.h:83:19: error: expected ‘}’ before ‘;’ token 83 | LogMessageTime(); | ^ /usr/include/glog/logging.h:82:35: note: to match this ‘{’ 82 | struct GLOG_EXPORT LogMessageTime { | ^ /usr/include/glog/logging.h:84:3: error: ‘explicit’ outside class declaration 84 | explicit LogMessageTime(std::chrono::system_clock::time_point now); | ^~~~~~~~ /usr/include/glog/logging.h:87:13: error: non-member function ‘time_t google::timestamp()’ cannot have cv-qualifier 87 | const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘time_t google::timestamp()’: /usr/include/glog/logging.h:88:49: error: ‘when’ was not declared in this scope 88 | return std::chrono::system_clock::to_time_t(when()); | ^~~~ /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:90:61: error: non-member function ‘const std::chrono::_V2::system_clock::time_point& google::when()’ cannot have cv-qualifier 90 | const std::chrono::system_clock::time_point& when() const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘const std::chrono::_V2::system_clock::time_point& google::when()’: /usr/include/glog/logging.h:91:12: error: ‘timestamp_’ was not declared in this scope; did you mean ‘timestamp’? 91 | return timestamp_; | ^~~~~~~~~~ | timestamp /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:93:19: error: non-member function ‘int google::sec()’ cannot have cv-qualifier 93 | int sec() const noexcept { return tm_.tm_sec; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::sec()’: /usr/include/glog/logging.h:93:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 93 | int sec() const noexcept { return tm_.tm_sec; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:94:21: error: non-member function ‘long int google::usec()’ cannot have cv-qualifier 94 | long usec() const noexcept { return usecs_.count(); } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘long int google::usec()’: /usr/include/glog/logging.h:94:39: error: ‘usecs_’ was not declared in this scope; did you mean ‘usec’? 94 | long usec() const noexcept { return usecs_.count(); } | ^~~~~~ | usec /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:95:20: error: non-member function ‘int google::min()’ cannot have cv-qualifier 95 | int(min)() const noexcept { return tm_.tm_min; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::min()’: /usr/include/glog/logging.h:95:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 95 | int(min)() const noexcept { return tm_.tm_min; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:96:20: error: non-member function ‘int google::hour()’ cannot have cv-qualifier 96 | int hour() const noexcept { return tm_.tm_hour; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::hour()’: /usr/include/glog/logging.h:96:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 96 | int hour() const noexcept { return tm_.tm_hour; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:97:19: error: non-member function ‘int google::day()’ cannot have cv-qualifier 97 | int day() const noexcept { return tm_.tm_mday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::day()’: /usr/include/glog/logging.h:97:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 97 | int day() const noexcept { return tm_.tm_mday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:98:21: error: non-member function ‘int google::month()’ cannot have cv-qualifier 98 | int month() const noexcept { return tm_.tm_mon; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::month()’: /usr/include/glog/logging.h:98:39: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 98 | int month() const noexcept { return tm_.tm_mon; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:99:20: error: non-member function ‘int google::year()’ cannot have cv-qualifier 99 | int year() const noexcept { return tm_.tm_year; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::year()’: /usr/include/glog/logging.h:99:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 99 | int year() const noexcept { return tm_.tm_year; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:100:25: error: non-member function ‘int google::dayOfWeek()’ cannot have cv-qualifier 100 | int dayOfWeek() const noexcept { return tm_.tm_wday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dayOfWeek()’: /usr/include/glog/logging.h:100:43: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 100 | int dayOfWeek() const noexcept { return tm_.tm_wday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:101:25: error: non-member function ‘int google::dayInYear()’ cannot have cv-qualifier 101 | int dayInYear() const noexcept { return tm_.tm_yday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dayInYear()’: /usr/include/glog/logging.h:101:43: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 101 | int dayInYear() const noexcept { return tm_.tm_yday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:102:19: error: non-member function ‘int google::dst()’ cannot have cv-qualifier 102 | int dst() const noexcept { return tm_.tm_isdst; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dst()’: /usr/include/glog/logging.h:102:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 102 | int dst() const noexcept { return tm_.tm_isdst; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:104:13: error: non-member function ‘long int google::gmtoff()’ cannot have cv-qualifier 104 | const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘long int google::gmtoff()’: /usr/include/glog/logging.h:105:12: error: ‘gmtoffset_’ was not declared in this scope; did you mean ‘gmtoff’? 105 | return gmtoffset_.count(); | ^~~~~~~~~~ | gmtoff /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:107:42: error: non-member function ‘std::chrono::seconds google::gmtoffset()’ cannot have cv-qualifier 107 | std::chrono::seconds gmtoffset() const noexcept { return gmtoffset_; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘std::chrono::seconds google::gmtoffset()’: /usr/include/glog/logging.h:107:60: error: ‘gmtoffset_’ was not declared in this scope; did you mean ‘gmtoffset’? 107 | std::chrono::seconds gmtoffset() const noexcept { return gmtoffset_; } | ^~~~~~~~~~ | gmtoffset /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:108:29: error: non-member function ‘const tm& google::tm()’ cannot have cv-qualifier 108 | const std::tm& tm() const noexcept { return tm_; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘const tm& google::tm()’: /usr/include/glog/logging.h:108:47: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 108 | const std::tm& tm() const noexcept { return tm_; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:110:2: error: expected unqualified-id before ‘private’ 110 | private: | ^~~~~~~ /usr/include/glog/logging.h:122:33: error: ‘LogMessageTime’ does not name a type; did you mean ‘LogMessageInfo’? 122 | const LogMessageTime& time_) | ^~~~~~~~~~~~~~ | LogMessageInfo /usr/include/glog/logging.h:133:9: error: ‘LogMessageTime’ does not name a type; did you mean ‘LogMessageInfo’? 133 | const LogMessageTime& time; | ^~~~~~~~~~~~~~ | LogMessageInfo /usr/include/glog/logging.h: In constructor ‘LogMessageInfo::LogMessageInfo(const char*, const char*, const int&, std::thread::id, const int&)’: /usr/include/glog/logging.h:127:9: error: class ‘LogMessageInfo’ does not have any field named ‘time’ 127 | time(time_) {} | ^~~~ /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:136:1: error: expected declaration before ‘}’ token 136 | } // namespace google | ^ /usr/include/glog/logging.h:483:1: error: two or more data types in declaration of ‘InitGoogleLogging’ 483 | GLOG_EXPORT void InitGoogleLogging(const char* argv0); | ^~~~~~~~~~~ /usr/include/glog/logging.h:502:55: error: two or more data types in declaration of ‘InitGoogleLogging’ 502 | [[deprecated("Use InstallPrefixFormatter instead.")]] GLOG_EXPORT void | ^~~~~~~~~~~ /usr/include/glog/logging.h:507:1: error: two or more data types in declaration of ‘IsGoogleLoggingInitialized’ 507 | GLOG_EXPORT bool IsGoogleLoggingInitialized(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:510:1: error: two or more data types in declaration of ‘ShutdownGoogleLogging’ 510 | GLOG_EXPORT void ShutdownGoogleLogging(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:521:1: error: two or more data types in declaration of ‘InstallPrefixFormatter’ 521 | GLOG_EXPORT void InstallPrefixFormatter(PrefixFormatterCallback callback, | ^~~~~~~~~~~ /usr/include/glog/logging.h:527:1: error: expected initializer before ‘InstallFailureFunction’ 527 | InstallFailureFunction(logging_fail_func_t fail_func); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:531:19: error: two or more data types in declaration of ‘EnableLogCleaner’ 531 | "instead.")]] GLOG_EXPORT void | ^~~~~~~~~~~ /usr/include/glog/logging.h:534:1: error: two or more data types in declaration of ‘EnableLogCleaner’ 534 | GLOG_EXPORT void EnableLogCleaner(const std::chrono::minutes& overdue); | ^~~~~~~~~~~ /usr/include/glog/logging.h:535:1: error: two or more data types in declaration of ‘DisableLogCleaner’ 535 | GLOG_EXPORT void DisableLogCleaner(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:536:1: error: two or more data types in declaration of ‘SetApplicationFingerprint’ 536 | GLOG_EXPORT void SetApplicationFingerprint(const std::string& fingerprint); | ^~~~~~~~~~~ /usr/include/glog/logging.h:660:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 660 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, const char& v); | ^~~~~~~~~~~ /usr/include/glog/logging.h:662:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 662 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, const signed char& v); | ^~~~~~~~~~~ /usr/include/glog/logging.h:664:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 664 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, | ^~~~~~~~~~~ /usr/include/glog/logging.h:669:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 669 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, | ^~~~~~~~~~~ /usr/include/glog/logging.h:689:19: error: variable ‘google::GLOG_EXPORT google::logging::internal::CheckOpMessageBuilder’ has initializer but incomplete type 689 | class GLOG_EXPORT CheckOpMessageBuilder { | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:690:2: error: expected primary-expression before ‘public’ 690 | public: | ^~~~~~ /usr/include/glog/logging.h:690:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:689:41: note: to match this ‘{’ 689 | class GLOG_EXPORT CheckOpMessageBuilder { | ^ /usr/include/glog/logging.h:690:2: note: probably missing a comma or an operator before 690 | public: | ^~~~~~ /usr/include/glog/logging.h: In function ‘std::unique_ptr > google::logging::internal::MakeCheckOpString(const T1&, const T2&, const char*)’: /usr/include/glog/logging.h:709:24: error: expected ‘;’ before ‘comb’ [-Wtemplate-body] 709 | CheckOpMessageBuilder comb(exprtext); | ^~~~~ | ; /usr/include/glog/logging.h:710:26: error: ‘comb’ was not declared in this scope; did you mean ‘wctomb’? [-Wtemplate-body] 710 | MakeCheckOpValueString(comb.ForVar1(), v1); | ^~~~ | wctomb /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:830:1: error: invalid declarator before ‘CheckstrcmptrueImpl’ 830 | DECLARE_CHECK_STROP_IMPL(strcmp, true) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:831:1: error: invalid declarator before ‘CheckstrcmpfalseImpl’ 831 | DECLARE_CHECK_STROP_IMPL(strcmp, false) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:832:1: error: invalid declarator before ‘CheckstrcasecmptrueImpl’ 832 | DECLARE_CHECK_STROP_IMPL(strcasecmp, true) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:833:1: error: invalid declarator before ‘CheckstrcasecmpfalseImpl’ 833 | DECLARE_CHECK_STROP_IMPL(strcasecmp, false) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:1198:32: error: expected initializer before ‘:’ token 1198 | class GLOG_EXPORT LogStreamBuf : public std::streambuf { | ^ /usr/include/glog/logging.h:1215:23: error: aggregate ‘google::logging::internal::GLOG_NO_EXPORT google::logging::internal::LogMessageData’ has incomplete type and cannot be defined 1215 | struct GLOG_NO_EXPORT LogMessageData; | ^~~~~~~~~~~~~~ /usr/include/glog/logging.h:1228:19: error: variable ‘google::GLOG_EXPORT google::LogMessage’ has initializer but incomplete type 1228 | class GLOG_EXPORT LogMessage { | ^~~~~~~~~~ /usr/include/glog/logging.h:1229:2: error: expected primary-expression before ‘public’ 1229 | public: | ^~~~~~ /usr/include/glog/logging.h:1229:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1228:30: note: to match this ‘{’ 1228 | class GLOG_EXPORT LogMessage { | ^ /usr/include/glog/logging.h:1229:2: note: probably missing a comma or an operator before 1229 | public: | ^~~~~~ /usr/include/glog/logging.h:1410:35: error: expected initializer before ‘:’ token 1410 | class GLOG_EXPORT LogMessageFatal : public LogMessage { | ^ /usr/include/glog/logging.h:1434:25: error: expected initializer before ‘&’ token 1434 | GLOG_EXPORT std::ostream& operator<<(std::ostream& os, const Counter_t&); | ^ /usr/include/glog/logging.h:1437:35: error: expected initializer before ‘:’ token 1437 | class GLOG_EXPORT ErrnoLogMessage : public LogMessage { | ^ /usr/include/glog/logging.h: In function ‘T google::logging::internal::CheckNotNull(const char*, int, const char*, T&&)’: /usr/include/glog/logging.h:1468:5: error: there are no arguments to ‘LogMessageFatal’ that depend on a template parameter, so a declaration of ‘LogMessageFatal’ must be available [-Wtemplate-body] 1468 | LogMessageFatal(file, line, std::make_unique(names)); | ^~~~~~~~~~~~~~~ /usr/include/glog/logging.h:1468:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:1484:1: error: two or more data types in declaration of ‘FlushLogFiles’ 1484 | GLOG_EXPORT void FlushLogFiles(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1489:1: error: two or more data types in declaration of ‘FlushLogFilesUnsafe’ 1489 | GLOG_EXPORT void FlushLogFilesUnsafe(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1496:1: error: two or more data types in declaration of ‘SetLogDestination’ 1496 | GLOG_EXPORT void SetLogDestination(LogSeverity severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1505:1: error: two or more data types in declaration of ‘SetLogSymlink’ 1505 | GLOG_EXPORT void SetLogSymlink(LogSeverity severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1513:19: error: variable ‘google::GLOG_EXPORT google::LogSink’ has initializer but incomplete type 1513 | class GLOG_EXPORT LogSink { | ^~~~~~~ /usr/include/glog/logging.h:1514:2: error: expected primary-expression before ‘public’ 1514 | public: | ^~~~~~ /usr/include/glog/logging.h:1514:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1513:27: note: to match this ‘{’ 1513 | class GLOG_EXPORT LogSink { | ^ /usr/include/glog/logging.h:1514:2: note: probably missing a comma or an operator before 1514 | public: | ^~~~~~ /usr/include/glog/logging.h:1553:1: error: two or more data types in declaration of ‘AddLogSink’ 1553 | GLOG_EXPORT void AddLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1553:38: error: ‘destination’ was not declared in this scope 1553 | GLOG_EXPORT void AddLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1554:1: error: two or more data types in declaration of ‘RemoveLogSink’ 1554 | GLOG_EXPORT void RemoveLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1554:41: error: ‘destination’ was not declared in this scope 1554 | GLOG_EXPORT void RemoveLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1562:1: error: two or more data types in declaration of ‘SetLogFilenameExtension’ 1562 | GLOG_EXPORT void SetLogFilenameExtension(const char* filename_extension); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1569:1: error: two or more data types in declaration of ‘SetStderrLogging’ 1569 | GLOG_EXPORT void SetStderrLogging(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1574:1: error: two or more data types in declaration of ‘LogToStderr’ 1574 | GLOG_EXPORT void LogToStderr(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1582:1: error: two or more data types in declaration of ‘SetEmailLogging’ 1582 | GLOG_EXPORT void SetEmailLogging(LogSeverity min_severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1587:1: error: two or more data types in declaration of ‘SendEmail’ 1587 | GLOG_EXPORT bool SendEmail(const char* dest, const char* subject, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1590:43: error: invalid declarator before ‘&’ token 1590 | GLOG_EXPORT const std::vector& GetLoggingDirectories(); | ^ /usr/include/glog/logging.h:1595:1: error: two or more data types in declaration of ‘ReprintFatalMessage’ 1595 | GLOG_EXPORT void ReprintFatalMessage(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1604:1: error: two or more data types in declaration of ‘TruncateLogFile’ 1604 | GLOG_EXPORT void TruncateLogFile(const char* path, uint64 limit, uint64 keep); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1609:1: error: two or more data types in declaration of ‘TruncateStdoutStderr’ 1609 | GLOG_EXPORT void TruncateStdoutStderr(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1613:1: error: two or more data types in declaration of ‘GetLogSeverityName’ 1613 | GLOG_EXPORT const char* GetLogSeverityName(LogSeverity severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1628:19: error: variable ‘google::GLOG_EXPORT google::base::Logger’ has initializer but incomplete type 1628 | class GLOG_EXPORT Logger { | ^~~~~~ /usr/include/glog/logging.h:1629:2: error: expected primary-expression before ‘public’ 1629 | public: | ^~~~~~ /usr/include/glog/logging.h:1629:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1628:26: note: to match this ‘{’ 1628 | class GLOG_EXPORT Logger { | ^ /usr/include/glog/logging.h:1629:2: note: probably missing a comma or an operator before 1629 | public: | ^~~~~~ /usr/include/glog/logging.h:1662:26: error: expected initializer before ‘*’ token 1662 | extern GLOG_EXPORT Logger* GetLogger(LogSeverity level); | ^ /usr/include/glog/logging.h:1667:54: error: ‘Logger’ is not a type 1667 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~ /usr/include/glog/logging.h:1667:8: error: two or more data types in declaration of ‘SetLogger’ 1667 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1672:30: error: expected initializer before ‘:’ token 1672 | class GLOG_EXPORT NullStream : public LogMessage::LogStream { | ^ /usr/include/glog/logging.h:1697:8: error: ‘NullStream’ does not name a type 1697 | inline NullStream& operator<<(NullStream& str, const T&) { | ^~~~~~~~~~ /usr/include/glog/logging.h:1703:35: error: expected initializer before ‘:’ token 1703 | class GLOG_EXPORT NullStreamFatal : public NullStream { | ^ /usr/include/glog/logging.h:1727:1: error: two or more data types in declaration of ‘InstallFailureSignalHandler’ 1727 | GLOG_EXPORT void InstallFailureSignalHandler(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1730:1: error: two or more data types in declaration of ‘IsFailureSignalHandlerInstalled’ 1730 | GLOG_EXPORT bool IsFailureSignalHandlerInstalled(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1736:1: error: two or more data types in declaration of ‘InstallFailureWriter’ 1736 | GLOG_EXPORT void InstallFailureWriter(void (*writer)(const char* data, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1740:25: error: expected initializer before ‘GetStackTrace’ 1740 | GLOG_EXPORT std::string GetStackTrace(); | ^~~~~~~~~~~~~ [4/355] /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/ExceptionString.cpp.o -MF CMakeFiles/folly_base.dir/folly/ExceptionString.cpp.o.d -o CMakeFiles/folly_base.dir/folly/ExceptionString.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/ExceptionString.cpp In file included from /usr/include/c++/16/atomic:53, from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:22, from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/ExceptionString.h:21, from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/ExceptionString.cpp:17: In member function ‘void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = long unsigned int]’, inlined from ‘static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]’ at /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:502:30, inlined from ‘void folly::fbstring_core::unshare(size_t) [with Char = char]’ at /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:749:40: /usr/include/c++/16/bits/atomic_base.h:494:25: warning: ‘void __atomic_store_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 494 | __atomic_store_n(&_M_i, __i, int(__m)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:44: In function ‘void* folly::checkedMalloc(size_t)’, inlined from ‘static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]’ at /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:501:59, inlined from ‘void folly::fbstring_core::unshare(size_t) [with Char = char]’ at /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:749:40: /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/memory/Malloc.h:419:19: note: destination object of size 0 allocated by ‘malloc’ 419 | void* p = malloc(size); | ~~~~~~^~~~~~ [5/355] /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/CancellationToken.cpp.o -MF CMakeFiles/folly_base.dir/folly/CancellationToken.cpp.o.d -o CMakeFiles/folly_base.dir/folly/CancellationToken.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.cpp FAILED: [code=1] CMakeFiles/folly_base.dir/folly/CancellationToken.cpp.o /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/CancellationToken.cpp.o -MF CMakeFiles/folly_base.dir/folly/CancellationToken.cpp.o.d -o CMakeFiles/folly_base.dir/folly/CancellationToken.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.cpp In file included from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken-inl.h:24, from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.h:365, from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.cpp:17: /usr/include/glog/logging.h:60:4: error: #error was not included correctly. See the documentation for how to consume the library. 60 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:63: /usr/include/glog/flags.h:45:4: error: #error was not included correctly. See the documentation for how to consume the library. 45 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:77: /usr/include/glog/log_severity.h:38:4: error: #error was not included correctly. See the documentation for how to consume the library. 38 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:78: /usr/include/glog/vlog_is_on.h:71:4: error: #error was not included correctly. See the documentation for how to consume the library. 71 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ /usr/include/glog/flags.h:105:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 105 | DECLARE_int32(logemaillevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:105:1: error: ‘FLAGS_logemaillevel’ has not been declared in ‘fLI’ 105 | DECLARE_int32(logemaillevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:106:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 106 | DECLARE_int32(logcleansecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:106:1: error: ‘FLAGS_logcleansecs’ has not been declared in ‘fLI’ 106 | DECLARE_int32(logcleansecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:109:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 109 | DECLARE_bool(drop_log_memory); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:109:1: error: ‘FLAGS_drop_log_memory’ has not been declared in ‘fLB’ 109 | DECLARE_bool(drop_log_memory); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:111:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 111 | DECLARE_string(alsologtoemail); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:111:1: error: ‘FLAGS_alsologtoemail’ has not been declared in ‘fLS’ 111 | DECLARE_string(alsologtoemail); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:112:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 112 | DECLARE_string(log_backtrace_at); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:112:1: error: ‘FLAGS_log_backtrace_at’ has not been declared in ‘fLS’ 112 | DECLARE_string(log_backtrace_at); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:115:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 115 | DECLARE_bool(timestamp_in_logfile_name); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:115:1: error: ‘FLAGS_timestamp_in_logfile_name’ has not been declared in ‘fLB’ 115 | DECLARE_bool(timestamp_in_logfile_name); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:118:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 118 | DECLARE_bool(logtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:118:1: error: ‘FLAGS_logtostdout’ has not been declared in ‘fLB’ 118 | DECLARE_bool(logtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:121:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 121 | DECLARE_bool(colorlogtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:121:1: error: ‘FLAGS_colorlogtostdout’ has not been declared in ‘fLB’ 121 | DECLARE_bool(colorlogtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:124:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 124 | DECLARE_bool(logtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:124:1: error: ‘FLAGS_logtostderr’ has not been declared in ‘fLB’ 124 | DECLARE_bool(logtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:127:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 127 | DECLARE_bool(alsologtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:127:1: error: ‘FLAGS_alsologtostderr’ has not been declared in ‘fLB’ 127 | DECLARE_bool(alsologtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:130:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 130 | DECLARE_bool(colorlogtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:130:1: error: ‘FLAGS_colorlogtostderr’ has not been declared in ‘fLB’ 130 | DECLARE_bool(colorlogtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:134:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 134 | DECLARE_int32(stderrthreshold); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:134:1: error: ‘FLAGS_stderrthreshold’ has not been declared in ‘fLI’ 134 | DECLARE_int32(stderrthreshold); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:137:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 137 | DECLARE_bool(log_file_header); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:137:1: error: ‘FLAGS_log_file_header’ has not been declared in ‘fLB’ 137 | DECLARE_bool(log_file_header); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:140:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 140 | DECLARE_bool(log_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:140:1: error: ‘FLAGS_log_prefix’ has not been declared in ‘fLB’ 140 | DECLARE_bool(log_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:143:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 143 | DECLARE_bool(log_year_in_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:143:1: error: ‘FLAGS_log_year_in_prefix’ has not been declared in ‘fLB’ 143 | DECLARE_bool(log_year_in_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:147:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 147 | DECLARE_int32(logbuflevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:147:1: error: ‘FLAGS_logbuflevel’ has not been declared in ‘fLI’ 147 | DECLARE_int32(logbuflevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:150:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 150 | DECLARE_int32(logbufsecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:150:1: error: ‘FLAGS_logbufsecs’ has not been declared in ‘fLI’ 150 | DECLARE_int32(logbufsecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:154:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 154 | DECLARE_int32(minloglevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:154:1: error: ‘FLAGS_minloglevel’ has not been declared in ‘fLI’ 154 | DECLARE_int32(minloglevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:158:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 158 | DECLARE_string(log_dir); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:158:1: error: ‘FLAGS_log_dir’ has not been declared in ‘fLS’ 158 | DECLARE_string(log_dir); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:161:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 161 | DECLARE_int32(logfile_mode); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:161:1: error: ‘FLAGS_logfile_mode’ has not been declared in ‘fLI’ 161 | DECLARE_int32(logfile_mode); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:165:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 165 | DECLARE_string(log_link); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:165:1: error: ‘FLAGS_log_link’ has not been declared in ‘fLS’ 165 | DECLARE_string(log_link); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:167:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 167 | DECLARE_int32(v); // in vlog_is_on.cc | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:167:1: error: ‘FLAGS_v’ has not been declared in ‘fLI’ 167 | DECLARE_int32(v); // in vlog_is_on.cc | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:169:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 169 | DECLARE_string(vmodule); // also in vlog_is_on.cc | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:169:1: error: ‘FLAGS_vmodule’ has not been declared in ‘fLS’ 169 | DECLARE_string(vmodule); // also in vlog_is_on.cc | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:172:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 172 | DECLARE_uint32(max_log_size); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:172:1: error: ‘FLAGS_max_log_size’ has not been declared in ‘fLU’ 172 | DECLARE_uint32(max_log_size); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:175:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 175 | DECLARE_bool(stop_logging_if_full_disk); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:175:1: error: ‘FLAGS_stop_logging_if_full_disk’ has not been declared in ‘fLB’ 175 | DECLARE_bool(stop_logging_if_full_disk); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:178:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 178 | DECLARE_bool(log_utc_time); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:178:1: error: ‘FLAGS_log_utc_time’ has not been declared in ‘fLB’ 178 | DECLARE_bool(log_utc_time); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:181:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 181 | DECLARE_string(logmailer); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:181:1: error: ‘FLAGS_logmailer’ has not been declared in ‘fLS’ 181 | DECLARE_string(logmailer); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:183:1: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 183 | DECLARE_bool(symbolize_stacktrace); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:183:1: error: ‘FLAGS_symbolize_stacktrace’ has not been declared in ‘fLB’ 183 | DECLARE_bool(symbolize_stacktrace); | ^~~~~~~~~~~~ /usr/include/glog/vlog_is_on.h:111:8: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 111 | extern GLOG_EXPORT int SetVLOGLevel(const char* module_pattern, int log_level); | ^~~~~~~~~~~ | FOLLY_EXPORT /usr/include/glog/vlog_is_on.h:130:8: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘FOLLY_EXPORT’? 130 | extern GLOG_EXPORT bool InitVLOG3__(SiteFlag* site_flag, | ^~~~~~~~~~~ | FOLLY_EXPORT /usr/include/glog/logging.h:82:20: error: variable ‘google::GLOG_EXPORT google::LogMessageTime’ has initializer but incomplete type 82 | struct GLOG_EXPORT LogMessageTime { | ^~~~~~~~~~~~~~ /usr/include/glog/logging.h:83:19: error: expected ‘}’ before ‘;’ token 83 | LogMessageTime(); | ^ /usr/include/glog/logging.h:82:35: note: to match this ‘{’ 82 | struct GLOG_EXPORT LogMessageTime { | ^ /usr/include/glog/logging.h:84:3: error: ‘explicit’ outside class declaration 84 | explicit LogMessageTime(std::chrono::system_clock::time_point now); | ^~~~~~~~ /usr/include/glog/logging.h:87:13: error: non-member function ‘time_t google::timestamp()’ cannot have cv-qualifier 87 | const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘time_t google::timestamp()’: /usr/include/glog/logging.h:88:49: error: ‘when’ was not declared in this scope 88 | return std::chrono::system_clock::to_time_t(when()); | ^~~~ /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:90:61: error: non-member function ‘const std::chrono::_V2::system_clock::time_point& google::when()’ cannot have cv-qualifier 90 | const std::chrono::system_clock::time_point& when() const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘const std::chrono::_V2::system_clock::time_point& google::when()’: /usr/include/glog/logging.h:91:12: error: ‘timestamp_’ was not declared in this scope; did you mean ‘timestamp’? 91 | return timestamp_; | ^~~~~~~~~~ | timestamp /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:93:19: error: non-member function ‘int google::sec()’ cannot have cv-qualifier 93 | int sec() const noexcept { return tm_.tm_sec; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::sec()’: /usr/include/glog/logging.h:93:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 93 | int sec() const noexcept { return tm_.tm_sec; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:94:21: error: non-member function ‘long int google::usec()’ cannot have cv-qualifier 94 | long usec() const noexcept { return usecs_.count(); } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘long int google::usec()’: /usr/include/glog/logging.h:94:39: error: ‘usecs_’ was not declared in this scope; did you mean ‘usec’? 94 | long usec() const noexcept { return usecs_.count(); } | ^~~~~~ | usec /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:95:20: error: non-member function ‘int google::min()’ cannot have cv-qualifier 95 | int(min)() const noexcept { return tm_.tm_min; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::min()’: /usr/include/glog/logging.h:95:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 95 | int(min)() const noexcept { return tm_.tm_min; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:96:20: error: non-member function ‘int google::hour()’ cannot have cv-qualifier 96 | int hour() const noexcept { return tm_.tm_hour; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::hour()’: /usr/include/glog/logging.h:96:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 96 | int hour() const noexcept { return tm_.tm_hour; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:97:19: error: non-member function ‘int google::day()’ cannot have cv-qualifier 97 | int day() const noexcept { return tm_.tm_mday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::day()’: /usr/include/glog/logging.h:97:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 97 | int day() const noexcept { return tm_.tm_mday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:98:21: error: non-member function ‘int google::month()’ cannot have cv-qualifier 98 | int month() const noexcept { return tm_.tm_mon; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::month()’: /usr/include/glog/logging.h:98:39: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 98 | int month() const noexcept { return tm_.tm_mon; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:99:20: error: non-member function ‘int google::year()’ cannot have cv-qualifier 99 | int year() const noexcept { return tm_.tm_year; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::year()’: /usr/include/glog/logging.h:99:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 99 | int year() const noexcept { return tm_.tm_year; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:100:25: error: non-member function ‘int google::dayOfWeek()’ cannot have cv-qualifier 100 | int dayOfWeek() const noexcept { return tm_.tm_wday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dayOfWeek()’: /usr/include/glog/logging.h:100:43: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 100 | int dayOfWeek() const noexcept { return tm_.tm_wday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:101:25: error: non-member function ‘int google::dayInYear()’ cannot have cv-qualifier 101 | int dayInYear() const noexcept { return tm_.tm_yday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dayInYear()’: /usr/include/glog/logging.h:101:43: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 101 | int dayInYear() const noexcept { return tm_.tm_yday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:102:19: error: non-member function ‘int google::dst()’ cannot have cv-qualifier 102 | int dst() const noexcept { return tm_.tm_isdst; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dst()’: /usr/include/glog/logging.h:102:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 102 | int dst() const noexcept { return tm_.tm_isdst; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:104:13: error: non-member function ‘long int google::gmtoff()’ cannot have cv-qualifier 104 | const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘long int google::gmtoff()’: /usr/include/glog/logging.h:105:12: error: ‘gmtoffset_’ was not declared in this scope; did you mean ‘gmtoff’? 105 | return gmtoffset_.count(); | ^~~~~~~~~~ | gmtoff /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:107:42: error: non-member function ‘std::chrono::seconds google::gmtoffset()’ cannot have cv-qualifier 107 | std::chrono::seconds gmtoffset() const noexcept { return gmtoffset_; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘std::chrono::seconds google::gmtoffset()’: /usr/include/glog/logging.h:107:60: error: ‘gmtoffset_’ was not declared in this scope; did you mean ‘gmtoffset’? 107 | std::chrono::seconds gmtoffset() const noexcept { return gmtoffset_; } | ^~~~~~~~~~ | gmtoffset /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:108:29: error: non-member function ‘const tm& google::tm()’ cannot have cv-qualifier 108 | const std::tm& tm() const noexcept { return tm_; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘const tm& google::tm()’: /usr/include/glog/logging.h:108:47: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 108 | const std::tm& tm() const noexcept { return tm_; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:110:2: error: expected unqualified-id before ‘private’ 110 | private: | ^~~~~~~ /usr/include/glog/logging.h:122:33: error: ‘LogMessageTime’ does not name a type; did you mean ‘LogMessageInfo’? 122 | const LogMessageTime& time_) | ^~~~~~~~~~~~~~ | LogMessageInfo /usr/include/glog/logging.h:133:9: error: ‘LogMessageTime’ does not name a type; did you mean ‘LogMessageInfo’? 133 | const LogMessageTime& time; | ^~~~~~~~~~~~~~ | LogMessageInfo /usr/include/glog/logging.h: In constructor ‘LogMessageInfo::LogMessageInfo(const char*, const char*, const int&, std::thread::id, const int&)’: /usr/include/glog/logging.h:127:9: error: class ‘LogMessageInfo’ does not have any field named ‘time’ 127 | time(time_) {} | ^~~~ /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:136:1: error: expected declaration before ‘}’ token 136 | } // namespace google | ^ /usr/include/glog/logging.h:483:1: error: two or more data types in declaration of ‘InitGoogleLogging’ 483 | GLOG_EXPORT void InitGoogleLogging(const char* argv0); | ^~~~~~~~~~~ /usr/include/glog/logging.h:502:55: error: two or more data types in declaration of ‘InitGoogleLogging’ 502 | [[deprecated("Use InstallPrefixFormatter instead.")]] GLOG_EXPORT void | ^~~~~~~~~~~ /usr/include/glog/logging.h:507:1: error: two or more data types in declaration of ‘IsGoogleLoggingInitialized’ 507 | GLOG_EXPORT bool IsGoogleLoggingInitialized(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:510:1: error: two or more data types in declaration of ‘ShutdownGoogleLogging’ 510 | GLOG_EXPORT void ShutdownGoogleLogging(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:521:1: error: two or more data types in declaration of ‘InstallPrefixFormatter’ 521 | GLOG_EXPORT void InstallPrefixFormatter(PrefixFormatterCallback callback, | ^~~~~~~~~~~ /usr/include/glog/logging.h:527:1: error: expected initializer before ‘InstallFailureFunction’ 527 | InstallFailureFunction(logging_fail_func_t fail_func); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:531:19: error: two or more data types in declaration of ‘EnableLogCleaner’ 531 | "instead.")]] GLOG_EXPORT void | ^~~~~~~~~~~ /usr/include/glog/logging.h:534:1: error: two or more data types in declaration of ‘EnableLogCleaner’ 534 | GLOG_EXPORT void EnableLogCleaner(const std::chrono::minutes& overdue); | ^~~~~~~~~~~ /usr/include/glog/logging.h:535:1: error: two or more data types in declaration of ‘DisableLogCleaner’ 535 | GLOG_EXPORT void DisableLogCleaner(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:536:1: error: two or more data types in declaration of ‘SetApplicationFingerprint’ 536 | GLOG_EXPORT void SetApplicationFingerprint(const std::string& fingerprint); | ^~~~~~~~~~~ /usr/include/glog/logging.h:660:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 660 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, const char& v); | ^~~~~~~~~~~ /usr/include/glog/logging.h:662:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 662 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, const signed char& v); | ^~~~~~~~~~~ /usr/include/glog/logging.h:664:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 664 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, | ^~~~~~~~~~~ /usr/include/glog/logging.h:669:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 669 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, | ^~~~~~~~~~~ /usr/include/glog/logging.h:689:19: error: variable ‘google::GLOG_EXPORT google::logging::internal::CheckOpMessageBuilder’ has initializer but incomplete type 689 | class GLOG_EXPORT CheckOpMessageBuilder { | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:690:2: error: expected primary-expression before ‘public’ 690 | public: | ^~~~~~ /usr/include/glog/logging.h:690:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:689:41: note: to match this ‘{’ 689 | class GLOG_EXPORT CheckOpMessageBuilder { | ^ /usr/include/glog/logging.h:690:2: note: probably missing a comma or an operator before 690 | public: | ^~~~~~ /usr/include/glog/logging.h: In function ‘std::unique_ptr > google::logging::internal::MakeCheckOpString(const T1&, const T2&, const char*)’: /usr/include/glog/logging.h:709:24: error: expected ‘;’ before ‘comb’ [-Wtemplate-body] 709 | CheckOpMessageBuilder comb(exprtext); | ^~~~~ | ; /usr/include/glog/logging.h:710:26: error: ‘comb’ was not declared in this scope; did you mean ‘wctomb’? [-Wtemplate-body] 710 | MakeCheckOpValueString(comb.ForVar1(), v1); | ^~~~ | wctomb /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:830:1: error: invalid declarator before ‘CheckstrcmptrueImpl’ 830 | DECLARE_CHECK_STROP_IMPL(strcmp, true) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:831:1: error: invalid declarator before ‘CheckstrcmpfalseImpl’ 831 | DECLARE_CHECK_STROP_IMPL(strcmp, false) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:832:1: error: invalid declarator before ‘CheckstrcasecmptrueImpl’ 832 | DECLARE_CHECK_STROP_IMPL(strcasecmp, true) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:833:1: error: invalid declarator before ‘CheckstrcasecmpfalseImpl’ 833 | DECLARE_CHECK_STROP_IMPL(strcasecmp, false) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:1198:32: error: expected initializer before ‘:’ token 1198 | class GLOG_EXPORT LogStreamBuf : public std::streambuf { | ^ /usr/include/glog/logging.h:1215:23: error: aggregate ‘google::logging::internal::GLOG_NO_EXPORT google::logging::internal::LogMessageData’ has incomplete type and cannot be defined 1215 | struct GLOG_NO_EXPORT LogMessageData; | ^~~~~~~~~~~~~~ /usr/include/glog/logging.h:1228:19: error: variable ‘google::GLOG_EXPORT google::LogMessage’ has initializer but incomplete type 1228 | class GLOG_EXPORT LogMessage { | ^~~~~~~~~~ /usr/include/glog/logging.h:1229:2: error: expected primary-expression before ‘public’ 1229 | public: | ^~~~~~ /usr/include/glog/logging.h:1229:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1228:30: note: to match this ‘{’ 1228 | class GLOG_EXPORT LogMessage { | ^ /usr/include/glog/logging.h:1229:2: note: probably missing a comma or an operator before 1229 | public: | ^~~~~~ /usr/include/glog/logging.h:1410:35: error: expected initializer before ‘:’ token 1410 | class GLOG_EXPORT LogMessageFatal : public LogMessage { | ^ /usr/include/glog/logging.h:1434:25: error: expected initializer before ‘&’ token 1434 | GLOG_EXPORT std::ostream& operator<<(std::ostream& os, const Counter_t&); | ^ /usr/include/glog/logging.h:1437:35: error: expected initializer before ‘:’ token 1437 | class GLOG_EXPORT ErrnoLogMessage : public LogMessage { | ^ /usr/include/glog/logging.h: In function ‘T google::logging::internal::CheckNotNull(const char*, int, const char*, T&&)’: /usr/include/glog/logging.h:1468:5: error: there are no arguments to ‘LogMessageFatal’ that depend on a template parameter, so a declaration of ‘LogMessageFatal’ must be available [-Wtemplate-body] 1468 | LogMessageFatal(file, line, std::make_unique(names)); | ^~~~~~~~~~~~~~~ /usr/include/glog/logging.h:1468:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:1484:1: error: two or more data types in declaration of ‘FlushLogFiles’ 1484 | GLOG_EXPORT void FlushLogFiles(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1489:1: error: two or more data types in declaration of ‘FlushLogFilesUnsafe’ 1489 | GLOG_EXPORT void FlushLogFilesUnsafe(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1496:1: error: two or more data types in declaration of ‘SetLogDestination’ 1496 | GLOG_EXPORT void SetLogDestination(LogSeverity severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1505:1: error: two or more data types in declaration of ‘SetLogSymlink’ 1505 | GLOG_EXPORT void SetLogSymlink(LogSeverity severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1513:19: error: variable ‘google::GLOG_EXPORT google::LogSink’ has initializer but incomplete type 1513 | class GLOG_EXPORT LogSink { | ^~~~~~~ /usr/include/glog/logging.h:1514:2: error: expected primary-expression before ‘public’ 1514 | public: | ^~~~~~ /usr/include/glog/logging.h:1514:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1513:27: note: to match this ‘{’ 1513 | class GLOG_EXPORT LogSink { | ^ /usr/include/glog/logging.h:1514:2: note: probably missing a comma or an operator before 1514 | public: | ^~~~~~ /usr/include/glog/logging.h:1553:1: error: two or more data types in declaration of ‘AddLogSink’ 1553 | GLOG_EXPORT void AddLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1553:38: error: ‘destination’ was not declared in this scope 1553 | GLOG_EXPORT void AddLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1554:1: error: two or more data types in declaration of ‘RemoveLogSink’ 1554 | GLOG_EXPORT void RemoveLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1554:41: error: ‘destination’ was not declared in this scope 1554 | GLOG_EXPORT void RemoveLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1562:1: error: two or more data types in declaration of ‘SetLogFilenameExtension’ 1562 | GLOG_EXPORT void SetLogFilenameExtension(const char* filename_extension); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1569:1: error: two or more data types in declaration of ‘SetStderrLogging’ 1569 | GLOG_EXPORT void SetStderrLogging(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1574:1: error: two or more data types in declaration of ‘LogToStderr’ 1574 | GLOG_EXPORT void LogToStderr(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1582:1: error: two or more data types in declaration of ‘SetEmailLogging’ 1582 | GLOG_EXPORT void SetEmailLogging(LogSeverity min_severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1587:1: error: two or more data types in declaration of ‘SendEmail’ 1587 | GLOG_EXPORT bool SendEmail(const char* dest, const char* subject, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1590:43: error: invalid declarator before ‘&’ token 1590 | GLOG_EXPORT const std::vector& GetLoggingDirectories(); | ^ /usr/include/glog/logging.h:1595:1: error: two or more data types in declaration of ‘ReprintFatalMessage’ 1595 | GLOG_EXPORT void ReprintFatalMessage(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1604:1: error: two or more data types in declaration of ‘TruncateLogFile’ 1604 | GLOG_EXPORT void TruncateLogFile(const char* path, uint64 limit, uint64 keep); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1609:1: error: two or more data types in declaration of ‘TruncateStdoutStderr’ 1609 | GLOG_EXPORT void TruncateStdoutStderr(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1613:1: error: two or more data types in declaration of ‘GetLogSeverityName’ 1613 | GLOG_EXPORT const char* GetLogSeverityName(LogSeverity severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1628:19: error: variable ‘google::GLOG_EXPORT google::base::Logger’ has initializer but incomplete type 1628 | class GLOG_EXPORT Logger { | ^~~~~~ /usr/include/glog/logging.h:1629:2: error: expected primary-expression before ‘public’ 1629 | public: | ^~~~~~ /usr/include/glog/logging.h:1629:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1628:26: note: to match this ‘{’ 1628 | class GLOG_EXPORT Logger { | ^ /usr/include/glog/logging.h:1629:2: note: probably missing a comma or an operator before 1629 | public: | ^~~~~~ /usr/include/glog/logging.h:1662:26: error: expected initializer before ‘*’ token 1662 | extern GLOG_EXPORT Logger* GetLogger(LogSeverity level); | ^ /usr/include/glog/logging.h:1667:54: error: ‘Logger’ is not a type 1667 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~ /usr/include/glog/logging.h:1667:8: error: two or more data types in declaration of ‘SetLogger’ 1667 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1672:30: error: expected initializer before ‘:’ token 1672 | class GLOG_EXPORT NullStream : public LogMessage::LogStream { | ^ /usr/include/glog/logging.h:1697:8: error: ‘NullStream’ does not name a type 1697 | inline NullStream& operator<<(NullStream& str, const T&) { | ^~~~~~~~~~ /usr/include/glog/logging.h:1703:35: error: expected initializer before ‘:’ token 1703 | class GLOG_EXPORT NullStreamFatal : public NullStream { | ^ /usr/include/glog/logging.h:1727:1: error: two or more data types in declaration of ‘InstallFailureSignalHandler’ 1727 | GLOG_EXPORT void InstallFailureSignalHandler(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1730:1: error: two or more data types in declaration of ‘IsFailureSignalHandlerInstalled’ 1730 | GLOG_EXPORT bool IsFailureSignalHandlerInstalled(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1736:1: error: two or more data types in declaration of ‘InstallFailureWriter’ 1736 | GLOG_EXPORT void InstallFailureWriter(void (*writer)(const char* data, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1740:25: error: expected initializer before ‘GetStackTrace’ 1740 | GLOG_EXPORT std::string GetStackTrace(); | ^~~~~~~~~~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken-inl.h: In member function ‘void folly::detail::CancellationState::removeTokenReference()’: /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken-inl.h:360:3: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? 360 | DCHECK( | ^~~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken-inl.h: In member function ‘void folly::detail::CancellationState::removeSourceReference()’: /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken-inl.h:380:3: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? 380 | DCHECK( | ^~~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken-inl.h:385:5: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? 385 | DCHECK(!(oldState & kMergingFlag)); | ^~~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.cpp: In destructor ‘virtual folly::detail::CancellationState::~CancellationState()’: /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.cpp:35:3: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? 35 | DCHECK(head_ == nullptr); | ^~~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.cpp:36:3: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? 36 | DCHECK(!isLocked(state_.load(std::memory_order_relaxed))); | ^~~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.cpp:37:3: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? 37 | DCHECK( | ^~~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.cpp: In member function ‘void folly::detail::CancellationState::removeCallback(folly::CancellationCallback*)’: /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.cpp:80:3: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? 80 | DCHECK(callback != nullptr); | ^~~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.cpp: In function ‘auto folly::detail::{anonymous}::allocAndConstructMergingState(size_t, Args&& ...)’: /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/CancellationToken.cpp:302:3: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? [-Wtemplate-body] 302 | DCHECK_GE(n, 2); // `unlockAndDecrementTokenCount` assumes this | ^~~~~~~~~ [6/355] /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/Demangle.cpp.o -MF CMakeFiles/folly_base.dir/folly/Demangle.cpp.o.d -o CMakeFiles/folly_base.dir/folly/Demangle.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/Demangle.cpp In file included from /usr/include/c++/16/atomic:53, from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:22, from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/Demangle.h:19, from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/Demangle.cpp:17: In member function ‘void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = long unsigned int]’, inlined from ‘static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]’ at /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:502:30, inlined from ‘void folly::fbstring_core::unshare(size_t) [with Char = char]’ at /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:749:40: /usr/include/c++/16/bits/atomic_base.h:494:25: warning: ‘void __atomic_store_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 494 | __atomic_store_n(&_M_i, __i, int(__m)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:44: In function ‘void* folly::checkedMalloc(size_t)’, inlined from ‘static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]’ at /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:501:59, inlined from ‘void folly::fbstring_core::unshare(size_t) [with Char = char]’ at /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FBString.h:749:40: /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/memory/Malloc.h:419:19: note: destination object of size 0 allocated by ‘malloc’ 419 | void* p = malloc(size); | ~~~~~~^~~~~~ [7/355] /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/FileUtil.cpp.o -MF CMakeFiles/folly_base.dir/folly/FileUtil.cpp.o.d -o CMakeFiles/folly_base.dir/folly/FileUtil.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/FileUtil.cpp [8/355] /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/File.cpp.o -MF CMakeFiles/folly_base.dir/folly/File.cpp.o.d -o CMakeFiles/folly_base.dir/folly/File.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/File.cpp FAILED: [code=1] CMakeFiles/folly_base.dir/folly/File.cpp.o /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/File.cpp.o -MF CMakeFiles/folly_base.dir/folly/File.cpp.o.d -o CMakeFiles/folly_base.dir/folly/File.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/File.cpp In file included from /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/File.cpp:29: /usr/include/glog/logging.h:60:4: error: #error was not included correctly. See the documentation for how to consume the library. 60 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:63: /usr/include/glog/flags.h:45:4: error: #error was not included correctly. See the documentation for how to consume the library. 45 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:77: /usr/include/glog/log_severity.h:38:4: error: #error was not included correctly. See the documentation for how to consume the library. 38 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/include/glog/logging.h:78: /usr/include/glog/vlog_is_on.h:71:4: error: #error was not included correctly. See the documentation for how to consume the library. 71 | # error was not included correctly. See the documentation for how to consume the library. | ^~~~~ /usr/include/glog/flags.h:105:1: error: ‘GLOG_EXPORT’ does not name a type 105 | DECLARE_int32(logemaillevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:105:1: error: ‘FLAGS_logemaillevel’ has not been declared in ‘fLI’ 105 | DECLARE_int32(logemaillevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:106:1: error: ‘GLOG_EXPORT’ does not name a type 106 | DECLARE_int32(logcleansecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:106:1: error: ‘FLAGS_logcleansecs’ has not been declared in ‘fLI’ 106 | DECLARE_int32(logcleansecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:109:1: error: ‘GLOG_EXPORT’ does not name a type 109 | DECLARE_bool(drop_log_memory); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:109:1: error: ‘FLAGS_drop_log_memory’ has not been declared in ‘fLB’ 109 | DECLARE_bool(drop_log_memory); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:111:1: error: ‘GLOG_EXPORT’ does not name a type 111 | DECLARE_string(alsologtoemail); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:111:1: error: ‘FLAGS_alsologtoemail’ has not been declared in ‘fLS’ 111 | DECLARE_string(alsologtoemail); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:112:1: error: ‘GLOG_EXPORT’ does not name a type 112 | DECLARE_string(log_backtrace_at); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:112:1: error: ‘FLAGS_log_backtrace_at’ has not been declared in ‘fLS’ 112 | DECLARE_string(log_backtrace_at); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:115:1: error: ‘GLOG_EXPORT’ does not name a type 115 | DECLARE_bool(timestamp_in_logfile_name); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:115:1: error: ‘FLAGS_timestamp_in_logfile_name’ has not been declared in ‘fLB’ 115 | DECLARE_bool(timestamp_in_logfile_name); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:118:1: error: ‘GLOG_EXPORT’ does not name a type 118 | DECLARE_bool(logtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:118:1: error: ‘FLAGS_logtostdout’ has not been declared in ‘fLB’ 118 | DECLARE_bool(logtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:121:1: error: ‘GLOG_EXPORT’ does not name a type 121 | DECLARE_bool(colorlogtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:121:1: error: ‘FLAGS_colorlogtostdout’ has not been declared in ‘fLB’ 121 | DECLARE_bool(colorlogtostdout); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:124:1: error: ‘GLOG_EXPORT’ does not name a type 124 | DECLARE_bool(logtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:124:1: error: ‘FLAGS_logtostderr’ has not been declared in ‘fLB’ 124 | DECLARE_bool(logtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:127:1: error: ‘GLOG_EXPORT’ does not name a type 127 | DECLARE_bool(alsologtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:127:1: error: ‘FLAGS_alsologtostderr’ has not been declared in ‘fLB’ 127 | DECLARE_bool(alsologtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:130:1: error: ‘GLOG_EXPORT’ does not name a type 130 | DECLARE_bool(colorlogtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:130:1: error: ‘FLAGS_colorlogtostderr’ has not been declared in ‘fLB’ 130 | DECLARE_bool(colorlogtostderr); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:134:1: error: ‘GLOG_EXPORT’ does not name a type 134 | DECLARE_int32(stderrthreshold); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:134:1: error: ‘FLAGS_stderrthreshold’ has not been declared in ‘fLI’ 134 | DECLARE_int32(stderrthreshold); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:137:1: error: ‘GLOG_EXPORT’ does not name a type 137 | DECLARE_bool(log_file_header); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:137:1: error: ‘FLAGS_log_file_header’ has not been declared in ‘fLB’ 137 | DECLARE_bool(log_file_header); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:140:1: error: ‘GLOG_EXPORT’ does not name a type 140 | DECLARE_bool(log_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:140:1: error: ‘FLAGS_log_prefix’ has not been declared in ‘fLB’ 140 | DECLARE_bool(log_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:143:1: error: ‘GLOG_EXPORT’ does not name a type 143 | DECLARE_bool(log_year_in_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:143:1: error: ‘FLAGS_log_year_in_prefix’ has not been declared in ‘fLB’ 143 | DECLARE_bool(log_year_in_prefix); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:147:1: error: ‘GLOG_EXPORT’ does not name a type 147 | DECLARE_int32(logbuflevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:147:1: error: ‘FLAGS_logbuflevel’ has not been declared in ‘fLI’ 147 | DECLARE_int32(logbuflevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:150:1: error: ‘GLOG_EXPORT’ does not name a type 150 | DECLARE_int32(logbufsecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:150:1: error: ‘FLAGS_logbufsecs’ has not been declared in ‘fLI’ 150 | DECLARE_int32(logbufsecs); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:154:1: error: ‘GLOG_EXPORT’ does not name a type 154 | DECLARE_int32(minloglevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:154:1: error: ‘FLAGS_minloglevel’ has not been declared in ‘fLI’ 154 | DECLARE_int32(minloglevel); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:158:1: error: ‘GLOG_EXPORT’ does not name a type 158 | DECLARE_string(log_dir); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:158:1: error: ‘FLAGS_log_dir’ has not been declared in ‘fLS’ 158 | DECLARE_string(log_dir); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:161:1: error: ‘GLOG_EXPORT’ does not name a type 161 | DECLARE_int32(logfile_mode); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:161:1: error: ‘FLAGS_logfile_mode’ has not been declared in ‘fLI’ 161 | DECLARE_int32(logfile_mode); | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:165:1: error: ‘GLOG_EXPORT’ does not name a type 165 | DECLARE_string(log_link); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:165:1: error: ‘FLAGS_log_link’ has not been declared in ‘fLS’ 165 | DECLARE_string(log_link); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:167:1: error: ‘GLOG_EXPORT’ does not name a type 167 | DECLARE_int32(v); // in vlog_is_on.cc | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:167:1: error: ‘FLAGS_v’ has not been declared in ‘fLI’ 167 | DECLARE_int32(v); // in vlog_is_on.cc | ^~~~~~~~~~~~~ /usr/include/glog/flags.h:169:1: error: ‘GLOG_EXPORT’ does not name a type 169 | DECLARE_string(vmodule); // also in vlog_is_on.cc | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:169:1: error: ‘FLAGS_vmodule’ has not been declared in ‘fLS’ 169 | DECLARE_string(vmodule); // also in vlog_is_on.cc | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:172:1: error: ‘GLOG_EXPORT’ does not name a type 172 | DECLARE_uint32(max_log_size); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:172:1: error: ‘FLAGS_max_log_size’ has not been declared in ‘fLU’ 172 | DECLARE_uint32(max_log_size); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:175:1: error: ‘GLOG_EXPORT’ does not name a type 175 | DECLARE_bool(stop_logging_if_full_disk); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:175:1: error: ‘FLAGS_stop_logging_if_full_disk’ has not been declared in ‘fLB’ 175 | DECLARE_bool(stop_logging_if_full_disk); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:178:1: error: ‘GLOG_EXPORT’ does not name a type 178 | DECLARE_bool(log_utc_time); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:178:1: error: ‘FLAGS_log_utc_time’ has not been declared in ‘fLB’ 178 | DECLARE_bool(log_utc_time); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:181:1: error: ‘GLOG_EXPORT’ does not name a type 181 | DECLARE_string(logmailer); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:181:1: error: ‘FLAGS_logmailer’ has not been declared in ‘fLS’ 181 | DECLARE_string(logmailer); | ^~~~~~~~~~~~~~ /usr/include/glog/flags.h:183:1: error: ‘GLOG_EXPORT’ does not name a type 183 | DECLARE_bool(symbolize_stacktrace); | ^~~~~~~~~~~~ /usr/include/glog/flags.h:183:1: error: ‘FLAGS_symbolize_stacktrace’ has not been declared in ‘fLB’ 183 | DECLARE_bool(symbolize_stacktrace); | ^~~~~~~~~~~~ /usr/include/glog/vlog_is_on.h:111:8: error: ‘GLOG_EXPORT’ does not name a type 111 | extern GLOG_EXPORT int SetVLOGLevel(const char* module_pattern, int log_level); | ^~~~~~~~~~~ /usr/include/glog/vlog_is_on.h:130:8: error: ‘GLOG_EXPORT’ does not name a type 130 | extern GLOG_EXPORT bool InitVLOG3__(SiteFlag* site_flag, | ^~~~~~~~~~~ /usr/include/glog/logging.h:82:20: error: variable ‘google::GLOG_EXPORT google::LogMessageTime’ has initializer but incomplete type 82 | struct GLOG_EXPORT LogMessageTime { | ^~~~~~~~~~~~~~ /usr/include/glog/logging.h:83:19: error: expected ‘}’ before ‘;’ token 83 | LogMessageTime(); | ^ /usr/include/glog/logging.h:82:35: note: to match this ‘{’ 82 | struct GLOG_EXPORT LogMessageTime { | ^ /usr/include/glog/logging.h:84:3: error: ‘explicit’ outside class declaration 84 | explicit LogMessageTime(std::chrono::system_clock::time_point now); | ^~~~~~~~ /usr/include/glog/logging.h:87:13: error: non-member function ‘time_t google::timestamp()’ cannot have cv-qualifier 87 | const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘time_t google::timestamp()’: /usr/include/glog/logging.h:88:49: error: ‘when’ was not declared in this scope 88 | return std::chrono::system_clock::to_time_t(when()); | ^~~~ /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:90:61: error: non-member function ‘const std::chrono::_V2::system_clock::time_point& google::when()’ cannot have cv-qualifier 90 | const std::chrono::system_clock::time_point& when() const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘const std::chrono::_V2::system_clock::time_point& google::when()’: /usr/include/glog/logging.h:91:12: error: ‘timestamp_’ was not declared in this scope; did you mean ‘timestamp’? 91 | return timestamp_; | ^~~~~~~~~~ | timestamp /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:93:19: error: non-member function ‘int google::sec()’ cannot have cv-qualifier 93 | int sec() const noexcept { return tm_.tm_sec; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::sec()’: /usr/include/glog/logging.h:93:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 93 | int sec() const noexcept { return tm_.tm_sec; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:94:21: error: non-member function ‘long int google::usec()’ cannot have cv-qualifier 94 | long usec() const noexcept { return usecs_.count(); } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘long int google::usec()’: /usr/include/glog/logging.h:94:39: error: ‘usecs_’ was not declared in this scope; did you mean ‘usec’? 94 | long usec() const noexcept { return usecs_.count(); } | ^~~~~~ | usec /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:95:20: error: non-member function ‘int google::min()’ cannot have cv-qualifier 95 | int(min)() const noexcept { return tm_.tm_min; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::min()’: /usr/include/glog/logging.h:95:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 95 | int(min)() const noexcept { return tm_.tm_min; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:96:20: error: non-member function ‘int google::hour()’ cannot have cv-qualifier 96 | int hour() const noexcept { return tm_.tm_hour; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::hour()’: /usr/include/glog/logging.h:96:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 96 | int hour() const noexcept { return tm_.tm_hour; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:97:19: error: non-member function ‘int google::day()’ cannot have cv-qualifier 97 | int day() const noexcept { return tm_.tm_mday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::day()’: /usr/include/glog/logging.h:97:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 97 | int day() const noexcept { return tm_.tm_mday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:98:21: error: non-member function ‘int google::month()’ cannot have cv-qualifier 98 | int month() const noexcept { return tm_.tm_mon; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::month()’: /usr/include/glog/logging.h:98:39: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 98 | int month() const noexcept { return tm_.tm_mon; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:99:20: error: non-member function ‘int google::year()’ cannot have cv-qualifier 99 | int year() const noexcept { return tm_.tm_year; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::year()’: /usr/include/glog/logging.h:99:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 99 | int year() const noexcept { return tm_.tm_year; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:100:25: error: non-member function ‘int google::dayOfWeek()’ cannot have cv-qualifier 100 | int dayOfWeek() const noexcept { return tm_.tm_wday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dayOfWeek()’: /usr/include/glog/logging.h:100:43: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 100 | int dayOfWeek() const noexcept { return tm_.tm_wday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:101:25: error: non-member function ‘int google::dayInYear()’ cannot have cv-qualifier 101 | int dayInYear() const noexcept { return tm_.tm_yday; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dayInYear()’: /usr/include/glog/logging.h:101:43: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 101 | int dayInYear() const noexcept { return tm_.tm_yday; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:102:19: error: non-member function ‘int google::dst()’ cannot have cv-qualifier 102 | int dst() const noexcept { return tm_.tm_isdst; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘int google::dst()’: /usr/include/glog/logging.h:102:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 102 | int dst() const noexcept { return tm_.tm_isdst; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:104:13: error: non-member function ‘long int google::gmtoff()’ cannot have cv-qualifier 104 | const noexcept { | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘long int google::gmtoff()’: /usr/include/glog/logging.h:105:12: error: ‘gmtoffset_’ was not declared in this scope; did you mean ‘gmtoff’? 105 | return gmtoffset_.count(); | ^~~~~~~~~~ | gmtoff /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:107:42: error: non-member function ‘std::chrono::seconds google::gmtoffset()’ cannot have cv-qualifier 107 | std::chrono::seconds gmtoffset() const noexcept { return gmtoffset_; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘std::chrono::seconds google::gmtoffset()’: /usr/include/glog/logging.h:107:60: error: ‘gmtoffset_’ was not declared in this scope; did you mean ‘gmtoffset’? 107 | std::chrono::seconds gmtoffset() const noexcept { return gmtoffset_; } | ^~~~~~~~~~ | gmtoffset /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:108:29: error: non-member function ‘const tm& google::tm()’ cannot have cv-qualifier 108 | const std::tm& tm() const noexcept { return tm_; } | ^~~~~~~~ /usr/include/glog/logging.h: In function ‘const tm& google::tm()’: /usr/include/glog/logging.h:108:47: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 108 | const std::tm& tm() const noexcept { return tm_; } | ^~~ | tm /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:110:2: error: expected unqualified-id before ‘private’ 110 | private: | ^~~~~~~ /usr/include/glog/logging.h:122:33: error: ‘LogMessageTime’ does not name a type; did you mean ‘LogMessageInfo’? 122 | const LogMessageTime& time_) | ^~~~~~~~~~~~~~ | LogMessageInfo /usr/include/glog/logging.h:133:9: error: ‘LogMessageTime’ does not name a type; did you mean ‘LogMessageInfo’? 133 | const LogMessageTime& time; | ^~~~~~~~~~~~~~ | LogMessageInfo /usr/include/glog/logging.h: In constructor ‘LogMessageInfo::LogMessageInfo(const char*, const char*, const int&, std::thread::id, const int&)’: /usr/include/glog/logging.h:127:9: error: class ‘LogMessageInfo’ does not have any field named ‘time’ 127 | time(time_) {} | ^~~~ /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:136:1: error: expected declaration before ‘}’ token 136 | } // namespace google | ^ /usr/include/glog/logging.h:483:1: error: two or more data types in declaration of ‘InitGoogleLogging’ 483 | GLOG_EXPORT void InitGoogleLogging(const char* argv0); | ^~~~~~~~~~~ /usr/include/glog/logging.h:502:55: error: two or more data types in declaration of ‘InitGoogleLogging’ 502 | [[deprecated("Use InstallPrefixFormatter instead.")]] GLOG_EXPORT void | ^~~~~~~~~~~ /usr/include/glog/logging.h:507:1: error: two or more data types in declaration of ‘IsGoogleLoggingInitialized’ 507 | GLOG_EXPORT bool IsGoogleLoggingInitialized(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:510:1: error: two or more data types in declaration of ‘ShutdownGoogleLogging’ 510 | GLOG_EXPORT void ShutdownGoogleLogging(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:521:1: error: two or more data types in declaration of ‘InstallPrefixFormatter’ 521 | GLOG_EXPORT void InstallPrefixFormatter(PrefixFormatterCallback callback, | ^~~~~~~~~~~ /usr/include/glog/logging.h:527:1: error: expected initializer before ‘InstallFailureFunction’ 527 | InstallFailureFunction(logging_fail_func_t fail_func); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:531:19: error: two or more data types in declaration of ‘EnableLogCleaner’ 531 | "instead.")]] GLOG_EXPORT void | ^~~~~~~~~~~ /usr/include/glog/logging.h:534:1: error: two or more data types in declaration of ‘EnableLogCleaner’ 534 | GLOG_EXPORT void EnableLogCleaner(const std::chrono::minutes& overdue); | ^~~~~~~~~~~ /usr/include/glog/logging.h:535:1: error: two or more data types in declaration of ‘DisableLogCleaner’ 535 | GLOG_EXPORT void DisableLogCleaner(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:536:1: error: two or more data types in declaration of ‘SetApplicationFingerprint’ 536 | GLOG_EXPORT void SetApplicationFingerprint(const std::string& fingerprint); | ^~~~~~~~~~~ /usr/include/glog/logging.h:660:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 660 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, const char& v); | ^~~~~~~~~~~ /usr/include/glog/logging.h:662:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 662 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, const signed char& v); | ^~~~~~~~~~~ /usr/include/glog/logging.h:664:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 664 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, | ^~~~~~~~~~~ /usr/include/glog/logging.h:669:1: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 669 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, | ^~~~~~~~~~~ /usr/include/glog/logging.h:689:19: error: variable ‘google::GLOG_EXPORT google::logging::internal::CheckOpMessageBuilder’ has initializer but incomplete type 689 | class GLOG_EXPORT CheckOpMessageBuilder { | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:690:2: error: expected primary-expression before ‘public’ 690 | public: | ^~~~~~ /usr/include/glog/logging.h:690:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:689:41: note: to match this ‘{’ 689 | class GLOG_EXPORT CheckOpMessageBuilder { | ^ /usr/include/glog/logging.h:690:2: note: probably missing a comma or an operator before 690 | public: | ^~~~~~ /usr/include/glog/logging.h: In function ‘std::unique_ptr > google::logging::internal::MakeCheckOpString(const T1&, const T2&, const char*)’: /usr/include/glog/logging.h:709:24: error: expected ‘;’ before ‘comb’ [-Wtemplate-body] 709 | CheckOpMessageBuilder comb(exprtext); | ^~~~~ | ; /usr/include/glog/logging.h:710:26: error: ‘comb’ was not declared in this scope; did you mean ‘wctomb’? [-Wtemplate-body] 710 | MakeCheckOpValueString(comb.ForVar1(), v1); | ^~~~ | wctomb /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:830:1: error: invalid declarator before ‘CheckstrcmptrueImpl’ 830 | DECLARE_CHECK_STROP_IMPL(strcmp, true) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:831:1: error: invalid declarator before ‘CheckstrcmpfalseImpl’ 831 | DECLARE_CHECK_STROP_IMPL(strcmp, false) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:832:1: error: invalid declarator before ‘CheckstrcasecmptrueImpl’ 832 | DECLARE_CHECK_STROP_IMPL(strcasecmp, true) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:833:1: error: invalid declarator before ‘CheckstrcasecmpfalseImpl’ 833 | DECLARE_CHECK_STROP_IMPL(strcasecmp, false) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glog/logging.h:1198:32: error: expected initializer before ‘:’ token 1198 | class GLOG_EXPORT LogStreamBuf : public std::streambuf { | ^ /usr/include/glog/logging.h:1215:23: error: aggregate ‘google::logging::internal::GLOG_NO_EXPORT google::logging::internal::LogMessageData’ has incomplete type and cannot be defined 1215 | struct GLOG_NO_EXPORT LogMessageData; | ^~~~~~~~~~~~~~ /usr/include/glog/logging.h:1228:19: error: variable ‘google::GLOG_EXPORT google::LogMessage’ has initializer but incomplete type 1228 | class GLOG_EXPORT LogMessage { | ^~~~~~~~~~ /usr/include/glog/logging.h:1229:2: error: expected primary-expression before ‘public’ 1229 | public: | ^~~~~~ /usr/include/glog/logging.h:1229:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1228:30: note: to match this ‘{’ 1228 | class GLOG_EXPORT LogMessage { | ^ /usr/include/glog/logging.h:1229:2: note: probably missing a comma or an operator before 1229 | public: | ^~~~~~ /usr/include/glog/logging.h:1410:35: error: expected initializer before ‘:’ token 1410 | class GLOG_EXPORT LogMessageFatal : public LogMessage { | ^ /usr/include/glog/logging.h:1434:25: error: expected initializer before ‘&’ token 1434 | GLOG_EXPORT std::ostream& operator<<(std::ostream& os, const Counter_t&); | ^ /usr/include/glog/logging.h:1437:35: error: expected initializer before ‘:’ token 1437 | class GLOG_EXPORT ErrnoLogMessage : public LogMessage { | ^ /usr/include/glog/logging.h: In function ‘T google::logging::internal::CheckNotNull(const char*, int, const char*, T&&)’: /usr/include/glog/logging.h:1468:5: error: there are no arguments to ‘LogMessageFatal’ that depend on a template parameter, so a declaration of ‘LogMessageFatal’ must be available [-Wtemplate-body] 1468 | LogMessageFatal(file, line, std::make_unique(names)); | ^~~~~~~~~~~~~~~ /usr/include/glog/logging.h:1468:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/glog/logging.h: At global scope: /usr/include/glog/logging.h:1484:1: error: two or more data types in declaration of ‘FlushLogFiles’ 1484 | GLOG_EXPORT void FlushLogFiles(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1489:1: error: two or more data types in declaration of ‘FlushLogFilesUnsafe’ 1489 | GLOG_EXPORT void FlushLogFilesUnsafe(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1496:1: error: two or more data types in declaration of ‘SetLogDestination’ 1496 | GLOG_EXPORT void SetLogDestination(LogSeverity severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1505:1: error: two or more data types in declaration of ‘SetLogSymlink’ 1505 | GLOG_EXPORT void SetLogSymlink(LogSeverity severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1513:19: error: variable ‘google::GLOG_EXPORT google::LogSink’ has initializer but incomplete type 1513 | class GLOG_EXPORT LogSink { | ^~~~~~~ /usr/include/glog/logging.h:1514:2: error: expected primary-expression before ‘public’ 1514 | public: | ^~~~~~ /usr/include/glog/logging.h:1514:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1513:27: note: to match this ‘{’ 1513 | class GLOG_EXPORT LogSink { | ^ /usr/include/glog/logging.h:1514:2: note: probably missing a comma or an operator before 1514 | public: | ^~~~~~ /usr/include/glog/logging.h:1553:1: error: two or more data types in declaration of ‘AddLogSink’ 1553 | GLOG_EXPORT void AddLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1553:38: error: ‘destination’ was not declared in this scope 1553 | GLOG_EXPORT void AddLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1554:1: error: two or more data types in declaration of ‘RemoveLogSink’ 1554 | GLOG_EXPORT void RemoveLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1554:41: error: ‘destination’ was not declared in this scope 1554 | GLOG_EXPORT void RemoveLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1562:1: error: two or more data types in declaration of ‘SetLogFilenameExtension’ 1562 | GLOG_EXPORT void SetLogFilenameExtension(const char* filename_extension); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1569:1: error: two or more data types in declaration of ‘SetStderrLogging’ 1569 | GLOG_EXPORT void SetStderrLogging(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1574:1: error: two or more data types in declaration of ‘LogToStderr’ 1574 | GLOG_EXPORT void LogToStderr(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1582:1: error: two or more data types in declaration of ‘SetEmailLogging’ 1582 | GLOG_EXPORT void SetEmailLogging(LogSeverity min_severity, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1587:1: error: two or more data types in declaration of ‘SendEmail’ 1587 | GLOG_EXPORT bool SendEmail(const char* dest, const char* subject, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1590:43: error: invalid declarator before ‘&’ token 1590 | GLOG_EXPORT const std::vector& GetLoggingDirectories(); | ^ /usr/include/glog/logging.h:1595:1: error: two or more data types in declaration of ‘ReprintFatalMessage’ 1595 | GLOG_EXPORT void ReprintFatalMessage(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1604:1: error: two or more data types in declaration of ‘TruncateLogFile’ 1604 | GLOG_EXPORT void TruncateLogFile(const char* path, uint64 limit, uint64 keep); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1609:1: error: two or more data types in declaration of ‘TruncateStdoutStderr’ 1609 | GLOG_EXPORT void TruncateStdoutStderr(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1613:1: error: two or more data types in declaration of ‘GetLogSeverityName’ 1613 | GLOG_EXPORT const char* GetLogSeverityName(LogSeverity severity); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1628:19: error: variable ‘google::GLOG_EXPORT google::base::Logger’ has initializer but incomplete type 1628 | class GLOG_EXPORT Logger { | ^~~~~~ /usr/include/glog/logging.h:1629:2: error: expected primary-expression before ‘public’ 1629 | public: | ^~~~~~ /usr/include/glog/logging.h:1629:2: error: expected ‘}’ before ‘public’ /usr/include/glog/logging.h:1628:26: note: to match this ‘{’ 1628 | class GLOG_EXPORT Logger { | ^ /usr/include/glog/logging.h:1629:2: note: probably missing a comma or an operator before 1629 | public: | ^~~~~~ /usr/include/glog/logging.h:1662:26: error: expected initializer before ‘*’ token 1662 | extern GLOG_EXPORT Logger* GetLogger(LogSeverity level); | ^ /usr/include/glog/logging.h:1667:54: error: ‘Logger’ is not a type 1667 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~ /usr/include/glog/logging.h:1667:8: error: two or more data types in declaration of ‘SetLogger’ 1667 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1672:30: error: expected initializer before ‘:’ token 1672 | class GLOG_EXPORT NullStream : public LogMessage::LogStream { | ^ /usr/include/glog/logging.h:1697:8: error: ‘NullStream’ does not name a type 1697 | inline NullStream& operator<<(NullStream& str, const T&) { | ^~~~~~~~~~ /usr/include/glog/logging.h:1703:35: error: expected initializer before ‘:’ token 1703 | class GLOG_EXPORT NullStreamFatal : public NullStream { | ^ /usr/include/glog/logging.h:1727:1: error: two or more data types in declaration of ‘InstallFailureSignalHandler’ 1727 | GLOG_EXPORT void InstallFailureSignalHandler(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1730:1: error: two or more data types in declaration of ‘IsFailureSignalHandlerInstalled’ 1730 | GLOG_EXPORT bool IsFailureSignalHandlerInstalled(); | ^~~~~~~~~~~ /usr/include/glog/logging.h:1736:1: error: two or more data types in declaration of ‘InstallFailureWriter’ 1736 | GLOG_EXPORT void InstallFailureWriter(void (*writer)(const char* data, | ^~~~~~~~~~~ /usr/include/glog/logging.h:1740:25: error: expected initializer before ‘GetStackTrace’ 1740 | GLOG_EXPORT std::string GetStackTrace(); | ^~~~~~~~~~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/File.cpp: In constructor ‘folly::File::File(int, bool)’: /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/File.cpp:34:3: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? 34 | CHECK_GE(fd, -1) << "fd must be -1 or non-negative"; | ^~~~~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/File.cpp:35:3: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? 35 | CHECK(fd != -1 || !ownsFd) << "cannot own -1"; | ^~~~~ /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/File.cpp: In destructor ‘folly::File::~File()’: /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/File.cpp:69:5: error: ‘LogMessageFatal’ is not a member of ‘google’; did you mean ‘LogMessageTime’? 69 | DCHECK_NE(errno, EBADF) | ^~~~~~~~~ [9/355] /usr/bin/g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00:/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00 -I/builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/redhat-linux-build -I/usr/include/libdwarf-0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fcoroutines -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/Conv.cpp.o -MF CMakeFiles/folly_base.dir/folly/Conv.cpp.o.d -o CMakeFiles/folly_base.dir/folly/Conv.cpp.o -c /builddir/build/BUILD/folly-2025.02.03.00-build/folly-2025.02.03.00/folly/Conv.cpp ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.7XgtTk (%build) Bad exit status from /var/tmp/rpm-tmp.7XgtTk (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f7219dc56c0a429381b5b44251f05e2b -D /var/lib/mock/f45-build-55958-960/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.jbhw38wc:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/folly.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.14/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M f7219dc56c0a429381b5b44251f05e2b -D /var/lib/mock/f45-build-55958-960/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.jbhw38wc:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/folly.spec'