D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
warning: %make is deprecated, use %make_build instead
Installing /home/iurt/rpmbuild/SRPMS/taper-7.0-0.pre1.20.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.OYFMdD
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf taper-7.0pre-1
+ /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/taper-7.0pre1.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd taper-7.0pre-1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (taper-7.0pre1-remove-conflicting-type.patch):'
Patch #1 (taper-7.0pre1-remove-conflicting-type.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .type_conflict --fuzz=0
patching file non-ansi.h
+ echo 'Patch #2 (taper-7.0pre-1-umode_t.patch):'
Patch #2 (taper-7.0pre-1-umode_t.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .umode_t --fuzz=0
patching file config.h
patching file select_box.c
patching file select_box.h
+ echo 'Patch #3 (taper-7.0pre1-LDFLAGS.diff):'
Patch #3 (taper-7.0pre1-LDFLAGS.diff):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .LDFLAGS --fuzz=0
patching file Makefile
+ find . -name CVS -type d
+ xargs rm -rf
+ sed -i -e 's|755 --strip|755|g' Makefile
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.v5l3pQ
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd taper-7.0pre-1
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/make -O -j8 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
echo "#define CUR_VERSION \""7.0pre-1"\"" > version.h
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o vars.o -c vars.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o endianize.o -c endianize.c
endianize.c: In function 'mach2littlekey':
endianize.c:303:36: warning: passing argument 1 of 'mach2littleu64' from incompatible pointer type [-Wincompatible-pointer-types]
  303 |     k1->fname_pos = mach2littleu64(&k->fname_pos);
      |                                    ^~~~~~~~~~~~~
      |                                    |
      |                                    off_t * {aka long int *}
endianize.c:134:27: note: expected '_u64 *' {aka 'long long unsigned int *'} but argument is of type 'off_t *' {aka 'long int *'}
  134 | _u64 mach2littleu64(_u64 *s)
      |                     ~~~~~~^
endianize.c:304:33: warning: pointer targets in passing argument 1 of 'mach2littleu32' differ in signedness [-Wpointer-sign]
  304 |     k1->volume = mach2littleu32(&k->volume);
      |                                 ^~~~~~~~~~
      |                                 |
      |                                 _s32 * {aka int *}
endianize.c:209:28: note: expected '_u32 *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  209 |  _u32 mach2littleu32(_u32 *s)
      |                      ~~~~~~^
endianize.c: In function 'little2machkey':
endianize.c:312:36: warning: passing argument 1 of 'little2machu64' from incompatible pointer type [-Wincompatible-pointer-types]
  312 |     k1->fname_pos = little2machu64(&k->fname_pos);
      |                                    ^~~~~~~~~~~~~
      |                                    |
      |                                    off_t * {aka long int *}
endianize.c:153:27: note: expected '_u64 *' {aka 'long long unsigned int *'} but argument is of type 'off_t *' {aka 'long int *'}
  153 | _u64 little2machu64(_u64 *s)
      |                     ~~~~~~^
endianize.c:313:33: warning: pointer targets in passing argument 1 of 'little2machu32' differ in signedness [-Wpointer-sign]
  313 |     k1->volume = little2machu32(&k->volume);
      |                                 ^~~~~~~~~~
      |                                 |
      |                                 _s32 * {aka int *}
endianize.c:228:28: note: expected '_u32 *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  228 |  _u32 little2machu32(_u32 *s)
      |                      ~~~~~~^
endianize.c: In function 'ifk_node_endianize2little':
endianize.c:322:28: warning: pointer targets in passing argument 1 of 'mach2littleu32' differ in signedness [-Wpointer-sign]
  322 |     n1->n = mach2littleu32(&n->n);
      |                            ^~~~~
      |                            |
      |                            int *
endianize.c:209:28: note: expected '_u32 *' {aka 'unsigned int *'} but argument is of type 'int *'
  209 |  _u32 mach2littleu32(_u32 *s)
      |                      ~~~~~~^
endianize.c: In function 'ifk_node_endianize2mach':
endianize.c:334:28: warning: pointer targets in passing argument 1 of 'little2machu32' differ in signedness [-Wpointer-sign]
  334 |     n1->n = little2machu32(&n->n);
      |                            ^~~~~
      |                            |
      |                            int *
endianize.c:228:28: note: expected '_u32 *' {aka 'unsigned int *'} but argument is of type 'int *'
  228 |  _u32 little2machu32(_u32 *s)
      |                      ~~~~~~^
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o rtapelib.o -c rtapelib.c
rtapelib.c: In function '__rmt_open':
rtapelib.c:363:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result]
  363 |       dup (to_rmt[i][0]);
      |       ^~~~~~~~~~~~~~~~~~
rtapelib.c:368:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result]
  368 |       dup (from_rmt[i][1]);
      |       ^~~~~~~~~~~~~~~~~~~~
rtapelib.c:372:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  372 |       setuid (getuid ());
      |       ^~~~~~~~~~~~~~~~~~
rtapelib.c:373:7: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
  373 |       setgid (getgid ());
      |       ^~~~~~~~~~~~~~~~~~
rtapelib.c:415:24: warning: '
   ' directive writing 1 byte into a region of size between 0 and 63 [-Wformat-overflow=]
  415 |   sprintf (buffer, "O%s\n%d\n", device, oflag);
      |                        ^~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from rtapelib.c:34:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 78 bytes into a destination of size 64
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o backup.o -c backup.c
In file included from taper.h:55,
                 from backup.c:94:
backup.c: In function 'check_backup':
backup.c:926:21: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
  926 |     if ((fd=rmtopen(tape, O_RDONLY, S_IRWXU)) == -1) {
      |                     ^~~~
      |                     |
      |                     signed char *
rmt.h:67:62: note: in definition of macro '_remdev'
   67 | #define _remdev(path)   (!f_force_local && (__rmt_path=index(path, ':')))
      |                                                              ^~~~
backup.c:926:13: note: in expansion of macro 'rmtopen'
  926 |     if ((fd=rmtopen(tape, O_RDONLY, S_IRWXU)) == -1) {
      |             ^~~~~~~
In file included from taper.h:18,
                 from backup.c:94:
/usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'signed char *'
  230 | extern char *strchr (const char *__s, int __c)
      |                      ~~~~~~~~~~~~^~~
In file included from taper.h:55,
                 from backup.c:94:
backup.c:926:21: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
  926 |     if ((fd=rmtopen(tape, O_RDONLY, S_IRWXU)) == -1) {
      |                     ^~~~
      |                     |
      |                     signed char *
rmt.h:70:100: note: in definition of macro 'rmtopen'
   70 | #define rmtopen(path,oflag,mode) (_remdev(path) ? __rmt_open(path, oflag, mode, __REM_BIAS) : open(path, oflag, mode))
      |                                                                                                    ^~~~
In file included from /usr/include/fcntl.h:329,
                 from taper.h:26,
                 from backup.c:94:
/usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'signed char *'
   41 | open (const char *__path, int __oflag, ...)
      |       ~~~~~~~~~~~~^~~~~~
backup.c:930:25: warning: pointer targets in passing argument 1 of 'creat' differ in signedness [-Wpointer-sign]
  930 |             close(creat(tape, S_IREAD|S_IWRITE));
      |                         ^~~~
      |                         |
      |                         signed char *
In file included from taper.h:26,
                 from backup.c:94:
/usr/include/fcntl.h:242:31: note: expected 'const char *' but argument is of type 'signed char *'
  242 | extern int creat (const char *__file, mode_t __mode) __nonnull ((1));
      |                   ~~~~~~~~~~~~^~~~~~
backup.c:938:32: warning: pointer targets in passing argument 2 of 'do_read_vol_dir' differ in signedness [-Wpointer-sign]
  938 |         x= do_read_vol_dir(-1, tape, O_RDWR, append, FALSE, TRUE);
      |                                ^~~~
      |                                |
      |                                signed char *
In file included from taper.h:50,
                 from backup.c:94:
common.h:26:56: note: expected 'char *' but argument is of type 'signed char *'
   26 | extern _errstat do_read_vol_dir(_u32 archive_id, char *tape, int mode, _s8 rvdir, _s8 exist, _s8 open_index);
      |                                                  ~~~~~~^~~~
backup.c:976:20: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
  976 |             unlink(tape);                                /* regular files get deleted */
      |                    ^~~~
      |                    |
      |                    signed char *
In file included from taper.h:27,
                 from backup.c:94:
/usr/include/unistd.h:838:32: note: expected 'const char *' but argument is of type 'signed char *'
  838 | extern int unlink (const char *__name) __THROW __nonnull ((1));
      |                    ~~~~~~~~~~~~^~~~~~
backup.c:977:25: warning: pointer targets in passing argument 1 of 'creat' differ in signedness [-Wpointer-sign]
  977 |             close(creat(tape, S_IREAD|S_IWRITE));/* and re-created to get zero length */
      |                         ^~~~
      |                         |
      |                         signed char *
In file included from taper.h:26,
                 from backup.c:94:
/usr/include/fcntl.h:242:31: note: expected 'const char *' but argument is of type 'signed char *'
  242 | extern int creat (const char *__file, mode_t __mode) __nonnull ((1));
      |                   ~~~~~~~~~~~~^~~~~~
backup.c: In function 'backup_file':
backup.c:202:9: warning: ignoring return value of 'readlink' declared with attribute 'warn_unused_result' [-Wunused-result]
  202 |         readlink(fn, tmpf, sizeof(tmpf));        /* is written */
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c: In function 'do_backup':
backup.c:642:15: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  642 |               chdir(original_cur_dir);
      |               ^~~~~~~~~~~~~~~~~~~~~~~
backup.c:782:14: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  782 |     if (mf) {write(mf, sa[2], strlen(sa[2])); write(mf, "\n", 1);}
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:782:47: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  782 |     if (mf) {write(mf, sa[2], strlen(sa[2])); write(mf, "\n", 1);}
      |                                               ^~~~~~~~~~~~~~~~~~
backup.c:790:14: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  790 |     if (mf) {write(mf, sa[3], strlen(sa[3])); write(mf, "\n", 1);}
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:790:47: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  790 |     if (mf) {write(mf, sa[3], strlen(sa[3])); write(mf, "\n", 1);}
      |                                               ^~~~~~~~~~~~~~~~~~
backup.c:794:14: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  794 |     if (mf) {write(mf, sa[5], strlen(sa[5])); write(mf, "\n", 1);}
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:794:47: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  794 |     if (mf) {write(mf, sa[5], strlen(sa[5])); write(mf, "\n", 1);}
      |                                               ^~~~~~~~~~~~~~~~~~
backup.c:799:14: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  799 |     if (mf) {write(mf, sa[6], strlen(sa[6])); write(mf, "\n", 1);}
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:799:47: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  799 |     if (mf) {write(mf, sa[6], strlen(sa[6])); write(mf, "\n", 1);}
      |                                               ^~~~~~~~~~~~~~~~~~
backup.c:803:14: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  803 |     if (mf) {write(mf, sa[8], strlen(sa[8])); write(mf, "\n", 1);}
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:803:47: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  803 |     if (mf) {write(mf, sa[8], strlen(sa[8])); write(mf, "\n", 1);}
      |                                               ^~~~~~~~~~~~~~~~~~
backup.c: In function 'add_to_set':
backup.c:819:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  819 |                 write(mf, "  Selected ", strlen("  Selected "));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:823:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  823 |                 write(mf, "  Excluded ", strlen("  Excluded "));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:825:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  825 |             write(mf, ln, strlen(ln));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:826:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  826 |             write(mf, " from fileset\n", strlen(" from fileset\n"));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c: In function 'read_in_fileset':
backup.c:856:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  856 |                 write(mf, ln, strlen(ln));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:858:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  858 |                 write(mf, ln, strlen(ln));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:866:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  866 |                     write(mf, ln, strlen(ln));
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:870:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  870 |                 write(mf, ln, strlen(ln));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:875:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  875 |                         write(mf, ln, strlen(ln));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:877:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  877 |                         write(mf, ln, strlen(ln));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:885:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  885 |                         write(mf, s, strlen(s));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
backup.c:893:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  893 |                     write(mf, s, strlen(s));
      |                     ^~~~~~~~~~~~~~~~~~~~~~~
backup.c:901:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  901 |     write(mf, ln, strlen(ln));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:907:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  907 |             if (mf) write(mf, s, strlen(s));
      |                     ^~~~~~~~~~~~~~~~~~~~~~~
backup.c:909:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  909 |             if (mf) write(mf, "Backup NOT made\n", strlen("Backup NOT made\n"));
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c: In function 'check_backup':
backup.c:948:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  948 |                 if (mf) write(mf, "Unknown data on tape. Tape not overwritten.\n",
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  949 |                               strlen("Unknown data on tape. Tape not overwritten.\n"));
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c:950:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  950 |                 if (mf) write(mf, "Use --tape-overwrite-on [+O] to force overwriting\n",
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  951 |                               strlen("Use --tape-overwrite-on [+O] to force overwriting\n"));
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c: In function 'taper_backup':
backup.c:1048:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
 1048 |         chdir(cur_dir);
      |         ^~~~~~~~~~~~~~
backup.c:1058:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1058 |         getcwd(cur_dir, sizeof(cur_dir));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backup.c: In function 'backup_file':
backup.c:257:75: warning: '] - saving uncompressed' directive writing 23 bytes into a region of size between 9 and 263 [-Wformat-overflow=]
  257 |                 sprintf(l, "Mismatch reading in FIFO output for %s [got %s] - saving uncompressed", fn, fn_child);
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from backup.c:94:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 66 or more bytes (assuming 320) into a destination of size 305
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
backup.c:242:73: warning: ' - saving uncompressed' directive writing 22 bytes into a region of size between 9 and 263 [-Wformat-overflow=]
  242 |                 sprintf(l, "EOF while reading filenames from FIFO for %s - saving uncompressed", fn);
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from backup.c:94:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 65 and 319 bytes into a destination of size 305
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
backup.c:235:81: warning: ' - saving uncompressed' directive writing 22 bytes into a region of size between 1 and 255 [-Wformat-overflow=]
  235 |                 sprintf(l, "Fatal error while reading filenames from FIFO for %s - saving uncompressed", fn);
      |                                                                                 ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from backup.c:94:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 73 and 327 bytes into a destination of size 305
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
backup.c:354:23: warning: ' grew while writing. Data at...' directive writing 54 bytes into a region of size between 51 and 305 [-Wformat-overflow=]
  354 |         sprintf(l, "%s grew while writing. Data at end of file not backed up", fn);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from backup.c:94:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 55 and 309 bytes into a destination of size 305
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
backup.c:206:47: warning: '%s' directive writing up to 254 bytes into a region of size between 27 and 281 [-Wformat-overflow=]
  206 |         sprintf(l, "Writing link name for %s [%s]", fn, tmpf);
      |                                               ^~        ~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from backup.c:94:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 26 and 534 bytes into a destination of size 305
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
backup.c: In function 'do_backup.part.0':
backup.c:644:54: warning: '%s' directive writing up to 254 bytes into a region of size 233 [-Wformat-overflow=]
  644 |               sprintf(tmpbuf, "B:Executing bg_backup %s %d %s %s %d %d \"%s\" %s %d",
      |                                                      ^~
  645 |                       log_file, log_level, cfile, fifo_name, compression, shm_id, exclude_compress, temp_dir, min_free);
      |                       ~~~~~~~~                        
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from backup.c:94:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 37 or more bytes (assuming 1053) into a destination of size 255
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
backup.c: In function 'read_in_fileset':
backup.c:892:42: warning: '%s' directive writing up to 254 bytes into a region of size 246 [-Wformat-overflow=]
  892 |                     sprintf(s, "WARNING: %s is not found\n", ln);
      |                                          ^~                  ~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from backup.c:94:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 24 and 278 bytes into a destination of size 255
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
backup.c: In function 'check_backup':
backup.c:994:35: warning: 'taper_info.' directive writing 11 bytes into a region of size between 1 and 255 [-Wformat-overflow=]
  994 |             sprintf(info_file, "%staper_info.%u.%d", info_file, oldarch, x);
      |                                   ^~~~~~~~~~~
backup.c:994:32: note: using the range [0, 4294967295] for directive argument
  994 |             sprintf(info_file, "%staper_info.%u.%d", info_file, oldarch, x);
      |                                ^~~~~~~~~~~~~~~~~~~~
backup.c:994:32: note: directive argument in the range [0, 2]
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from backup.c:94:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 15 and 278 bytes into a destination of size 255
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
make depend
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/taper-7.0pre-1'
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/taper-7.0pre-1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/taper-7.0pre-1'
gcc -M -I/usr/include/ncurses vars.c common.c endianize.c tapeio.c rtapelib.c sel_backup.c backup.c sel_restore.c restore.c utils.c mkinfo.c taper.c  bg_backup.c  \
     bg_restore.c  memory.c common_bg.c select_box.c bg_vars.c mtree.c library.c fifo.c > .depend
make -C compress depend
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/taper-7.0pre-1/compress'
gcc -M -I/usr/include/ncurses zip.c unzip.c bits.c trees.c deflate.c inflate.c util.c lzrw3.c  > .depend
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/taper-7.0pre-1/compress'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/taper-7.0pre-1'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o utils.o -c utils.c
utils.c: In function 'utils_whereproc':
utils.c:342:41: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type '__dev_t' {aka 'long unsigned int'} [-Wformat=]
  342 |         sprintf(s1, "%s is on device %lld", s, buf.st_dev);
      |                                      ~~~^      ~~~~~~~~~~
      |                                         |         |
      |                                         |         __dev_t {aka long unsigned int}
      |                                         long long int
      |                                      %ld
utils.c: In function 'utils_reindex':
utils.c:481:31: warning: pointer targets in passing argument 2 of 'do_read_vol_dir' differ in signedness [-Wpointer-sign]
  481 |     if (do_read_vol_dir(arch, tape, O_RDONLY, TRUE, TRUE, FALSE) == -1)
      |                               ^~~~
      |                               |
      |                               signed char *
In file included from taper.h:50,
                 from utils.c:14:
common.h:26:56: note: expected 'char *' but argument is of type 'signed char *'
   26 | extern _errstat do_read_vol_dir(_u32 archive_id, char *tape, int mode, _s8 rvdir, _s8 exist, _s8 open_index);
      |                                                  ~~~~~~^~~~
utils.c:460:17: warning: variable 'vols' set but not used [-Wunused-but-set-variable]
  460 |     static _s32 vols;                            /* needs to be */
      |                 ^~~~
utils.c: In function 'utils_recover':
utils.c:695:9: warning: implicit declaration of function 'restore_ed_engine' [-Wimplicit-function-declaration]
  695 |         restore_ed_engine(&ifd, lns);
      |         ^~~~~~~~~~~~~~~~~
utils.c: In function 'utils_testlinks_dpd':
utils.c:598:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
  598 |     getcwd(olddir, sizeof(olddir));              /* save current directory */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils.c:600:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
  600 |     getcwd(curdir, sizeof(curdir));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils.c:605:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  605 |         chdir(olddir);
      |         ^~~~~~~~~~~~~
utils.c:611:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  611 |             chdir(olddir);
      |             ^~~~~~~~~~~~~
utils.c: In function 'utils_testlinks':
utils.c:631:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
  631 |     getcwd(olddir, sizeof(olddir));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils.c:632:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  632 |     chdir(s); getcwd(s, sizeof(s));
      |     ^~~~~~~~
utils.c:632:15: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
  632 |     chdir(s); getcwd(s, sizeof(s));
      |               ^~~~~~~~~~~~~~~~~~~~
utils.c:633:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  633 |     chdir(olddir);
      |     ^~~~~~~~~~~~~
utils.c: In function 'utils_whereproc':
utils.c:342:24: warning: ' is on device ' directive writing 14 bytes into a region of size between 1 and 255 [-Wformat-overflow=]
  342 |         sprintf(s1, "%s is on device %lld", s, buf.st_dev);
      |                        ^~~~~~~~~~~~~~
utils.c:342:21: note: using the range [-9223372036854775808, 9223372036854775807] for directive argument
  342 |         sprintf(s1, "%s is on device %lld", s, buf.st_dev);
      |                     ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from utils.c:14:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 16 and 289 bytes into a destination of size 255
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o sel_restore.o -c sel_restore.c
sel_restore.c: In function 'restore_update_selected_sizes':
sel_restore.c:104:44: warning: pointer targets in passing argument 4 of 'ntraverse' differ in signedness [-Wpointer-sign]
  104 |             x = ntraverse(0, &i_key, NULL, &rec, TRAVERSE_SEARCH, INFO_NAME);
      |                                            ^~~~
      |                                            |
      |                                            _s32 * {aka int *}
In file included from taper.h:50,
                 from sel_restore.c:14:
common.h:119:26: note: expected 'dskblk *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  119 |                  dskblk *rec, char command, int index); /* Traverse the tree */
      |                  ~~~~~~~~^~~
sel_restore.c:122:48: warning: pointer targets in passing argument 4 of 'ntraverse' differ in signedness [-Wpointer-sign]
  122 |                 x = ntraverse(0, &i_key, NULL, &rec, TRAVERSE_CONTINUE, INFO_NAME);
      |                                                ^~~~
      |                                                |
      |                                                _s32 * {aka int *}
In file included from taper.h:50,
                 from sel_restore.c:14:
common.h:119:26: note: expected 'dskblk *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  119 |                  dskblk *rec, char command, int index); /* Traverse the tree */
      |                  ~~~~~~~~^~~
sel_restore.c: In function 'restore_print_voldir_line':
sel_restore.c:180:15: warning: variable 't' set but not used [-Wunused-but-set-variable]
  180 |     struct tm t;
      |               ^
sel_restore.c: In function 'make_mydir':
sel_restore.c:525:36: warning: pointer targets in passing argument 4 of 'ntraverse' differ in signedness [-Wpointer-sign]
  525 |     if (ntraverse(0, &i_key, NULL, &c, TRAVERSE_SEARCH, INFO_NAME) == 2) return;
      |                                    ^~
      |                                    |
      |                                    _s32 * {aka int *}
In file included from taper.h:50,
                 from sel_restore.c:14:
common.h:119:26: note: expected 'dskblk *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  119 |                  dskblk *rec, char command, int index); /* Traverse the tree */
      |                  ~~~~~~~~^~~
sel_restore.c:559:40: warning: pointer targets in passing argument 4 of 'ntraverse' differ in signedness [-Wpointer-sign]
  559 |         if (ntraverse(0, &i_key, NULL, &c, TRAVERSE_CONTINUE, INFO_NAME) != 0) break;
      |                                        ^~
      |                                        |
      |                                        _s32 * {aka int *}
In file included from taper.h:50,
                 from sel_restore.c:14:
common.h:119:26: note: expected 'dskblk *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  119 |                  dskblk *rec, char command, int index); /* Traverse the tree */
      |                  ~~~~~~~~^~~
sel_restore.c: In function 'select_restore_files':
sel_restore.c:701:56: warning: pointer targets in passing argument 4 of 'ntraverse' differ in signedness [-Wpointer-sign]
  701 |                         if (ntraverse(0, &i_key, NULL, &c, TRAVERSE_SEARCH, INFO_NAME))
      |                                                        ^~
      |                                                        |
      |                                                        _s32 * {aka int *}
In file included from taper.h:50,
                 from sel_restore.c:14:
common.h:119:26: note: expected 'dskblk *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  119 |                  dskblk *rec, char command, int index); /* Traverse the tree */
      |                  ~~~~~~~~^~~
sel_restore.c:705:64: warning: pointer targets in passing argument 4 of 'ntraverse' differ in signedness [-Wpointer-sign]
  705 |                                 x = ntraverse(0, &i_key, NULL, &c, TRAVERSE_CONTINUE,
      |                                                                ^~
      |                                                                |
      |                                                                _s32 * {aka int *}
In file included from taper.h:50,
                 from sel_restore.c:14:
common.h:119:26: note: expected 'dskblk *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  119 |                  dskblk *rec, char command, int index); /* Traverse the tree */
      |                  ~~~~~~~~^~~
sel_restore.c:713:68: warning: pointer targets in passing argument 4 of 'ntraverse' differ in signedness [-Wpointer-sign]
  713 |                                     x = ntraverse(0, &i_key, NULL, &c, TRAVERSE_TOP,
      |                                                                    ^~
      |                                                                    |
      |                                                                    _s32 * {aka int *}
In file included from taper.h:50,
                 from sel_restore.c:14:
common.h:119:26: note: expected 'dskblk *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  119 |                  dskblk *rec, char command, int index); /* Traverse the tree */
      |                  ~~~~~~~~^~~
sel_restore.c:752:46: warning: pointer targets in passing argument 5 of 'adjust_cur_entry' differ in signedness [-Wpointer-sign]
  752 |                                              &in_dir, c+1);
      |                                              ^~~~~~~
      |                                              |
      |                                              _s32 * {aka int *}
In file included from taper.h:43,
                 from sel_restore.c:14:
select_box.h:83:29: note: expected '_u32 *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
   83 |                       _u32 *no_entries, _s32 cur_entry);
      |                       ~~~~~~^~~~~~~~~~
sel_restore.c:758:38: warning: pointer targets in passing argument 5 of 'adjust_cur_entry' differ in signedness [-Wpointer-sign]
  758 |                                      &in_dir, c+1);
      |                                      ^~~~~~~
      |                                      |
      |                                      _s32 * {aka int *}
In file included from taper.h:43,
                 from sel_restore.c:14:
select_box.h:83:29: note: expected '_u32 *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
   83 |                       _u32 *no_entries, _s32 cur_entry);
      |                       ~~~~~~^~~~~~~~~~
sel_restore.c:862:48: warning: pointer targets in passing argument 4 of 'ntraverse' differ in signedness [-Wpointer-sign]
  862 |                 if (ntraverse(0, &i_key, NULL, &c, TRAVERSE_SEARCH, INFO_NAME))
      |                                                ^~
      |                                                |
      |                                                _s32 * {aka int *}
In file included from taper.h:50,
                 from sel_restore.c:14:
common.h:119:26: note: expected 'dskblk *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  119 |                  dskblk *rec, char command, int index); /* Traverse the tree */
      |                  ~~~~~~~~^~~
sel_restore.c: In function 'restore_restore_backupset':
sel_restore.c:577:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  577 |         fgets(ln, sizeof(ln), f);                /* get name */
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
sel_restore.c:593:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  593 |         fgets(ln, sizeof(ln), f);                /* ignore filter */
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
sel_restore.c: In function 'restore_print_vol_dir':
sel_restore.c:232:33: warning: 's' is used uninitialized [-Wuninitialized]
  232 |     if (strlen(s1) > win->_maxx-strlen(s)-2) { /* make sure dir name not too long */
      |                                 ^~~~~~~~~
In file included from taper.h:18,
                 from sel_restore.c:14:
/usr/include/string.h:391:15: note: by argument 1 of type 'const char *' to 'strlen' declared here
  391 | extern size_t strlen (const char *__s)
      |               ^~~~~~
sel_restore.c:225:12: note: 's' declared here
  225 |     char   s[50], s1[MAX_FNAME], s2[MAX_FNAME];
      |            ^
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o sel_backup.o -c sel_backup.c
sel_backup.c: In function 'backup_del_cur_selected_entry_engine':
sel_backup.c:744:12: warning: variable 'mode' set but not used [-Wunused-but-set-variable]
  744 |     mode_t mode;
      |            ^~~~
sel_backup.c: In function 'backup_del_cur_exclude_entry_engine':
sel_backup.c:766:12: warning: variable 'mode' set but not used [-Wunused-but-set-variable]
  766 |     mode_t mode;
      |            ^~~~
sel_backup.c: In function 'backup_select_files':
sel_backup.c:1004:80: warning: pointer targets in passing argument 5 of 'adjust_cur_entry' differ in signedness [-Wpointer-sign]
 1004 |                         adjust_cur_entry(files, &dir_sd, backup_print_dir, &p, &directory_count, c);
      |                                                                                ^~~~~~~~~~~~~~~~
      |                                                                                |
      |                                                                                _s32 * {aka int *}
In file included from taper.h:43,
                 from sel_backup.c:14:
select_box.h:83:29: note: expected '_u32 *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
   83 |                       _u32 *no_entries, _s32 cur_entry);
      |                       ~~~~~~^~~~~~~~~~
sel_backup.c:1016:88: warning: pointer targets in passing argument 5 of 'adjust_cur_entry' differ in signedness [-Wpointer-sign]
 1016 |                                 adjust_cur_entry(files, &dir_sd, backup_print_dir, &p, &directory_count, c);
      |                                                                                        ^~~~~~~~~~~~~~~~
      |                                                                                        |
      |                                                                                        _s32 * {aka int *}
In file included from taper.h:43,
                 from sel_backup.c:14:
select_box.h:83:29: note: expected '_u32 *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
   83 |                       _u32 *no_entries, _s32 cur_entry);
      |                       ~~~~~~^~~~~~~~~~
