<86>Feb 10 03:58:14 userdel[994286]: delete user 'rooter'
<86>Feb 10 03:58:14 userdel[994286]: removed group 'rooter' owned by 'rooter'
<86>Feb 10 03:58:14 userdel[994286]: removed shadow group 'rooter' owned by 'rooter'
<86>Feb 10 03:58:14 groupadd[994297]: group added to /etc/group: name=rooter, GID=537
<86>Feb 10 03:58:14 groupadd[994297]: group added to /etc/gshadow: name=rooter
<86>Feb 10 03:58:14 groupadd[994297]: new group: name=rooter, GID=537
<86>Feb 10 03:58:14 useradd[994304]: new user: name=rooter, UID=537, GID=537, home=/root, shell=/bin/bash
<86>Feb 10 03:58:14 userdel[994321]: delete user 'builder'
<86>Feb 10 03:58:14 userdel[994321]: removed group 'builder' owned by 'builder'
<86>Feb 10 03:58:14 userdel[994321]: removed shadow group 'builder' owned by 'builder'
<86>Feb 10 03:58:14 groupadd[994330]: group added to /etc/group: name=builder, GID=538
<86>Feb 10 03:58:14 groupadd[994330]: group added to /etc/gshadow: name=builder
<86>Feb 10 03:58:14 groupadd[994330]: new group: name=builder, GID=538
<86>Feb 10 03:58:14 useradd[994338]: new user: name=builder, UID=538, GID=538, home=/usr/src, shell=/bin/bash
/usr/src/in/srpm/libtrash-3.3-alt2.src.rpm: license not found in '/usr/share/license' directory: GNU
/usr/src/in/srpm/libtrash-3.3-alt2.src.rpm: The use of such a license name is ambiguous: GPL
<13>Feb 10 03:58:18 rpmi: libgdbm-1.8.3-alt10 1454943313 installed
<13>Feb 10 03:58:18 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed
<13>Feb 10 03:58:18 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed
<13>Feb 10 03:58:18 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed
<13>Feb 10 03:58:18 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed
<13>Feb 10 03:58:18 rpmi: libexpat-2.2.4-alt1 1503305341 installed
<13>Feb 10 03:58:18 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed
<13>Feb 10 03:58:18 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed
<13>Feb 10 03:58:18 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed
<13>Feb 10 03:58:18 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Feb 10 03:58:18 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Feb 10 03:58:19 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed
<13>Feb 10 03:58:19 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed
<13>Feb 10 03:58:19 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed
<13>Feb 10 03:58:19 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed
<13>Feb 10 03:58:19 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed
<13>Feb 10 03:58:19 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed
<13>Feb 10 03:58:19 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed
<13>Feb 10 03:58:20 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed
<13>Feb 10 03:58:20 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed
<13>Feb 10 03:58:20 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed
<86>Feb 10 03:58:20 groupadd[997608]: group added to /etc/group: name=_keytab, GID=499
<86>Feb 10 03:58:20 groupadd[997608]: group added to /etc/gshadow: name=_keytab
<86>Feb 10 03:58:20 groupadd[997608]: new group: name=_keytab, GID=499
<13>Feb 10 03:58:20 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137160 installed
<13>Feb 10 03:58:20 rpmi: libtirpc-1.0.3-alt1 1532008015 installed
<13>Feb 10 03:58:20 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed
<13>Feb 10 03:58:20 rpmi: python-modules-encodings-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed
<13>Feb 10 03:58:20 rpmi: python-modules-compiler-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed
<13>Feb 10 03:58:20 rpmi: python-modules-email-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed
<13>Feb 10 03:58:20 rpmi: python-modules-unittest-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed
<13>Feb 10 03:58:20 rpmi: python-modules-nis-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed
<13>Feb 10 03:58:21 rpmi: python-modules-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed
<13>Feb 10 03:58:21 rpmi: python-modules-ctypes-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed
<13>Feb 10 03:58:21 rpmi: python-modules-multiprocessing-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed
<13>Feb 10 03:58:21 rpmi: python-modules-logging-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed
<13>Feb 10 03:58:21 rpmi: python-tools-2to3-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed
<13>Feb 10 03:58:21 rpmi: python3-dev-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/libtrash-3.3-alt2.nosrc.rpm
Installing libtrash-3.3-alt2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.83775
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf libtrash-3.3
+ echo 'Source #0 (libtrash-3.3.tgz):'
Source #0 (libtrash-3.3.tgz):
+ /bin/gzip -dc /usr/src/RPM/SOURCES/libtrash-3.3.tgz
+ /bin/tar -xf -
+ cd libtrash-3.3
+ /bin/chmod -c -Rf u+rwX,go-w .
+ find -type f -name '*.py' -exec 2to3 -w -n '{}' +
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored ./scripts/get_symbol_versions.py
RefactoringTool: Files that were modified:
RefactoringTool: ./scripts/get_symbol_versions.py
--- ./scripts/get_symbol_versions.py	(original)
+++ ./scripts/get_symbol_versions.py	(refactored)
@@ -66,8 +66,8 @@
     
     if s != "0":
         
