<86>Oct 29 16:27:53 userdel[2932049]: delete user 'rooter' <86>Oct 29 16:27:53 userdel[2932049]: removed group 'rooter' owned by 'rooter' <86>Oct 29 16:27:53 userdel[2932049]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 29 16:27:53 groupadd[2932070]: group added to /etc/group: name=rooter, GID=1241 <86>Oct 29 16:27:53 groupadd[2932070]: group added to /etc/gshadow: name=rooter <86>Oct 29 16:27:53 groupadd[2932070]: new group: name=rooter, GID=1241 <86>Oct 29 16:27:53 useradd[2932089]: new user: name=rooter, UID=1241, GID=1241, home=/root, shell=/bin/bash, from=none <86>Oct 29 16:27:53 userdel[2932116]: delete user 'builder' <86>Oct 29 16:27:53 userdel[2932116]: removed group 'builder' owned by 'builder' <86>Oct 29 16:27:53 userdel[2932116]: removed shadow group 'builder' owned by 'builder' <86>Oct 29 16:27:53 groupadd[2932144]: group added to /etc/group: name=builder, GID=1242 <86>Oct 29 16:27:53 groupadd[2932144]: group added to /etc/gshadow: name=builder <86>Oct 29 16:27:53 groupadd[2932144]: new group: name=builder, GID=1242 <86>Oct 29 16:27:53 useradd[2932170]: new user: name=builder, UID=1242, GID=1242, 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>Oct 29 16:27:58 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Oct 29 16:27:58 rpmi: libreadline7-7.0.3-alt5 sisyphus+328858.200.1.1 1694010737 installed <13>Oct 29 16:27:58 rpmi: libpython-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed <13>Oct 29 16:27:58 rpmi: python2-base-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed <13>Oct 29 16:27:58 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Oct 29 16:27:58 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Oct 29 16:27:59 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Oct 29 16:27:59 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Oct 29 16:27:59 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>Oct 29 16:27:59 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Oct 29 16:27:59 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Oct 29 16:27:59 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Oct 29 16:27:59 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Oct 29 16:27:59 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Oct 29 16:27:59 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Oct 29 16:27:59 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Oct 29 16:27:59 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Oct 29 16:27:59 rpmi: libcrypto3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed <13>Oct 29 16:27:59 rpmi: libssl3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed <13>Oct 29 16:27:59 rpmi: python-modules-encodings-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed <13>Oct 29 16:27:59 rpmi: python-modules-compiler-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed <13>Oct 29 16:27:59 rpmi: python-modules-email-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed <13>Oct 29 16:27:59 rpmi: python-modules-unittest-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed <13>Oct 29 16:27:59 rpmi: python-modules-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed <13>Oct 29 16:27:59 rpmi: python3-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 installed <13>Oct 29 16:28:01 rpmi: python3-base-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 installed <13>Oct 29 16:28:01 rpmi: libpython3-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 installed <13>Oct 29 16:28:01 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Oct 29 16:28:01 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Oct 29 16:28:01 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Oct 29 16:28:01 rpmi: python-modules-ctypes-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed <13>Oct 29 16:28:01 rpmi: python-modules-multiprocessing-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed <13>Oct 29 16:28:01 rpmi: python-modules-logging-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed <13>Oct 29 16:28:01 rpmi: python-tools-2to3-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252303 installed <13>Oct 29 16:28:03 rpmi: python3-dev-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 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.64577 + 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.55773 + 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 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:9: 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:10: 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 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: error: 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]: *** [Makefile:31: libtrash.so.3.3] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libtrash-3.3/src' make: *** [Makefile:2: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.55773 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.55773 (%build) Command exited with non-zero status 1 2.17user 0.31system 0:02.48elapsed 100%CPU (0avgtext+0avgdata 30688maxresident)k 0inputs+0outputs (0major+60535minor)pagefaults 0swaps hsh-rebuild: rebuild of `libtrash-3.3-alt2.src.rpm' failed. Command exited with non-zero status 1 6.42user 2.01system 0:17.54elapsed 48%CPU (0avgtext+0avgdata 136256maxresident)k 9496inputs+0outputs (0major+205182minor)pagefaults 0swaps