Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dwarves.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-343274-70014/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dwarves.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'} and shell False warning: bogus date in %changelog: Tue Feb 08 2010 Fedora Release Engineering - 1.8-2 warning: bogus date in %changelog: Wed Jan 18 2007 Arnaldo Carvalho de Melo Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dwarves-1.25-1.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dwarves.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-343274-70014/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dwarves.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'} and shell False warning: bogus date in %changelog: Tue Feb 08 2010 Fedora Release Engineering - 1.8-2 warning: bogus date in %changelog: Wed Jan 18 2007 Arnaldo Carvalho de Melo Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ibdujJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dwarves-1.25 + /usr/bin/xz -dc /builddir/build/SOURCES/dwarves-1.25.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dwarves-1.25 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IrzgQc + umask 022 + cd /builddir/build/BUILD + cd dwarves-1.25 + CFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -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_PREFIX:PATH=/usr -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 -DCMAKE_BUILD_TYPE=Release -DLIBBPF_EMBEDDED=Off . -- The C compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for module 'libbpf>=0.4.0' -- Found libbpf, version 0.5.0 -- Checking availability of DWARF and ELF development libraries -- Looking for dwfl_module_build_id in elf -- Looking for dwfl_module_build_id in elf - found -- Found dwarf.h header: /usr/include -- Found elfutils/libdw.h header: /usr/include -- Found libdw library: /usr/lib64/libdw.so -- Found libelf library: /usr/lib64/libelf.so -- Checking availability of DWARF and ELF development libraries - done -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Checking availability of argp library -- Assuming argp is in libc -- Checking availability of argp library - done -- Checking availability of obstack library -- Assuming obstack is in libc -- Checking availability of obstack library - done -- Performing Test HAVE_REALLOCARRAY_SUPPORT -- Performing Test HAVE_REALLOCARRAY_SUPPORT - Success -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/dwarves-1.25 + /usr/bin/cmake --build . -j64 --verbose /usr/bin/cmake -S/builddir/build/BUILD/dwarves-1.25 -B/builddir/build/BUILD/dwarves-1.25 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/dwarves-1.25/CMakeFiles /builddir/build/BUILD/dwarves-1.25//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/dwarves-1.25' /usr/bin/gmake -f CMakeFiles/dwarves.dir/build.make CMakeFiles/dwarves.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/dwarves-1.25' cd /builddir/build/BUILD/dwarves-1.25 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/dwarves-1.25 /builddir/build/BUILD/dwarves-1.25 /builddir/build/BUILD/dwarves-1.25 /builddir/build/BUILD/dwarves-1.25 /builddir/build/BUILD/dwarves-1.25/CMakeFiles/dwarves.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/dwarves-1.25' /usr/bin/gmake -f CMakeFiles/dwarves.dir/build.make CMakeFiles/dwarves.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/dwarves-1.25' [ 2%] Building C object CMakeFiles/dwarves.dir/dwarves.c.o /usr/bin/cc -DDWARVES_MAJOR_VERSION=1 -DDWARVES_MINOR_VERSION=25 -D_GNU_SOURCE -Ddwarves_EXPORTS -I/builddir/build/BUILD/dwarves-1.25 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fPIC -MD -MT CMakeFiles/dwarves.dir/dwarves.c.o -MF CMakeFiles/dwarves.dir/dwarves.c.o.d -o CMakeFiles/dwarves.dir/dwarves.c.o -c /builddir/build/BUILD/dwarves-1.25/dwarves.c [ 5%] Building C object CMakeFiles/dwarves.dir/dwarves_fprintf.c.o /usr/bin/cc -DDWARVES_MAJOR_VERSION=1 -DDWARVES_MINOR_VERSION=25 -D_GNU_SOURCE -Ddwarves_EXPORTS -I/builddir/build/BUILD/dwarves-1.25 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fPIC -MD -MT CMakeFiles/dwarves.dir/dwarves_fprintf.c.o -MF CMakeFiles/dwarves.dir/dwarves_fprintf.c.o.d -o CMakeFiles/dwarves.dir/dwarves_fprintf.c.o -c /builddir/build/BUILD/dwarves-1.25/dwarves_fprintf.c [ 8%] Building C object CMakeFiles/dwarves.dir/gobuffer.c.o /usr/bin/cc -DDWARVES_MAJOR_VERSION=1 -DDWARVES_MINOR_VERSION=25 -D_GNU_SOURCE -Ddwarves_EXPORTS -I/builddir/build/BUILD/dwarves-1.25 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fPIC -MD -MT CMakeFiles/dwarves.dir/gobuffer.c.o -MF CMakeFiles/dwarves.dir/gobuffer.c.o.d -o CMakeFiles/dwarves.dir/gobuffer.c.o -c /builddir/build/BUILD/dwarves-1.25/gobuffer.c [ 10%] Building C object CMakeFiles/dwarves.dir/ctf_loader.c.o /usr/bin/cc -DDWARVES_MAJOR_VERSION=1 -DDWARVES_MINOR_VERSION=25 -D_GNU_SOURCE -Ddwarves_EXPORTS -I/builddir/build/BUILD/dwarves-1.25 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fPIC -MD -MT CMakeFiles/dwarves.dir/ctf_loader.c.o -MF CMakeFiles/dwarves.dir/ctf_loader.c.o.d -o CMakeFiles/dwarves.dir/ctf_loader.c.o -c /builddir/build/BUILD/dwarves-1.25/ctf_loader.c [ 13%] Building C object CMakeFiles/dwarves.dir/libctf.c.o /usr/bin/cc -DDWARVES_MAJOR_VERSION=1 -DDWARVES_MINOR_VERSION=25 -D_GNU_SOURCE -Ddwarves_EXPORTS -I/builddir/build/BUILD/dwarves-1.25 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fPIC -MD -MT CMakeFiles/dwarves.dir/libctf.c.o -MF CMakeFiles/dwarves.dir/libctf.c.o.d -o CMakeFiles/dwarves.dir/libctf.c.o -c /builddir/build/BUILD/dwarves-1.25/libctf.c [ 16%] Building C object CMakeFiles/dwarves.dir/btf_encoder.c.o /usr/bin/cc -DDWARVES_MAJOR_VERSION=1 -DDWARVES_MINOR_VERSION=25 -D_GNU_SOURCE -Ddwarves_EXPORTS -I/builddir/build/BUILD/dwarves-1.25 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fPIC -MD -MT CMakeFiles/dwarves.dir/btf_encoder.c.o -MF CMakeFiles/dwarves.dir/btf_encoder.c.o.d -o CMakeFiles/dwarves.dir/btf_encoder.c.o -c /builddir/build/BUILD/dwarves-1.25/btf_encoder.c [ 18%] Building C object CMakeFiles/dwarves.dir/btf_loader.c.o /usr/bin/cc -DDWARVES_MAJOR_VERSION=1 -DDWARVES_MINOR_VERSION=25 -D_GNU_SOURCE -Ddwarves_EXPORTS -I/builddir/build/BUILD/dwarves-1.25 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fPIC -MD -MT CMakeFiles/dwarves.dir/btf_loader.c.o -MF CMakeFiles/dwarves.dir/btf_loader.c.o.d -o CMakeFiles/dwarves.dir/btf_loader.c.o -c /builddir/build/BUILD/dwarves-1.25/btf_loader.c [ 24%] Building C object CMakeFiles/dwarves.dir/dwarf_loader.c.o [ 24%] Building C object CMakeFiles/dwarves.dir/dutil.c.o /usr/bin/cc -DDWARVES_MAJOR_VERSION=1 -DDWARVES_MINOR_VERSION=25 -D_GNU_SOURCE -Ddwarves_EXPORTS -I/builddir/build/BUILD/dwarves-1.25 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fPIC -MD -MT CMakeFiles/dwarves.dir/dwarf_loader.c.o -MF CMakeFiles/dwarves.dir/dwarf_loader.c.o.d -o CMakeFiles/dwarves.dir/dwarf_loader.c.o -c /builddir/build/BUILD/dwarves-1.25/dwarf_loader.c /usr/bin/cc -DDWARVES_MAJOR_VERSION=1 -DDWARVES_MINOR_VERSION=25 -D_GNU_SOURCE -Ddwarves_EXPORTS -I/builddir/build/BUILD/dwarves-1.25 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fPIC -MD -MT CMakeFiles/dwarves.dir/dutil.c.o -MF CMakeFiles/dwarves.dir/dutil.c.o.d -o CMakeFiles/dwarves.dir/dutil.c.o -c /builddir/build/BUILD/dwarves-1.25/dutil.c [ 27%] Building C object CMakeFiles/dwarves.dir/elf_symtab.c.o /usr/bin/cc -DDWARVES_MAJOR_VERSION=1 -DDWARVES_MINOR_VERSION=25 -D_GNU_SOURCE -Ddwarves_EXPORTS -I/builddir/build/BUILD/dwarves-1.25 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fPIC -MD -MT CMakeFiles/dwarves.dir/elf_symtab.c.o -MF CMakeFiles/dwarves.dir/elf_symtab.c.o.d -o CMakeFiles/dwarves.dir/elf_symtab.c.o -c /builddir/build/BUILD/dwarves-1.25/elf_symtab.c [ 29%] Building C object CMakeFiles/dwarves.dir/rbtree.c.o /usr/bin/cc -DDWARVES_MAJOR_VERSION=1 -DDWARVES_MINOR_VERSION=25 -D_GNU_SOURCE -Ddwarves_EXPORTS -I/builddir/build/BUILD/dwarves-1.25 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fPIC -MD -MT CMakeFiles/dwarves.dir/rbtree.c.o -MF CMakeFiles/dwarves.dir/rbtree.c.o.d -o CMakeFiles/dwarves.dir/rbtree.c.o -c /builddir/build/BUILD/dwarves-1.25/rbtree.c /builddir/build/BUILD/dwarves-1.25/btf_loader.c: In function 'create_new_tag': /builddir/build/BUILD/dwarves-1.25/btf_loader.c:436:7: error: 'BTF_KIND_TYPE_TAG' undeclared (first use in this function); did you mean 'BTF_KIND_TYPEDEF'? case BTF_KIND_TYPE_TAG: tag->tag = DW_TAG_LLVM_annotation; break; ^~~~~~~~~~~~~~~~~ BTF_KIND_TYPEDEF /builddir/build/BUILD/dwarves-1.25/btf_loader.c:436:7: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/dwarves-1.25/btf_loader.c: In function 'btf__load_types': /builddir/build/BUILD/dwarves-1.25/btf_loader.c:454:36: warning: implicit declaration of function 'btf__type_cnt'; did you mean 'btf__add_int'? [-Wimplicit-function-declaration] for (type_index = 1; type_index < btf__type_cnt(btf); type_index++) { ^~~~~~~~~~~~~ btf__add_int /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:185:3: error: 'BTF_KIND_DECL_TAG' undeclared here (not in a function); did you mean 'BTF_KIND_FLOAT'? [BTF_KIND_DECL_TAG] = "DECL_TAG", ^~~~~~~~~~~~~~~~~ BTF_KIND_FLOAT /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:185:3: error: array index in initializer not of integer type /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:185:3: note: (near initialization for 'btf_kind_str') /builddir/build/BUILD/dwarves-1.25/btf_loader.c:498:8: error: 'BTF_KIND_TYPE_TAG' undeclared (first use in this function); did you mean 'BTF_KIND_TYPEDEF'? case BTF_KIND_TYPE_TAG: ^~~~~~~~~~~~~~~~~ BTF_KIND_TYPEDEF /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:186:3: error: 'BTF_KIND_TYPE_TAG' undeclared here (not in a function); did you mean 'BTF_KIND_TYPEDEF'? [BTF_KIND_TYPE_TAG] = "TYPE_TAG", ^~~~~~~~~~~~~~~~~ BTF_KIND_TYPEDEF /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:186:3: error: array index in initializer not of integer type /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:186:3: note: (near initialization for 'btf_kind_str') gmake[2]: *** [CMakeFiles/dwarves.dir/build.make:163: CMakeFiles/dwarves.dir/btf_loader.c.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... /builddir/build/BUILD/dwarves-1.25/btf_encoder.c: In function 'btf__log_err': /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:216:32: warning: implicit declaration of function 'btf__type_cnt'; did you mean 'btf__add_int'? [-Wimplicit-function-declaration] fprintf(stderr, "[%u] %s %s", btf__type_cnt(btf), ^~~~~~~~~~~~~ btf__add_int /builddir/build/BUILD/dwarves-1.25/btf_encoder.c: In function 'btf_encoder__add_ref_type': /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:439:8: warning: implicit declaration of function 'btf__add_type_tag'; did you mean 'btf__add_typedef'? [-Wimplicit-function-declaration] id = btf__add_type_tag(btf, name, type); ^~~~~~~~~~~~~~~~~ btf__add_typedef /builddir/build/BUILD/dwarves-1.25/btf_encoder.c: In function 'btf_encoder__add_encoder': /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:734:9: warning: implicit declaration of function 'btf__add_btf'; did you mean 'btf__add_ptr'? [-Wimplicit-function-declaration] return btf__add_btf(encoder->btf, other->btf); ^~~~~~~~~~~~ btf__add_ptr /builddir/build/BUILD/dwarves-1.25/btf_encoder.c: In function 'btf_encoder__add_decl_tag': /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:788:7: warning: implicit declaration of function 'btf__add_decl_tag'; did you mean 'btf__add_float'? [-Wimplicit-function-declaration] id = btf__add_decl_tag(btf, value, type, component_idx); ^~~~~~~~~~~~~~~~~ btf__add_float /builddir/build/BUILD/dwarves-1.25/btf_encoder.c: In function 'btf_encoder__write_raw_file': /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:1219:17: warning: implicit declaration of function 'btf__raw_data'; did you mean 'btf__get_raw_data'? [-Wimplicit-function-declaration] raw_btf_data = btf__raw_data(encoder->btf, &raw_btf_size); ^~~~~~~~~~~~~ btf__get_raw_data /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:1219:15: warning: assignment to 'const void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] raw_btf_data = btf__raw_data(encoder->btf, &raw_btf_size); ^ /builddir/build/BUILD/dwarves-1.25/btf_encoder.c: In function 'btf_encoder__write_elf': /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:1296:15: warning: assignment to 'const void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] raw_btf_data = btf__raw_data(btf, &raw_btf_size); ^ /builddir/build/BUILD/dwarves-1.25/btf_encoder.c: In function 'btf_encoder__encode': /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:1369:6: error: too few arguments to function 'btf__dedup' if (btf__dedup(encoder->btf, NULL)) { ^~~~~~~~~~ In file included from /builddir/build/BUILD/dwarves-1.25/btf_encoder.c:18: /usr/include/bpf/btf.h:143:16: note: declared here LIBBPF_API int btf__dedup(struct btf *btf, struct btf_ext *btf_ext, ^~~~~~~~~~ gmake[2]: *** [CMakeFiles/dwarves.dir/build.make:149: CMakeFiles/dwarves.dir/btf_encoder.c.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/dwarves-1.25' gmake[1]: Leaving directory '/builddir/build/BUILD/dwarves-1.25' gmake[1]: *** [CMakeFiles/Makefile2:162: CMakeFiles/dwarves.dir/all] Error 2 gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.IrzgQc (%build) RPM build errors: bogus date in %changelog: Tue Feb 08 2010 Fedora Release Engineering - 1.8-2 bogus date in %changelog: Wed Jan 18 2007 Arnaldo Carvalho de Melo Bad exit status from /var/tmp/rpm-tmp.IrzgQc (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status 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 x86_64 --nodeps /builddir/build/SPECS/dwarves.spec