-        print "couldn't run ldd on linking-helper!"
-        print str(o)
+        print("couldn't run ldd on linking-helper!")
+        print(str(o))
         sys.exit(1)
         pass
     
@@ -93,8 +93,8 @@
         
         if s != "0": 
             
-            print "couldn't run readelf -s %s!"%lib
-            print str(o)
+            print("couldn't run readelf -s %s!"%lib)
+            print(str(o))
             sys.exit(1)
             pass
         
@@ -123,13 +123,13 @@
         
         if functionToVersionDic[atFunction] == None:
             
-            print "WARNING: didn't find a symbol for %s"%atFunction
+            print("WARNING: didn't find a symbol for %s"%atFunction)
             
             if enableSupportForAtFunctions:
                 
                 enableSupportForAtFunctions = False
-                print "=> DISABLING LIBTRASH SUPPORT FOR 'AT FUNCTIONS' SINCE IT DOESN'T LOOK LIKE YOUR SYSTEM SUPPORTS THEM"
-                print "=> YOU CAN SAFELY IGNORE THESE WARNINGS ABOUT MISSING SYMBOLS"
+                print("=> DISABLING LIBTRASH SUPPORT FOR 'AT FUNCTIONS' SINCE IT DOESN'T LOOK LIKE YOUR SYSTEM SUPPORTS THEM")
+                print("=> YOU CAN SAFELY IGNORE THESE WARNINGS ABOUT MISSING SYMBOLS")
                 pass
             
             del functionToVersionDic[atFunction]
@@ -140,10 +140,10 @@
     
     # make sure that we got a version for every symbol we were interested in
     
-    if None in functionToVersionDic.values():
+    if None in list(functionToVersionDic.values()):
         
-        print "MISSING SYMBOL VERSION FOR AT LEAST ONE FUNCTION!"
-        for k,v in sorted(functionToVersionDic.items(), key=lambda i: i[0]) : print "%s => %s"%(k,v)
+        print("MISSING SYMBOL VERSION FOR AT LEAST ONE FUNCTION!")
+        for k,v in sorted(list(functionToVersionDic.items()), key=lambda i: i[0]) : print("%s => %s"%(k,v))
         sys.exit(1)
         pass
     
@@ -157,7 +157,7 @@
     
     if enableSupportForAtFunctions: headerFile.write("#define AT_FUNCTIONS\n\n")
     
-    for k,v in sorted(functionToVersionDic.items(), key=lambda i: i[0]) : 
+    for k,v in sorted(list(functionToVersionDic.items()), key=lambda i: i[0]) : 
         
         headerFile.write("#define %s_VERSION \"%s\"\n"%(k.upper(),v))
         pass
@@ -174,7 +174,7 @@
 (sys.version_info[0] > 2 or \
 (sys.version_info[0] == 2 and sys.version_info[1] >= 5)):
     
-    print "You need to have Python >= 2.5 installed!"
+    print("You need to have Python >= 2.5 installed!")
     sys.exit(1)
     pass
 
