------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/libsigsegv-2.12.txz ===== Message from libsigsegv-2.12: -- Note that the stackoverflow handling functions of this library need procfs mounted on /proc. Installing /packages/All/ncurses-6.1.20190525.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/readline-8.0.4.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/gawk-5.1.0.txz SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> barcode-0.98_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> barcode-0.98_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by barcode-0.98_1 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> barcode-0.98_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by barcode-0.98_1 for building => SHA256 Checksum OK for barcode-0.98.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> barcode-0.98_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by barcode-0.98_1 for building ===> Extracting for barcode-0.98_1 => SHA256 Checksum OK for barcode-0.98.tar.gz. Extracted Memory Use: 0.98M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for barcode-0.98_1 ===> Applying ports patches for barcode-0.98_1 ===> Cleanly applied ports patch(es) patch-Makefile.in SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> barcode-0.98_1 depends on executable: gawk - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> barcode-0.98_1 depends on executable: gawk - found ===> Configuring for barcode-0.98_1 loading site script /xports/Templates/config.site creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... cpp checking for getopt.h... (cached) yes checking for paper.h... no checking for unistd.h... (cached) yes checking for strerror... (cached) yes checking for strcasecmp... (cached) yes checking for gmake... no checking if makeinfo can output html... ./configure: makeinfo: not found no updating cache ./config.cache creating ./config.status creating Makefile sed: confdefs.h: No such file or directory creating ./config.status creating doc/Makefile SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for barcode-0.98_1 --- barcode.3 --- --- main.o --- --- cmdline.o --- --- library.o --- --- ean.o --- --- code128.o --- --- code39.o --- --- code93.o --- --- i25.o --- --- msi.o --- --- cmdline.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c cmdline.c --- library.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c library.c --- code128.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c code128.c --- code39.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c code39.c --- barcode.3 --- awk -f doc/manpager doc/doc.barcode --- code93.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c code93.c --- msi.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c msi.c --- main.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c main.c --- ean.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c ean.c --- i25.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c i25.c --- plessey.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c plessey.c --- main.o --- main.c: In function 'retrieve_input_string': main.c:174:9: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] return string; ^~~~~~ main.c:182:12: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] return strdup(fileline); ^~~~~~~~~~~~~~~~ --- code93.o --- 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ code93.c: In function 'Barcode_93_encode': code93.c:107:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ code93.c:141:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i=0; iverify' differ in signedness [-Wpointer-sign] if (cptr->verify(bc->ascii) != 0) { ~~^~~~~~~ library.c:161:24: note: expected 'unsigned char *' but argument is of type 'char *' --- main.o --- main.c:561:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] while ( (line = retrieve_input_string(ifile)) ) { ^ --- code128.o --- code128.c: In function 'Barcode_128_make_array': code128.c:323:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = bc->ascii; ^ code128.c:336:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ 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: /usr/include/stdio.h:238:6: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int sscanf(const char * __restrict, const char * __restrict, ...) ^~~~~~ --- i25.o --- i25.c: In function 'Barcode_i25_encode': i25.c:65:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] text = bc->ascii; ^ i25.c:84:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(text+1, bc->ascii); ~~~~^~ In file included from i25.c:24: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ 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 i25.c:24: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ 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 i25.c:24: /usr/include/string.h:86:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^~~~~~ 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ 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 i25.c:24: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ 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 i25.c:24: /usr/include/string.h:86:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^~~~~~ 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ i25.c:137:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p1 = codes[text[i]-'0']; ^ i25.c:138:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ i25.c:146:27: 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ 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 i25.c:22: /usr/include/stdio.h:236:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ 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 i25.c:22: /usr/include/stdio.h:236:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ 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 i25.c:24: /usr/include/string.h:86:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^~~~~~ i25.c:158:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] bc->partial = partial; ^ i25.c:159:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] bc->textinfo = textinfo; ^ --- ean.o --- 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ ean.c:140:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^~~~ In file included from ean.c:25: /usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^~~~~~ ean.c:140:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' 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 ean.c:25: /usr/include/string.h:118:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ 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 ean.c:25: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ 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 ean.c:25: /usr/include/string.h:118:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ 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 ean.c:25: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ 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 ean.c:25: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ ean.c: In function 'upc_e_to_a': ean.c:222:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^~~~ In file included from ean.c:25: /usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^~~~~~ ean.c:222:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ 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 ean.c:25: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ ean.c:231:9: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' 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 ean.c:25: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ ean.c:239:10: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' 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 ean.c:25: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ 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 returning 'unsigned char *' from a function with return type 'char *' 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 ean.c:25: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ 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 returning 'unsigned char *' from a function with return type 'char *' 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ 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 ean.c:25: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ 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 ean.c:25: /usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ 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 ean.c:25: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ ean.c:299:22: 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: /usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ ean.c:303:29: 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: /usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ ean.c:307:29: 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: /usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ ean.c:311:49: 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: /usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ ean.c:338:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^~~~ In file included from ean.c:25: /usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^~~~~~ ean.c:338:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' 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 ean.c:25: /usr/include/string.h:118:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ 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 ean.c:25: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ 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 ean.c:25: /usr/include/string.h:118:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ 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 ean.c:25: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ 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:20: 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ ean.c: In function 'Barcode_ean_encode': ean.c:518:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (bc->partial) free(bc->partial); bc->partial = NULL; ^~ ean.c:518:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (bc->partial) free(bc->partial); bc->partial = NULL; ^~ ean.c:519:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (bc->textinfo) free(bc->textinfo); bc->textinfo = NULL; ^~ ean.c:519:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (bc->textinfo) free(bc->textinfo); bc->textinfo = NULL; ^~ ean.c:525:39: 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 ean.c:25: /usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ 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:32: 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:32: 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:32: 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:34: 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:34: 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 ean.c:25: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ ean.c:757:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] otext = bc->ascii; ^ ean.c:765:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (strchr(otext, ' ')) ^~~~~ In file included from ean.c:25: /usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^~~~~~ ean.c:766:22: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] strcat(text, strchr(otext, ' ')); ^~~~~ In file included from ean.c:25: /usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^~~~~~ 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 ean.c:25: /usr/include/string.h:86:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^~~~~~ ean.c:767:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] bc->ascii = text; ^ ean.c:770:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] bc->ascii = otext; /* restore ascii for the ps comments */ ^ --- codabar.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c codabar.c --- ps.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c ps.c --- pcl.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c pcl.c --- sample.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c sample.c --- codabar.o --- 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ --- ps.o --- ps.c: In function 'Barcode_ps_print': ps.c:84:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1; *ptr; ptr++) ^ ps.c:186:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { ^ ps.c:225:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ ps.c:225:52: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^~~ In file included from ps.c:24: /usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^~~~~~ ps.c:225:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' 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: /usr/include/stdio.h:238:6: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int sscanf(const char * __restrict, const char * __restrict, ...) ^~~~~~ ps.c:64:15: warning: variable 'k' set but not used [-Wunused-but-set-variable] int i, j, k, barlen, printable=1; ^ --- sample.o --- sample.c: In function 'main': sample.c:9:23: 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; ^~ --- plessey.o --- 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: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ --- pcl.o --- pcl.c: In function 'Barcode_pcl_print': pcl.c:65:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1; *ptr; ptr++) ^ pcl.c:124:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { ^ pcl.c:162:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ pcl.c:162:52: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^~~ In file included from pcl.c:25: /usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^~~~~~ pcl.c:162:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' 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: /usr/include/stdio.h:238:6: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int sscanf(const char * __restrict, const char * __restrict, ...) ^~~~~~ pcl.c:41:15: warning: variable 'k' set but not used [-Wunused-but-set-variable] int i, j, k, barlen; ^ --- libbarcode.a --- 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 /usr/libexec/binutils227/elf/ar: creating libbarcode.a ranlib libbarcode.a --- barcode --- --- sample --- --- barcode --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER main.o cmdline.o -L. -lbarcode -o barcode --- sample --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER sample.o -L. -lbarcode -o sample SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> barcode-0.98_1 depends on executable: indexinfo - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for barcode-0.98_1 ===> barcode-0.98_1 depends on executable: indexinfo - found ===> Generating temporary packing list /usr/bin/install -c -d /construction/graphics/barcode/stage/usr/local/bin /construction/graphics/barcode/stage/usr/local/include /construction/graphics/barcode/stage/usr/local/lib /construction/graphics/barcode/stage/usr/local/man/man1 /construction/graphics/barcode/stage/usr/local/man/man3 /construction/graphics/barcode/stage/usr/local/share/info /usr/bin/install -c -c barcode /construction/graphics/barcode/stage/usr/local/bin /usr/bin/install -c -c -m 0644 barcode.h /construction/graphics/barcode/stage/usr/local/include /usr/bin/install -c -c -m 0644 libbarcode.a /construction/graphics/barcode/stage/usr/local/lib /usr/bin/install -c -c -m 0644 barcode.1 /construction/graphics/barcode/stage/usr/local/man/man1 /usr/bin/install -c -c -m 0644 barcode.3 /construction/graphics/barcode/stage/usr/local/man/man3 /usr/bin/install -c -c -m 0644 doc/barcode.info /construction/graphics/barcode/stage/usr/local/share/info ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: 'bin/barcode' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for barcode-0.98_1 file sizes/checksums [6]: 0% file sizes/checksums [6]: 100% packing files [6]: 0% packing files [6]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:06