+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/reiserfs-utils.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
warning: Macro expanded in comment on line 7: %{version}.tar.gz

warning: Macro expanded in comment on line 8: %{version}.tar.bz2

warning: bogus date in %changelog: Tue Feb 07 2001 Than Ngo <than@redhat.com>
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.r3SmRB
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf reiserfsprogs-3.6.25
+ /usr/bin/xz -dc /builddir/build/SOURCES/reiserfsprogs-3.6.25.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd reiserfsprogs-3.6.25
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8MCDDE
+ umask 022
+ cd /builddir/build/BUILD
+ cd reiserfsprogs-3.6.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 '
+ 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 '
+ 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  -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  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config.guess'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ '[' 1 = 1 ']'
+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']'
++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh
+ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-static=no
checking build system type... riscv64-redhat-linux-gnu
checking host system type... riscv64-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for riscv64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for riscv64-redhat-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for riscv64-redhat-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for riscv64-redhat-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for riscv64-redhat-linux-gnu-strip... no
checking for strip... strip
checking for riscv64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for riscv64-redhat-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for uuid_generate in -luuid... yes
checking for _et_list in -lcom_err... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking whether -Wuninitialized works... yes
checking whether -Wno-unused-parameter works... yes
checking whether -Wredundant-decls works... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of off_t... 8
checking size of blkcnt_t... 8
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for statfs... yes
checking for getmntent... yes
checking for hasmntopt... yes
checking for memset... yes
checking for time... yes
checking for uname... yes
checking for strptime... yes
checking for ctime_r... yes
checking for register_printf_modifier... yes
checking for register_printf_specifier... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating mkreiserfs/Makefile
config.status: creating mkreiserfs/mkreiserfs.8
config.status: creating resize_reiserfs/Makefile
config.status: creating resize_reiserfs/resize_reiserfs.8
config.status: creating fsck/Makefile
config.status: creating fsck/reiserfsck.8
config.status: creating lib/Makefile
config.status: creating Makefile
config.status: creating reiserfscore/Makefile
config.status: creating reiserfscore/reiserfscore.pc
config.status: creating debugreiserfs/Makefile
config.status: creating debugreiserfs/debugreiserfs.8
config.status: creating tune/Makefile
config.status: creating tune/reiserfstune.8
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:

Type 'make' to compile reiserfsprogs
+ make -j4
Making all in include
make[1]: Entering directory '/builddir/build/BUILD/reiserfsprogs-3.6.25/include'
make  all-am
make[2]: Entering directory '/builddir/build/BUILD/reiserfsprogs-3.6.25/include'
make[2]: Leaving directory '/builddir/build/BUILD/reiserfsprogs-3.6.25/include'
make[1]: Leaving directory '/builddir/build/BUILD/reiserfsprogs-3.6.25/include'
Making all in lib
make[1]: Entering directory '/builddir/build/BUILD/reiserfsprogs-3.6.25/lib'
  CC       io.lo
  CC       misc.lo
  CC       parse_time.lo
  CC       progbar.lo
In file included from parse_time.c:7:0:
../include/misc.h:75:26: error: unknown type name 'loff_t'; did you mean 'off_t'?
 int valid_offset(int fd, loff_t offset);
                          ^~~~~~
                          off_t
In file included from parse_time.c:8:0:
../include/reiserfs_lib.h:175:37: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
           const struct reiserfs_key const *short_key,
                                     ^~~~~
../include/reiserfs_lib.h:181:36: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
          const struct reiserfs_key const *dir_short_key,
                                    ^~~~~
../include/reiserfs_lib.h:185:31: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
     const struct reiserfs_key const *dir_short_key,
                               ^~~~~
../include/reiserfs_lib.h:300:55: error: unknown type name 'loff_t'; did you mean 'off_t'?
 void set_offset(int format, struct reiserfs_key *key, loff_t offset);
                                                       ^~~~~~
                                                       off_t
../include/reiserfs_lib.h:301:64: error: unknown type name 'loff_t'; did you mean 'off_t'?
 void set_type_and_offset(int format, struct reiserfs_key *key, loff_t offset,
                                                                ^~~~~~
                                                                off_t
make[1]: *** [Makefile:369: parse_time.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
io.c: In function 'open_rollback_file':
io.c:606:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
  fread(string, 28, 1, s_rollback_file);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:616:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
  fread(&rollback_blocksize, sizeof(rollback_blocksize), 1,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        s_rollback_file);
        ~~~~~~~~~~~~~~~~
io.c: In function 'do_fsck_rollback':
io.c:707:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
  fread(&rollback_blocks_number, sizeof(rollback_blocks_number), 1,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        s_rollback_file);
        ~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/builddir/build/BUILD/reiserfsprogs-3.6.25/lib'
make: *** [Makefile:377: all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.8MCDDE (%build)


RPM build errors:
    Macro expanded in comment on line 7: %{version}.tar.gz

    Macro expanded in comment on line 8: %{version}.tar.bz2

    bogus date in %changelog: Tue Feb 07 2001 Than Ngo <than@redhat.com>
    Bad exit status from /var/tmp/rpm-tmp.8MCDDE (%build)
++ cleanup
++ set +e
++ sync
++ sleep 5
++ sync
++ poweroff
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
Terminated
++++ cleanup
++++ set +e
++++ sync
++++ sleep 5
++++ sync
++++ poweroff