++ find ./ -name '*.py'
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' ./scripts/get_symbol_versions.py
+ sed -i 's|python|&3|' src/Makefile
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.80025
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd libtrash-3.3
+ make -j8
set -e; cd src; make all;
make[1]: Entering directory '/usr/src/RPM/BUILD/libtrash-3.3/src'
echo CHECKING FOR A WORKING PROC FILESYSTEM...
CHECKING FOR A WORKING PROC FILESYSTEM...
ls -d /proc/self/fd
/proc/self/fd
echo GOOD, YOU SEEM TO HAVE A PROC FS
GOOD, YOU SEEM TO HAVE A PROC FS
gcc -g -Wall -W -Wmissing-prototypes -D_REENTRANT -o linking-helper linking-helper.c
perl -w ../scripts/trimheader.pl
perl -w ../scripts/genheader.pl
python3 ../scripts/get_symbol_versions.py
rm -f linking-helper
perl -w ../scripts/genconf.pl
gcc -g -Wall -W -Wmissing-prototypes -D_REENTRANT main.c helpers.c unlink.c rename.c open-funs.c -nostartfiles -shared -fPIC -Wl,-soname,libtrash.so.3 \
        -o libtrash.so.3.3 -ldl
helpers.c: In function 'read_config_from_file':
helpers.c:1054:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1054 |      conf_file_path = filepath;
      |                     ^
helpers.c: In function 'make_absolute_path_from_dirfd_relpath':
helpers.c:2130:9: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2130 |  return arg_pathname;
      |         ^~~~~~~~~~~~
unlink.c:26: warning: "__USE_ATFILE" redefined
   26 | #define __USE_ATFILE /* for access to AT_REMOVEDIR/AT_FDCWD macros inside fcntl.h */
      | 
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from unlink.c:20:
/usr/include/features.h:373: note: this is the location of the previous definition
  373 | # define __USE_ATFILE 1
      | 
unlink.c: In function 'unlink':
unlink.c:91:50: warning: nonnull argument 'pathname' compared to NULL [-Wnonnull-compare]
   91 |    if (cfg.libtrash_off || !cfg.intercept_unlink || pathname == NULL)
      |                                                  ^
open-funs.c: In function 'do_fopen_or_freopen_or_open':
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:601:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  601 |  RETURN_REAL_FUNCTION(); /* we don't need to call libtrash_fini() here. */
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:601:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  601 |  RETURN_REAL_FUNCTION(); /* we don't need to call libtrash_fini() here. */
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion]
  390 |  retval.fd = REAL_FUNCTION();                          \
      |            ^
open-funs.c:601:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  601 |  RETURN_REAL_FUNCTION(); /* we don't need to call libtrash_fini() here. */
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:618:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  618 |  RETURN_REAL_FUNCTION();
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:618:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  618 |  RETURN_REAL_FUNCTION();
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion]
  390 |  retval.fd = REAL_FUNCTION();                          \
      |            ^
open-funs.c:618:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  618 |  RETURN_REAL_FUNCTION();
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |  RETURN_REAL_FUNCTION()                              \
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:629:2: note: in expansion of macro 'DO_HANDLE_ERROR'
  629 |  DO_HANDLE_ERROR();
      |  ^~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |  RETURN_REAL_FUNCTION()                              \
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:629:2: note: in expansion of macro 'DO_HANDLE_ERROR'
  629 |  DO_HANDLE_ERROR();
      |  ^~~~~~~~~~~~~~~
open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion]
  390 |  retval.fd = REAL_FUNCTION();                          \
      |            ^
open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |  RETURN_REAL_FUNCTION()                              \
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:629:2: note: in expansion of macro 'DO_HANDLE_ERROR'
  629 |  DO_HANDLE_ERROR();
      |  ^~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:456:5: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  456 |     RETURN_REAL_FUNCTION();                                                                    \
      |     ^~~~~~~~~~~~~~~~~~~~
open-funs.c:641:4: note: in expansion of macro 'TEST_FILE_EXISTENCE'
  641 |    TEST_FILE_EXISTENCE(); /* Invokes libtrash_fini() by itself if it decides to return. */
      |    ^~~~~~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:456:5: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  456 |     RETURN_REAL_FUNCTION();                                                                    \
      |     ^~~~~~~~~~~~~~~~~~~~
open-funs.c:641:4: note: in expansion of macro 'TEST_FILE_EXISTENCE'
  641 |    TEST_FILE_EXISTENCE(); /* Invokes libtrash_fini() by itself if it decides to return. */
      |    ^~~~~~~~~~~~~~~~~~~
open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion]
  390 |  retval.fd = REAL_FUNCTION();                          \
      |            ^
open-funs.c:456:5: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  456 |     RETURN_REAL_FUNCTION();                                                                    \
      |     ^~~~~~~~~~~~~~~~~~~~
