<86>Apr  8 05:14:21 userdel[416866]: delete user 'rooter'
<86>Apr  8 05:14:21 userdel[416866]: removed group 'rooter' owned by 'rooter'
<86>Apr  8 05:14:21 userdel[416866]: removed shadow group 'rooter' owned by 'rooter'
<86>Apr  8 05:14:21 groupadd[416933]: group added to /etc/group: name=rooter, GID=762
<86>Apr  8 05:14:21 groupadd[416933]: group added to /etc/gshadow: name=rooter
<86>Apr  8 05:14:21 groupadd[416933]: new group: name=rooter, GID=762
<86>Apr  8 05:14:21 useradd[416996]: new user: name=rooter, UID=762, GID=762, home=/root, shell=/bin/bash
<86>Apr  8 05:14:21 userdel[417058]: delete user 'builder'
<86>Apr  8 05:14:21 userdel[417058]: removed group 'builder' owned by 'builder'
<86>Apr  8 05:14:21 userdel[417058]: removed shadow group 'builder' owned by 'builder'
<86>Apr  8 05:14:21 groupadd[417083]: group added to /etc/group: name=builder, GID=763
<86>Apr  8 05:14:21 groupadd[417083]: group added to /etc/gshadow: name=builder
<86>Apr  8 05:14:21 groupadd[417083]: new group: name=builder, GID=763
<86>Apr  8 05:14:21 useradd[417095]: new user: name=builder, UID=763, GID=763, 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>Apr  8 05:14:24 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed
<13>Apr  8 05:14:24 rpmi: libpython-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed
<13>Apr  8 05:14:25 rpmi: python2-base-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed
<13>Apr  8 05:14:25 rpmi: libncurses-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835262 installed
<13>Apr  8 05:14:25 rpmi: libtinfo-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835262 installed
<13>Apr  8 05:14:25 rpmi: libncurses-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835262 installed
<13>Apr  8 05:14:25 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed
<13>Apr  8 05:14:25 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed
<13>Apr  8 05:14:25 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed
<13>Apr  8 05:14:25 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359628 installed
<13>Apr  8 05:14:25 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Apr  8 05:14:25 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Apr  8 05:14:25 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed
<13>Apr  8 05:14:25 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed
<13>Apr  8 05:14:25 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed
<13>Apr  8 05:14:25 rpmi: libcrypto1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799073 installed
<13>Apr  8 05:14:25 rpmi: libssl1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799073 installed
<13>Apr  8 05:14:25 rpmi: python-modules-encodings-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed
<13>Apr  8 05:14:25 rpmi: python-modules-compiler-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed
<13>Apr  8 05:14:25 rpmi: python-modules-email-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed
<13>Apr  8 05:14:25 rpmi: python-modules-unittest-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed
<13>Apr  8 05:14:25 rpmi: python-modules-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed
<13>Apr  8 05:14:25 rpmi: python3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363746 installed
<13>Apr  8 05:14:26 rpmi: python3-base-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363746 installed
<13>Apr  8 05:14:26 rpmi: libpython3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363746 installed
<13>Apr  8 05:14:26 rpmi: tests-for-installed-python3-pkgs-0.1.21-alt1 sisyphus+313305.100.2.1 1674203926 installed
<13>Apr  8 05:14:26 rpmi: rpm-build-python3-0.1.21-alt1 sisyphus+313305.100.2.1 1674203926 installed
<13>Apr  8 05:14:26 rpmi: python-modules-ctypes-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed
<13>Apr  8 05:14:26 rpmi: python-modules-multiprocessing-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed
<13>Apr  8 05:14:26 rpmi: python-modules-logging-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed
<13>Apr  8 05:14:26 rpmi: python-tools-2to3-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed
<13>Apr  8 05:14:27 rpmi: python3-dev-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363746 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/libtrash-3.3-alt2.nosrc.rpm (w1.gzdio)
Installing libtrash-3.3-alt2.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.68817
+ 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.78828
+ 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:16: 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:26,
                 from unlink.c:20:
/usr/include/features.h:399: note: this is the location of the previous definition
  399 | # 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:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:601:9: 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:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:601:9: 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:19: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion]
  390 |         retval.fd = REAL_FUNCTION();                          \
      |                   ^
