<86>Sep 10 02:37:50 userdel[1136145]: delete user 'rooter'
<86>Sep 10 02:37:50 userdel[1136145]: removed group 'rooter' owned by 'rooter'
<86>Sep 10 02:37:50 userdel[1136145]: removed shadow group 'rooter' owned by 'rooter'
<86>Sep 10 02:37:50 groupadd[1136164]: group added to /etc/group: name=rooter, GID=1877
<86>Sep 10 02:37:50 groupadd[1136164]: group added to /etc/gshadow: name=rooter
<86>Sep 10 02:37:50 groupadd[1136164]: new group: name=rooter, GID=1877
<86>Sep 10 02:37:50 useradd[1136189]: new user: name=rooter, UID=1877, GID=1877, home=/root, shell=/bin/bash, from=none
<86>Sep 10 02:37:50 userdel[1136225]: delete user 'builder'
<86>Sep 10 02:37:50 userdel[1136225]: removed group 'builder' owned by 'builder'
<86>Sep 10 02:37:50 userdel[1136225]: removed shadow group 'builder' owned by 'builder'
<86>Sep 10 02:37:50 groupadd[1136247]: group added to /etc/group: name=builder, GID=1878
<86>Sep 10 02:37:50 groupadd[1136247]: group added to /etc/gshadow: name=builder
<86>Sep 10 02:37:50 groupadd[1136247]: new group: name=builder, GID=1878
<86>Sep 10 02:37:50 useradd[1136266]: new user: name=builder, UID=1878, GID=1878, home=/usr/src, shell=/bin/bash, from=none
/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>Sep 10 02:37:54 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed
<13>Sep 10 02:37:54 rpmi: libreadline7-7.0.3-alt5 sisyphus+328858.200.1.1 1694010737 installed
<13>Sep 10 02:37:54 rpmi: libpython-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed
<13>Sep 10 02:37:54 rpmi: python2-base-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed
<13>Sep 10 02:37:54 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed
<13>Sep 10 02:37:54 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed
<13>Sep 10 02:37:54 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed
<13>Sep 10 02:37:54 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed
<13>Sep 10 02:37:54 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed
<13>Sep 10 02:37:54 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed
<13>Sep 10 02:37:54 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed
<13>Sep 10 02:37:54 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed
<13>Sep 10 02:37:54 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Sep 10 02:37:54 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Sep 10 02:37:54 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed
<13>Sep 10 02:37:54 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed
<13>Sep 10 02:37:54 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed
<13>Sep 10 02:37:54 rpmi: libcrypto3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed
<13>Sep 10 02:37:54 rpmi: libssl3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed
<13>Sep 10 02:37:54 rpmi: python-modules-encodings-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed
<13>Sep 10 02:37:54 rpmi: python-modules-compiler-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed
<13>Sep 10 02:37:54 rpmi: python-modules-email-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed
<13>Sep 10 02:37:54 rpmi: python-modules-unittest-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed
<13>Sep 10 02:37:55 rpmi: python-modules-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed
<13>Sep 10 02:37:55 rpmi: python3-3.12.5-alt1 sisyphus+355289.200.2.1 1723833848 installed
<13>Sep 10 02:37:55 rpmi: python3-base-3.12.5-alt1 sisyphus+355289.200.2.1 1723833848 installed
<13>Sep 10 02:37:55 rpmi: libpython3-3.12.5-alt1 sisyphus+355289.200.2.1 1723833848 installed
<13>Sep 10 02:37:55 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed
<13>Sep 10 02:37:55 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed
<13>Sep 10 02:37:55 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed
<13>Sep 10 02:37:56 rpmi: python-modules-ctypes-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed
<13>Sep 10 02:37:56 rpmi: python-modules-multiprocessing-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed
<13>Sep 10 02:37:56 rpmi: python-modules-logging-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed
<13>Sep 10 02:37:56 rpmi: python-tools-2to3-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed
<13>Sep 10 02:37:56 rpmi: python3-dev-3.12.5-alt1 sisyphus+355289.200.2.1 1723833848 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.35996
+ 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):
+ /usr/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.82562
+ 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
linking-helper.c: In function 'main':
linking-helper.c:12:4: warning: argument 3 null where non-null expected [-Wnonnull]
   12 |    freopen("", "r", NULL);
      |    ^~~~~~~