sel_backup.c:1115:25: warning: the address of 'old_dir' will always evaluate as 'true' [-Waddress]
 1115 |                     if (old_dir)
      |                         ^~~~~~~
sel_backup.c: In function 'backup_restore_backupset':
sel_backup.c:802:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
  802 |     getcwd(x, sizeof(x));
      |     ^~~~~~~~~~~~~~~~~~~~
sel_backup.c:806:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  806 |     chdir(x);
      |     ^~~~~~~~
sel_backup.c: In function 'backup_select_files':
sel_backup.c:1112:19: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1112 |                   getcwd(cur_dir, MAX_FNAME);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
sel_backup.c:1138:41: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1138 |                                         getcwd(cur_dir, MAX_FNAME);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o memory.o -c memory.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o restore.o -c restore.c
restore.c: In function 'read_vol_dir':
restore.c:575:37: warning: pointer targets in passing argument 2 of 'do_read_vol_dir' differ in signedness [-Wpointer-sign]
  575 |     if (do_read_vol_dir(archive_id, tape, O_RDONLY, TRUE, TRUE, TRUE) ==  TAPE_EXIST)
      |                                     ^~~~
      |                                     |
      |                                     signed char *
In file included from taper.h:50,
                 from restore.c:15:
common.h:26:56: note: expected 'char *' but argument is of type 'signed char *'
   26 | extern _errstat do_read_vol_dir(_u32 archive_id, char *tape, int mode, _s8 rvdir, _s8 exist, _s8 open_index);
      |                                                  ~~~~~~^~~~
