Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ustl.spec'], chrootPath='/var/lib/mock/f29-build-23597-12065/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ustl.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/ustl-2.5-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ustl.spec'], chrootPath='/var/lib/mock/f29-build-23597-12065/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ustl.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1cRLut + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ustl-2.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/ustl-2.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ustl-2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's|\t@|\t|g' Makefile + sed -i -e 's|/usr/lib|/usr/lib64|g' -i -e 's|-s |-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld |g' -e 's|CXXFLAGS :=|override CXXFLAGS +=|g' Config.mk.in + sed -i -e 's|-march=native||g' configure Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.koVy2T + exit 0 + umask 022 + cd /builddir/build/BUILD + cd ustl-2.5 + ./configure --prefix=/builddir/build/BUILDROOT/ustl-2.5-4.fc29.riscv64/usr --with-libstdc++ --force-inline + /usr/bin/make -O -j4 'CXXFLAGS+=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' mkdir -p /tmp/mockbuild/make/ustl && touch /tmp/mockbuild/make/ustl/.d [ -h .o ] || ln -sf /tmp/mockbuild/make/ustl .o echo " Compiling unew.cc ..." Compiling unew.cc ... g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Wshadow -Wredundant-decls -Wcast-qual -std=c++14 -I/builddir/build/BUILDROOT/ustl-2.5-4.fc29.riscv64/usr/include -fPIC -MMD -MT "unew.s .o/unew.o" -o .o/unew.o -c unew.cc BUILDSTDERR: In file included from ulimits.h:10, BUILDSTDERR: from bktrace.h:7, BUILDSTDERR: from uexception.h:8, BUILDSTDERR: from unew.h:7, BUILDSTDERR: from unew.cc:6: BUILDSTDERR: uttraits.h:376:8: error: expected identifier before '__is_assignable' BUILDSTDERR: struct __is_assignable { BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: uttraits.h:376:8: error: expected unqualified-id before '__is_assignable' BUILDSTDERR: uttraits.h:380:89: error: expected '(' before '::' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^~ BUILDSTDERR: ( BUILDSTDERR: uttraits.h:380:91: error: 'test' in namespace '::' does not name a template type BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^~~~ BUILDSTDERR: uttraits.h:380:97: error: expected primary-expression before ',' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^ BUILDSTDERR: uttraits.h:380:99: error: expected primary-expression before '>' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^ BUILDSTDERR: make: *** [Makefile:50: .o/unew.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... echo " Compiling sostream.cc ..." Compiling sostream.cc ... g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Wshadow -Wredundant-decls -Wcast-qual -std=c++14 -I/builddir/build/BUILDROOT/ustl-2.5-4.fc29.riscv64/usr/include -fPIC -MMD -MT "sostream.s .o/sostream.o" -o .o/sostream.o -c sostream.cc BUILDSTDERR: In file included from ulimits.h:10, BUILDSTDERR: from uutility.h:11, BUILDSTDERR: from ualgobase.h:7, BUILDSTDERR: from cmemlink.h:7, BUILDSTDERR: from memlink.h:7, BUILDSTDERR: from mistream.h:7, BUILDSTDERR: from sostream.cc:6: BUILDSTDERR: uttraits.h:376:8: error: expected identifier before '__is_assignable' BUILDSTDERR: struct __is_assignable { BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: uttraits.h:376:8: error: expected unqualified-id before '__is_assignable' BUILDSTDERR: uttraits.h:380:89: error: expected '(' before '::' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^~ BUILDSTDERR: ( BUILDSTDERR: uttraits.h:380:91: error: 'test' in namespace '::' does not name a template type BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^~~~ BUILDSTDERR: uttraits.h:380:97: error: expected primary-expression before ',' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^ BUILDSTDERR: uttraits.h:380:99: error: expected primary-expression before '>' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^ BUILDSTDERR: In file included from cmemlink.h:7, BUILDSTDERR: from memlink.h:7, BUILDSTDERR: from mistream.h:7, BUILDSTDERR: from sostream.cc:6: BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = void*; T = char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:293:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(void, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = void*; T = unsigned char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:294:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(void, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = char*; T = char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:297:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(char, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = char*; T = unsigned char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:298:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(char, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = signed char*; T = signed char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:300:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(int8_t, uint8_t, int8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = short int*; T = short int]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:301:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(int16_t, uint16_t, int16_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = int*; T = int]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:303:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(int32_t, uint32_t, int32_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = void*; T = char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:333:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(void, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = void*; T = unsigned char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:334:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(void, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = char*; T = char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:337:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(char, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = char*; T = unsigned char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:338:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(char, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = signed char*; T = signed char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:340:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(int8_t, uint8_t, int8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = short int*; T = short int; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:341:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(int16_t, uint16_t, int16_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = int*; T = int; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:343:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(int32_t, uint32_t, int32_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: make: *** [Makefile:50: .o/sostream.o] Error 1 echo " Compiling memlink.cc ..." Compiling memlink.cc ... g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Wshadow -Wredundant-decls -Wcast-qual -std=c++14 -I/builddir/build/BUILDROOT/ustl-2.5-4.fc29.riscv64/usr/include -fPIC -MMD -MT "memlink.s .o/memlink.o" -o .o/memlink.o -c memlink.cc BUILDSTDERR: In file included from ulimits.h:10, BUILDSTDERR: from uutility.h:11, BUILDSTDERR: from ualgobase.h:7, BUILDSTDERR: from cmemlink.h:7, BUILDSTDERR: from memlink.h:7, BUILDSTDERR: from mistream.h:7, BUILDSTDERR: from memlink.cc:6: BUILDSTDERR: uttraits.h:376:8: error: expected identifier before '__is_assignable' BUILDSTDERR: struct __is_assignable { BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: uttraits.h:376:8: error: expected unqualified-id before '__is_assignable' BUILDSTDERR: uttraits.h:380:89: error: expected '(' before '::' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^~ BUILDSTDERR: ( BUILDSTDERR: uttraits.h:380:91: error: 'test' in namespace '::' does not name a template type BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^~~~ BUILDSTDERR: uttraits.h:380:97: error: expected primary-expression before ',' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^ BUILDSTDERR: uttraits.h:380:99: error: expected primary-expression before '>' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^ BUILDSTDERR: In file included from cmemlink.h:7, BUILDSTDERR: from memlink.h:7, BUILDSTDERR: from mistream.h:7, BUILDSTDERR: from memlink.cc:6: BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = void*; T = char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:293:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(void, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = void*; T = unsigned char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:294:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(void, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = char*; T = char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:297:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(char, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = char*; T = unsigned char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:298:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(char, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = signed char*; T = signed char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:300:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(int8_t, uint8_t, int8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = short int*; T = short int]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:301:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(int16_t, uint16_t, int16_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = int*; T = int]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:303:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(int32_t, uint32_t, int32_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = void*; T = char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:333:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(void, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = void*; T = unsigned char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:334:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(void, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = char*; T = char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:337:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(char, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = char*; T = unsigned char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:338:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(char, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = signed char*; T = signed char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:340:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(int8_t, uint8_t, int8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = short int*; T = short int; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:341:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(int16_t, uint16_t, int16_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = int*; T = int; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:343:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(int32_t, uint32_t, int32_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: make: *** [Makefile:50: .o/memlink.o] Error 1 echo " Compiling ofstream.cc ..." Compiling ofstream.cc ... g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Wshadow -Wredundant-decls -Wcast-qual -std=c++14 -I/builddir/build/BUILDROOT/ustl-2.5-4.fc29.riscv64/usr/include -fPIC -MMD -MT "ofstream.s .o/ofstream.o" -o .o/ofstream.o -c ofstream.cc BUILDSTDERR: In file included from ulimits.h:10, BUILDSTDERR: from uutility.h:11, BUILDSTDERR: from ualgobase.h:7, BUILDSTDERR: from cmemlink.h:7, BUILDSTDERR: from memlink.h:7, BUILDSTDERR: from mistream.h:7, BUILDSTDERR: from sistream.h:7, BUILDSTDERR: from ofstream.h:7, BUILDSTDERR: from ofstream.cc:6: BUILDSTDERR: uttraits.h:376:8: error: expected identifier before '__is_assignable' BUILDSTDERR: struct __is_assignable { BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: uttraits.h:376:8: error: expected unqualified-id before '__is_assignable' BUILDSTDERR: uttraits.h:380:89: error: expected '(' before '::' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^~ BUILDSTDERR: ( BUILDSTDERR: uttraits.h:380:91: error: 'test' in namespace '::' does not name a template type BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^~~~ BUILDSTDERR: uttraits.h:380:97: error: expected primary-expression before ',' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^ BUILDSTDERR: uttraits.h:380:99: error: expected primary-expression before '>' token BUILDSTDERR: template struct is_assignable : public decltype(__is_assignable::test(0)) {}; BUILDSTDERR: ^ BUILDSTDERR: In file included from cmemlink.h:7, BUILDSTDERR: from memlink.h:7, BUILDSTDERR: from mistream.h:7, BUILDSTDERR: from sistream.h:7, BUILDSTDERR: from ofstream.h:7, BUILDSTDERR: from ofstream.cc:6: BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = void*; T = char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:293:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(void, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = void*; T = unsigned char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:294:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(void, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = char*; T = char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:297:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(char, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = char*; T = unsigned char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:298:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(char, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = signed char*; T = signed char]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:300:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(int8_t, uint8_t, int8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = short int*; T = short int]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:301:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(int16_t, uint16_t, int16_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = int*; T = int]': BUILDSTDERR: ualgobase.h:292:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { fill ((alias_type*) first, (alias_type*) last, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:303:1: note: in expansion of macro 'FILL_ALIAS_FUNC' BUILDSTDERR: FILL_ALIAS_FUNC(int32_t, uint32_t, int32_t) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = void*; T = char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:333:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(void, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = void*; T = unsigned char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:334:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(void, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = char*; T = char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:337:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(char, uint8_t, char) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = char*; T = unsigned char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:338:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(char, uint8_t, uint8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = signed char*; T = signed char; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:340:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(int8_t, uint8_t, int8_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = short int*; T = short int; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:341:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(int16_t, uint16_t, int16_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ualgobase.h: In function 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = int*; T = int; size_t = long unsigned int]': BUILDSTDERR: ualgobase.h:332:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: { return (type*) fill_n ((alias_type*) first, n, (const alias_type) value); } BUILDSTDERR: ^~~~~ BUILDSTDERR: ualgobase.h:343:1: note: in expansion of macro 'FILL_N_ALIAS_FUNC' BUILDSTDERR: FILL_N_ALIAS_FUNC(int32_t, uint32_t, int32_t) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: make: *** [Makefile:50: .o/ofstream.o] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.koVy2T (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.koVy2T (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ustl.spec