open-funs.c:601:9: 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:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:618:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  618 |         RETURN_REAL_FUNCTION();
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:618:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  618 |         RETURN_REAL_FUNCTION();
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:390:19: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion]
  390 |         retval.fd = REAL_FUNCTION();                          \
      |                   ^
open-funs.c:618:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  618 |         RETURN_REAL_FUNCTION();
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:413:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |         RETURN_REAL_FUNCTION()                              \
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:629:9: note: in expansion of macro 'DO_HANDLE_ERROR'
  629 |         DO_HANDLE_ERROR();
      |         ^~~~~~~~~~~~~~~
open-funs.c:371:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:413:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |         RETURN_REAL_FUNCTION()                              \
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:629:9: note: in expansion of macro 'DO_HANDLE_ERROR'
  629 |         DO_HANDLE_ERROR();
      |         ^~~~~~~~~~~~~~~
open-funs.c:390:19: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion]
  390 |         retval.fd = REAL_FUNCTION();                          \
      |                   ^
open-funs.c:413:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |         RETURN_REAL_FUNCTION()                              \
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:629:9: note: in expansion of macro 'DO_HANDLE_ERROR'
  629 |         DO_HANDLE_ERROR();
      |         ^~~~~~~~~~~~~~~
open-funs.c:371:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:456:12: 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:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:456:12: 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:19: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion]
  390 |         retval.fd = REAL_FUNCTION();                          \
      |                   ^
open-funs.c:456:12: 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:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:413:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |         RETURN_REAL_FUNCTION()                              \
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:663:9: note: in expansion of macro 'DO_HANDLE_ERROR'
  663 |         DO_HANDLE_ERROR();
      |         ^~~~~~~~~~~~~~~
open-funs.c:371:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:413:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |         RETURN_REAL_FUNCTION()                              \
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:663:9: note: in expansion of macro 'DO_HANDLE_ERROR'
  663 |         DO_HANDLE_ERROR();
      |         ^~~~~~~~~~~~~~~
open-funs.c:390:19: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion]
  390 |         retval.fd = REAL_FUNCTION();                          \
      |                   ^
open-funs.c:413:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |         RETURN_REAL_FUNCTION()                              \
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:663:9: note: in expansion of macro 'DO_HANDLE_ERROR'
  663 |         DO_HANDLE_ERROR();
      |         ^~~~~~~~~~~~~~~
open-funs.c:371:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:689:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  689 |         RETURN_REAL_FUNCTION();
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:689:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  689 |         RETURN_REAL_FUNCTION();
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:390:19: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion]
  390 |         retval.fd = REAL_FUNCTION();                          \
      |                   ^
open-funs.c:689:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  689 |         RETURN_REAL_FUNCTION();
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:413:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |         RETURN_REAL_FUNCTION()                              \
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:731:14: note: in expansion of macro 'DO_HANDLE_ERROR'
  731 |              DO_HANDLE_ERROR();
      |              ^~~~~~~~~~~~~~~
open-funs.c:371:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:413:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |         RETURN_REAL_FUNCTION()                              \
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:731:14: note: in expansion of macro 'DO_HANDLE_ERROR'
  731 |              DO_HANDLE_ERROR();
      |              ^~~~~~~~~~~~~~~
open-funs.c:390:19: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion]
  390 |         retval.fd = REAL_FUNCTION();                          \
      |                   ^
open-funs.c:413:9: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  413 |         RETURN_REAL_FUNCTION()                              \
      |         ^~~~~~~~~~~~~~~~~~~~
open-funs.c:731:14: note: in expansion of macro 'DO_HANDLE_ERROR'
  731 |              DO_HANDLE_ERROR();
      |              ^~~~~~~~~~~~~~~
open-funs.c:371:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:744:14: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  744 |              RETURN_REAL_FUNCTION();
      |              ^~~~~~~~~~~~~~~~~~~~