restore.c: In function 'print_diff':
restore.c:652:15: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  652 |               while (*xx++); xx +=sizeof(_s32); while (*xx++);
      |               ^~~~~
restore.c:652:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  652 |               while (*xx++); xx +=sizeof(_s32); while (*xx++);
      |                              ^~
restore.c: In function 'print_voldir':
restore.c:729:36: warning: pointer targets in passing argument 4 of 'ntraverse' differ in signedness [-Wpointer-sign]
  729 |     x = ntraverse(0, &i_key, NULL, &c, TRAVERSE_TOP, INFO_NAME);
      |                                    ^~
      |                                    |
      |                                    _s32 * {aka int *}
In file included from taper.h:50,
                 from restore.c:15:
common.h:119:26: note: expected 'dskblk *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  119 |                  dskblk *rec, char command, int index); /* Traverse the tree */
      |                  ~~~~~~~~^~~
restore.c:743:40: warning: pointer targets in passing argument 4 of 'ntraverse' differ in signedness [-Wpointer-sign]
  743 |         x = ntraverse(0, &i_key, NULL, &c, TRAVERSE_CONTINUE, INFO_NAME);
      |                                        ^~
      |                                        |
      |                                        _s32 * {aka int *}
In file included from taper.h:50,
                 from restore.c:15:
common.h:119:26: note: expected 'dskblk *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  119 |                  dskblk *rec, char command, int index); /* Traverse the tree */
      |                  ~~~~~~~~^~~
restore.c: In function 'restore_start_child':
restore.c:316:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  316 |         chdir(original_cur_dir);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
restore.c: In function 'restore_mfn':
restore.c:766:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  766 |         read(fd, &ifd, sizeof(ifd));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
restore.c: In function 'taper_restore':
restore.c:971:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  971 |         chdir(original_cur_dir);                 /* change directory to ensure */
      |         ^~~~~~~~~~~~~~~~~~~~~~~
restore.c: In function 'restore_start_child':
restore.c:318:44: warning: '%s' directive writing up to 254 bytes into a region of size 177 [-Wformat-overflow=]
  318 |         sprintf(l, "R:Executing bg_restore %s %d %s %d %d %d \"%s\"",
      |                                            ^~
  319 |                 log_file, log_level, fifo_name, shm_id, ovrwrite, restore_mode, temp_dir);
      |                 ~~~~~~~~                    