open-funs.c:641:4: note: in expansion of macro 'TEST_FILE_EXISTENCE'
  641 |    TEST_FILE_EXISTENCE(); /* Invokes libtrash_fini() by itself if it decides to return. */
      |    ^~~~~~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |  RETURN_REAL_FUNCTION()                              \
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:663:2: note: in expansion of macro 'DO_HANDLE_ERROR'
  663 |  DO_HANDLE_ERROR();
      |  ^~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |  RETURN_REAL_FUNCTION()                              \
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:663:2: note: in expansion of macro 'DO_HANDLE_ERROR'
  663 |  DO_HANDLE_ERROR();
      |  ^~~~~~~~~~~~~~~
open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion]
  390 |  retval.fd = REAL_FUNCTION();                          \
      |            ^
open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |  RETURN_REAL_FUNCTION()                              \
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:663:2: note: in expansion of macro 'DO_HANDLE_ERROR'
  663 |  DO_HANDLE_ERROR();
      |  ^~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:689:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  689 |  RETURN_REAL_FUNCTION();
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:689:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  689 |  RETURN_REAL_FUNCTION();
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion]
  390 |  retval.fd = REAL_FUNCTION();                          \
      |            ^
open-funs.c:689:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  689 |  RETURN_REAL_FUNCTION();
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |  RETURN_REAL_FUNCTION()                              \
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:731:7: note: in expansion of macro 'DO_HANDLE_ERROR'
  731 |       DO_HANDLE_ERROR();
      |       ^~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |  RETURN_REAL_FUNCTION()                              \
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:731:7: note: in expansion of macro 'DO_HANDLE_ERROR'
  731 |       DO_HANDLE_ERROR();
      |       ^~~~~~~~~~~~~~~
open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion]
  390 |  retval.fd = REAL_FUNCTION();                          \
      |            ^
open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |  RETURN_REAL_FUNCTION()                              \
      |  ^~~~~~~~~~~~~~~~~~~~
open-funs.c:731:7: note: in expansion of macro 'DO_HANDLE_ERROR'
  731 |       DO_HANDLE_ERROR();
      |       ^~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:744:7: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  744 |       RETURN_REAL_FUNCTION();
      |       ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION'
  371 |         (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                             ^~
  372 |      (function == OPEN ?                                              \
      |                                                                              
open-funs.c:744:7: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  744 |       RETURN_REAL_FUNCTION();
      |       ^~~~~~~~~~~~~~~~~~~~
open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion]
  390 |  retval.fd = REAL_FUNCTION();                          \
      |            ^
open-funs.c:744:7: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  744 |       RETURN_REAL_FUNCTION();
      |       ^~~~~~~~~~~~~~~~~~~~
open-funs.c:751:1: warning: control reaches end of non-void function [-Wreturn-type]
  751 | }
      | ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/libtrash-3.3/src'
+ cp /usr/src/RPM/SOURCES/libtrash.README.ALT README.ALT
+ tar -jxf /usr/src/RPM/SOURCES/libtrash-profile.tar.bz2
+ subst 's@^INSTLIBDIR=${DESTDIR}/usr/lib@INSTLIBDIR=${DESTDIR}/usr/lib64@g' src/Makefile
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.40097
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/libtrash-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/libtrash-buildroot
+ cd libtrash-3.3
+ mkdir -p /usr/src/tmp/libtrash-buildroot/usr/lib64 /usr/src/tmp/libtrash-buildroot/etc /usr/src/tmp/libtrash-buildroot/usr/include
+ make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/libtrash-buildroot
make: Entering directory '/usr/src/RPM/BUILD/libtrash-3.3'
set -e; cd src; make install;
make[1]: Entering directory '/usr/src/RPM/BUILD/libtrash-3.3/src'
TRASH_OFF=YES install libtrash.so.3.3 /usr/src/tmp/libtrash-buildroot/usr/lib64/libtrash.so.3.3
TRASH_OFF=YES ln -sf libtrash.so.3.3 /usr/src/tmp/libtrash-buildroot/usr/lib64/libtrash.so
TRASH_OFF=YES install libtrash.conf.sys --mode a=r /usr/src/tmp/libtrash-buildroot/etc/libtrash.conf
make[1]: Leaving directory '/usr/src/RPM/BUILD/libtrash-3.3/src'
make: Leaving directory '/usr/src/RPM/BUILD/libtrash-3.3'
+ install -p -m644 src/trash.h /usr/src/tmp/libtrash-buildroot/usr/include/
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/libtrash-buildroot (auto)
mode of './usr/lib64/libtrash.so.3.3' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
Verifying and fixing files in /usr/src/tmp/libtrash-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/libtrash-buildroot/ (default)
Compressing files in /usr/src/tmp/libtrash-buildroot (auto)
Adjusting library links in /usr/src/tmp/libtrash-buildroot
./usr/lib64:
	libtrash.so.3 -> libtrash.so.3.3 (changed)
