D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/yencode-0.46-23.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6iubA3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + test -d /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rQZYnx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + rm -rf yencode-0.46 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/yencode-0.46.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd yencode-0.46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/yencode-0.46-fix-str-fmt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/yencode-missing-include.patch + sed -i 's|egrep|grep -E|g' configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pYxme8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd yencode-0.46 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for mawk... (cached) gawk checking for x86_64-mageia-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for style of include used by make... fgrep: warning: fgrep is obsolescent; using grep -F GNU checking dependency style of gcc... none checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for ANSI C header files... no checking for errno.h... yes checking for getopt.h... yes checking for libintl.h... yes checking for memory.h... yes checking for stdarg.h... yes checking for stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for strings.h... yes checking for termios.h... yes checking for time.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for pwd.h... yes checking for signal.h... yes checking for sys/socket.h... yes checking for sys/utsname.h... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for stdlib.h... (cached) yes checking for working malloc... yes checking return type of signal handlers... void checking for gettimeofday... yes checking for memset... yes checking for setlocale... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for strerror in -lcposix... no checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... (cached) yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... (cached) yes checking for stpcpy... yes checking for strchr... (cached) yes checking for strcasecmp... yes checking for strdup... (cached) yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... (cached) yes checking for GNU gettext in libc... yes checking for dcgettext... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for bison... no configure: creating ./config.status config.status: creating Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating src/ypost/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: creating po/POTFILES config.status: creating po/Makefile yencode version 0.46 configured for x86_64-pc-linux-gnu ---------------------------------------------------------------------------- Type `make' to build the package. Type `make install' to install the package. + /usr/bin/make -O -j16 V=1 VERBOSE=1 cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged /usr/bin/make all-recursive Making all in intl make[2]: Nothing to be done for 'all'. Making all in po make[2]: Nothing to be done for 'all'. Making all in lib make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f alloca.c || echo './'`alloca.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f xmalloc.c || echo './'`xmalloc.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f xstrdup.c || echo './'`xstrdup.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f getopt1.c || echo './'`getopt1.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f getopt.c || echo './'`getopt.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f getoptstr.c || echo './'`getoptstr.c In file included from getoptstr.c:21: misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f input.c || echo './'`input.c In file included from input.c:21: misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f path.c || echo './'`path.c In file included from path.c:21: misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f screen.c || echo './'`screen.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f error.c || echo './'`error.c error.c: In function '_err_out': error.c:120:27: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] 120 | vsnprintf(msg, sizeof(msg), fmt, ap); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:511, from /usr/include/unistd.h:25, from misc.h:26, from error.c:21: /usr/include/bits/stdio2.h:93:19: note: expected 'char *' but argument is of type 'unsigned char *' 93 | __NTH (vsnprintf (__fortify_clang_overload_arg (char *, __restrict, __s), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ error.c:132:23: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 132 | fputs(msg, stderr); // message | ^~~ | | | unsigned char * In file included from misc.h:29: /usr/include/stdio.h:707:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 707 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ misc.h: At top level: misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f timer.c || echo './'`timer.c In file included from timer.c:22: misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f string.c || echo './'`string.c string.c: In function 'bytestr': string.c:47:88: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 47 | snprintf(numbuf, sizeof(numbuf), "%lluT", number); | ~~~^ ~~~~~~ | | | | | u_int64_t {aka long unsigned int} | long long unsigned int | %lu string.c:48:83: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 48 | } else snprintf(numbuf, sizeof(numbuf), "%lluG", number); | ~~~^ ~~~~~~ | | | | | u_int64_t {aka long unsigned int} | long long unsigned int | %lu string.c:49:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 49 | } else snprintf(numbuf, sizeof(numbuf), "%lluM", number); | ~~~^ ~~~~~~ | | | | | u_int64_t {aka long unsigned int} | long long unsigned int | %lu string.c:50:61: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 50 | } else snprintf(numbuf, sizeof(numbuf), "%lluk", number); | ~~~^ ~~~~~~ | | | | | u_int64_t {aka long unsigned int} | long long unsigned int | %lu string.c:51:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 51 | } else snprintf(numbuf, sizeof(numbuf), "%llu", number); | ~~~^ ~~~~~~ | | | | | u_int64_t {aka long unsigned int} | long long unsigned int | %lu string.c: In function 'sdprintf': string.c:247:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 247 | destlen = (d) ? strlen(d) : 0; | ^ | | | unsigned char * In file included from /usr/include/memory.h:29, from misc.h:70, from string.c:21: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ misc.h: At top level: misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' rm -f libmisc.a ar cru libmisc.a alloca.o xmalloc.o xstrdup.o getopt1.o getopt.o getoptstr.o error.o input.o path.o screen.o string.o timer.o ranlib libmisc.a make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' Making all in doc make[2]: Nothing to be done for 'all'. Making all in src Making all in ypost make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o crc.o `test -f ../crc.c || echo './'`../crc.c In file included from ../y.h:26, from ../crc.c:21: ../../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f nntp.c || echo './'`nntp.c nntp.c: In function '_nntptrans': nntp.c:80:45: warning: pointer targets in passing argument 1 of 'nntp_get_reply_num' differ in signedness [-Wpointer-sign] 80 | if (!(replynum = nntp_get_reply_num(reply))) | ^~~~~ | | | unsigned char * nntp.c:32:32: note: expected 'const char *' but argument is of type 'unsigned char *' 32 | nntp_get_reply_num(const char *reply) | ~~~~~~~~~~~~^~~~~ nntp.c: In function 'nntptrans': nntp.c:105:25: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] 105 | len = vsnprintf(buf, sizeof(buf)-4, fmt, ap); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ../y.h:24, from ypost.h:24, from nntp.c:21: /usr/include/bits/stdio2.h:93:19: note: expected 'char *' but argument is of type 'unsigned char *' 93 | __NTH (vsnprintf (__fortify_clang_overload_arg (char *, __restrict, __s), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntptransx': nntp.c:126:25: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] 126 | len = vsnprintf(buf, sizeof(buf)-4, fmt, ap); | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:93:19: note: expected 'char *' but argument is of type 'unsigned char *' 93 | __NTH (vsnprintf (__fortify_clang_overload_arg (char *, __restrict, __s), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../y.h:26: ../../lib/misc.h: At top level: ../../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o file.o `test -f ../file.c || echo './'`../file.c ../file.c: In function 'ydecfile_read_keywords': ../file.c:258:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 258 | while (fgets(buf, sizeof(buf), fp)) | ^~~ | | | unsigned char * In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ../y.h:24, from ../file.c:21: /usr/include/bits/stdio2.h:305:8: note: expected 'char * restrict' but argument is of type 'unsigned char *' 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../file.c:267:49: warning: pointer targets in passing argument 2 of 'ydecfile_add_yheader' differ in signedness [-Wpointer-sign] 267 | ydecfile_add_yheader(y, buf, lineno, strict); | ^~~ | | | unsigned char * ../file.c:96:41: note: expected 'char *' but argument is of type 'unsigned char *' 96 | ydecfile_add_yheader(YDECFILE *y, char *line, unsigned long lineno, int strict) | ~~~~~~^~~~ ../file.c:274:47: warning: pointer targets in passing argument 2 of 'ydecfile_add_ypart' differ in signedness [-Wpointer-sign] 274 | ydecfile_add_ypart(y, buf, lineno, strict); | ^~~ | | | unsigned char * ../file.c:177:39: note: expected 'char *' but argument is of type 'unsigned char *' 177 | ydecfile_add_ypart(YDECFILE *y, char *line, unsigned long lineno, int strict) | ~~~~~~^~~~ ../file.c:280:49: warning: pointer targets in passing argument 2 of 'ydecfile_add_yfooter' differ in signedness [-Wpointer-sign] 280 | ydecfile_add_yfooter(y, buf, lineno, strict); | ^~~ | | | unsigned char * ../file.c:207:41: note: expected 'char *' but argument is of type 'unsigned char *' 207 | ydecfile_add_yfooter(YDECFILE *y, char *line, unsigned long lineno, int strict) | ~~~~~~^~~~ ../file.c:251:25: warning: variable 'got_begin' set but not used [-Wunused-but-set-variable] 251 | register int got_begin = 0; | ^~~~~~~~~ In file included from ../y.h:26: ../../lib/misc.h: At top level: ../../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ ../file.c: In function 'yencfile_create': ../file.c:515:17: warning: '__builtin_strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 515 | strncpy(prefix, base_name, sizeof(prefix)-1); | ^ ../file.c:513:56: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 513 | snprintf(prefix, sizeof(prefix), "%s/%s", output_dir, base_name); | ^ In file included from /usr/include/stdio.h:970: In function 'snprintf', inlined from 'yencfile_create' at ../file.c:513:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f meter.c || echo './'`meter.c In file included from ypost.h:49, from meter.c:22: nntp.h:45:19: warning: inline function 'nntp_get_reply_num' declared but never defined 45 | extern inline int nntp_get_reply_num(const char *reply); | ^~~~~~~~~~~~~~~~~~ In file included from ../y.h:26, from ypost.h:24: ../../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o output.o `test -f ../output.c || echo './'`../output.c In file included from ../y.h:26, from ../output.c:21: ../../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ ../output.c: In function 'open_output_file': ../output.c:178:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | fgets(input, sizeof(input)-1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../output.c: In function 'rename_output_file': ../output.c:253:65: warning: '.bad-' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 253 | snprintf(renameto, sizeof(renameto), "%s.bad-%s", base, errmsg); | ^~~~~ In file included from /usr/include/stdio.h:970, from ../y.h:24: In function 'snprintf', inlined from 'rename_output_file' at ../output.c:253:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../output.c: In function 'rename_output_file': ../output.c:251:65: warning: '.bad-size' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 251 | snprintf(renameto, sizeof(renameto), "%s.bad-size", base); | ^~~~~~~~~ In function 'snprintf', inlined from 'rename_output_file' at ../output.c:251:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../output.c: In function 'rename_output_file': ../output.c:249:65: warning: '.bad-crc' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 249 | snprintf(renameto, sizeof(renameto), "%s.bad-crc", base); | ^~~~~~~~ In function 'snprintf', inlined from 'rename_output_file' at ../output.c:249:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../output.c: In function 'rename_output_file': ../output.c:240:65: warning: '.bad-' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 240 | snprintf(renameto, sizeof(renameto), "%s.bad-%s.%s", base, errmsg, ext); | ^~~~~ In function 'snprintf', inlined from 'rename_output_file' at ../output.c:240:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 7 or more bytes (assuming 4102) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../output.c: In function 'rename_output_file': ../output.c:238:65: warning: '.bad-size.' directive output may be truncated writing 10 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 238 | snprintf(renameto, sizeof(renameto), "%s.bad-size.%s", base, ext); | ^~~~~~~~~~ In function 'snprintf', inlined from 'rename_output_file' at ../output.c:238:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 4106) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../output.c: In function 'rename_output_file': ../output.c:236:65: warning: '.bad-crc.' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 236 | snprintf(renameto, sizeof(renameto), "%s.bad-crc.%s", base, ext); | ^~~~~~~~~ In function 'snprintf', inlined from 'rename_output_file' at ../output.c:236:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 4105) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f prompt.c || echo './'`prompt.c prompt.c: In function 'prompt_confirm_post': prompt.c:224:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 224 | subject = usenet_make_subject(y, -1); | ^ In file included from ypost.h:49, from prompt.c:22: nntp.h: At top level: nntp.h:45:19: warning: inline function 'nntp_get_reply_num' declared but never defined 45 | extern inline int nntp_get_reply_num(const char *reply); | ^~~~~~~~~~~~~~~~~~ In file included from ../y.h:26, from ypost.h:24: ../../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ prompt.c: In function 'prompt_nntp_server': prompt.c:134:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 134 | fgets(input, sizeof(input)-1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prompt.c: In function 'prompt_newsgroup': prompt.c:113:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | fgets(input, sizeof(input)-1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prompt.c: In function 'prompt_author': prompt.c:39:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | fgets(input, sizeof(input)-1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prompt.c: In function 'prompt_subject': prompt.c:63:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | fgets(input, sizeof(input)-1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prompt.c: In function 'prompt_comment': prompt.c:88:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | fgets(input, sizeof(input)-1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prompt.c: In function 'prompt_confirm_post': prompt.c:256:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 256 | fgets(input, sizeof(input)-1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o support.o `test -f ../support.c || echo './'`../support.c ../support.c: In function 'yencode_and_write_buffer': ../support.c:42:45: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 42 | fprintf(out, "=ybegin line=%d size=%u name=%s\r\n", opt_line_length, buflen, filename); | ~^ ~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu ../support.c:70:35: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 70 | fprintf(out, "=yend size=%u crc32=%08x\r\n", buflen, crc); | ~^ ~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu ../support.c: In function 'sfv_create': ../support.c:158:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 158 | yencode_and_write_buffer(fp, outbase, buf, strlen(buf)); | ^~~ | | | unsigned char * In file included from /usr/include/memory.h:29, from ../../lib/misc.h:70, from ../y.h:26, from ../support.c:21: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../support.c: In function 'crc_create': ../support.c:206:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 206 | yencode_and_write_buffer(fp, outbase, buf, strlen(buf)); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../../lib/misc.h: At top level: ../../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f usenet.c || echo './'`usenet.c usenet.c: In function 'usenet_make_subject': usenet.c:272:35: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 272 | sdprintf(&subj, "%u yEnc bytes", y->filesize); | ~^ ~~~~~~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu usenet.c:276:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 276 | sdprintf(&subj, "yEnc (%s/%d) %u bytes", pad_number(part, y->totalparts, 1), y->totalparts, y->filesize); | ~^ ~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld usenet.c:276:48: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 276 | sdprintf(&subj, "yEnc (%s/%d) %u bytes", pad_number(part, y->totalparts, 1), y->totalparts, y->filesize); | ~^ ~~~~~~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu usenet.c:280:24: warning: pointer targets in passing argument 1 of 'format_subject' differ in signedness [-Wpointer-sign] 280 | format_subject(subj); | ^~~~ | | | unsigned char * usenet.c:195:22: note: expected 'char *' but argument is of type 'unsigned char *' 195 | format_subject(char *subject) | ~~~~~~^~~~~~~ In file included from ypost.h:49, from usenet.c:22: nntp.h: At top level: nntp.h:45:19: warning: inline function 'nntp_get_reply_num' declared but never defined 45 | extern inline int nntp_get_reply_num(const char *reply); | ^~~~~~~~~~~~~~~~~~ In file included from ../y.h:26, from ypost.h:24: ../../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ usenet.c: In function 'pad_number': usenet.c:181:51: warning: '%*.*s' directive output may be truncated writing up to 2147483648 bytes into a region of size 16 [-Wformat-truncation=] 181 | snprintf(numbuf, sizeof(numbuf), "%*.*s", width, width, "xxxxxxxxxxxxxxxxx"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~ usenet.c:181:50: note: assuming directive output of 17 bytes 181 | snprintf(numbuf, sizeof(numbuf), "%*.*s", width, width, "xxxxxxxxxxxxxxxxx"); | ^~~~~~~ In file included from /usr/include/stdio.h:970, from ../y.h:24: In function 'snprintf', inlined from 'pad_number' at usenet.c:181:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 1 and 2147483649 bytes into a destination of size 16 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f sock.c || echo './'`sock.c sock.c: In function 'sock_gets_fd': sock.c:240:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 240 | sockdebug(Y_SOCKDEBUG_RECV, buf, strlen(buf)); | ^~~ | | | unsigned char * In file included from /usr/include/memory.h:29, from ../../lib/misc.h:70, from ../y.h:26, from ypost.h:24, from sock.c:22: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sock.c: In function 'sock_puts_fd': sock.c:289:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 289 | int datalen = strlen(data); | ^~~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sock.c:291:21: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 291 | if (!strstr(data, CRLF)) // Append CR/LF if necessary | ^~~~ | | | const unsigned char * /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'const unsigned char *' 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ sock.c: In function 'sock_printf': sock.c:326:25: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] 326 | len = vsnprintf(buf, sizeof(buf)-4, fmt, ap); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ../y.h:24: /usr/include/bits/stdio2.h:93:19: note: expected 'char *' but argument is of type 'unsigned char *' 93 | __NTH (vsnprintf (__fortify_clang_overload_arg (char *, __restrict, __s), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sock.c: In function 'sock_puts_meter_fd': sock.c:357:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 357 | int datalen = strlen(buf); // Length of data to write | ^~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sock.c:362:21: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 362 | if (!strstr(buf, CRLF)) // Append CR/LF if necessary | ^~~ | | | const unsigned char * /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'const unsigned char *' 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ In file included from ypost.h:49: nntp.h: At top level: nntp.h:45:19: warning: inline function 'nntp_get_reply_num' declared but never defined 45 | extern inline int nntp_get_reply_num(const char *reply); | ^~~~~~~~~~~~~~~~~~ ../../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f ypost.c || echo './'`ypost.c ypost.c: In function 'create_support_files': ypost.c:685:55: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 685 | y->filesize = strlen(y->support_data); | ~^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/memory.h:29, from ../../lib/misc.h:70, from ../y.h:26, from ypost.h:24, from ypost.c:21: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ypost.c:691:55: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 691 | y->filesize = strlen(y->support_data); | ~^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ypost.c: In function 'output_file_info': ypost.c:737:79: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 737 | printf(" part %03d: begin=%lu end=%lu size=%u\n", part + 1, y->part[part]->begin, | ~^ | | | unsigned int | %lu 738 | y->part[part]->end, y->part[part]->size); | ~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} In file included from ypost.h:51: ypost.c: In function 'post_file': ypost.c:814:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 814 | sock_write(headers, strlen(headers)); /* Output headers */ | ^~~~~~~ | | | unsigned char * sock.h:34:68: note: in definition of macro 'sock_write' 34 | #define sock_write(b,c) sock_write_fd(_SOCK_CURRENT_FD, b, c) | ^ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ypost.c:822:60: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 822 | sock_printf("=ybegin line=%d size=%u name=%s\n", | ~^ | | | unsigned int | %lu 823 | opt_line_length, y->filesize, STRIP_PATH(y->input_filename)); | ~~~~~~~~~~~ | | | size_t {aka long unsigned int} ypost.c:825:61: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 825 | sock_printf("=ybegin part=%d total=%d line=%d size=%u name=%s\n", | ~^ | | | int | %ld 826 | part_current, y->totalparts, opt_line_length, y->filesize, STRIP_PATH(y->input_filename)); | ~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ypost.c:825:77: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 825 | sock_printf("=ybegin part=%d total=%d line=%d size=%u name=%s\n", | ~^ | | | unsigned int | %lu 826 | part_current, y->totalparts, opt_line_length, y->filesize, STRIP_PATH(y->input_filename)); | ~~~~~~~~~~~ | | | size_t {aka long unsigned int} ypost.c:928:50: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 928 | sock_printf("=yend size=%u crc32=%08X\n", y->filesize, y->crc); | ~^ ~~~~~~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu ypost.c:932:58: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 932 | sock_printf("=yend size=%u part=%d pcrc32=%08X crc32=%08X\n", y->part[part_current-1]->size, part_current, pcrc, y->crc); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu ypost.c:934:58: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 934 | sock_printf("=yend size=%u part=%d pcrc32=%08X\n", y->part[part_current-1]->size, part_current, pcrc); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu ypost.c:942:27: warning: pointer targets in passing argument 2 of 'sock_puts_fd' differ in signedness [-Wpointer-sign] 942 | sock_puts("."); /* Do this even if opt_stdout, as a separator there */ | ^~~ | | | char * sock.h:35:72: note: in definition of macro 'sock_puts' 35 | #define sock_puts(d) sock_puts_fd(_SOCK_CURRENT_FD, d) | ^ sock.h:56:55: note: expected 'const unsigned char *' but argument is of type 'char *' 56 | extern void sock_puts_fd(int fd, const unsigned char *data); | ~~~~~~~~~~~~~~~~~~~~~^~~~ ypost.c:947:55: warning: pointer targets in passing argument 1 of 'nntp_get_reply_num' differ in signedness [-Wpointer-sign] 947 | replynum = nntp_get_reply_num(reply); | ^~~~~ | | | unsigned char * In file included from ypost.h:49: nntp.h:45:50: note: expected 'const char *' but argument is of type 'unsigned char *' 45 | extern inline int nntp_get_reply_num(const char *reply); | ~~~~~~~~~~~~^~~~~ ypost.c:949:57: warning: pointer targets in passing argument 1 of 'strtrim' differ in signedness [-Wpointer-sign] 949 | Verbose("* %s", strtrim(reply)); | ^~~~~ | | | unsigned char * ../../lib/misc.h:289:97: note: in definition of macro 'Verbose' 289 | #define Verbose(fmt, args...) _err_out(err_type_verbose, 0, 0, 0, __FILE__, __LINE__, fmt, ## args) | ^~~~ ../../lib/misc.h:318:28: note: expected 'char *' but argument is of type 'unsigned char *' 318 | extern char *strtrim(char *str); | ~~~~~~^~~ ypost.c:951:67: warning: pointer targets in passing argument 1 of 'strtrim' differ in signedness [-Wpointer-sign] 951 | Verbose("* %s (%.2fk/s)", strtrim(reply), | ^~~~~ | | | unsigned char * ../../lib/misc.h:289:97: note: in definition of macro 'Verbose' 289 | #define Verbose(fmt, args...) _err_out(err_type_verbose, 0, 0, 0, __FILE__, __LINE__, fmt, ## args) | ^~~~ ../../lib/misc.h:318:28: note: expected 'char *' but argument is of type 'unsigned char *' 318 | extern char *strtrim(char *str); | ~~~~~~^~~ ypost.c:757:41: warning: variable 'total_lines' set but not used [-Wunused-but-set-variable] 757 | register int ct, linect, lines, total_lines; | ^~~~~~~~~~~ nntp.h: At top level: nntp.h:45:19: warning: inline function 'nntp_get_reply_num' declared but never defined 45 | extern inline int nntp_get_reply_num(const char *reply); | ^~~~~~~~~~~~~~~~~~ ../../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ypost crc.o file.o meter.o nntp.o output.o prompt.o sock.o support.o usenet.o ypost.o ../../lib/libmisc.a make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I.. -I../lib -I../intl -Wall -Wno-unused -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f crc.c || echo './'`crc.c In file included from y.h:26, from crc.c:21: ../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I.. -I../lib -I../intl -Wall -Wno-unused -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f output.c || echo './'`output.c In file included from y.h:26, from output.c:21: ../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ output.c: In function 'open_output_file': output.c:178:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | fgets(input, sizeof(input)-1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ output.c: In function 'rename_output_file': output.c:253:65: warning: '.bad-' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 253 | snprintf(renameto, sizeof(renameto), "%s.bad-%s", base, errmsg); | ^~~~~ In file included from /usr/include/stdio.h:970, from y.h:24: In function 'snprintf', inlined from 'rename_output_file' at output.c:253:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ output.c: In function 'rename_output_file': output.c:251:65: warning: '.bad-size' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 251 | snprintf(renameto, sizeof(renameto), "%s.bad-size", base); | ^~~~~~~~~ In function 'snprintf', inlined from 'rename_output_file' at output.c:251:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ output.c: In function 'rename_output_file': output.c:249:65: warning: '.bad-crc' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 249 | snprintf(renameto, sizeof(renameto), "%s.bad-crc", base); | ^~~~~~~~ In function 'snprintf', inlined from 'rename_output_file' at output.c:249:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ output.c: In function 'rename_output_file': output.c:240:65: warning: '.bad-' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 240 | snprintf(renameto, sizeof(renameto), "%s.bad-%s.%s", base, errmsg, ext); | ^~~~~ In function 'snprintf', inlined from 'rename_output_file' at output.c:240:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 7 or more bytes (assuming 4102) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ output.c: In function 'rename_output_file': output.c:238:65: warning: '.bad-size.' directive output may be truncated writing 10 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 238 | snprintf(renameto, sizeof(renameto), "%s.bad-size.%s", base, ext); | ^~~~~~~~~~ In function 'snprintf', inlined from 'rename_output_file' at output.c:238:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 4106) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ output.c: In function 'rename_output_file': output.c:236:65: warning: '.bad-crc.' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 236 | snprintf(renameto, sizeof(renameto), "%s.bad-crc.%s", base, ext); | ^~~~~~~~~ In function 'snprintf', inlined from 'rename_output_file' at output.c:236:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 4105) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I.. -I../lib -I../intl -Wall -Wno-unused -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f file.c || echo './'`file.c file.c: In function 'ydecfile_read_keywords': file.c:258:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 258 | while (fgets(buf, sizeof(buf), fp)) | ^~~ | | | unsigned char * In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from y.h:24, from file.c:21: /usr/include/bits/stdio2.h:305:8: note: expected 'char * restrict' but argument is of type 'unsigned char *' 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:267:49: warning: pointer targets in passing argument 2 of 'ydecfile_add_yheader' differ in signedness [-Wpointer-sign] 267 | ydecfile_add_yheader(y, buf, lineno, strict); | ^~~ | | | unsigned char * file.c:96:41: note: expected 'char *' but argument is of type 'unsigned char *' 96 | ydecfile_add_yheader(YDECFILE *y, char *line, unsigned long lineno, int strict) | ~~~~~~^~~~ file.c:274:47: warning: pointer targets in passing argument 2 of 'ydecfile_add_ypart' differ in signedness [-Wpointer-sign] 274 | ydecfile_add_ypart(y, buf, lineno, strict); | ^~~ | | | unsigned char * file.c:177:39: note: expected 'char *' but argument is of type 'unsigned char *' 177 | ydecfile_add_ypart(YDECFILE *y, char *line, unsigned long lineno, int strict) | ~~~~~~^~~~ file.c:280:49: warning: pointer targets in passing argument 2 of 'ydecfile_add_yfooter' differ in signedness [-Wpointer-sign] 280 | ydecfile_add_yfooter(y, buf, lineno, strict); | ^~~ | | | unsigned char * file.c:207:41: note: expected 'char *' but argument is of type 'unsigned char *' 207 | ydecfile_add_yfooter(YDECFILE *y, char *line, unsigned long lineno, int strict) | ~~~~~~^~~~ In file included from y.h:26: ../lib/misc.h: At top level: ../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ file.c: In function 'yencfile_create': file.c:515:17: warning: '__builtin_strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 515 | strncpy(prefix, base_name, sizeof(prefix)-1); | ^ file.c:513:56: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 513 | snprintf(prefix, sizeof(prefix), "%s/%s", output_dir, base_name); | ^ In file included from /usr/include/stdio.h:970: In function 'snprintf', inlined from 'yencfile_create' at file.c:513:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I.. -I../lib -I../intl -Wall -Wno-unused -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f support.c || echo './'`support.c support.c: In function 'yencode_and_write_buffer': support.c:42:45: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 42 | fprintf(out, "=ybegin line=%d size=%u name=%s\r\n", opt_line_length, buflen, filename); | ~^ ~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu support.c:70:35: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 70 | fprintf(out, "=yend size=%u crc32=%08x\r\n", buflen, crc); | ~^ ~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu support.c: In function 'sfv_create': support.c:158:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 158 | yencode_and_write_buffer(fp, outbase, buf, strlen(buf)); | ^~~ | | | unsigned char * In file included from /usr/include/memory.h:29, from ../lib/misc.h:70, from y.h:26, from support.c:21: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ support.c: In function 'crc_create': support.c:206:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 206 | yencode_and_write_buffer(fp, outbase, buf, strlen(buf)); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../lib/misc.h: At top level: ../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I.. -I../lib -I../intl -Wall -Wno-unused -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f yencode.c || echo './'`yencode.c yencode.c: In function 'yencode_file': yencode.c:374:88: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 374 | headers = fprintf(out, "=ybegin part=%d total=%d line=%d size=%u name=%s\r\n", | ~^ | | | unsigned int | %lu 375 | part, totalparts, opt_line_length, insize, STRIP_PATH(f->input_filename)); | ~~~~~~ | | | size_t {aka long unsigned int} yencode.c:390:71: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 390 | headers = fprintf(out, "=ybegin line=%d size=%u name=%s\r\n", | ~^ | | | unsigned int | %lu 391 | opt_line_length, insize, STRIP_PATH(f->input_filename)); | ~~~~~~ | | | size_t {aka long unsigned int} yencode.c:404:79: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 404 | headers += fprintf(out, "=yend part=%d total=%d size=%u pcrc32=%08X", | ~^ | | | unsigned int | %lu 405 | part, totalparts, decpart, pcrc32); | ~~~~~~~ | | | size_t {aka long unsigned int} yencode.c:410:62: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 410 | headers += fprintf(out, "=yend size=%u crc32=%08X\r\n", insize, crc32); | ~^ ~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu In file included from y.h:26, from yencode.c:21: ../lib/misc.h: At top level: ../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' gcc -Wall -Wno-unused -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yencode yencode.o crc.o file.o output.o support.o ../lib/libmisc.a make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSTYPE=\"x86_64-mageia-linux-gnu\" -I. -I. -I.. -I../lib -I../intl -Wall -Wno-unused -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c `test -f ydecode.c || echo './'`ydecode.c ydecode.c: In function 'ydecode_data': ydecode.c:439:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 439 | while (fgets(inbuf, sizeof(inbuf), in)) | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from y.h:24, from ydecode.c:21: /usr/include/bits/stdio2.h:305:8: note: expected 'char * restrict' but argument is of type 'unsigned char *' 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ydecode.c: In function 'ydecode_single': ydecode.c:577:57: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 577 | snprintf(errmsg, sizeof(errmsg), "size-%u", decodedsize); | ~^ ~~~~~~~~~~~ | | | | | size_t {aka long unsigned int} | unsigned int | %lu ydecode.c: In function 'ydecode_multi': ydecode.c:818:66: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 818 | snprintf(errmsg, sizeof(errmsg), "psize-%u", decpart); | ~^ ~~~~~~~ | | | | | size_t {aka long unsigned int} | unsigned int | %lu ydecode.c:851:57: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 851 | snprintf(errmsg, sizeof(errmsg), "size-%u", decodedsize); | ~^ ~~~~~~~~~~~ | | | | | size_t {aka long unsigned int} | unsigned int | %lu In file included from y.h:26: ../lib/misc.h: At top level: ../lib/misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ ydecode.c: In function 'set_output_filename': ydecode.c:391:25: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 4095 bytes from a string of length 4095 [-Wstringop-truncation] 391 | strncat(outfile, path, sizeof(outfile) - strlen(outfile) - 1); | ^ ydecode.c:403:9: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 4095 bytes from a string of length 4095 [-Wstringop-truncation] 403 | strncat(outfile, file, sizeof(outfile) - strlen(outfile) - 1); | ^ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' gcc -Wall -Wno-unused -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ydecode ydecode.o crc.o file.o output.o ../lib/libmisc.a make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tc50U5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + mkdir /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd yencode-0.46 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in intl make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/intl' if test "yencode" = "gettext" \ && test '' = 'intl-compat.o'; then \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/lib64 /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/include; \ /usr/bin/install -p -m 644 libintl.h /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/include/libintl.h; \ @LIBTOOL@ --mode=install \ /usr/bin/install -p -m 644 libintl.a /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/lib64/libintl.a; \ else \ : ; \ fi if test 'no' = yes; then \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/lib64; \ temp=/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/lib64/t-charset.alias; \ dest=/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/lib64/charset.alias; \ if test -f /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/lib64/charset.alias; then \ orig=/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/lib64/charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -p -m 644 $temp $dest; \ rm -f $temp; \ else \ if test yes = no; then \ orig=charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -p -m 644 $temp $dest; \ rm -f $temp; \ fi; \ fi; \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/locale; \ test -f /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/locale/locale.alias \ && orig=/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/locale/locale.alias \ || orig=./locale.alias; \ temp=/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/locale/t-locale.alias; \ dest=/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/locale/locale.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -p -m 644 $temp $dest; \ rm -f $temp; \ else \ : ; \ fi if test "yencode" = "gettext"; then \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/gettext/intl; \ /usr/bin/install -p -m 644 VERSION /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/gettext/intl/VERSION; \ /usr/bin/install -p -m 644 ChangeLog.inst /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/gettext/intl/ChangeLog; \ dists="COPYING.LIB-2 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gettext.h gettextP.h hash-string.h libgnuintl.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y localcharset.c intl-compat.c"; \ for file in $dists; do \ /usr/bin/install -p -m 644 ./$file \ /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/gettext/intl/$file; \ done; \ chmod a+x /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/gettext/intl/config.charset; \ dists="plural.c"; \ for file in $dists; do \ if test -f $file; then dir=.; else dir=.; fi; \ /usr/bin/install -p -m 644 $dir/$file \ /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/gettext/intl/$file; \ done; \ dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c"; \ for file in $dists; do \ rm -f /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/gettext/intl/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/intl' Making install in po make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/po' /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share mkdir /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr mkdir /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share if test "yencode" = "gettext"; then \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/gettext/po; \ /usr/bin/install -p -m 644 ./Makefile.in.in \ /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/gettext/po/Makefile.in.in; \ else \ : ; \ fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/po' Making install in lib make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' Making install in doc make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/doc' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/doc' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/man/man1 mkdir /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/man mkdir /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/man/man1 /usr/bin/install -p -m 644 ./yencode.1 /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/man/man1/yencode.1 /usr/bin/install -p -m 644 ./ydecode.1 /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/man/man1/ydecode.1 /usr/bin/install -p -m 644 ./ypost.1 /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/man/man1/ypost.1 /bin/sh ../mkinstalldirs /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/man/man5 mkdir /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/man/man5 /usr/bin/install -p -m 644 ./ypostrc.5 /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/man/man5/ypostrc.5 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/doc' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/doc' Making install in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' Making install in ypost make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' /bin/sh ../../mkinstalldirs /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/bin mkdir /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/bin /usr/bin/install -p ypost /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/bin/ypost make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src/ypost' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' /bin/sh ../mkinstalldirs /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/bin /usr/bin/install -p yencode /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/bin/yencode /usr/bin/install -p ydecode /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/bin/ydecode make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46' --- PROGRAMS INSTALLED ----------------------------- /usr/bin/yencode A program to create yEnc encoded files. /usr/bin/ydecode A program to decode yEnc encoded files. /usr/bin/ypost A program to encode and post files via Usenet. --- DOCUMENTATION INSTALLED ------------------------ /usr/share/man/yencode.1 Manual page for the `yencode' program. /usr/share/man/ydecode.1 Manual page for the `ydecode' program. /usr/share/man/ypost.1 Manual page for the `ypost' program. /usr/share/man/ypostrc.5 Manual page describing the `~/.ypostrc' format. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46' + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.46-23.mga10 --unique-debug-suffix -0.46-23.mga10.x86_64 --unique-debug-src-base yencode-0.46-23.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46 find-debuginfo: starting Extracting debug info from 3 files DWARF-compressing 3 files sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/yencode-0.46-23.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/SPECPARTS/rpm-debuginfo.specpart Processing files: yencode-0.46-23.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BIZunx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + cd yencode-0.46 + DOCDIR=/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/doc/yencode + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/doc/yencode + cp -pr /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/AUTHORS /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/doc/yencode + cp -pr /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/ChangeLog /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/doc/yencode + cp -pr /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/README /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT/usr/share/doc/yencode + RPM_EC=0 ++ jobs -p + exit 0 Provides: yencode = 0.46-23.mga10 yencode(x86-64) = 0.46-23.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) 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) Processing files: yencode-debugsource-0.46-23.mga10.x86_64 Provides: yencode-debugsource = 0.46-23.mga10 yencode-debugsource(x86-64) = 0.46-23.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: yencode-debuginfo-0.46-23.mga10.x86_64 Provides: debuginfo(build-id) = 3335d47da7ad274ef2c3d871cc1bf6a524e92998 debuginfo(build-id) = e3d058e6935cb5001efa277167b4e7e858183ac4 debuginfo(build-id) = eecf48840c7594397fba0160ca83d4971cb50791 yencode-debuginfo = 0.46-23.mga10 yencode-debuginfo(x86-64) = 0.46-23.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: yencode-debugsource(x86-64) = 0.46-23.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/yencode-0.46-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/yencode-debuginfo-0.46-23.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/yencode-debugsource-0.46-23.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/yencode-0.46-23.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gYsEbz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + test -d /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + rm -rf /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!