open-funs.c:371:84: warning: pointer/integer type mismatch in conditional expression
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:371:84: note: in definition of macro 'REAL_FUNCTION'
  371 |                (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\
      |                                                                                    ^~
  372 |                    (function == OPEN ?                                              \
      |                                                                                     
open-funs.c:744:14: note: in expansion of macro 'RETURN_REAL_FUNCTION'
  744 |              RETURN_REAL_FUNCTION();
      |              ^~~~~~~~~~~~~~~~~~~~
open-funs.c:390:19: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion]
  390 |         retval.fd = REAL_FUNCTION();                          \
      |                   ^
open-funs.c:744:14: 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/lib@g' src/Makefile
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.78750
+ 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
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd libtrash-3.3
+ mkdir -p /usr/src/tmp/libtrash-buildroot/usr/lib /usr/src/tmp/libtrash-buildroot/etc /usr/src/tmp/libtrash-buildroot/usr/include
+ make 'INSTALL=/usr/libexec/rpm-build/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/lib/libtrash.so.3.3
TRASH_OFF=YES ln -sf libtrash.so.3.3 /usr/src/tmp/libtrash-buildroot/usr/lib/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
egrep: warning: egrep is obsolescent; using grep -E
Cleaning files in /usr/src/tmp/libtrash-buildroot (auto)
mode of './usr/lib/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,gnuconfig)
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/lib: (from <cmdline>:0)
	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)
verify-elf: WARNING: ./usr/lib/libtrash.so.3.3: uses non-LFS functions: lstat stat
Hardlinking identical .pyc and .opt-?.pyc files
Processing files: libtrash-3.3-alt2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.6522
+ 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.mTtc6m
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
lib.prov: /usr/src/tmp/libtrash-buildroot/usr/lib/libtrash.so.3: 28 symbols, 15 bpp
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KQXw4t
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 = set:idLsmiIQtRmjWbnZlqR1TQGNihD2pFPQ1u5VGsuurtAy6hedoRJuTZynv
Requires: libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), rtld(GNU_HASH)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OK0YTm
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.TXrUef
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.7hc9jU
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/lib/libtrash.so.3.3
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YXw6ut
Processing files: libtrash-debuginfo-3.3-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4OOpLA
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CJnb63
find-requires: running scripts (debuginfo)
Provides: debug(libtrash.so.3)
Requires: libtrash = 3.3-alt2, debug(libc.so.6)
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/i586/libtrash-3.3-alt2.i586.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/i586/libtrash-devel-3.3-alt2.i586.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/i586/libtrash-debuginfo-3.3-alt2.i586.rpm (w2.lzdio)
6.73user 1.26system 0:16.22elapsed 49%CPU (0avgtext+0avgdata 23664maxresident)k
0inputs+0outputs (0major+328911minor)pagefaults 0swaps
/.out/libtrash-3.3-alt2.i586.rpm: license not found in '/usr/share/license' directory: GNU
/.out/libtrash-3.3-alt2.i586.rpm: The use of such a license name is ambiguous: GPL
/.out/libtrash-devel-3.3-alt2.i586.rpm: license not found in '/usr/share/license' directory: GNU
/.out/libtrash-devel-3.3-alt2.i586.rpm: The use of such a license name is ambiguous: GPL
/.out/libtrash-debuginfo-3.3-alt2.i586.rpm: license not found in '/usr/share/license' directory: GNU
/.out/libtrash-debuginfo-3.3-alt2.i586.rpm: The use of such a license name is ambiguous: GPL
3.76user 1.89system 0:31.80elapsed 17%CPU (0avgtext+0avgdata 108520maxresident)k
0inputs+0outputs (32170major+172933minor)pagefaults 0swaps
--- libtrash-3.3-alt2.i586.rpm.repo	2020-01-28 13:43:23.000000000 +0000
+++ libtrash-3.3-alt2.i586.rpm.hasher	2023-04-08 05:14:49.329141545 +0000
@@ -22,5 +22,5 @@
 Requires: libc.so.6(GLIBC_2.3.4)  
+Requires: libc.so.6(GLIBC_2.33)  
+Requires: libc.so.6(GLIBC_2.34)  
 Requires: libc.so.6(GLIBC_2.4)  
-Requires: libdl.so.2(GLIBC_2.0)  
-Requires: libdl.so.2(GLIBC_2.1)  
 Requires: rtld(GNU_HASH)  
@@ -31,3 +31,3 @@
 File: /usr/lib/libtrash.so.3	120777	root:root		libtrash.so.3.3
-File: /usr/lib/libtrash.so.3.3	100644	root:root	fdae4d1f188971061d5e668fda48573e	
+File: /usr/lib/libtrash.so.3.3	100644	root:root	e9ae1b5169b8e989e1425f8cca72202b	
 File: /usr/share/doc/libtrash-3.3	40755	root:root		
