Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/barcode.spec'], logger=user='mockbuild'gid=135env={'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache'}timeout=0uid=1000chrootPath='/var/lib/mock/fedora-23-armhfp-pidora-round2-root-22227/root'shell=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/barcode.spec'] with env {'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache'} and shell False 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: armv6hl Building for target armv6hl Wrote: /builddir/build/SRPMS/barcode-0.98-25bs02npfc23.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/barcode.spec "], logger=user='mockbuild'private_network=Truegid=135env={'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache'}timeout=0uid=1000chrootPath='/var/lib/mock/fedora-23-armhfp-pidora-round2-root-22227/root'shell=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/barcode.spec "] with env {'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache'} and shell False 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: armv6hl Building for target armv6hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LYbRJJ + 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 . + echo 'Patch #0 (barcode-configure.patch):' 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.mVZwho + umask 022 + cd /builddir/build/BUILD + cd barcode-0.98 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=armv6hl-redhat-linux-gnu --host=armv6hl-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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -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:22: warning: pointer targets in passing argument 1 of 'cptr->verify' differ in signedness [-Wpointer-sign] if (cptr->verify(bc->ascii) != 0) { ^ library.c:161:22: note: expected 'unsigned char *' but argument is of type 'char *' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -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] len = strlen(text); ^ In file included from ean.c:25:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:140:10: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^ ean.c:140:10: 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:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 7); ^ In file included from /usr/include/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:123:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:158:15: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 7); ^ In file included from /usr/include/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:123:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:160:36: 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:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 12); ^ In file included from /usr/include/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:123:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:165:15: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 12); ^ In file included from /usr/include/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:123:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:167:37: 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:24: 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/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:123:42: 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:10: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^ ean.c:222:10: 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:15: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:230:9: 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/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:108:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:231:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] return result; ^ ean.c:237:10: 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/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:108:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:239:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return result; ^ ean.c:243:9: 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/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:108:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:244:26: 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:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return result; ^ ean.c:252:10: 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/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:108:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:254:27: 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:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] 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] len = strlen(text); ^ In file included from ean.c:25:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:277:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, text); ^ In file included from /usr/include/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:108:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:277:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, text); ^ In file included from /usr/include/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:108:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:279:29: 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:29: 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:12: 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/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:108:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:299:9: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:299:9: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:299:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && !strncmp(text+4, "0000", 4)) { ^ ean.c:299:9: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:299:9: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:299:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && !strncmp(text+4, "0000", 4)) { ^ ean.c:299:9: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:299:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && !strncmp(text+4, "0000", 4)) { ^ ean.c:299:9: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:299:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && !strncmp(text+4, "0000", 4)) { ^ ean.c:299:9: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:299:9: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] && !strncmp(text+4, "0000", 4)) { ^ 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:16: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:303:16: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:303:16: 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:16: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:303:16: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:303:16: 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:16: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:303:16: 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:16: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:303:16: 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:16: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:303:16: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+4, "00000", 5)) { ^ 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:16: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:307:16: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:307:16: 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:16: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:307:16: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:307:16: 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:16: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:307:16: 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:16: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:307:16: 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:16: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:307:16: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+5, "00000", 5)) { ^ 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:36: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:311:36: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:311:36: 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:36: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:311:36: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:311:36: 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:36: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:311:36: 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:36: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:311:36: 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:36: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:311:36: warning: pointer targets in passing argument 1 of 'strncmp' 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: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:18: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ean.c:338:10: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^ ean.c:338:10: 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:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, len0); ^ In file included from /usr/include/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:123:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:356:15: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, len0); ^ In file included from /usr/include/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:123:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:362:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 11); ^ In file included from /usr/include/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:123:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:362:15: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, text, 11); ^ In file included from /usr/include/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:123:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ean.c:364:37: 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:16: 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:394: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:37: 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:26: 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:15: 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/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:108:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ean.c:548:26: 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:27: 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:27: 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:26: 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:26: 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:27: 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:28: 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:28: 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:31: 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:12: 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/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:108:42: 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:8: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (strchr(otext, ' ')) ^ ean.c:765:8: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:766:14: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] strcat(text, strchr(otext, ' ')); ^ ean.c:766:14: note: expected 'const char *' but argument is of type 'unsigned char *' ean.c:766:9: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(text, strchr(otext, ' ')); ^ In file included from /usr/include/string.h:635:0, from ean.c:25: /usr/include/bits/string3.h:146:42: 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o code128.o code128.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o code39.o code39.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] if (strlen(text)%2) ^ In file included from code128.c:25:0: /usr/include/string.h:394: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:17: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ code128.c:515:13: 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 code128.c:23:0: /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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -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] if (!strlen(text)) ^ In file included from code93.c:25:0: /usr/include/string.h:394: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:31: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] checksum_str = (int *)malloc( (strlen(text) + 3) * 2 * sizeof(int)); ^ In file included from code93.c:25:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] textinfo = malloc(10*strlen(text) + 2); ^ In file included from code93.c:25:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] for (i=0; iascii; ^ i25.c:84:9: 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/string.h:635:0, from i25.c:24: /usr/include/bits/string3.h:108:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ i25.c:86:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(text, bc->ascii); ^ In file included from /usr/include/string.h:635:0, from i25.c:24: /usr/include/bits/string3.h:108:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ i25.c:100:9: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(text, "0"); ^ In file included from /usr/include/string.h:635:0, from i25.c:24: /usr/include/bits/string3.h:146:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ i25.c:101:14: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] partial = malloc( (strlen(text) + 3) * 5 +2); /* be large... */ ^ In file included from i25.c:24:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] textinfo = malloc(10*(strlen(text)+1) + 2); ^ In file included from i25.c:24:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] strcpy(partial, "0"); /* the first space */ ^ In file included from /usr/include/string.h:635:0, from i25.c:24: /usr/include/bits/string3.h:108:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] strcat(partial, guard[0]); /* start */ ^ In file included from /usr/include/string.h:635:0, from i25.c:24: /usr/include/bits/string3.h:146:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] len = strlen(text); ^ In file included from i25.c:24:0: /usr/include/string.h:394: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:24: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ i25.c:146:23: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ i25.c:148:14: 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/stdio.h:936:0, from i25.c:22: /usr/include/bits/stdio2.h:31:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ i25.c:150:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(textptr, "%i:12:%c %i:12:%c ", textpos, text[i], ^ In file included from /usr/include/stdio.h:936:0, from i25.c:22: /usr/include/bits/stdio2.h:31:42: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] textptr += strlen(textptr); ^ In file included from i25.c:24:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] strcat(partial, guard[1]); ^ In file included from /usr/include/string.h:635:0, from i25.c:24: /usr/include/bits/string3.h:146:42: 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; ^ 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] if (!strlen(text)) ^ In file included from msi.c:23:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -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] if (!strlen(text)) ^ In file included from plessey.c:23:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -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] if (!strlen(text)) ^ In file included from codabar.c:23:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ codabar.c:70:34: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o ps.o ps.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o pcl.o pcl.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:44: 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:44: 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:24: 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 ps.c:22:0: /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; ^ 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:44: 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:44: 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:24: 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 pcl.c:23:0: /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 ranlib libbarcode.a ar: creating libbarcode.a gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -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:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] return string; ^ 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c -o cmdline.o cmdline.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -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.14159265 (TeX Live 2014) (preloaded format=tex) (./barcode.texinfo (/usr/share/texlive/texmf-local/texmf-compat/tex/texinfo/texinfo.tex Loading texinfo [version 2015-06-24.23]: 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, 45492 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 barcode.ps is not a Texinfo index file Makefile:85: recipe for target 'barcode.dvi' failed make[1]: Leaving directory '/builddir/build/BUILD/barcode-0.98/doc' make[1]: *** [barcode.dvi] Error 1 make: *** [doc/barcode.info] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.mVZwho (%build) bogus date in %changelog: Thu Jul 15 2005 Andreas Thienemann 0.98-7 bogus date in %changelog: Thu Jul 01 2005 Andreas Thienemann 0.98-4 bogus date in %changelog: Thu Jul 01 2005 Andreas Thienemann 0.98-3 Bad exit status from /var/tmp/rpm-tmp.mVZwho (%build) Makefile:64: recipe for target 'doc/barcode.info' failed RPM build errors: Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/barcode.spec Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/barcode.spec LEAVE do --> EXCEPTION RAISED