Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/barcode.spec'], chrootPath='/var/lib/mock/f40-build-747753-113321/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/barcode.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Wrote: /builddir/build/SRPMS/barcode-0.98-46.fc40.src.rpm RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/barcode.spec'], chrootPath='/var/lib/mock/f40-build-747753-113321/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/barcode.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Bm3gUX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf barcode-0.98 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/barcode-0.98.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd barcode-0.98 + rm -rf /builddir/build/BUILD/barcode-0.98-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/barcode-0.98-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (barcode-configure.patch):' Patch #0 (barcode-configure.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .directories --fuzz=0 patching file Makefile.in + echo 'Patch #1 (barcode-install-info.patch):' Patch #1 (barcode-install-info.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .categories --fuzz=0 patching file doc/doc.barcode Patch #2 (barcode-0.98-format-security.patch): + echo 'Patch #2 (barcode-0.98-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .format-security --fuzz=0 patching file plessey.c + echo 'Patch #3 (barcode-configure-c99.patch):' Patch #3 (barcode-configure-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure Patch #4 (barcode-c99.patch): + echo 'Patch #4 (barcode-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sample.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.irnDWQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd barcode-0.98 + export MAKEINFO=makeinfo + MAKEINFO=makeinfo + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ) works... yes checking whether the C compiler (gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for getopt.h... yes checking for paper.h... no checking for unistd.h... yes checking for strerror... yes checking for strcasecmp... yes checking for gmake... yes checking if makeinfo can output html... yes updating cache ./config.cache creating ./config.status creating Makefile sed: can't read confdefs.h: No such file or directory creating ./config.status creating doc/Makefile + make -C doc clean make: Entering directory '/builddir/build/BUILD/barcode-0.98/doc' # preserve the pdf copy mv -f barcode.pdf PDF 2> /dev/null && \ rm -f *~ *.dvi *.log *.aux \ barcode.*.bak barcode.??? barcode.texinfo && \ mv PDF barcode.pdf; # preserve the ps copy mv barcode.ps PS; rm -f barcode.??; mv PS barcode.ps; rm -f barcode.ps barcode.info barcodedoc.txt barcode.html barcode.pdf barcode_toc.html make: Leaving directory '/builddir/build/BUILD/barcode-0.98/doc' + make gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o library.o library.c library.c: In function ‘Barcode_Encode’: library.c:161:24: warning: pointer targets in passing argument 1 of ‘cptr->verify’ differ in signedness [-Wpointer-sign] 161 | if (cptr->verify(bc->ascii) != 0) { | ~~^~~~~~~ | | | char * library.c:161:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o ean.o ean.c ean.c: In function ‘Barcode_ean_verify’: ean.c:139:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 139 | len = strlen(text); | ^~~~ | | | unsigned char * In file included from ean.c:25: /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) | ~~~~~~~~~~~~^~~ ean.c:140:18: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 140 | spc = strchr(text, ' '); | ^~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ean.c:140:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 140 | spc = strchr(text, ' '); | ^ ean.c:158:17: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 158 | strncpy(tmp, text, 7); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ean.c:23: /usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ean.c:158:22: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 158 | strncpy(tmp, text, 7); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ean.c:160:43: warning: pointer targets in passing argument 1 of ‘ean_make_checksum’ differ in signedness [-Wpointer-sign] 160 | if (text[7] != (ean_make_checksum(tmp, 0) + '0')) | ^~~ | | | unsigned char * ean.c:101:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 101 | static int ean_make_checksum(char *text, int mode) | ~~~~~~^~~~ ean.c:165:17: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 165 | strncpy(tmp, text, 12); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ean.c:165:22: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 165 | strncpy(tmp, text, 12); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ean.c:167:44: warning: pointer targets in passing argument 1 of ‘ean_make_checksum’ differ in signedness [-Wpointer-sign] 167 | if (text[12] != (ean_make_checksum(tmp, 0) + '0')) | ^~~ | | | unsigned char * ean.c:101:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 101 | static int ean_make_checksum(char *text, int mode) | ~~~~~~^~~~ ean.c: In function ‘upc_e_to_a0’: ean.c:185:31: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 185 | strncpy(result+1, text, 2); result[3]=text[5]; /* Manuf. */ | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ean.c: In function ‘upc_e_to_a’: ean.c:222:18: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 222 | spc = strchr(text, ' '); | ^~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ean.c:222:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 222 | spc = strchr(text, ' '); | ^ ean.c:226:22: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 226 | len = strlen(text); | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~ ean.c:230:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 230 | strcpy(result, upc_e_to_a0(text)); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ean.c:231:16: warning: pointer targets in returning ‘unsigned char *’ from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 231 | return result; | ^~~~~~ ean.c:237:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 237 | strcpy(result, upc_e_to_a0(text+1)); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ean.c:239:24: warning: pointer targets in returning ‘unsigned char *’ from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 239 | return result; | ^~~~~~ ean.c:243:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 243 | strcpy(result, upc_e_to_a0(text)); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ean.c:244:33: warning: pointer targets in passing argument 1 of ‘ean_make_checksum’ differ in signedness [-Wpointer-sign] 244 | chk = ean_make_checksum(result, 0); | ^~~~~~ | | | unsigned char * ean.c:101:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 101 | static int ean_make_checksum(char *text, int mode) | ~~~~~~^~~~ ean.c:247:24: warning: pointer targets in returning ‘unsigned char *’ from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 247 | return result; | ^~~~~~ ean.c:252:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 252 | strcpy(result, upc_e_to_a0(text+1)); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ean.c:254:41: warning: pointer targets in passing argument 1 of ‘ean_make_checksum’ differ in signedness [-Wpointer-sign] 254 | chk = ean_make_checksum(result, 0); | ^~~~~~ | | | unsigned char * ean.c:101:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 101 | static int ean_make_checksum(char *text, int mode) | ~~~~~~^~~~ ean.c:256:32: warning: pointer targets in returning ‘unsigned char *’ from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 256 | return result; | ^~~~~~ ean.c: In function ‘upc_a_to_e’: ean.c:274:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 274 | len = strlen(text); | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~ ean.c:277:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 277 | strcpy(result, text); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ean.c:277:24: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 277 | strcpy(result, text); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ean.c:279:36: warning: pointer targets in passing argument 1 of ‘ean_make_checksum’ differ in signedness [-Wpointer-sign] 279 | chksum = ean_make_checksum(result, 0); | ^~~~~~ | | | unsigned char * ean.c:101:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 101 | static int ean_make_checksum(char *text, int mode) | ~~~~~~^~~~ ean.c:284:36: warning: pointer targets in passing argument 1 of ‘ean_make_checksum’ differ in signedness [-Wpointer-sign] 284 | chksum = ean_make_checksum(text, 0); | ^~~~ | | | unsigned char * ean.c:101:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 101 | static int ean_make_checksum(char *text, int mode) | ~~~~~~^~~~ ean.c:290:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 290 | strcpy(result, "00000000"); /* 8 0's*/ | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ean.c:299:29: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 299 | && !strncmp(text+4, "0000", 4)) { | ~~~~^~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ean.c:303:29: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 303 | } else if (!strncmp(text+4, "00000", 5)) { | ~~~~^~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ean.c:307:29: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 307 | } else if (!strncmp(text+5, "00000", 5)) { | ~~~~^~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ean.c:311:49: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 311 | } else if ((text[5] != '0') && !strncmp(text+6, "0000", 4) | ~~~~^~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ean.c: In function ‘Barcode_upc_verify’: ean.c:337:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 337 | len = strlen(text); | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~ ean.c:338:18: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 338 | spc = strchr(text, ' '); | ^~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ean.c:338:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 338 | spc = strchr(text, ' '); | ^ ean.c:356:17: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 356 | strncpy(tmp, text, len0); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ean.c:356:22: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 356 | strncpy(tmp, text, len0); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ean.c:362:17: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 362 | strncpy(tmp, text, 11); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ean.c:362:22: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 362 | strncpy(tmp, text, 11); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ean.c:364:44: warning: pointer targets in passing argument 1 of ‘ean_make_checksum’ differ in signedness [-Wpointer-sign] 364 | if (text[11] != (ean_make_checksum(tmp, 0) + '0')) | ^~~ | | | unsigned char * ean.c:101:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 101 | static int ean_make_checksum(char *text, int mode) | ~~~~~~^~~~ ean.c: In function ‘Barcode_isbn_verify’: ean.c:407:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 407 | if (strlen(text+i) != 6) | ~~~~^~ | | | 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) | ~~~~~~~~~~~~^~~ ean.c: In function ‘Barcode_ean_encode’: ean.c:518:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 518 | if (bc->partial) free(bc->partial); bc->partial = NULL; | ^~ ean.c:518:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 518 | if (bc->partial) free(bc->partial); bc->partial = NULL; | ^~ ean.c:519:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 519 | if (bc->textinfo) free(bc->textinfo); bc->textinfo = NULL; | ^~ ean.c:519:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 519 | if (bc->textinfo) free(bc->textinfo); bc->textinfo = NULL; | ^~ ean.c:525:46: warning: pointer targets in passing argument 1 of ‘upc_e_to_a’ differ in signedness [-Wpointer-sign] 525 | strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); | ~~^~~~~~~ | | | char * ean.c:217:40: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 217 | static char *upc_e_to_a(unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ ean.c:525:33: warning: pointer targets in passing argument 1 of ‘upc_a_to_e’ differ in signedness [-Wpointer-sign] 525 | strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * ean.c:269:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 269 | static unsigned char *upc_a_to_e(unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ ean.c:525:22: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 525 | strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ean.c:548:33: warning: pointer targets in passing argument 1 of ‘width_of_partial’ differ in signedness [-Wpointer-sign] 548 | xpos = width_of_partial(partial); | ^~~~~~~ | | | char * ean.c:420:44: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 420 | static int width_of_partial(unsigned char *partial) | ~~~~~~~~~~~~~~~^~~~~~~ ean.c:581:39: warning: pointer targets in passing argument 1 of ‘width_of_partial’ differ in signedness [-Wpointer-sign] 581 | xpos += width_of_partial(guard[1]); | ~~~~~^~~ | | | char * ean.c:420:44: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 420 | static int width_of_partial(unsigned char *partial) | ~~~~~~~~~~~~~~~^~~~~~~ ean.c:605:39: warning: pointer targets in passing argument 1 of ‘width_of_partial’ differ in signedness [-Wpointer-sign] 605 | xpos += width_of_partial(guard[2]); | ~~~~~^~~ | | | char * ean.c:420:44: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 420 | static int width_of_partial(unsigned char *partial) | ~~~~~~~~~~~~~~~^~~~~~~ ean.c:612:33: warning: pointer targets in passing argument 1 of ‘width_of_partial’ differ in signedness [-Wpointer-sign] 612 | xpos = width_of_partial(partial); | ^~~~~~~ | | | char * ean.c:420:44: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 420 | static int width_of_partial(unsigned char *partial) | ~~~~~~~~~~~~~~~^~~~~~~ ean.c:656:33: warning: pointer targets in passing argument 1 of ‘width_of_partial’ differ in signedness [-Wpointer-sign] 656 | xpos = width_of_partial(partial); | ^~~~~~~ | | | char * ean.c:420:44: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 420 | static int width_of_partial(unsigned char *partial) | ~~~~~~~~~~~~~~~^~~~~~~ ean.c:666:39: warning: pointer targets in passing argument 1 of ‘width_of_partial’ differ in signedness [-Wpointer-sign] 666 | xpos += width_of_partial(guard[1]); | ~~~~~^~~ | | | char * ean.c:420:44: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 420 | static int width_of_partial(unsigned char *partial) | ~~~~~~~~~~~~~~~^~~~~~~ ean.c:698:48: warning: pointer targets in passing argument 1 of ‘width_of_partial’ differ in signedness [-Wpointer-sign] 698 | xpos += width_of_partial(guardS[0]); | ~~~~~~^~~ | | | char * ean.c:420:44: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 420 | static int width_of_partial(unsigned char *partial) | ~~~~~~~~~~~~~~~^~~~~~~ ean.c:701:48: warning: pointer targets in passing argument 1 of ‘width_of_partial’ differ in signedness [-Wpointer-sign] 701 | xpos += width_of_partial(guardS[1]); | ~~~~~~^~~ | | | char * ean.c:420:44: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 420 | static int width_of_partial(unsigned char *partial) | ~~~~~~~~~~~~~~~^~~~~~~ ean.c:734:38: warning: pointer targets in passing argument 1 of ‘width_of_partial’ differ in signedness [-Wpointer-sign] 734 | bc->width = width_of_partial(partial); | ^~~~~~~ | | | char * ean.c:420:44: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 420 | static int width_of_partial(unsigned char *partial) | ~~~~~~~~~~~~~~~^~~~~~~ ean.c: In function ‘Barcode_isbn_encode’: ean.c:755:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 755 | strcpy(text, "978"); j=3; | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ean.c:757:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 757 | otext = bc->ascii; | ^ ean.c:765:16: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 765 | if (strchr(otext, ' ')) | ^~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ean.c:766:29: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 766 | strcat(text, strchr(otext, ' ')); | ^~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ean.c:766:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 766 | strcat(text, strchr(otext, ' ')); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ean.c:767:15: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 767 | bc->ascii = text; | ^ ean.c:770:15: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 770 | bc->ascii = otext; /* restore ascii for the ps comments */ | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o code128.o code128.c code128.c: In function ‘Barcode_128c_verify’: code128.c:166:16: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 166 | if (strlen(text)%2) | ^~~~ | | | unsigned char * In file included from code128.c:25: /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) | ~~~~~~~~~~~~^~~ code128.c: In function ‘Barcode_128_make_array’: code128.c:323:7: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 323 | s = bc->ascii; | ^ code128.c:336:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 336 | for (s = bc->ascii; *s; /* increments are in the loop */) { | ^ code128.c: In function ‘Barcode_128raw_verify’: code128.c:512:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 512 | if (!strlen(text)) | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~ code128.c:515:20: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] 515 | if (sscanf(text, "%u%n", &val, &n) < 1) | ^~~~ | | | unsigned char * In file included from code128.c:23: /usr/include/stdio.h:430:43: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 430 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o code39.o code39.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o code93.o code93.c code93.c: In function ‘Barcode_93_verify’: code93.c:72:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 72 | if (!strlen(text)) | ^~~~ | | | unsigned char * In file included from code93.c:25: /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) | ~~~~~~~~~~~~^~~ code93.c: In function ‘Barcode_93_encode’: code93.c:107:10: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 107 | text = bc->ascii; | ^ code93.c:114:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 114 | partial = malloc( (strlen(text) *2 + 4) * 6 +2); | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~ code93.c:120:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 120 | checksum_str = (int *)malloc( (strlen(text) + 3) * 2 * sizeof(int)); | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~ code93.c:128:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 128 | textinfo = malloc(10*strlen(text) + 2); | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~ code93.c:141:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 141 | for (i=0; iascii; | ^ i25.c:84:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 84 | strcpy(text+1, bc->ascii); | ~~~~^~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from i25.c:22: /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ i25.c:86:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 86 | strcpy(text, bc->ascii); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ i25.c:100:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 100 | strcat(text, "0"); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ i25.c:101:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 101 | text[strlen(text)-1] += (10 - (i%10)) % 10; | ^~~~ | | | unsigned char * In file included from i25.c:24: /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) | ~~~~~~~~~~~~^~~ i25.c:105:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 105 | partial = malloc( (strlen(text) + 3) * 5 +2); /* be large... */ | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~ i25.c:113:34: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 113 | textinfo = malloc(10*(strlen(text)+1) + 2); | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~ i25.c:122:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 122 | strcpy(partial, "0"); /* the first space */ | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ i25.c:123:12: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 123 | strcat(partial, guard[0]); /* start */ | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ i25.c:127:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 127 | len = strlen(text); | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~ i25.c:137:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 137 | p1 = codes[text[i]-'0']; | ^ i25.c:138:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 138 | p2 = codes[text[i+1]-'0']; | ^ i25.c:139:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 139 | pd = partial + strlen(partial); /* destination */ | ^~~~~~~ | | | 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) | ~~~~~~~~~~~~^~~ i25.c:146:34: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 146 | if (usesum && strlen(text+i)==2) { | ~~~~^~ | | | 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) | ~~~~~~~~~~~~^~~ i25.c:148:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 148 | sprintf(textptr, "%i:12:%c ", textpos, text[i]); | ^~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ i25.c:150:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 150 | sprintf(textptr, "%i:12:%c %i:12:%c ", textpos, text[i], | ^~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ i25.c:154:27: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 154 | textptr += strlen(textptr); | ^~~~~~~ | | | 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) | ~~~~~~~~~~~~^~~ i25.c:156:12: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 156 | strcat(partial, guard[1]); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ i25.c:158:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 158 | bc->partial = partial; | ^ i25.c:159:18: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 159 | bc->textinfo = textinfo; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o msi.o msi.c msi.c: In function ‘Barcode_msi_verify’: msi.c:45:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 45 | if (!strlen(text)) | ^~~~ | | | unsigned char * In file included from msi.c:23: /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) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o plessey.o plessey.c plessey.c: In function ‘Barcode_pls_verify’: plessey.c:48:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 48 | if (!strlen(text)) | ^~~~ | | | unsigned char * In file included from plessey.c:23: /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) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o codabar.o codabar.c codabar.c: In function ‘Barcode_cbr_verify’: codabar.c:58:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 58 | if (!strlen(text)) | ^~~~ | | | unsigned char * In file included from codabar.c:23: /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) | ~~~~~~~~~~~~^~~ codabar.c:70:48: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 70 | (!startpresent || i != strlen(text) - 1)) | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o ps.o ps.c ps.c: In function ‘Barcode_ps_print’: ps.c:84:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 84 | for (ptr = bc->partial+1; *ptr; ptr++) | ^ ps.c:186:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 186 | for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { | ^ ps.c:225:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 225 | for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { | ^ ps.c:225:52: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 225 | for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { | ^~~ | | | unsigned char * In file included from ps.c:24: /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ps.c:225:43: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 225 | for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { | ^ ps.c:231:24: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] 231 | if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { | ^~~ | | | unsigned char * In file included from ps.c:22: /usr/include/stdio.h:430:43: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 430 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ ps.c:64:15: warning: variable ‘k’ set but not used [-Wunused-but-set-variable] 64 | int i, j, k, barlen, printable=1; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o pcl.o pcl.c pcl.c: In function ‘Barcode_pcl_print’: pcl.c:65:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 65 | for (ptr = bc->partial+1; *ptr; ptr++) | ^ pcl.c:124:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 124 | for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { | ^ pcl.c:162:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 162 | for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { | ^ pcl.c:162:52: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 162 | for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { | ^~~ | | | unsigned char * In file included from pcl.c:25: /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ pcl.c:162:43: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 162 | for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { | ^ pcl.c:168:24: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] 168 | if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { | ^~~ | | | unsigned char * In file included from pcl.c:23: /usr/include/stdio.h:430:43: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 430 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ pcl.c:41:15: warning: variable ‘k’ set but not used [-Wunused-but-set-variable] 41 | int i, j, k, barlen; | ^ ar r libbarcode.a library.o ean.o code128.o code39.o code93.o i25.o msi.o plessey.o codabar.o ps.o pcl.o ar: creating libbarcode.a ranlib libbarcode.a gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o main.o main.c main.c: In function ‘retrieve_input_string’: main.c:174:16: warning: pointer targets in returning ‘char *’ from a function with return type ‘unsigned char *’ differ in signedness [-Wpointer-sign] 174 | return string; | ^~~~~~ main.c:182:12: warning: pointer targets in returning ‘char *’ from a function with return type ‘unsigned char *’ differ in signedness [-Wpointer-sign] 182 | return strdup(fileline); | ^~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:527:23: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 527 | while ( (line = retrieve_input_string(ifile)) ) { | ^ main.c:561:23: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 561 | while ( (line = retrieve_input_string(ifile)) ) { | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o cmdline.o cmdline.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER main.o cmdline.o -L. -lbarcode -o barcode awk -f doc/manpager doc/doc.barcode awk: doc/manpager:35: warning: escape sequence `\{' treated as plain `{' awk: doc/manpager:36: warning: escape sequence `\}' treated as plain `}' awk: doc/manpager:93: (FILENAME=doc/doc.barcode FNR=391) warning: regexp escape sequence `\%' is not a known regexp operator cd doc && make make[1]: Entering directory '/builddir/build/BUILD/barcode-0.98/doc' sed -f ./infofilter doc.barcode | cat > barcode.texinfo chmod 400 barcode.texinfo touch barcode.oo if test "x`ls barcode.?? barcode.aux`" != "x"; then \ for i in `ls barcode.?? barcode.aux`; do \ cp $i $i~; \ done; \ fi ls: cannot access 'barcode.aux': No such file or directory ls: cannot access 'barcode.aux': No such file or directory tex barcode.texinfo This is TeX, Version 3.141592653 (TeX Live 2022) (preloaded format=tex) kpathsea: Running mktexfmt tex.fmt mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order): mktexfmt: /usr/share/texlive/texmf-dist/web2c/fmtutil.cnf mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes: mktexfmt: /builddir/.texlive2022/texmf-config/web2c/fmtutil.cnf mktexfmt [INFO]: writing formats under /builddir/.texlive2022/texmf-var/web2c mktexfmt [INFO]: --- remaking tex with tex mktexfmt: running `tex -ini -jobname=tex -progname=tex tex.ini' ... This is TeX, Version 3.141592653 (TeX Live 2022) (INITEX) (/usr/share/texlive/texmf-dist/tex/plain/config/tex.ini (/usr/share/texlive/texmf-dist/tex/plain/base/plain.tex Preloading the plain format: codes, registers, parameters, fonts, more fonts, macros, math definitions, output routines, hyphenation (/usr/share/texlive/texmf-dist/tex/generic/hyphen/hyphen.tex)) ) Beginning to dump on file tex.fmt (preloaded format=tex 2023.11.25) 2028 strings of total length 29336 4991 memory locations dumped; current usage is 110&4878 926 multiletter control sequences \font\nullfont=nullfont \font\tenrm=cmr10 \font\preloaded=cmr9 \font\preloaded=cmr8 \font\sevenrm=cmr7 \font\preloaded=cmr6 \font\fiverm=cmr5 \font\teni=cmmi10 \font\preloaded=cmmi9 \font\preloaded=cmmi8 \font\seveni=cmmi7 \font\preloaded=cmmi6 \font\fivei=cmmi5 \font\tensy=cmsy10 \font\preloaded=cmsy9 \font\preloaded=cmsy8 \font\sevensy=cmsy7 \font\preloaded=cmsy6 \font\fivesy=cmsy5 \font\tenex=cmex10 \font\preloaded=cmss10 \font\preloaded=cmssq8 \font\preloaded=cmssi10 \font\preloaded=cmssqi8 \font\tenbf=cmbx10 \font\preloaded=cmbx9 \font\preloaded=cmbx8 \font\sevenbf=cmbx7 \font\preloaded=cmbx6 \font\fivebf=cmbx5 \font\tentt=cmtt10 \font\preloaded=cmtt9 \font\preloaded=cmtt8 \font\preloaded=cmsltt10 \font\tensl=cmsl10 \font\preloaded=cmsl9 \font\preloaded=cmsl8 \font\tenit=cmti10 \font\preloaded=cmti9 \font\preloaded=cmti8 \font\preloaded=cmti7 \font\preloaded=cmu10 \font\preloaded=cmmib10 \font\preloaded=cmbsy10 \font\preloaded=cmcsc10 \font\preloaded=cmssbx10 \font\preloaded=cmdunh10 \font\preloaded=cmr7 at 14.51799pt \font\preloaded=cmtt10 at 14.4pt \font\preloaded=cmssbx10 at 14.4pt \font\preloaded=manfnt 14787 words of font info for 50 preloaded fonts 14 hyphenation exceptions Hyphenation trie of length 6075 has 181 ops out of 35111 181 for language 0 No pages of output. Transcript written on tex.log. mktexfmt [INFO]: log file copied to: /builddir/.texlive2022/texmf-var/web2c/tex/tex.log mktexfmt [INFO]: /builddir/.texlive2022/texmf-var/web2c/tex/tex.fmt installed. mktexfmt [INFO]: successfully rebuilt formats: 1 mktexfmt [INFO]: not selected formats: 18 mktexfmt [INFO]: total formats: 19 mktexfmt [INFO]: ************************************************************* * * * WARNING: you are switching to fmtutil's per-user formats. * * Please read the following warnings! * * * ************************************************************* You have run fmtutil-user (as opposed to fmtutil-sys) for the first time; this has created format files which are local to your personal account. From now on, any changes in system formats will *not* be automatically reflected in your files; furthermore, running fmtutil-sys will no longer have any effect for you. As a consequence, you yourself have to rerun fmtutil-user after any change in the system directories. For example, when one of the LaTeX or other format source files changes, which happens frequently. See https://tug.org/texlive/scripts-sys-user.html for details. If you want to undo this, remove the files mentioned above. Run mktexfmt --help for full documentation of fmtutil. mktexfmt [INFO]: exiting with status 0 (./barcode.texinfo (/usr/share/texlive/texmf-dist/tex/texinfo/texinfo.tex Loading texinfo [version 2022-11-07.17]: pdf, fonts, glyphs, page headings, tables, conditionals, indexing, sectioning, toc, environments, defuns, macros, cross references, insertions, (/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex This is `epsf.tex' v2.7.4 <14 February 2011> ) localization, formatting, microtype, and turning on texinfo input format.) [1] (Barcode tools) Chapter 1 Chapter 2 [1] [2] Chapter 3 Cross reference values unknown; you must run TeX again. [3] Chapter 4 [4] Chapter 5 [5] [6] Chapter 6 [7] [8] Chapter 7 [9] Chapter 8 [10] (./barcode.toc ) [-1] ) Output written on barcode.dvi (12 pages, 44700 bytes). Transcript written on barcode.log. old="`ls barcode.??~ barcode.aux~ | sed 's/~//g'`"; \ new="`ls barcode.?? barcode.aux`"; \ need="n"; \ if test "$old" != "$new"; then need="y"; \ else \ for i in `ls barcode.?? barcode.aux`; do \ cmp -s $i $i~; if test $? -ne 0; then need="y" break; fi; \ done; \ fi; \ if test "$need" = "y"; then \ texindex barcode.?? && tex barcode.texinfo; \ fi ls: cannot access 'barcode.aux~': No such file or directory This is TeX, Version 3.141592653 (TeX Live 2022) (preloaded format=tex) (./barcode.texinfo (/usr/share/texlive/texmf-dist/tex/texinfo/texinfo.tex Loading texinfo [version 2022-11-07.17]: pdf, fonts, glyphs, page headings, tables, conditionals, indexing, sectioning, toc, environments, defuns, macros, cross references, insertions, (/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex This is `epsf.tex' v2.7.4 <14 February 2011> ) localization, formatting, microtype, and turning on texinfo input format.) [1] (Barcode tools) (./barcode.aux) Chapter 1 Chapter 2 [1] [2] Chapter 3 [3] Chapter 4 [4] Chapter 5 [5] [6] Chapter 6 [7] [8] Chapter 7 [9] Chapter 8 [10] (./barcode.toc) [-1] ) Output written on barcode.dvi (12 pages, 44684 bytes). Transcript written on barcode.log. dvips -f barcode.dvi > barcode.ps This is dvips(k) 2022.1 (TeX Live 2022) Copyright 2022 Radical Eye Software (www.radicaleye.com) ' TeX output 2023.11.25:0935' -> . [1] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [-1] makeinfo barcode.texinfo -o barcode.info barcode.texinfo:31: warning: undefined flag: version barcode.texinfo:51: warning: multiple @setchapternewpage barcode.texinfo:61: warning: multiple @setchapternewpage awk -f ./mktxt barcode.info > barcodedoc.txt makeinfo --html -o barcode.html barcode.texinfo barcode.texinfo:31: warning: undefined flag: version barcode.texinfo:51: warning: multiple @setchapternewpage barcode.texinfo:61: warning: multiple @setchapternewpage ps2pdf barcode.ps > barcode.pdf # preserve the pdf copy mv -f barcode.pdf PDF 2> /dev/null && \ rm -f *~ *.dvi *.log *.aux \ barcode.*.bak barcode.??? barcode.texinfo && \ mv PDF barcode.pdf; # preserve the ps copy mv barcode.ps PS; rm -f barcode.??; mv PS barcode.ps; make[1]: Leaving directory '/builddir/build/BUILD/barcode-0.98/doc' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o sample.o sample.c sample.c: In function ‘main’: sample.c:9:9: warning: variable ‘ps’ set but not used [-Wunused-but-set-variable] 9 | int ps = 1, pcl = 0, oflags; | ^~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER sample.o -L. -lbarcode -o sample + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TWoRYe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd barcode-0.98 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64 'INSTALL=/usr/bin/install -p' bindir=/builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/bin includedir=/builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/include libdir=/builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/lib64 mandir=/builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/man infodir=/builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/info /usr/bin/install -p -d /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/bin /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/include /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/lib64 /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/man/man1 \ /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/man/man3 /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/info /usr/bin/install -p -c barcode /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/bin /usr/bin/install -p -c -m 0644 barcode.h /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/include /usr/bin/install -p -c -m 0644 libbarcode.a /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/lib64 /usr/bin/install -p -c -m 0644 barcode.1 /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/man/man1 /usr/bin/install -p -c -m 0644 barcode.3 /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/man/man3 /usr/bin/install -p -c -m 0644 doc/barcode.info /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/info + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.98-46.fc40 --unique-debug-suffix -0.98-46.fc40.riscv64 --unique-debug-src-base barcode-0.98-46.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/barcode-0.98 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/barcode-0.98-46.fc40.riscv64 232 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: barcode-0.98-46.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5FzGzf + umask 022 + cd /builddir/build/BUILD + cd barcode-0.98 + DOCDIR=/builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/doc/barcode + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/doc/barcode + cp -pr /builddir/build/BUILD/barcode-0.98/ChangeLog /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/doc/barcode + cp -pr /builddir/build/BUILD/barcode-0.98/README /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/doc/barcode + cp -pr /builddir/build/BUILD/barcode-0.98/doc/barcode.html /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/doc/barcode + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jWOnti + umask 022 + cd /builddir/build/BUILD + cd barcode-0.98 + LICENSEDIR=/builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/licenses/barcode + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/licenses/barcode + cp -pr /builddir/build/BUILD/barcode-0.98/COPYING /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64/usr/share/licenses/barcode + RPM_EC=0 ++ jobs -p + exit 0 Provides: barcode = 0.98-46.fc40 barcode(riscv-64) = 0.98-46.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: barcode-devel-0.98-46.fc40.riscv64 Provides: barcode-devel = 0.98-46.fc40 barcode-devel(riscv-64) = 0.98-46.fc40 barcode-static = 0.98-46.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: barcode-debugsource-0.98-46.fc40.riscv64 Provides: barcode-debugsource = 0.98-46.fc40 barcode-debugsource(riscv-64) = 0.98-46.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: barcode-debuginfo-0.98-46.fc40.riscv64 Provides: barcode-debuginfo = 0.98-46.fc40 barcode-debuginfo(riscv-64) = 0.98-46.fc40 debuginfo(build-id) = 19a424b96efdf0928e5458a3067c2c4d0377f35a Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: barcode-debugsource(riscv-64) = 0.98-46.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64 Wrote: /builddir/build/RPMS/barcode-0.98-46.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/barcode-debuginfo-0.98-46.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/barcode-debugsource-0.98-46.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/barcode-devel-0.98-46.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1FnNua + umask 022 + cd /builddir/build/BUILD + cd barcode-0.98 + /usr/bin/rm -rf /builddir/build/BUILDROOT/barcode-0.98-46.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.LEjYRX + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/barcode-0.98-SPECPARTS + rm -rf barcode-0.98 barcode-0.98.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0