In file included from linking-helper.c:2:
/usr/include/stdio.h:270:14: note: in a call to function 'freopen' declared 'nonnull'
  270 | extern FILE *freopen (const char *__restrict __filename,
      |              ^~~~~~~
linking-helper.c:13:4: warning: argument 3 null where non-null expected [-Wnonnull]
   13 |    freopen64("", "r", NULL);
      |    ^~~~~~~~~
/usr/include/stdio.h:291:14: note: in a call to function 'freopen64' declared 'nonnull'
  291 | extern FILE *freopen64 (const char *__restrict __filename,
      |              ^~~~~~~~~
perl -w ../scripts/trimheader.pl
perl -w ../scripts/genheader.pl
python3 ../scripts/get_symbol_versions.py
/usr/src/RPM/BUILD/libtrash-3.3/src/../scripts/get_symbol_versions.py:27: SyntaxWarning: invalid escape sequence '\s'
  re_ldd_output = re.compile("\s*(\S+)(?: => (\S+))?.*")
/usr/src/RPM/BUILD/libtrash-3.3/src/../scripts/get_symbol_versions.py:29: SyntaxWarning: invalid escape sequence '\s'
  re_readelf_output = re.compile(".*\s+(.*)@@(.*)")
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:401: note: this is the location of the previous definition
  401 | # 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:388:21: note: in expansion of macro 'REAL_FUNCTION'
  388 |         retval.fp = 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:390:21: note: in expansion of macro 'REAL_FUNCTION'
  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: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:388:21: note: in expansion of macro 'REAL_FUNCTION'
  388 |         retval.fp = 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:390:21: note: in expansion of macro 'REAL_FUNCTION'
  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: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:388:21: note: in expansion of macro 'REAL_FUNCTION'
  388 |         retval.fp = 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:390:21: note: in expansion of macro 'REAL_FUNCTION'
  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: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:388:21: note: in expansion of macro 'REAL_FUNCTION'
  388 |         retval.fp = 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:390:21: note: in expansion of macro 'REAL_FUNCTION'
  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: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:388:21: note: in expansion of macro 'REAL_FUNCTION'
  388 |         retval.fp = 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:390:21: note: in expansion of macro 'REAL_FUNCTION'
  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: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:388:21: note: in expansion of macro 'REAL_FUNCTION'
  388 |         retval.fp = 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:390:21: note: in expansion of macro 'REAL_FUNCTION'
  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: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:388:21: note: in expansion of macro 'REAL_FUNCTION'
  388 |         retval.fp = 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:390:21: note: in expansion of macro 'REAL_FUNCTION'
  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: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:388:21: note: in expansion of macro 'REAL_FUNCTION'
  388 |         retval.fp = REAL_FUNCTION();                          \
      |                     ^~~~~~~~~~~~~
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:390:21: note: in expansion of macro 'REAL_FUNCTION'
  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: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.82562
+ 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:/usr/bin:/bin:/usr/local/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
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)
Splitting links to aliased files under /{,s}bin in /usr/src/tmp/libtrash-buildroot
Hardlinking identical .pyc and .opt-?.pyc files
Processing files: libtrash-3.3-alt2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.63283
+ 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.VKCIQa
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.F24W9Y
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.1qTHvM
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.Nt8Ssa
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.YluVlc
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.H2RlAK
Processing files: libtrash-debuginfo-3.3-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Q3RwdM
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9Jvx4D
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.21user 2.40system 0:12.37elapsed 45%CPU (0avgtext+0avgdata 29456maxresident)k
0inputs+0outputs (0major+417008minor)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
3.97user 2.73system 0:25.41elapsed 26%CPU (0avgtext+0avgdata 135560maxresident)k
0inputs+0outputs (0major+234042minor)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	2024-09-10 02:38:12.814189301 +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	8b13b698534d01027c6d089ac1c568fb	
 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: ab43356537b231b8715c1b9f0df13eb87c2c2fd896b3b8af81c6a01de276a2bbfd3cc9f538f59c9029a77cb403e051b18df642cc2bf25d84f510ae6887e2a23a
--- 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	2024-09-10 02:38:12.941191531 +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/8f	40755	root:root	
+/usr/lib/debug/.build-id/8f/00c288fa058ce4d8887a7bded7c64eb6ace6d8	120777	root:root	../../../../lib64/libtrash.so.3.3
+/usr/lib/debug/.build-id/8f/00c288fa058ce4d8887a7bded7c64eb6ace6d8.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/8f	40755	root:root		
+File: /usr/lib/debug/.build-id/8f/00c288fa058ce4d8887a7bded7c64eb6ace6d8	120777	root:root		../../../../lib64/libtrash.so.3.3
+File: /usr/lib/debug/.build-id/8f/00c288fa058ce4d8887a7bded7c64eb6ace6d8.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	13958a7d887e3c373166b1d1bf8ef838	
 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: 840fd3a5aaff72c66eb6d2736ccb88beff473d9324b0725ed1395be2bcc2ce85df731e344373797acb197724a7b50c35c16c1fda4809535c7b4347b7f35e4043