<86>Jan  1 05:10:09 userdel[2618403]: delete user 'rooter'
<86>Jan  1 05:10:09 userdel[2618403]: removed group 'rooter' owned by 'rooter'
<86>Jan  1 05:10:09 userdel[2618403]: removed shadow group 'rooter' owned by 'rooter'
<86>Jan  1 05:10:09 groupadd[2618436]: group added to /etc/group: name=rooter, GID=957
<86>Jan  1 05:10:09 groupadd[2618436]: group added to /etc/gshadow: name=rooter
<86>Jan  1 05:10:09 groupadd[2618436]: new group: name=rooter, GID=957
<86>Jan  1 05:10:09 useradd[2618466]: new user: name=rooter, UID=957, GID=957, home=/root, shell=/bin/bash
<86>Jan  1 05:10:09 userdel[2618507]: delete user 'builder'
<86>Jan  1 05:10:09 userdel[2618507]: removed group 'builder' owned by 'builder'
<86>Jan  1 05:10:09 userdel[2618507]: removed shadow group 'builder' owned by 'builder'
<86>Jan  1 05:10:09 groupadd[2618553]: group added to /etc/group: name=builder, GID=958
<86>Jan  1 05:10:09 groupadd[2618553]: group added to /etc/gshadow: name=builder
<86>Jan  1 05:10:09 groupadd[2618553]: new group: name=builder, GID=958
<86>Jan  1 05:10:09 useradd[2618596]: new user: name=builder, UID=958, GID=958, 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>Jan  1 05:10:11 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed
<13>Jan  1 05:10:11 rpmi: mpdecimal-2.5.1-alt1 sisyphus+291245.40.54.1 1643293433 installed
<13>Jan  1 05:10:11 rpmi: libpython-2.7.18-alt10 sisyphus+302234.100.1.1 1655470122 installed
<13>Jan  1 05:10:11 rpmi: python2-base-2.7.18-alt10 sisyphus+302234.100.1.1 1655470122 installed
<13>Jan  1 05:10:11 rpmi: libncurses-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed
<13>Jan  1 05:10:11 rpmi: libtinfo-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed
<13>Jan  1 05:10:11 rpmi: libncurses-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed
<13>Jan  1 05:10:11 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed
<13>Jan  1 05:10:11 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed
<13>Jan  1 05:10:11 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359624 installed
<13>Jan  1 05:10:11 rpmi: rpm-macros-alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed
<13>Jan  1 05:10:11 rpmi: alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed
<13>Jan  1 05:10:11 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed
<13>Jan  1 05:10:11 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed
<13>Jan  1 05:10:11 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed
<13>Jan  1 05:10:11 rpmi: libcrypto1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657026987 installed
<13>Jan  1 05:10:11 rpmi: libssl1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657026987 installed
<13>Jan  1 05:10:11 rpmi: python-modules-encodings-2.7.18-alt10 sisyphus+302234.100.1.1 1655470122 installed
<13>Jan  1 05:10:11 rpmi: python-modules-compiler-2.7.18-alt10 sisyphus+302234.100.1.1 1655470122 installed
<13>Jan  1 05:10:11 rpmi: python-modules-email-2.7.18-alt10 sisyphus+302234.100.1.1 1655470122 installed
<13>Jan  1 05:10:11 rpmi: python-modules-unittest-2.7.18-alt10 sisyphus+302234.100.1.1 1655470122 installed
<13>Jan  1 05:10:11 rpmi: python-modules-2.7.18-alt10 sisyphus+302234.100.1.1 1655470122 installed
<13>Jan  1 05:10:11 rpmi: python3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363630 installed
<13>Jan  1 05:10:12 rpmi: python3-base-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363630 installed
<13>Jan  1 05:10:12 rpmi: libpython3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363630 installed
<13>Jan  1 05:10:12 rpmi: tests-for-installed-python3-pkgs-0.1.20-alt1 sisyphus+303554.100.1.1 1668376332 installed
<13>Jan  1 05:10:12 rpmi: rpm-build-python3-0.1.20-alt1 sisyphus+303554.100.1.1 1668376332 installed
<13>Jan  1 05:10:12 rpmi: python-modules-ctypes-2.7.18-alt10 sisyphus+302234.100.1.1 1655470122 installed
<13>Jan  1 05:10:12 rpmi: python-modules-multiprocessing-2.7.18-alt10 sisyphus+302234.100.1.1 1655470122 installed
<13>Jan  1 05:10:12 rpmi: python-modules-logging-2.7.18-alt10 sisyphus+302234.100.1.1 1655470122 installed
<13>Jan  1 05:10:12 rpmi: python-tools-2to3-2.7.18-alt10 sisyphus+302234.100.1.1 1655470122 installed
<13>Jan  1 05:10:12 rpmi: python3-dev-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363630 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/libtrash-3.3-alt2.nosrc.rpm (w1.gzdio)
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.95057
+ 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.95057
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd libtrash-3.3
+ make -j16
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/lib64@g' src/Makefile
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.39956
+ 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/lib64 /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/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
egrep: warning: egrep is obsolescent; using grep -E
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,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/lib64: (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)
Hardlinking identical .pyc and .opt-?.pyc files
Processing files: libtrash-3.3-alt2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.39956
+ 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.3jPpvO
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.QhTuau
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.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.4)(64bit), rtld(GNU_HASH)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QkBrTS
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.4vpMKm
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.hKvvaq
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.MnIbY8
Processing files: libtrash-debuginfo-3.3-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3mhR4W
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.g2HVHK
find-requires: running scripts (debuginfo)
Provides: debug64(libtrash.so.3)
Requires: libtrash = 3.3-alt2, debug64(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/x86_64/libtrash-3.3-alt2.x86_64.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/x86_64/libtrash-devel-3.3-alt2.x86_64.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/x86_64/libtrash-debuginfo-3.3-alt2.x86_64.rpm (w2.lzdio)
3.36user 1.22system 0:11.75elapsed 39%CPU (0avgtext+0avgdata 28840maxresident)k
0inputs+0outputs (0major+407509minor)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
7.97user 4.86system 0:19.10elapsed 67%CPU (0avgtext+0avgdata 108788maxresident)k
0inputs+0outputs (32880major+736238minor)pagefaults 0swaps
--- libtrash-3.3-alt2.x86_64.rpm.repo	2020-01-28 13:43:31.000000000 +0000
+++ libtrash-3.3-alt2.x86_64.rpm.hasher	2023-01-01 05:10:26.573946454 +0000
@@ -21,4 +21,5 @@
 Requires: libc.so.6(GLIBC_2.3.4)(64bit)  
+Requires: libc.so.6(GLIBC_2.33)(64bit)  
+Requires: libc.so.6(GLIBC_2.34)(64bit)  
 Requires: libc.so.6(GLIBC_2.4)(64bit)  
-Requires: libdl.so.2(GLIBC_2.2.5)(64bit)  
 Requires: rtld(GNU_HASH)  
@@ -29,3 +30,3 @@
 File: /usr/lib64/libtrash.so.3	120777	root:root		libtrash.so.3.3
-File: /usr/lib64/libtrash.so.3.3	100644	root:root	3f09253439b72e376cd97bb6d0905355	
+File: /usr/lib64/libtrash.so.3.3	100644	root:root	dbcec13bfe99bfb3feb1d1fb595559b2	
 File: /usr/share/doc/libtrash-3.3	40755	root:root		
@@ -45,2 +46,2 @@
 File: /usr/share/doc/libtrash-3.3/libtrash.sh	100755	root:root	fb11684c62008f362c4526ff004d5910	
-RPMIdentity: 47fe8c5f1ee926525f71d81e69e698a49e6ed303fcb80779c40de2a2684dd167b32df8dcae102ea3548efbb4eb4b1ccba7e3c095515c0de8990be92502c4b4a8
+RPMIdentity: 9129716bef941d8fc06228362f9068f740981ba77a7e5c24336a8f2caa29a8ebd5626a644bb04d58a49447f903a619f84088cf0f0a701a3c3a8463daa42ffe24
--- libtrash-debuginfo-3.3-alt2.x86_64.rpm.repo	2020-01-28 13:43:31.000000000 +0000
+++ libtrash-debuginfo-3.3-alt2.x86_64.rpm.hasher	2023-01-01 05:10:26.632947298 +0000
@@ -1,4 +1,4 @@
-/usr/lib/debug/.build-id/f1	40755	root:root	
-/usr/lib/debug/.build-id/f1/e99ed088f0bf87d230f47c0a4170724b0524a1	120777	root:root	../../../../lib64/libtrash.so.3.3
-/usr/lib/debug/.build-id/f1/e99ed088f0bf87d230f47c0a4170724b0524a1.debug	120777	root:root	../../usr/lib64/libtrash.so.3.3.debug
+/usr/lib/debug/.build-id/65	40755	root:root	
+/usr/lib/debug/.build-id/65/c91d3a4dd39eb3ad70d40132974a76f4ac13b9	120777	root:root	../../../../lib64/libtrash.so.3.3
+/usr/lib/debug/.build-id/65/c91d3a4dd39eb3ad70d40132974a76f4ac13b9.debug	120777	root:root	../../usr/lib64/libtrash.so.3.3.debug
 /usr/lib/debug/usr/lib64/libtrash.so.3.3.debug	100644	root:root	
@@ -14,3 +14,2 @@
 Requires: debug64(libc.so.6)  
-Requires: debug64(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/f1	40755	root:root		
-File: /usr/lib/debug/.build-id/f1/e99ed088f0bf87d230f47c0a4170724b0524a1	120777	root:root		../../../../lib64/libtrash.so.3.3
-File: /usr/lib/debug/.build-id/f1/e99ed088f0bf87d230f47c0a4170724b0524a1.debug	120777	root:root		../../usr/lib64/libtrash.so.3.3.debug
-File: /usr/lib/debug/usr/lib64/libtrash.so.3.3.debug	100644	root:root	b0de03fb4c1b57bc84cbf74fdaeb3842	
+File: /usr/lib/debug/.build-id/65	40755	root:root		
+File: /usr/lib/debug/.build-id/65/c91d3a4dd39eb3ad70d40132974a76f4ac13b9	120777	root:root		../../../../lib64/libtrash.so.3.3
+File: /usr/lib/debug/.build-id/65/c91d3a4dd39eb3ad70d40132974a76f4ac13b9.debug	120777	root:root		../../usr/lib64/libtrash.so.3.3.debug
+File: /usr/lib/debug/usr/lib64/libtrash.so.3.3.debug	100644	root:root	53b0131654567a4d3c0f110b68cf0178	
 File: /usr/lib/debug/usr/lib64/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: 698514f108ff268fb50183e68c59187551b8a915fe7d4c14f253308b8a7c0ed75b82c94e53fd06a4c037f7182f72de814eb6782c20c064c37d6ae0a29efe4da3
+RPMIdentity: df2fa86d21be55ab29b2187093033eaf7ea8e0176205a8729f88fda37cc8f00e040a1d1bb2805c0f0d2f01f07ec485853616339a5e0f61727aa81cb0e9a78348