restore.c:318:20: note: directive argument in the range [-128, 127]
  318 |         sprintf(l, "R:Executing bg_restore %s %d %s %d %d %d \"%s\"",
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from restore.c:15:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 36 and 831 bytes into a destination of size 200
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
restore.c: In function 'select_archive':
restore.c:863:20: warning: '/taper_info.' directive writing 12 bytes into a region of size between 1 and 255 [-Wformat-overflow=]
  863 |     sprintf(df, "%s/taper_info.%lld", taper_info_files, th.archive_id);
      |                    ^~~~~~~~~~~~
restore.c:863:17: note: using the range [-9223372036854775808, 9223372036854775807] for directive argument
  863 |     sprintf(df, "%s/taper_info.%lld", taper_info_files, th.archive_id);
      |                 ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from restore.c:15:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 14 and 287 bytes into a destination of size 255
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o bg_vars.o -c bg_vars.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o library.o -c library.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o mkinfo.o -c mkinfo.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o common_bg.o -c common_bg.c
common_bg.c: In function 'mail_finish':
common_bg.c:29:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   29 |     write(mf, s, strlen(s));
      |     ^~~~~~~~~~~~~~~~~~~~~~~
common_bg.c: In function 'sendmail':
common_bg.c:41:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
   41 |     system(s);
      |     ^~~~~~~~~
common_bg.c: In function 'do_exit':
common_bg.c:65:12: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   65 |            write(lf, "\n\n", strlen("\n\n"));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common_bg.c:72:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   72 |         write(mf, err, strlen(err));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
common_bg.c:74:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   74 |         write(mf, err, strlen(err));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
common_bg.c: In function 'write_log':
common_bg.c:154:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  154 |     write(lf, s2, strlen(s2));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
common_bg.c: In function 'my_filecopy':
common_bg.c:347:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  347 |         write(newfd, tr_buffer, x);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
common_bg.c: In function 'sendmail':
common_bg.c:40:56: warning: '%s' directive writing up to 254 bytes into a region of size 214 [-Wformat-overflow=]
   40 |     sprintf(s, "%s %s -s \"Taper Unattended Backup\" < %s", MAIL_PROG, MAIL_TO, mailfn);   /* send mail */
      |                                                        ^~                       ~~~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from common_bg.c:18:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 42 and 296 bytes into a destination of size 255
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o fifo.o -c fifo.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o bg_backup.o -c bg_backup.c
bg_backup.c: In function 'main':
bg_backup.c:228:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  228 |         fgets(ftoc, sizeof(ftoc), cf);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bg_backup.c:249:47: warning: '%s' directive writing up to 254 bytes into a region of size 237 [-Wformat-overflow=]
  249 |             sprintf(com, " :Compressing %s to %s", ftoc, tmpbuf);
      |                                               ^~         ~~~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from bg_backup.c:33:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 19 or more bytes (assuming 273) into a destination of size 255
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
bg_backup.c:254:43: warning: '%s' directive writing up to 254 bytes into a region of size 242 [-Wformat-overflow=]
  254 |                 sprintf(com, "%s \"%s\" > %s 2>/dev/null", COMPRESS_PROG,
      |                                           ^~
  255 |                         ftoc, tmpbuf);   /* compress file */
      |                               ~~~~~~       
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from bg_backup.c:33:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 26 or more bytes (assuming 280) into a destination of size 255
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
cp docs/Taper.txt docs/taper.8
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o tapeio.o -c tapeio.c
tapeio.c: In function 'raw_write':
tapeio.c:141:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=]
  141 |                 sprintf(s, "W:Writing in error loop - rc=%d, count=%d, x1=%d", rc, count, x1);
      |                                                          ~^                    ~~
      |                                                           |                    |
      |                                                           int                  ssize_t {aka long int}
      |                                                          %ld
tapeio.c:141:69: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t' {aka 'long int'} [-Wformat=]
  141 |                 sprintf(s, "W:Writing in error loop - rc=%d, count=%d, x1=%d", rc, count, x1);
      |                                                                    ~^              ~~~~~
      |                                                                     |              |
      |                                                                     int            ssize_t {aka long int}
      |                                                                    %ld
tapeio.c:141:76: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=]
  141 |                 sprintf(s, "W:Writing in error loop - rc=%d, count=%d, x1=%d", rc, count, x1);
      |                                                                           ~^              ~~
      |                                                                            |              |
      |                                                                            int            ssize_t {aka long int}
      |                                                                           %ld
In file included from taper.h:55,
                 from tapeio.c:14:
tapeio.c: In function 'tape_rewind_engine':
tapeio.c:599:24: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
  599 |         if ((x=rmtopen(tape, O_RDWR, S_IRWXU)) == -1) /* try and open tape */
      |                        ^~~~
      |                        |
      |                        signed char *
rmt.h:67:62: note: in definition of macro '_remdev'
   67 | #define _remdev(path)   (!f_force_local && (__rmt_path=index(path, ':')))
      |                                                              ^~~~
tapeio.c:599:16: note: in expansion of macro 'rmtopen'
  599 |         if ((x=rmtopen(tape, O_RDWR, S_IRWXU)) == -1) /* try and open tape */
      |                ^~~~~~~
In file included from taper.h:18,
                 from tapeio.c:14:
/usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'signed char *'
  230 | extern char *strchr (const char *__s, int __c)
      |                      ~~~~~~~~~~~~^~~
In file included from taper.h:55,
                 from tapeio.c:14:
tapeio.c:599:24: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
  599 |         if ((x=rmtopen(tape, O_RDWR, S_IRWXU)) == -1) /* try and open tape */
      |                        ^~~~
      |                        |
      |                        signed char *
rmt.h:70:100: note: in definition of macro 'rmtopen'
   70 | #define rmtopen(path,oflag,mode) (_remdev(path) ? __rmt_open(path, oflag, mode, __REM_BIAS) : open(path, oflag, mode))
      |                                                                                                    ^~~~
In file included from /usr/include/fcntl.h:329,
                 from taper.h:26,
                 from tapeio.c:14:
/usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'signed char *'
   41 | open (const char *__path, int __oflag, ...)
      |       ~~~~~~~~~~~~^~~~~~
In file included from taper.h:55,
                 from tapeio.c:14:
tapeio.c: In function 'ntape_open':
tapeio.c:759:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
  759 |     dv = rmtopen(ntape, mode, S_IRWXU);
      |                  ^~~~~
      |                  |
      |                  signed char *
rmt.h:67:62: note: in definition of macro '_remdev'
   67 | #define _remdev(path)   (!f_force_local && (__rmt_path=index(path, ':')))
      |                                                              ^~~~
tapeio.c:759:10: note: in expansion of macro 'rmtopen'
  759 |     dv = rmtopen(ntape, mode, S_IRWXU);
      |          ^~~~~~~
In file included from taper.h:18,
                 from tapeio.c:14:
/usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'signed char *'
  230 | extern char *strchr (const char *__s, int __c)
      |                      ~~~~~~~~~~~~^~~
In file included from taper.h:55,
                 from tapeio.c:14:
tapeio.c:759:18: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
  759 |     dv = rmtopen(ntape, mode, S_IRWXU);
      |                  ^~~~~
      |                  |
      |                  signed char *
rmt.h:70:100: note: in definition of macro 'rmtopen'
   70 | #define rmtopen(path,oflag,mode) (_remdev(path) ? __rmt_open(path, oflag, mode, __REM_BIAS) : open(path, oflag, mode))
      |                                                                                                    ^~~~
In file included from /usr/include/fcntl.h:329,
                 from taper.h:26,
                 from tapeio.c:14:
/usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'signed char *'
   41 | open (const char *__path, int __oflag, ...)
      |       ~~~~~~~~~~~~^~~~~~
In file included from taper.h:55,
                 from tapeio.c:14:
tapeio.c: In function 'tape_open_engine':
tapeio.c:779:22: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
  779 |         dv = rmtopen(tape, mode, S_IRWXU);
      |                      ^~~~
      |                      |
      |                      signed char *
rmt.h:67:62: note: in definition of macro '_remdev'
   67 | #define _remdev(path)   (!f_force_local && (__rmt_path=index(path, ':')))
      |                                                              ^~~~
tapeio.c:779:14: note: in expansion of macro 'rmtopen'
  779 |         dv = rmtopen(tape, mode, S_IRWXU);
      |              ^~~~~~~
In file included from taper.h:18,
                 from tapeio.c:14:
/usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'signed char *'
  230 | extern char *strchr (const char *__s, int __c)
      |                      ~~~~~~~~~~~~^~~
In file included from taper.h:55,
                 from tapeio.c:14:
tapeio.c:779:22: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
  779 |         dv = rmtopen(tape, mode, S_IRWXU);
      |                      ^~~~
      |                      |
      |                      signed char *