@@ -47,2 +47,2 @@
 File: /usr/share/doc/libtrash-3.3/libtrash.sh	100755	root:root	fb11684c62008f362c4526ff004d5910	
-RPMIdentity: 6d1ba9d56b450cf50ea5f50da68eb91448ca8dce713c7906435a3d7a63626705be39ba39a0e8aa991d742796c56a7d1ea9cfb0a4097c264ab09fd44712f84c3b
+RPMIdentity: 2d47deec47287b418bc5e075d416296fd7c50083c5d1bc6d73bb33ccdcb188fd5867199b8e89674b718a04fea8fb7edc561f8c7ff8be6573d9340b0ab087a0a6
--- libtrash-debuginfo-3.3-alt2.i586.rpm.repo	2020-01-28 13:43:23.000000000 +0000
+++ libtrash-debuginfo-3.3-alt2.i586.rpm.hasher	2023-04-08 05:14:49.526141857 +0000
@@ -1,4 +1,4 @@
-/usr/lib/debug/.build-id/cb	40755	root:root	
-/usr/lib/debug/.build-id/cb/b4f3a9084d61a51453ecd332f8f11e03a7dfb3	120777	root:root	../../../libtrash.so.3.3
-/usr/lib/debug/.build-id/cb/b4f3a9084d61a51453ecd332f8f11e03a7dfb3.debug	120777	root:root	../../usr/lib/libtrash.so.3.3.debug
+/usr/lib/debug/.build-id/4f	40755	root:root	
+/usr/lib/debug/.build-id/4f/8754dde4344461da7cda6bc474ad921c980499	120777	root:root	../../../libtrash.so.3.3
+/usr/lib/debug/.build-id/4f/8754dde4344461da7cda6bc474ad921c980499.debug	120777	root:root	../../usr/lib/libtrash.so.3.3.debug
 /usr/lib/debug/usr/lib/libtrash.so.3.3.debug	100644	root:root	
@@ -14,3 +14,2 @@
 Requires: debug(libc.so.6)  
-Requires: debug(libdl.so.2)  
 Requires: libtrash = 3.3-alt2:sisyphus+245204.100.1.1
@@ -19,6 +18,6 @@
 Provides: libtrash-debuginfo = 3.3-alt2:sisyphus+245204.100.1.1
-File: /usr/lib/debug/.build-id/cb	40755	root:root		
-File: /usr/lib/debug/.build-id/cb/b4f3a9084d61a51453ecd332f8f11e03a7dfb3	120777	root:root		../../../libtrash.so.3.3
-File: /usr/lib/debug/.build-id/cb/b4f3a9084d61a51453ecd332f8f11e03a7dfb3.debug	120777	root:root		../../usr/lib/libtrash.so.3.3.debug
-File: /usr/lib/debug/usr/lib/libtrash.so.3.3.debug	100644	root:root	3c8007f9cb4775ac077836a6e11a43bb	
+File: /usr/lib/debug/.build-id/4f	40755	root:root		
+File: /usr/lib/debug/.build-id/4f/8754dde4344461da7cda6bc474ad921c980499	120777	root:root		../../../libtrash.so.3.3
+File: /usr/lib/debug/.build-id/4f/8754dde4344461da7cda6bc474ad921c980499.debug	120777	root:root		../../usr/lib/libtrash.so.3.3.debug
+File: /usr/lib/debug/usr/lib/libtrash.so.3.3.debug	100644	root:root	b93103137bcce4d68c0625a9c85cd390	
 File: /usr/lib/debug/usr/lib/libtrash.so.3.debug	120777	root:root		libtrash.so.3.3.debug
@@ -32,2 +31,2 @@
 File: /usr/src/debug/libtrash-3.3/src/unlink.c	100644	root:root	65545f998014e717c6eba661ea0b16c2	
-RPMIdentity: ccb35b2df9a7893c90890819cf1ea3f90358ef75334946599554542560ebc79c90cc465c25a2fc0e1b238d9a28e2fe6b50b9c1a4561c986c0230280ae5083db3
+RPMIdentity: d6ec086ecccc91e5caa92abf7d0d4b50ceab79f18de93d65c7c793fb330c7c5e5472e4a57f5d6d1bcd61abb66e39a3fc66fea38436ab149f9f00fa23ce1d4e98