Verifying ELF objects in /usr/src/tmp/libtrash-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Hardlinking identical .pyc and .opt-?.pyc files
Hardlinking identical .pyc and .pyo files
Processing files: libtrash-3.3-alt2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.35890
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd libtrash-3.3
+ DOCDIR=/usr/src/tmp/libtrash-buildroot/usr/share/doc/libtrash-3.3
+ export DOCDIR
+ rm -rf /usr/src/tmp/libtrash-buildroot/usr/share/doc/libtrash-3.3
+ /bin/mkdir -p /usr/src/tmp/libtrash-buildroot/usr/share/doc/libtrash-3.3
+ cp -prL README.ALT CHANGE.LOG README TODO config.txt libtrash.conf libtrash.sh libtrash.csh cleanTrash /usr/src/tmp/libtrash-buildroot/usr/share/doc/libtrash-3.3
+ chmod -R go-w /usr/src/tmp/libtrash-buildroot/usr/share/doc/libtrash-3.3
+ chmod -R a+rX /usr/src/tmp/libtrash-buildroot/usr/share/doc/libtrash-3.3
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OIcUiz
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
lib.prov: /usr/src/tmp/libtrash-buildroot/usr/lib64/libtrash.so.3: 28 symbols, 15 bpp
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2Z79Kw
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Provides: libtrash.so.3()(64bit) = set:idLsmiIQtRmjWbnZlqR1TQGNihD2pFPQ1u5VGsuurtAy6hedoRJuTZynv
Requires: libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libdl.so.2(GLIBC_2.2.5)(64bit), rtld(GNU_HASH)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aGxevz
Creating libtrash-debuginfo package
Processing files: libtrash-devel-3.3-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Aipi4w
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YInlgz
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Requires: libtrash = 3.3-alt2, /usr/lib64/libtrash.so.3.3
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lQBrAy
Processing files: libtrash-debuginfo-3.3-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bjj8tA
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RHdu2x
find-requires: running scripts (debuginfo)
Provides: debug64(libtrash.so.3)
Requires: libtrash = 3.3-alt2, debug64(libc.so.6), debug64(libdl.so.2)
Adding to libtrash-devel a strict dependency on libtrash
Adding to libtrash-debuginfo a strict dependency on libtrash
Removing 1 extra deps from libtrash-devel due to dependency on libtrash
Wrote: /usr/src/RPM/RPMS/x86_64/libtrash-3.3-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/libtrash-devel-3.3-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/libtrash-debuginfo-3.3-alt2.x86_64.rpm
9.80user 2.51system 0:21.13elapsed 58%CPU (0avgtext+0avgdata 28028maxresident)k
0inputs+0outputs (0major+399219minor)pagefaults 0swaps
/.out/libtrash-3.3-alt2.x86_64.rpm: license not found in '/usr/share/license' directory: GNU
/.out/libtrash-3.3-alt2.x86_64.rpm: The use of such a license name is ambiguous: GPL
/.out/libtrash-devel-3.3-alt2.x86_64.rpm: license not found in '/usr/share/license' directory: GNU
/.out/libtrash-devel-3.3-alt2.x86_64.rpm: The use of such a license name is ambiguous: GPL
/.out/libtrash-debuginfo-3.3-alt2.x86_64.rpm: license not found in '/usr/share/license' directory: GNU
/.out/libtrash-debuginfo-3.3-alt2.x86_64.rpm: The use of such a license name is ambiguous: GPL
20.69user 9.34system 0:41.60elapsed 72%CPU (0avgtext+0avgdata 109888maxresident)k
0inputs+0outputs (0major+765050minor)pagefaults 0swaps