rmt.h:70:100: note: in definition of macro 'rmtopen'
   70 | #define rmtopen(path,oflag,mode) (_remdev(path) ? __rmt_open(path, oflag, mode, __REM_BIAS) : open(path, oflag, mode))
      |                                                                                                    ^~~~
In file included from /usr/include/fcntl.h:329,
                 from taper.h:26,
                 from tapeio.c:14:
/usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'signed char *'
   41 | open (const char *__path, int __oflag, ...)
      |       ~~~~~~~~~~~~^~~~~~
tapeio.c: In function 'read_from_buf':
tapeio.c:847:39: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=]
  847 |         sprintf(s, "Read request for %u bytes", count);
      |                                      ~^         ~~~~~
      |                                       |         |
      |                                       |         ssize_t {aka long int}
      |                                       unsigned int
      |                                      %lu
tapeio.c: In function 'do_write_block':
tapeio.c:1036:47: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=]
 1036 |             sprintf(s, "Wrote block to tape [%d bytes]", c);
      |                                              ~^          ~
      |                                               |          |
      |                                               int        ssize_t {aka long int}
      |                                              %ld
tapeio.c:1050:68: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=]
 1050 |             sprintf(s, "W: Error %d doing writing. dv = %d. Wrote %d bytes", errno, dv, -c);
      |                                                                   ~^                    ~~
      |                                                                    |                    |
      |                                                                    int                  ssize_t {aka long int}
      |                                                                   %ld
tapeio.c: In function 'do_write_child':
tapeio.c:1261:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1261 |         write_buf_no = (_vptr) (_s32) ret;       /* write buf_no are zero */
      |                        ^
tapeio.c: In function 'flush_buffers':
tapeio.c:1450:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1450 |                  (_vptr) (_s32) do_write_block(w_current_buffer, w_cur_pos, (w_cur_pos != DOUBLE_BUFFER_SIZE));
      |                  ^
tapeio.c: In function 'check_tape':
tapeio.c:499:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  499 |         write(mf, l, strlen(l));
      |         ^~~~~~~~~~~~~~~~~~~~~~~
tapeio.c: In function 'do_next_tape':
tapeio.c:1102:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 1102 |             if (mf) write(mf, "ERROR: End of tape reached - backup aborted\n",
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1103 |                           strlen("ERROR: End of tape reached - backup aborted\n"));
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tapeio.c: In function 'do_write_child':
tapeio.c:1248:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
 1248 |         fgets(s, sizeof(s), fd_pipetoc);         /* wait until data ready */
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tapeio.c: In function 'wait_finish_writing':
tapeio.c:1296:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
 1296 |         fgets(s, sizeof(s), fd_pipefc);          /* wait until child ready */
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tapeio.c: In function 'tape_open_engine.constprop':
tapeio.c:775:35: warning: '%s' directive writing up to 254 bytes into a region of size 182 [-Wformat-overflow=]
  775 |     sprintf(l, "Opening rewinding %s", tape);
      |                                   ^~   ~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from tapeio.c:14:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 19 and 273 bytes into a destination of size 200
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
tapeio.c: In function 'tape_open_engine':
tapeio.c:775:35: warning: '%s' directive writing up to 254 bytes into a region of size 182 [-Wformat-overflow=]
  775 |     sprintf(l, "Opening rewinding %s", tape);
      |                                   ^~   ~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from tapeio.c:14:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 19 and 273 bytes into a destination of size 200
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
tapeio.c: In function 'ntape_open':
tapeio.c:756:39: warning: '%s' directive writing up to 254 bytes into a region of size 178 [-Wformat-overflow=]
  756 |     sprintf(l, "Opening non-rewinding %s", ntape);
      |                                       ^~   ~~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from tapeio.c:14:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 23 and 277 bytes into a destination of size 200
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o bg_restore.o -c bg_restore.c
bg_restore.c: In function 'main':
bg_restore.c:208:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  208 |             read(of, cmp_buf, fi.act_size);      /* read in all file */
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bg_restore.c:167:36: warning: '%s' directive writing up to 254 bytes into a region of size 240 [-Wformat-overflow=]
  167 |             sprintf(fn, "%s %s > \"%s\"", DECOMPRESS_PROG, ff, (restore_mode == RESTORE_VERIFY) ? fn1 : s);
      |                                    ^~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from bg_restore.c:33:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 17 or more bytes (assuming 271) into a destination of size 255
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o select_box.o -c select_box.c
select_box.c: In function 'select_box':
select_box.c:780:43: warning: pointer targets in passing argument 5 of 'adjust_sd' differ in signedness [-Wpointer-sign]
  780 |         adjust_sd(win, sd, ps, &p_scroll, no_entries);
      |                                           ^~~~~~~~~~
      |                                           |
      |                                           _s32 * {aka int *}
select_box.c:511:88: note: expected '_u32 *' {aka 'unsigned int *'} but argument is of type '_s32 *' {aka 'int *'}
  511 | void adjust_sd(WINDOW *win, select_details *sd, print_screen ps, char *p_scroll, _u32 *no_entries)
      |                                                                                  ~~~~~~^~~~~~~~~~
select_box.c: In function 'select_menu':
select_box.c:807:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  807 |   for  (c=0; c<=no_items; c++)
      |   ^~~
select_box.c:810:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  810 |     cur_line = *in_op;
      |     ^~~~~~~~
select_box.c: In function 'print_dir_line':
select_box.c:999:5: warning: implicit declaration of function 'pr_filename' [-Wimplicit-function-declaration]
  999 |     pr_filename(entry->entry.d_name, s3, dir_left_width-21);
      |     ^~~~~~~~~~~
select_box.c: In function 'select_file':
select_box.c:1190:25: warning: the address of 'old_dir' will always evaluate as 'true' [-Waddress]
 1190 |                     if (old_dir)
      |                         ^~~~~~~
select_box.c: In function 'read_dir':
select_box.c:914:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  914 |     chdir(dir_name);
      |     ^~~~~~~~~~~~~~~
select_box.c:915:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
  915 |     getcwd(dir_name, MAX_FNAME);                 /* real name */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
select_box.c: In function 'select_file':
select_box.c:1131:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1131 |     getcwd(cur_dir, sizeof(cur_dir));            /* preserve existing dir */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select_box.c:1165:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
 1165 |             chdir(cur_dir);
      |             ^~~~~~~~~~~~~~
select_box.c:1170:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
 1170 |             chdir(cur_dir);
      |             ^~~~~~~~~~~~~~
select_box.c:1183:25: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
 1183 |                         chdir(cur_dir);
      |                         ^~~~~~~~~~~~~~
select_box.c:1187:23: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1187 |                       getcwd(dir_cur_dir, MAX_FNAME);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select_box.c:1202:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
 1202 |                 chdir(cur_dir);
      |                 ^~~~~~~~~~~~~~
select_box.c: In function 'print_dir_line':
select_box.c:1000:23: warning: '%12s' directive writing 12 or more bytes into a region of size between 0 and 254 [-Wformat-overflow=]
 1000 |     sprintf(s, "%s %s %12s", s, s3, s2);
      |                       ^~~~          ~~
In file included from /usr/include/stdio.h:866,
                 from select_box.h:13,
                 from select_box.c:15:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 269) into a destination of size 256
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o mtree.o -c mtree.c
mtree.c: In function 'ndeleteb':
mtree.c:455:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  455 |         if (pblk.a[0] == 0)
      |         ^~
mtree.c:457:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  457 |                 t = pblk.a[0];
      |                 ^
ar rc common_lib memory.o common_bg.o select_box.o bg_vars.o mtree.o library.o fifo.o
ranlib common_lib
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o common.o -c common.c
common.c: In function 'check_device_names':
common.c:718:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
  718 |     if (strchr(ntape, ':') == NULL)              /* don't prefix if using */
      |                ^~~~~
      |                |
      |                signed char *
In file included from taper.h:18,
                 from common.c:15:
/usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'signed char *'
  230 | extern char *strchr (const char *__s, int __c)
      |                      ~~~~~~~~~~~~^~~
common.c:721:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  721 |             strcpy(ntape, s);
      |                    ^~~~~
      |                    |
      |                    signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from common.c:15:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
common.c:723:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
  723 |     if (strchr(tape, ':') == NULL)               /* don't prefix if using */
      |                ^~~~
      |                |
      |                signed char *
In file included from taper.h:18,
                 from common.c:15:
/usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'signed char *'
  230 | extern char *strchr (const char *__s, int __c)
      |                      ~~~~~~~~~~~~^~~
