Mock Version: 1.4.2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/barcode.spec'], nspawn_args=[]shell=Falseuid=1000env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-epel-i386/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5b93cd5c635e442cb3f6d2ae18fb7750', '-D', '/var/lib/mock/centos-7-epel-i386/root', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/barcode.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system warning: bogus date in %changelog: Thu Jul 15 2005 Andreas Thienemann 0.98-7 warning: bogus date in %changelog: Thu Jul 01 2005 Andreas Thienemann 0.98-4 warning: bogus date in %changelog: Thu Jul 01 2005 Andreas Thienemann 0.98-3 warning: Could not canonicalize hostname: kvm.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/barcode-0.98-23.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/barcode.spec'], nspawn_args=['--private-network']shell=Falseuid=1000env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-epel-i386/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '124fd30a19854e42838e4b01fbd83700', '-D', '/var/lib/mock/centos-7-epel-i386/root', '--private-network', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/barcode.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system warning: bogus date in %changelog: Thu Jul 15 2005 Andreas Thienemann 0.98-7 warning: bogus date in %changelog: Thu Jul 01 2005 Andreas Thienemann 0.98-4 warning: bogus date in %changelog: Thu Jul 01 2005 Andreas Thienemann 0.98-3 Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LXRezK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf barcode-0.98 + /usr/bin/gzip -dc /builddir/build/SOURCES/barcode-0.98.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd barcode-0.98 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (barcode-configure.patch): + echo 'Patch #0 (barcode-configure.patch):' + /usr/bin/cat /builddir/build/SOURCES/barcode-configure.patch + /usr/bin/patch -p1 -b --suffix .directories --fuzz=0 patching file Makefile.in Patch #1 (barcode-install-info.patch): + echo 'Patch #1 (barcode-install-info.patch):' + /usr/bin/cat /builddir/build/SOURCES/barcode-install-info.patch + /usr/bin/patch -p1 -b --suffix .categories --fuzz=0 patching file doc/doc.barcode + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lnOstf + umask 022 + cd /builddir/build/BUILD + cd barcode-0.98 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' i386 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=i386-redhat-linux-gnu --host=i386-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/lib --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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro ) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro ) 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 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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:5: warning: pointer targets in passing argument 1 of 'cptr->verify' differ in signedness [-Wpointer-sign] if (cptr->verify(bc->ascii) != 0) { ^ library.c:161:5: note: expected 'unsigned char *' but argument is of type 'char *' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(text); ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:140:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^ ean.c:140:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:140:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^ ean.c:158:2: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 7); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:158:2: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 7); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:160:2: warning: pointer targets in passing argument 1 of 'ean_make_checksum' differ in signedness [-Wpointer-sign] if (text[7] != (ean_make_checksum(tmp, 0) + '0')) ^ ean.c:101:12: note: expected 'char *' but argument is of type 'unsigned char *' static int ean_make_checksum(char *text, int mode) ^ ean.c:165:2: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 12); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:165:2: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 12); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:167:2: warning: pointer targets in passing argument 1 of 'ean_make_checksum' differ in signedness [-Wpointer-sign] if (text[12] != (ean_make_checksum(tmp, 0) + '0')) ^ ean.c:101:12: note: expected 'char *' but argument is of type 'unsigned char *' static int ean_make_checksum(char *text, int mode) ^ ean.c: In function 'upc_e_to_a0': ean.c:185:6: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(result+1, text, 2); result[3]=text[5]; /* Manuf. */ ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c: In function 'upc_e_to_a': ean.c:222:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^ ean.c:222:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:222:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^ ean.c:226:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(text); ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:230:2: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, upc_e_to_a0(text)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:231:2: warning: pointer targets in return differ in signedness [-Wpointer-sign] return result; ^ ean.c:237:3: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, upc_e_to_a0(text+1)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:239:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return result; ^ ean.c:243:2: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, upc_e_to_a0(text)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:244:2: warning: pointer targets in passing argument 1 of 'ean_make_checksum' differ in signedness [-Wpointer-sign] chk = ean_make_checksum(result, 0); ^ ean.c:101:12: note: expected 'char *' but argument is of type 'unsigned char *' static int ean_make_checksum(char *text, int mode) ^ ean.c:247:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return result; ^ ean.c:252:3: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, upc_e_to_a0(text+1)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:254:3: warning: pointer targets in passing argument 1 of 'ean_make_checksum' differ in signedness [-Wpointer-sign] chk = ean_make_checksum(result, 0); ^ ean.c:101:12: note: expected 'char *' but argument is of type 'unsigned char *' static int ean_make_checksum(char *text, int mode) ^ ean.c:256:4: warning: pointer targets in return differ in signedness [-Wpointer-sign] return result; ^ ean.c: In function 'upc_a_to_e': ean.c:274:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(text); ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:277:2: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, text); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:277:2: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, text); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:279:2: warning: pointer targets in passing argument 1 of 'ean_make_checksum' differ in signedness [-Wpointer-sign] chksum = ean_make_checksum(result, 0); ^ ean.c:101:12: note: expected 'char *' but argument is of type 'unsigned char *' static int ean_make_checksum(char *text, int mode) ^ ean.c:284:2: warning: pointer targets in passing argument 1 of 'ean_make_checksum' differ in signedness [-Wpointer-sign] chksum = ean_make_checksum(text, 0); ^ ean.c:101:12: note: expected 'char *' but argument is of type 'unsigned char *' static int ean_make_checksum(char *text, int mode) ^ ean.c:290:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, "00000000"); /* 8 0's*/ ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:299:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && !strncmp(text+4, "0000", 4)) { ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:299:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && !strncmp(text+4, "0000", 4)) { ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:299:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && !strncmp(text+4, "0000", 4)) { ^ ean.c:299:6: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:299:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:299:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && !strncmp(text+4, "0000", 4)) { ^ ean.c:299:6: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:299:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ean.c:299:6: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:299:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ean.c:299:6: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:299:6: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ean.c:25:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ ean.c:303:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+4, "00000", 5)) { ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:303:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+4, "00000", 5)) { ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:303:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+4, "00000", 5)) { ^ ean.c:303:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:303:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:303:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+4, "00000", 5)) { ^ ean.c:303:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:303:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ean.c:303:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:303:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ean.c:303:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:303:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ean.c:25:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ ean.c:307:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+5, "00000", 5)) { ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:307:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+5, "00000", 5)) { ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:307:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+5, "00000", 5)) { ^ ean.c:307:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:307:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:307:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+5, "00000", 5)) { ^ ean.c:307:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:307:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ean.c:307:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:307:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ean.c:307:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:307:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ean.c:25:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ ean.c:311:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if ((text[5] != '0') && !strncmp(text+6, "0000", 4) ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:311:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if ((text[5] != '0') && !strncmp(text+6, "0000", 4) ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:311:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if ((text[5] != '0') && !strncmp(text+6, "0000", 4) ^ ean.c:311:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:311:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:311:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if ((text[5] != '0') && !strncmp(text+6, "0000", 4) ^ ean.c:311:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:311:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ean.c:311:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:311:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ean.c:311:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:311:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ean.c:25:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ ean.c: In function 'Barcode_upc_verify': ean.c:337:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(text); ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:338:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^ ean.c:338:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:338:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^ ean.c:356:2: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, len0); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:356:2: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, len0); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:362:2: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 11); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:362:2: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 11); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:364:2: warning: pointer targets in passing argument 1 of 'ean_make_checksum' differ in signedness [-Wpointer-sign] if (text[11] != (ean_make_checksum(tmp, 0) + '0')) ^ ean.c:101:12: note: expected 'char *' but argument is of type 'unsigned char *' static int ean_make_checksum(char *text, int mode) ^ ean.c: In function 'Barcode_isbn_verify': ean.c:407:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(text+i) != 6) ^ In file included from ean.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c: In function 'Barcode_ean_encode': ean.c:525:2: warning: pointer targets in passing argument 1 of 'upc_e_to_a' differ in signedness [-Wpointer-sign] strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); ^ ean.c:217:14: note: expected 'unsigned char *' but argument is of type 'char *' static char *upc_e_to_a(unsigned char *text) ^ ean.c:525:2: warning: pointer targets in passing argument 1 of 'upc_a_to_e' differ in signedness [-Wpointer-sign] strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); ^ ean.c:269:23: note: expected 'unsigned char *' but argument is of type 'char *' static unsigned char *upc_a_to_e(unsigned char *text) ^ ean.c:525:2: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:548:2: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos = width_of_partial(partial); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:581:2: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos += width_of_partial(guard[1]); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:605:2: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos += width_of_partial(guard[2]); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:612:2: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos = width_of_partial(partial); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:656:2: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos = width_of_partial(partial); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:666:2: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos += width_of_partial(guard[1]); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:698:3: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos += width_of_partial(guardS[0]); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:701:3: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos += width_of_partial(guardS[1]); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:734:2: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] bc->width = width_of_partial(partial); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c: In function 'Barcode_isbn_encode': ean.c:755:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(text, "978"); j=3; ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:757:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] otext = bc->ascii; ^ ean.c:765:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (strchr(otext, ' ')) ^ ean.c:765:5: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:766:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] strcat(text, strchr(otext, ' ')); ^ ean.c:766:2: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:766:2: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ean.c:23: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:767:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bc->ascii = text; ^ ean.c:770:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bc->ascii = otext; /* restore ascii for the ps comments */ ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(text)%2) ^ In file included from code128.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ code128.c: In function 'Barcode_128_make_array': code128.c:323:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = bc->ascii; ^ code128.c:336:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = bc->ascii; *s; /* increments are in the loop */) { ^ code128.c: In function 'Barcode_128raw_verify': code128.c:512:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strlen(text)) ^ In file included from code128.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ code128.c:515:2: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if (sscanf(text, "%u%n", &val, &n) < 1) ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from code128.c:23: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o code39.o code39.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strlen(text)) ^ In file included from code93.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ code93.c: In function 'Barcode_93_encode': code93.c:107:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] text = bc->ascii; ^ code93.c:114:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] partial = malloc( (strlen(text) *2 + 4) * 6 +2); ^ In file included from code93.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ code93.c:120:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] checksum_str = (int *)malloc( (strlen(text) + 3) * 2 * sizeof(int)); ^ In file included from code93.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ code93.c:128:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] textinfo = malloc(10*strlen(text) + 2); ^ In file included from code93.c:25:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ code93.c:141:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i=0; iascii; ^ i25.c:84:2: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(text+1, bc->ascii); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from i25.c:22: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ i25.c:86:2: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(text, bc->ascii); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from i25.c:22: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ i25.c:100:2: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(text, "0"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from i25.c:22: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ i25.c:101:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] text[strlen(text)-1] += (10 - (i%10)) % 10; ^ In file included from i25.c:24:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ i25.c:105:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] partial = malloc( (strlen(text) + 3) * 5 +2); /* be large... */ ^ In file included from i25.c:24:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ i25.c:113:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] textinfo = malloc(10*(strlen(text)+1) + 2); ^ In file included from i25.c:24:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ i25.c:122:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(partial, "0"); /* the first space */ ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from i25.c:22: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ i25.c:123:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(partial, guard[0]); /* start */ ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from i25.c:22: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ i25.c:127:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(text); ^ In file included from i25.c:24:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ i25.c:137:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p1 = codes[text[i]-'0']; ^ i25.c:138:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p2 = codes[text[i+1]-'0']; ^ i25.c:139:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pd = partial + strlen(partial); /* destination */ ^ In file included from i25.c:24:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ i25.c:146:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (usesum && strlen(text+i)==2) { ^ In file included from i25.c:24:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ i25.c:148:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(textptr, "%i:12:%c ", textpos, text[i]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from i25.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ i25.c:151:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] textpos+9, text[i+1]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from i25.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ i25.c:154:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] textptr += strlen(textptr); ^ In file included from i25.c:24:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ i25.c:156:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(partial, guard[1]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from i25.c:22: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ i25.c:158:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bc->partial = partial; ^ i25.c:159:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bc->textinfo = textinfo; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strlen(text)) ^ In file included from msi.c:23:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strlen(text)) ^ In file included from plessey.c:23:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strlen(text)) ^ In file included from codabar.c:23:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ codabar.c:70:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!startpresent || i != strlen(text) - 1)) ^ In file included from codabar.c:23:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1; *ptr; ptr++) ^ ps.c:186:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { ^ ps.c:225:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ ps.c:225:9: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ ps.c:225:9: note: expected 'const char *' but argument is of type 'unsigned char *' ps.c:225:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ ps.c:231:13: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ps.c:22: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ ps.c:64:15: warning: variable 'k' set but not used [-Wunused-but-set-variable] int i, j, k, barlen, printable=1; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1; *ptr; ptr++) ^ pcl.c:124:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { ^ pcl.c:162:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ pcl.c:162:9: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ pcl.c:162:9: note: expected 'const char *' but argument is of type 'unsigned char *' pcl.c:162:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ pcl.c:168:13: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from pcl.c:23: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ pcl.c:41:15: warning: variable 'k' set but not used [-Wunused-but-set-variable] 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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:2: warning: pointer targets in return differ in signedness [-Wpointer-sign] return string; ^ main.c:182:5: warning: pointer targets in return differ in signedness [-Wpointer-sign] return strdup(fileline); ^ main.c: In function 'main': main.c:527:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ( (line = retrieve_input_string(ifile)) ) { ^ main.c:561:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ( (line = retrieve_input_string(ifile)) ) { ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o cmdline.o cmdline.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 `}' 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.1415926 (TeX Live 2013) (./barcode.texinfo (/usr/share/texlive/texmf-local/texmf-compat/tex/texinfo/texinfo.tex Loading texinfo [version 2013-02-01.11]: pdf, fonts, markup, 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, 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, 45496 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 texindex: barcode.ps: not a texinfo index file This is TeX, Version 3.1415926 (TeX Live 2013) (./barcode.texinfo (/usr/share/texlive/texmf-local/texmf-compat/tex/texinfo/texinfo.tex Loading texinfo [version 2013-02-01.11]: pdf, fonts, markup, 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, and turning on texinfo input format.) (./barcode.aux) [1] (Barcode tools) 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, 45480 bytes). Transcript written on barcode.log. dvips -f barcode.dvi > barcode.ps This is dvips(k) 5.993 Copyright 2013 Radical Eye Software (www.radicaleye.com) ' TeX output 2017.07.25:1721' -> . [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 html -o barcode.html barcode.texinfo make[1]: html: Command not found ps2pdf barcode.ps > barcode.pdf make[1]: [barcode.html] Error 127 (ignored) # 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o sample.o sample.c sample.c: In function 'main': sample.c:9:5: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (argc == 2 && !strcmp(argv[1],"-P")) { ^ sample.c:8:9: warning: variable 'ps' set but not used [-Wunused-but-set-variable] int ps = 1, pcl = 0, oflags; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER sample.o -L. -lbarcode -o sample + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IvoxO2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386 ++ dirname /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386 + cd barcode-0.98 + rm -rf /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386 + /usr/bin/make prefix=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr exec_prefix=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr bindir=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/bin sbindir=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/sbin sysconfdir=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/etc datadir=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share includedir=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/include libdir=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/lib libexecdir=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/libexec localstatedir=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/var sharedstatedir=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/var/lib mandir=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/man infodir=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/info install /usr/bin/install -c -d /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/bin /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/include /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/lib /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/man/man1 \ /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/man/man3 /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/info /usr/bin/install -c -c barcode /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/bin /usr/bin/install -c -c -m 0644 barcode.h /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/include /usr/bin/install -c -c -m 0644 libbarcode.a /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/lib /usr/bin/install -c -c -m 0644 barcode.1 /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/man/man1 /usr/bin/install -c -c -m 0644 barcode.3 /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/man/man3 /usr/bin/install -c -c -m 0644 doc/barcode.info /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/info + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/barcode-0.98 extracting debug info from /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/bin/barcode dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 232 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: barcode-0.98-23.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ihCJiS + umask 022 + cd /builddir/build/BUILD + cd barcode-0.98 + DOCDIR=/builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/doc/barcode-0.98 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/doc/barcode-0.98 + cp -pr COPYING /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/doc/barcode-0.98 + cp -pr ChangeLog /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/doc/barcode-0.98 + cp -pr README /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/doc/barcode-0.98 + cp -pr TODO /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386/usr/share/doc/barcode-0.98 + exit 0 Provides: barcode = 0.98-23.el7 barcode(x86-32) = 0.98-23.el7 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /sbin/install-info Requires(preun): /bin/sh /sbin/install-info Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) rtld(GNU_HASH) Processing files: barcode-devel-0.98-23.el7.i686 Provides: barcode-devel = 0.98-23.el7 barcode-devel(x86-32) = 0.98-23.el7 barcode-static = 0.98-23.el7 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-23.el7.i686 Provides: barcode-debuginfo = 0.98-23.el7 barcode-debuginfo(x86-32) = 0.98-23.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386 Wrote: /builddir/build/RPMS/barcode-0.98-23.el7.i686.rpm Wrote: /builddir/build/RPMS/barcode-devel-0.98-23.el7.i686.rpm Wrote: /builddir/build/RPMS/barcode-debuginfo-0.98-23.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kooHrf + umask 022 + cd /builddir/build/BUILD + cd barcode-0.98 + rm -rf /builddir/build/BUILDROOT/barcode-0.98-23.el7.i386 + exit 0 Child return code was: 0