=> Building graphics/barcode Started : Friday, 14 FEB 2020 at 15:51:17 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/graphics/barcode XDG_CONFIG_HOME=/construction/graphics/barcode HOME=/construction/graphics/barcode TMPDIR="/tmp" PATH=/construction/graphics/barcode/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/graphics/barcode XDG_CONFIG_HOME=/construction/graphics/barcode HOME=/construction/graphics/barcode TMPDIR="/tmp" PATH=/construction/graphics/barcode/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- INFODIR=/usr/local/share/info DESTDIR=/construction/graphics/barcode/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/barcode" EXAMPLESDIR="share/examples/barcode" DATADIR="share/barcode" WWWDIR="www/barcode" ETCDIR="etc/barcode" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/barcode DOCSDIR=/usr/local/share/doc/barcode EXAMPLESDIR=/usr/local/share/examples/barcode WWWDIR=/usr/local/www/barcode ETCDIR=/usr/local/etc/barcode -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> barcode-0.98_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> barcode-0.98_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of barcode-0.98_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- => barcode-0.98.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch https://ftpmirror.gnu.org/barcode/barcode-0.98.tar.gz barcode-0.98.tar.gz 327 kB 671 kBps 00s ===> Fetching all distfiles required by barcode-0.98_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by barcode-0.98_1 for building => SHA256 Checksum OK for barcode-0.98.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for barcode-0.98_1 ===> Applying ports patches for barcode-0.98_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> barcode-0.98_1 depends on executable: gawk - not found ===> Installing existing package /packages/All/gawk-5.0.0.txz Installing gawk-5.0.0... `-- Installing gettext-runtime-0.20.1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: . done `-- Extracting gettext-runtime-0.20.1: .......... done `-- Installing libsigsegv-2.12... `-- Extracting libsigsegv-2.12: ..... done `-- Installing readline-8.0.1... | `-- Installing ncurses-6.1.20190525... | `-- Extracting ncurses-6.1.20190525: .......... done `-- Extracting readline-8.0.1: .......... done Extracting gawk-5.0.0: .......... done ===== Message from libsigsegv-2.12: -- Note that the stackoverflow handling functions of this library need procfs mounted on /proc. ===> barcode-0.98_1 depends on executable: gawk - found ===> Returning to build of barcode-0.98_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- 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 --- --- plessey.o --- --- codabar.o --- --- ps.o --- --- pcl.o --- --- barcode.1 --- --- barcode.3 --- awk -f doc/manpager doc/doc.barcode --- cmdline.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c cmdline.c --- ean.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c ean.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 --- 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 --- 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 --- main.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c main.c --- pcl.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c pcl.c --- barcode.1 --- awk -f doc/manpager doc/doc.barcode --- 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 --- library.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c library.c --- sample.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c sample.c --- 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; ^~~~~~~ --- 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; ^~~~~~ --- ean.o --- 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, ' '); ^ --- main.o --- 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); ^~~~~~~~~~~~~~~~ --- ean.o --- 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; ^~~~~~ --- msi.o --- 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: /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++) ^ --- ean.o --- 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) ^~~~~~~~~~~~~~~~ --- main.o --- main.c: In function 'main': --- ps.o --- 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++) { ^ --- main.o --- main.c:527:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] while ( (line = retrieve_input_string(ifile)) ) { ^ --- ean.o --- 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) ^~~~~~~~~~~~~~~~ --- 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)) ) { ^ --- ean.o --- 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) ^~~~~~~~~~~~~~~~ --- ps.o --- 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, ' ')) { ^~~ --- ean.o --- 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); ^~~~~~~ --- ps.o --- 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; ^~~~~~ --- ean.o --- ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^~~~~~~~~~~~~~~~ --- ps.o --- 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, ' ')) { ^ --- code128.o --- 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) ^~~~ --- ps.o --- 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) { ^~~ --- code128.o --- 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; ^~~~~~ --- ps.o --- 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, ...) ^~~~~~ --- ean.o --- 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) ^~~~~~~~~~~~~~~~ --- ps.o --- ps.c:64:15: warning: variable 'k' set but not used [-Wunused-but-set-variable] int i, j, k, barlen, printable=1; ^ --- ean.o --- 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); ^~~~~~ --- 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; ^ --- ean.o --- 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; ^~~~~~ --- code128.o --- 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 */) { ^ --- ean.o --- 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 */ ^ --- 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; ^~~~~~ --- code128.o --- 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; ^~~~~~ --- library.o --- library.c: In function 'Barcode_Encode': library.c:161:24: warning: pointer targets in passing argument 1 of 'cptr->verify' differ in signedness [-Wpointer-sign] if (cptr->verify(bc->ascii) != 0) { ~~^~~~~~~ library.c:161:24: note: expected 'unsigned char *' but argument is of type 'char *' --- code128.o --- 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, ...) ^~~~~~ --- code93.o --- code93.c: In function 'Barcode_93_verify': --- sample.o --- sample.c: In function 'main': --- code93.o --- code93.c:72:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strlen(text)) ^~~~ --- sample.o --- sample.c:9:23: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (argc == 2 && !strcmp(argv[1],"-P")) { ^~~~~~ --- code93.o --- 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)); ^~~~ --- sample.o --- sample.c:8:9: warning: variable 'ps' set but not used [-Wunused-but-set-variable] int ps = 1, pcl = 0, oflags; ^~ --- code93.o --- 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; iascii; ^ 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; ^ --- 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; ^~~~~~ --- 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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> barcode-0.98_1 depends on executable: indexinfo - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for barcode-0.98_1 ===> 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: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for barcode-0.98_1 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 14 FEB 2020 at 15:51:27 UTC Duration: 00:00:09