common.c:726:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  726 |             strcpy(tape, s);
      |                    ^~~~
      |                    |
      |                    signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from common.c:15:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
common.c: In function 'process_dir':
common.c:1480:33: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
 1480 |                 if (!strcmp(s1, tape) || !strcmp(s1, ntape))/* don't backup backup device */
      |                                 ^~~~
      |                                 |
      |                                 signed char *
In file included from taper.h:18,
                 from common.c:15:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'signed char *'
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
common.c:1480:54: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
 1480 |                 if (!strcmp(s1, tape) || !strcmp(s1, ntape))/* don't backup backup device */
      |                                                      ^~~~~
      |                                                      |
      |                                                      signed char *
In file included from taper.h:18,
                 from common.c:15:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'signed char *'
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
common.c: In function 'open_uncompress_file':
common.c:2175:26: warning: pointer targets in passing argument 1 of 'little2machs32' differ in signedness [-Wpointer-sign]
 2175 |     id1 = little2machs32(&id);
      |                          ^~~
      |                          |
      |                          _u32 * {aka unsigned int *}
In file included from taper.h:52,
                 from common.c:15:
endianize.h:21:34: note: expected '_s32 *' {aka 'int *'} but argument is of type '_u32 *' {aka 'unsigned int *'}
   21 | extern _s32 little2machs32(_s32 *s);
      |                            ~~~~~~^
common.c: In function 'compress_file':
common.c:2226:26: warning: pointer targets in passing argument 1 of 'little2machs32' differ in signedness [-Wpointer-sign]
 2226 |     id1 = little2machs32(&id);
      |                          ^~~
      |                          |
      |                          _u32 * {aka unsigned int *}
In file included from taper.h:52,
                 from common.c:15:
endianize.h:21:34: note: expected '_s32 *' {aka 'int *'} but argument is of type '_u32 *' {aka 'unsigned int *'}
   21 | extern _s32 little2machs32(_s32 *s);
      |                            ~~~~~~^
common.c:2239:50: warning: pointer targets in passing argument 1 of 'mach2littles32' differ in signedness [-Wpointer-sign]
 2239 |     id = COMPRESSED_MAGIC;  id1 = mach2littles32(&id);
      |                                                  ^~~
      |                                                  |
      |                                                  _u32 * {aka unsigned int *}
In file included from taper.h:52,
                 from common.c:15:
endianize.h:20:34: note: expected '_s32 *' {aka 'int *'} but argument is of type '_u32 *' {aka 'unsigned int *'}
   20 | extern _s32 mach2littles32(_s32 *s);
      |                            ~~~~~~^
common.c: In function 'do_read_vol_dir':
common.c:639:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  639 |     read(info_fd, (char *) &ifd1, sizeof(struct info_file_header));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c: In function 'close_logfile':
common.c:827:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  827 |                 write(lf, "\n\n", strlen("\n\n"));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c:839:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  839 |           write(lf, "\n\n", strlen("\n\n"));
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c: In function 'process_dir':
common.c:1449:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1449 |     getcwd(old_dir, sizeof(old_dir));            /* save old directory */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c:1460:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
 1460 |         chdir(cur_dir);
      |         ^~~~~~~~~~~~~~
common.c:1532:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
 1532 |     chdir(old_dir);                              /* change back to old directory */
      |     ^~~~~~~~~~~~~~
common.c: In function 'open_one_index':
common.c:2320:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 2320 |             write(info_index[recnum], 0, sizeof(_u32)); /* magic # for compression */
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c: In function 'check_device_names':
common.c:720:28: warning: '%s' directive writing up to 254 bytes into a region of size between 0 and 254 [-Wformat-overflow=]
  720 |             sprintf(s, "%s/%s", original_cur_dir, ntape);
      |                            ^~                     ~~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from common.c:15:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 510 bytes into a destination of size 255
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
common.c:725:28: warning: '%s' directive writing up to 254 bytes into a region of size between 0 and 254 [-Wformat-overflow=]
  725 |             sprintf(s, "%s/%s", original_cur_dir, tape);
      |                            ^~                     ~~~~
In file included from /usr/include/stdio.h:866,
                 from taper.h:21,
                 from common.c:15:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 510 bytes into a destination of size 255
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
common.c: In function 'open_one_index':
common.c:2320:13: warning: argument 2 is null but the corresponding size argument 3 value is 4 [-Wnonnull]
 2320 |             write(info_index[recnum], 0, sizeof(_u32)); /* magic # for compression */
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from taper.h:27,
                 from common.c:15:
/usr/include/unistd.h:367:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'
  367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^~~~~
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o taper.o -c taper.c
taper.c: In function 'read_environment':
taper.c:158:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  158 |       strcpy(tape, getenv(TAPE_ENVIRON));
      |              ^~~~
      |              |
      |              signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:161:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  161 |       strcpy(ntape, getenv(NTAPE_ENVIRON));
      |              ^~~~~
      |              |
      |              signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c: In function 'fill_in_defaults':
taper.c:562:33: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  562 |         if (*tape == -1) strcpy(tape, FTAPE_DEFAULT_TAPE);
      |                                 ^~~~
      |                                 |
      |                                 signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:563:34: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  563 |         if (*ntape == -1) strcpy(ntape, FTAPE_DEFAULT_NTAPE);
      |                                  ^~~~~
      |                                  |
      |                                  signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:576:33: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  576 |         if (*tape == -1) strcpy(tape, ZFTAPE_DEFAULT_TAPE);
      |                                 ^~~~
      |                                 |
      |                                 signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:577:34: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  577 |         if (*ntape == -1) strcpy(ntape, ZFTAPE_DEFAULT_NTAPE);
      |                                  ^~~~~
      |                                  |
      |                                  signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:590:33: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  590 |         if (*tape == -1) strcpy(tape, SCSI_DEFAULT_TAPE);
      |                                 ^~~~
      |                                 |
      |                                 signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:591:34: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  591 |         if (*ntape == -1) strcpy(ntape, SCSI_DEFAULT_NTAPE);
      |                                  ^~~~~
      |                                  |
      |                                  signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:604:33: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  604 |         if (*tape == -1) strcpy(tape, "");
      |                                 ^~~~
      |                                 |
      |                                 signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:605:34: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  605 |         if (*ntape == -1) strcpy(ntape, "");
      |                                  ^~~~~
      |                                  |
      |                                  signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:618:33: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  618 |         if (*tape == -1) strcpy(tape, REMOVABLE_DEFAULT_TAPE);
      |                                 ^~~~
      |                                 |
      |                                 signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:619:34: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  619 |         if (*ntape == -1) strcpy(ntape, REMOVABLE_DEFAULT_NTAPE);
      |                                  ^~~~~
      |                                  |
      |                                  signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:632:33: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  632 |         if (*tape == -1) strcpy(tape, IDE_DEFAULT_TAPE);
      |                                 ^~~~
      |                                 |
      |                                 signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c:633:34: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  633 |         if (*ntape == -1) strcpy(ntape, IDE_DEFAULT_NTAPE);
      |                                  ^~~~~
      |                                  |
      |                                  signed char *
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from taper.h:14,
                 from taper.c:22:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'signed char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
taper.c: In function 'taper_change_prefs':
taper.c:1038:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1038 |             if (allab)
      |             ^~
taper.c:1040:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1040 |               centre(help,11, "Press any key...", COLOR_HELP);
      |               ^~~~~~
taper.c: In function 'main':
taper.c:1480:3: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1480 |   getcwd(cur_dir, sizeof(cur_dir));              /* save current directory for backup */
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
taper.c:1481:3: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1481 |   getcwd(original_cur_dir, sizeof(original_cur_dir)); /* for restore */
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
taper.c: In function 'taper_save_preference_file':
taper.c:1093:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1093 |         getcwd(s, sizeof(s));
      |         ^~~~~~~~~~~~~~~~~~~~
taper.c: In function 'taper_save_command_line':
taper.c:1161:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1161 |         getcwd(s, sizeof(s));
      |         ^~~~~~~~~~~~~~~~~~~~
make -C compress comp_lib
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/taper-7.0pre-1/compress'
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/taper-7.0pre-1/compress'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/taper-7.0pre-1/compress'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall  -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o zip.o -c zip.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall  -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o unzip.o -c unzip.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall  -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o bits.o -c bits.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall  -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o trees.o -c trees.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall  -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o deflate.o -c deflate.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall  -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o inflate.o -c inflate.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall  -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o util.o -c util.c
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall  -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o lzrw3.o -c lzrw3.c
In file included from lzrw3.c:99:
lzrw3.c: In function 'compress_compress':
lzrw3.h:256:32: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  256 | #define fast_copy(src,dst,len) memcpy(dst,src,len)
      |                                ^~~~~~
