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/boost-http-server.spec'], chrootPath='/var/lib/mock/f45-build-47061-864/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.phbmvn3z:/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.phbmvn3z:/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', 'c3869312bcf1476d84cae0f038410743', '-D', '/var/lib/mock/f45-build-47061-864/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.phbmvn3z:/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/boost-http-server.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=1753228800 Wrote: /builddir/build/SRPMS/boost-http-server-0-14.20220116gitcd5245f.fc45.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/boost-http-server.spec'], chrootPath='/var/lib/mock/f45-build-47061-864/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.phbmvn3z:/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.phbmvn3z:/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', '861f7ea8d8b74f358adb15ecc9b8d5ca', '-D', '/var/lib/mock/f45-build-47061-864/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.phbmvn3z:/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/boost-http-server.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=1753228800 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.fipU1y Creating(rpmbuild.env): /builddir/build/BUILD/boost-http-server-0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/boost-http-server-0-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/boost-http-server-0-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="boost-http-server" RPM_PACKAGE_VERSION="0" RPM_PACKAGE_RELEASE="14.20220116gitcd5245f.fc45" 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/boost-http-server-0-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.MqtFtq + umask 022 + cd /builddir/build/BUILD/boost-http-server-0-build + cd /builddir/build/BUILD/boost-http-server-0-build + rm -rf BoostHttpServer-cd5245f068833f3b0b7907b5cb1fd1ec39f7f29b + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/BoostHttpServer-cd5245f068833f3b0b7907b5cb1fd1ec39f7f29b.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd BoostHttpServer-cd5245f068833f3b0b7907b5cb1fd1ec39f7f29b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's:"../../CTML/include/ctml.hpp"::' src/example2_dynamic/main.cpp + rm docs/jquery.js + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IXtAqS + umask 022 + cd /builddir/build/BUILD/boost-http-server-0-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 BoostHttpServer-cd5245f068833f3b0b7907b5cb1fd1ec39f7f29b + mkdir Debug + 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/make -O -j8 V=1 VERBOSE=1 'LINK_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 ' g++ -c -o Debug/BoostHttpServer_mime_types.o -g3 -D_GLIBCXX_DEBUG -fstack-protector-all -O0 -DDEBUG -D_DEBUG -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 -MT Debug/BoostHttpServer_mime_types.o -MF`echo Debug/BoostHttpServer_mime_types.o | sed -e 's,\.o$,.d,'` -MD -MP src/server/mime_types.cpp g++ -c -o Debug/BoostHttpServer_request_parser.o -g3 -D_GLIBCXX_DEBUG -fstack-protector-all -O0 -DDEBUG -D_DEBUG -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 -MT Debug/BoostHttpServer_request_parser.o -MF`echo Debug/BoostHttpServer_request_parser.o | sed -e 's,\.o$,.d,'` -MD -MP src/server/request_parser.cpp g++ -c -o Debug/BoostHttpServer_connection.o -g3 -D_GLIBCXX_DEBUG -fstack-protector-all -O0 -DDEBUG -D_DEBUG -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 -MT Debug/BoostHttpServer_connection.o -MF`echo Debug/BoostHttpServer_connection.o | sed -e 's,\.o$,.d,'` -MD -MP src/server/connection.cpp In file included from src/server/connection.cpp:12: src/server/connection.hpp:37:46: error: expected ‘)’ before ‘&’ token 37 | explicit connection(boost::asio::io_service& io_service, | ~ ^ | ) src/server/connection.hpp:61:23: warning: non-static reference ‘http::server::connection_manager& http::server::connection::connection_manager_’ in class without a constructor [-Wuninitialized] 61 | connection_manager& connection_manager_; | ^~~~~~~~~~~~~~~~~~~ src/server/connection.hpp:64:20: warning: non-static reference ‘http::server::request_handler& http::server::connection::request_handler_’ in class without a constructor [-Wuninitialized] 64 | request_handler& request_handler_; | ^~~~~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/deprecated_macros.hpp:8, from /usr/include/boost/smart_ptr/detail/sp_counted_base.hpp:20, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:22, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/server/connection.hpp:18: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/server/connection.cpp:21:23: error: expected constructor, destructor, or type conversion before ‘(’ token 21 | connection::connection(boost::asio::io_service& io_service, | ^ make: *** [Makefile:83: Debug/BoostHttpServer_connection.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -c -o Debug/BoostHttpServer_server.o -g3 -D_GLIBCXX_DEBUG -fstack-protector-all -O0 -DDEBUG -D_DEBUG -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 -MT Debug/BoostHttpServer_server.o -MF`echo Debug/BoostHttpServer_server.o | sed -e 's,\.o$,.d,'` -MD -MP src/server/server.cpp In file included from src/server/server.hpp:18, from src/server/server.cpp:12: src/server/connection.hpp:37:46: error: expected ‘)’ before ‘&’ token 37 | explicit connection(boost::asio::io_service& io_service, | ~ ^ | ) src/server/connection.hpp:61:23: warning: non-static reference ‘http::server::connection_manager& http::server::connection::connection_manager_’ in class without a constructor [-Wuninitialized] 61 | connection_manager& connection_manager_; | ^~~~~~~~~~~~~~~~~~~ src/server/connection.hpp:64:20: warning: non-static reference ‘http::server::request_handler& http::server::connection::request_handler_’ in class without a constructor [-Wuninitialized] 64 | request_handler& request_handler_; | ^~~~~~~~~~~~~~~~ src/server/server.hpp:59:16: error: ‘io_service’ in namespace ‘boost::asio’ does not name a type; did you mean ‘use_service’? 59 | boost::asio::io_service io_service_; | ^~~~~~~~~~ | use_service In file included from /usr/include/boost/smart_ptr/detail/deprecated_macros.hpp:8, from /usr/include/boost/smart_ptr/detail/sp_counted_base.hpp:20, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:22, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/server/connection.hpp:18: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/server/server.cpp: In constructor ‘http::server::server::server(const std::string&, const std::string&, const std::string&)’: src/server/server.cpp:20:5: error: class ‘http::server::server’ does not have any field named ‘io_service_’ 20 | : io_service_(), | ^~~~~~~~~~~ src/server/server.cpp:21:15: error: ‘io_service_’ was not declared in this scope 21 | acceptor_(io_service_), | ^~~~~~~~~~~ src/server/server.cpp:29:35: error: ‘query’ is not a member of ‘boost::asio::ip::tcp::resolver’ {aka ‘boost::asio::ip::basic_resolver’} 29 | boost::asio::ip::tcp::resolver::query query(address, port); | ^~~~~ src/server/server.cpp:30:63: error: ‘query’ was not declared in this scope 30 | boost::asio::ip::tcp::endpoint endpoint = *resolver.resolve(query); | ^~~~~ src/server/server.cpp:30:63: note: suggested alternatives: In file included from /usr/include/boost/asio/execution/blocking.hpp:23, from /usr/include/boost/asio/execution/any_executor.hpp:31, from /usr/include/boost/asio/execution.hpp:19, from /usr/include/boost/asio/any_completion_executor.hpp:22, from /usr/include/boost/asio.hpp:20, from src/server/server.hpp:15: /usr/include/boost/asio/query.hpp:114:6: note: ‘boost_asio_query_fn::query’ 114 | void query(); | ^~~~~ /usr/include/boost/asio/query.hpp:263:3: note: ‘boost::asio::{anonymous}::query’ 263 | query = boost_asio_query_fn::static_instance<>::instance; | ^~~~~ src/server/server.cpp: In member function ‘void http::server::server::run()’: src/server/server.cpp:46:3: error: ‘io_service_’ was not declared in this scope 46 | io_service_.run(); | ^~~~~~~~~~~ src/server/server.cpp: In member function ‘void http::server::server::stop()’: src/server/server.cpp:53:3: error: ‘io_service_’ was not declared in this scope 53 | io_service_.post(boost::bind(&server::handle_stop, this)); | ^~~~~~~~~~~ src/server/server.cpp: In member function ‘void http::server::server::handle_accept(const boost::system::error_code&)’: src/server/server.cpp:61:42: error: ‘io_service_’ was not declared in this scope 61 | new_connection_.reset(new connection(io_service_, | ^~~~~~~~~~~ make: *** [Makefile:101: Debug/BoostHttpServer_server.o] Error 1 g++ -c -o Debug/BoostHttpServer_connection_manager.o -g3 -D_GLIBCXX_DEBUG -fstack-protector-all -O0 -DDEBUG -D_DEBUG -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 -MT Debug/BoostHttpServer_connection_manager.o -MF`echo Debug/BoostHttpServer_connection_manager.o | sed -e 's,\.o$,.d,'` -MD -MP src/server/connection_manager.cpp In file included from src/server/connection_manager.hpp:17, from src/server/connection_manager.cpp:12: src/server/connection.hpp:37:46: error: expected ‘)’ before ‘&’ token 37 | explicit connection(boost::asio::io_service& io_service, | ~ ^ | ) src/server/connection.hpp:61:23: warning: non-static reference ‘http::server::connection_manager& http::server::connection::connection_manager_’ in class without a constructor [-Wuninitialized] 61 | connection_manager& connection_manager_; | ^~~~~~~~~~~~~~~~~~~ src/server/connection.hpp:64:20: warning: non-static reference ‘http::server::request_handler& http::server::connection::request_handler_’ in class without a constructor [-Wuninitialized] 64 | request_handler& request_handler_; | ^~~~~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/deprecated_macros.hpp:8, from /usr/include/boost/smart_ptr/detail/sp_counted_base.hpp:20, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:22, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/server/connection.hpp:18: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:86: Debug/BoostHttpServer_connection_manager.o] Error 1 g++ -c -o Debug/BoostHttpServer_main.o -g3 -D_GLIBCXX_DEBUG -fstack-protector-all -O0 -DDEBUG -D_DEBUG -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 -MT Debug/BoostHttpServer_main.o -MF`echo Debug/BoostHttpServer_main.o | sed -e 's,\.o$,.d,'` -MD -MP src/example2_dynamic/main.cpp In file included from /usr/include/boost/bind.hpp:30, from src/example2_dynamic/main.cpp:18: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/example2_dynamic/../server/server.hpp:18, from src/example2_dynamic/main.cpp:21: src/example2_dynamic/../server/connection.hpp:37:46: error: expected ‘)’ before ‘&’ token 37 | explicit connection(boost::asio::io_service& io_service, | ~ ^ | ) src/example2_dynamic/../server/connection.hpp:61:23: warning: non-static reference ‘http::server::connection_manager& http::server::connection::connection_manager_’ in class without a constructor [-Wuninitialized] 61 | connection_manager& connection_manager_; | ^~~~~~~~~~~~~~~~~~~ src/example2_dynamic/../server/connection.hpp:64:20: warning: non-static reference ‘http::server::request_handler& http::server::connection::request_handler_’ in class without a constructor [-Wuninitialized] 64 | request_handler& request_handler_; | ^~~~~~~~~~~~~~~~ src/example2_dynamic/../server/server.hpp:59:16: error: ‘io_service’ in namespace ‘boost::asio’ does not name a type; did you mean ‘use_service’? 59 | boost::asio::io_service io_service_; | ^~~~~~~~~~ | use_service make: *** [Makefile:79: Debug/BoostHttpServer_main.o] Error 1 g++ -c -o Debug/BoostHttpServer_posix_main.o -g3 -D_GLIBCXX_DEBUG -fstack-protector-all -O0 -DDEBUG -D_DEBUG -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 -MT Debug/BoostHttpServer_posix_main.o -MF`echo Debug/BoostHttpServer_posix_main.o | sed -e 's,\.o$,.d,'` -MD -MP src/example1_static/posix_main.cpp In file included from /usr/include/boost/smart_ptr/detail/deprecated_macros.hpp:8, from /usr/include/boost/smart_ptr/detail/sp_counted_base.hpp:20, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:22, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/thread_data.hpp:12, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from src/example1_static/posix_main.cpp:15: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/example1_static/../server/server.hpp:18, from src/example1_static/posix_main.cpp:17: src/example1_static/../server/connection.hpp:37:46: error: expected ‘)’ before ‘&’ token 37 | explicit connection(boost::asio::io_service& io_service, | ~ ^ | ) src/example1_static/../server/connection.hpp:61:23: warning: non-static reference ‘http::server::connection_manager& http::server::connection::connection_manager_’ in class without a constructor [-Wuninitialized] 61 | connection_manager& connection_manager_; | ^~~~~~~~~~~~~~~~~~~ src/example1_static/../server/connection.hpp:64:20: warning: non-static reference ‘http::server::request_handler& http::server::connection::request_handler_’ in class without a constructor [-Wuninitialized] 64 | request_handler& request_handler_; | ^~~~~~~~~~~~~~~~ src/example1_static/../server/server.hpp:59:16: error: ‘io_service’ in namespace ‘boost::asio’ does not name a type; did you mean ‘use_service’? 59 | boost::asio::io_service io_service_; | ^~~~~~~~~~ | use_service make: *** [Makefile:75: Debug/BoostHttpServer_posix_main.o] Error 1 g++ -c -o Debug/BoostHttpServer_reply.o -g3 -D_GLIBCXX_DEBUG -fstack-protector-all -O0 -DDEBUG -D_DEBUG -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 -MT Debug/BoostHttpServer_reply.o -MF`echo Debug/BoostHttpServer_reply.o | sed -e 's,\.o$,.d,'` -MD -MP src/server/reply.cpp g++ -c -o Debug/BoostHttpServer_request_handler.o -g3 -D_GLIBCXX_DEBUG -fstack-protector-all -O0 -DDEBUG -D_DEBUG -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 -MT Debug/BoostHttpServer_request_handler.o -MF`echo Debug/BoostHttpServer_request_handler.o | sed -e 's,\.o$,.d,'` -MD -MP src/server/request_handler.cpp error: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IXtAqS (%build) Bad exit status from /var/tmp/rpm-tmp.IXtAqS (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 861f7ea8d8b74f358adb15ecc9b8d5ca -D /var/lib/mock/f45-build-47061-864/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.phbmvn3z:/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/boost-http-server.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 861f7ea8d8b74f358adb15ecc9b8d5ca -D /var/lib/mock/f45-build-47061-864/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.phbmvn3z:/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/boost-http-server.spec'