lzrw3.c:585:2: note: in expansion of macro 'fast_copy'
  585 |  fast_copy(p_src_first,p_dst_first,src_len);
      |  ^~~~~~~~~
lzrw3.c:100:1: note: include '<string.h>' or provide a declaration of 'memcpy'
   99 | #include "lzrw3.h"       /* Defines single exported function "compress".   */
  +++ |+#include <string.h>
  100 | 
In file included from lzrw3.c:99:
lzrw3.h:256:32: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
  256 | #define fast_copy(src,dst,len) memcpy(dst,src,len)
      |                                ^~~~~~
lzrw3.c:585:2: note: in expansion of macro 'fast_copy'
  585 |  fast_copy(p_src_first,p_dst_first,src_len);
      |  ^~~~~~~~~
lzrw3.h:256:32: note: include '<string.h>' or provide a declaration of 'memcpy'
  256 | #define fast_copy(src,dst,len) memcpy(dst,src,len)
      |                                ^~~~~~
lzrw3.c:585:2: note: in expansion of macro 'fast_copy'
  585 |  fast_copy(p_src_first,p_dst_first,src_len);
      |  ^~~~~~~~~
lzrw3.c: In function 'compress_decompress':
lzrw3.h:256:32: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
  256 | #define fast_copy(src,dst,len) memcpy(dst,src,len)
      |                                ^~~~~~
lzrw3.c:655:4: note: in expansion of macro 'fast_copy'
  655 |    fast_copy(p_src_first,p_dst_first,src_len );
      |    ^~~~~~~~~
lzrw3.h:256:32: note: include '<string.h>' or provide a declaration of 'memcpy'
  256 | #define fast_copy(src,dst,len) memcpy(dst,src,len)
      |                                ^~~~~~
lzrw3.c:655:4: note: in expansion of macro 'fast_copy'
  655 |    fast_copy(p_src_first,p_dst_first,src_len );
      |    ^~~~~~~~~
ar rc comp_lib zip.o unzip.o bits.o trees.o deflate.o inflate.o util.o lzrw3.o
ranlib comp_lib
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/taper-7.0pre-1/compress'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o bg_backup \
        bg_backup.o  compress/comp_lib \
	common_lib   -lform -lncurses  
/usr/bin/ld: common_lib(common_bg.o): in function `taper_tmpnam':
/home/iurt/rpmbuild/BUILD/taper-7.0pre-1/common_bg.c:207: warning: the use of `tempnam' is dangerous, better use `mkstemp'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o bg_restore \
        bg_restore.o  compress/comp_lib \
	common_lib   -lform -lncurses 
/usr/bin/ld: common_lib(common_bg.o): in function `taper_tmpnam':
/home/iurt/rpmbuild/BUILD/taper-7.0pre-1/common_bg.c:207: warning: the use of `tempnam' is dangerous, better use `mkstemp'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O3 -fno-strength-reduce -Wall -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DLINUX -D_GNU_SOURCE -Dlint	 -DTRIPLE_BUFFER               -D__USE_FILE_OFFSET64  -DGLIBC_2 -DBSD_SIGNALS -I/usr/include/ncurses -o taper vars.o common.o endianize.o tapeio.o rtapelib.o sel_backup.o backup.o sel_restore.o restore.o utils.o mkinfo.o taper.o \
	common_lib compress/comp_lib  \
	 -lform -lncurses  
/usr/bin/ld: common_lib(common_bg.o): in function `taper_tmpnam':
/home/iurt/rpmbuild/BUILD/taper-7.0pre-1/common_bg.c:207: warning: the use of `tempnam' is dangerous, better use `mkstemp'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8CHctC
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64 '!=' / ']'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64
++ dirname /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT
+ mkdir /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64
+ cd taper-7.0pre-1
+ '[' 1 -eq 1 ']'
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/sbin /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/bin /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/share/man/man8
+ /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64 'INSTALL=/usr/bin/install -p' BINDIR=/home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/sbin ALTBIN=/home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/bin MANDIR=/home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/share/man/man8
install --mode 755 taper /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/sbin 
install --mode 755 bg_backup /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/sbin
install --mode 755 bg_restore /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/sbin
install --mode 644 docs/taper.8 /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/share/man/man8
ln -sf /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/sbin/taper /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/bin/taper
ln -sf /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/sbin/bg_backup /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/bin/bg_backup
ln -sf /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/sbin/bg_restore /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/bin/bg_restore
+ ln -sf /usr/sbin/taper /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/bin/taper
+ ln -sf /usr/sbin/bg_restore /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/bin/bg_restore
+ ln -sf /usr/sbin/bg_backup /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/bin/bg_backup
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 7.0-0.pre1.20.mga9 --unique-debug-suffix -7.0-0.pre1.20.mga9.aarch64 --unique-debug-src-base taper-7.0-0.pre1.20.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/taper-7.0pre-1

extracting debug info from /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/sbin/bg_restore
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/sbin/bg_backup
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/sbin/taper
dwz: ./usr/sbin/bg_backup-7.0-0.pre1.20.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/sbin/bg_restore-7.0-0.pre1.20.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/sbin/taper-7.0-0.pre1.20.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: Too few files for multifile optimization
original debug info size: 1268kB, size after compression: 1268kB
/usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 3 CRC32s did match.
1362 blocks
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: taper-7.0-0.pre1.20.mga9.aarch64
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.haZYRL
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd taper-7.0pre-1
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/share/doc/taper
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/share/doc/taper
+ cp -pr docs/BUGS docs/CHANGES.html.raw docs/COMPRESSION docs/COPYING docs/CREDITS docs/FAQ.sgml docs/FAQ.sgml.raw docs/FAQ.txt docs/INSTALL docs/MAJOR_CHANGES docs/Makefile docs/READING_DOCS docs/TAPER.sgml.raw docs/TODO docs/Taper.sgml docs/Taper.sgml.raw docs/Taper.txt docs/VERSION6.8 docs/WARNING docs/anibook.gif docs/anibug.gif docs/anifaq.gif docs/anilight.gif docs/aninew.gif docs/aniscribe.gif docs/back.jpg docs/backup-prefs.png docs/backup-prefs_small.png docs/backup.png docs/backup_small.png docs/bug.gif docs/down-alpha.html docs/down-stable.html docs/email.gif docs/grey.jpg docs/home.html docs/index.html docs/leftFr.html docs/main-menu.png docs/main-menu_small.png docs/menu.png docs/next.png docs/prefs.png docs/prefs_small.png docs/prev.png docs/restore-prefs.png docs/restore-prefs_small.png docs/restore.png docs/restore_small.png docs/screenshots.html docs/smoke.gif docs/tape.gif docs/taper-7.0pre-1.lsm docs/taper.8 docs/toc.png docs/topFr.html docs/ver02.html docs/ver04.html docs/ver05.html docs/ver06.html docs/ver07.html /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64/usr/share/doc/taper
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: taper = 7.0-0.pre1.20.mga9 taper(aarch-64) = 7.0-0.pre1.20.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libform.so.6()(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit)
Processing files: taper-debugsource-7.0-0.pre1.20.mga9.aarch64
Provides: taper-debugsource = 7.0-0.pre1.20.mga9 taper-debugsource(aarch-64) = 7.0-0.pre1.20.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: taper-debuginfo-7.0-0.pre1.20.mga9.aarch64
Provides: debuginfo(build-id) = 88e94d2e1223545b0291544d9556735a676a545e debuginfo(build-id) = 98d917cadc0ac54506c3390e14c2f046bd050cf5 debuginfo(build-id) = b936b7662e462675fc23cc6d660b248b27bda53a taper-debuginfo = 7.0-0.pre1.20.mga9 taper-debuginfo(aarch-64) = 7.0-0.pre1.20.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: taper-debugsource(aarch-64) = 7.0-0.pre1.20.mga9
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/taper-debugsource-7.0-0.pre1.20.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/taper-debuginfo-7.0-0.pre1.20.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/taper-7.0-0.pre1.20.mga9.aarch64.rpm
Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.nUOsse
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd taper-7.0pre-1
+ /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/taper-7.0-0.pre1.20.mga9.aarch64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.4ewl35
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf taper-7.0pre-1
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!