=> Building graphics/barcode Started : Thursday, 19 APR 2018 at 16:50:34 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-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=gcc50 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=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" 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 -------------------------------------------------- DESTDIR=/construction/graphics/barcode/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 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=Release-5.0 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=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> barcode-0.98 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> barcode-0.98 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of barcode-0.98 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by barcode-0.98 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by barcode-0.98 for building => SHA256 Checksum OK for barcode-0.98.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by barcode-0.98 for building ===> Extracting for barcode-0.98 => SHA256 Checksum OK for barcode-0.98.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for barcode-0.98 ===> Applying ports patches for barcode-0.98 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> barcode-0.98 depends on executable: gawk - not found ===> Installing existing package /packages/All/gawk-4.1.4_1.txz Installing gawk-4.1.4_1... `-- Installing gettext-runtime-0.19.8.1_1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_1: .......... done `-- Installing libsigsegv-2.11... `-- Extracting libsigsegv-2.11: ........ done `-- Installing readline-7.0.3_1... | `-- Installing ncurses-6.0.0s20171223_1... | `-- Extracting ncurses-6.0.0s20171223_1: .......... done `-- Extracting readline-7.0.3_1: .......... done Extracting gawk-4.1.4_1: .......... done Message from libsigsegv-2.11: ==== Note that the stackoverflow handling functions of this library need procfs mounted on /proc. ==== ===> barcode-0.98 depends on executable: gawk - found ===> Returning to build of barcode-0.98 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for barcode-0.98 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 --- barcode.3 --- --- main.o --- --- cmdline.o --- --- library.o --- --- ean.o --- --- barcode.3 --- awk -f doc/manpager doc/doc.barcode --- main.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c main.c --- 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 --- 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 --- library.o --- library.c: In function 'Barcode_Encode': library.c:161:22: warning: pointer targets in passing argument 1 of 'cptr->verify' differ in signedness [-Wpointer-sign] if (cptr->verify(bc->ascii) != 0) { ^ library.c:161:22: note: expected 'unsigned char *' but argument is of type 'char *' --- 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:0: /usr/include/string.h:105: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:0: /usr/include/string.h:82: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 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:0: /usr/include/string.h:113: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:0: /usr/include/string.h:113: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:0: /usr/include/string.h:113: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:0: /usr/include/string.h:113: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:0: /usr/include/string.h:113: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:0: /usr/include/string.h:82: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 differ in signedness [-Wpointer-sign] spc = strchr(text, ' '); ^ ean.c:226:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(text); ^ In file included from ean.c:25:0: /usr/include/string.h:105: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:0: /usr/include/string.h:90: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 return differ in signedness [-Wpointer-sign] return result; ^ ean.c:237:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, upc_e_to_a0(text+1)); ^ In file included from ean.c:25:0: /usr/include/string.h:90: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 return differ in signedness [-Wpointer-sign] return result; ^ ean.c:243:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, upc_e_to_a0(text)); ^ In file included from ean.c:25:0: /usr/include/string.h:90: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 return differ in signedness [-Wpointer-sign] return result; ^ ean.c:252:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(result, upc_e_to_a0(text+1)); ^ In file included from ean.c:25:0: /usr/include/string.h:90: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 return differ in signedness [-Wpointer-sign] return result; ^ ean.c: In function 'upc_a_to_e': ean.c:274:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(text); ^ In file included from ean.c:25:0: /usr/include/string.h:105: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:0: /usr/include/string.h:90: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:0: /usr/include/string.h:90: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:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^ ean.c:299:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] && !strncmp(text+4, "0000", 4)) { ^ In file included from ean.c:25:0: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t) __pure; ^ ean.c:303:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+4, "00000", 5)) { ^ In file included from ean.c:25:0: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t) __pure; ^ ean.c:307:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(text+5, "00000", 5)) { ^ In file included from ean.c:25:0: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t) __pure; ^ ean.c:311:45: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if ((text[5] != '0') && !strncmp(text+6, "0000", 4) ^ In file included from ean.c:25:0: /usr/include/string.h:112: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:0: /usr/include/string.h:105: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:0: /usr/include/string.h:82: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 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:0: /usr/include/string.h:113: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:0: /usr/include/string.h:113: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:0: /usr/include/string.h:113: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:0: /usr/include/string.h:113: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:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(text+i) != 6) ^ In file included from ean.c:25:0: /usr/include/string.h:105: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:525:37: warning: pointer targets in passing argument 1 of 'upc_e_to_a' differ in signedness [-Wpointer-sign] strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); ^ ean.c:217:14: note: expected 'unsigned char *' but argument is of type 'char *' static char *upc_e_to_a(unsigned char *text) ^ ean.c:525:26: warning: pointer targets in passing argument 1 of 'upc_a_to_e' differ in signedness [-Wpointer-sign] strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); ^ ean.c:269:23: note: expected 'unsigned char *' but argument is of type 'char *' static unsigned char *upc_a_to_e(unsigned char *text) ^ ean.c:525:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); ^ In file included from ean.c:25:0: /usr/include/string.h:90: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:27: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos += width_of_partial(guard[1]); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:605:27: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos += width_of_partial(guard[2]); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:612:26: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos = width_of_partial(partial); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:656:26: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos = width_of_partial(partial); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:666:27: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos += width_of_partial(guard[1]); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:698:28: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos += width_of_partial(guardS[0]); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:701:28: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] xpos += width_of_partial(guardS[1]); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c:734:31: warning: pointer targets in passing argument 1 of 'width_of_partial' differ in signedness [-Wpointer-sign] bc->width = width_of_partial(partial); ^ ean.c:420:12: note: expected 'unsigned char *' but argument is of type 'char *' static int width_of_partial(unsigned char *partial) ^ ean.c: In function 'Barcode_isbn_encode': ean.c:755:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(text, "978"); j=3; ^ In file included from ean.c:25:0: /usr/include/string.h:90: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 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:0: /usr/include/string.h:82: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:0: /usr/include/string.h:82: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:0: /usr/include/string.h:81: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 differ in signedness [-Wpointer-sign] bc->ascii = text; ^ ean.c:770:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bc->ascii = otext; /* restore ascii for the ps comments */ ^ --- code39.o --- --- 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) ^ In file included from code128.c:25:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ code128.c: In function 'Barcode_128_make_array': code128.c:323:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = bc->ascii; ^ code128.c:336:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = bc->ascii; *s; /* increments are in the loop */) { ^ code128.c: In function 'Barcode_128raw_verify': code128.c:512:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strlen(text)) ^ In file included from code128.c:25:0: /usr/include/string.h:105: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:0: /usr/include/stdio.h:225:6: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int sscanf(const char * __restrict, const char * __restrict, ...); ^ --- code93.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c code93.c --- code39.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c code39.c --- main.o --- main.c: In function 'retrieve_input_string': main.c:174:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] return string; ^ main.c:182:12: warning: pointer targets in return differ in signedness [-Wpointer-sign] return strdup(fileline); ^ main.c: In function 'main': main.c:527:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ( (line = retrieve_input_string(ifile)) ) { ^ main.c:561:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ( (line = retrieve_input_string(ifile)) ) { ^ --- 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:0: /usr/include/string.h:105: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 differ in signedness [-Wpointer-sign] text = bc->ascii; ^ code93.c:114:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] partial = malloc( (strlen(text) *2 + 4) * 6 +2); ^ In file included from code93.c:25:0: /usr/include/string.h:105: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:0: /usr/include/string.h:105: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:0: /usr/include/string.h:105: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:9: 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:0: /usr/include/string.h:90: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:0: /usr/include/string.h:90: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:0: /usr/include/string.h:81: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:0: /usr/include/string.h:105: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:0: /usr/include/string.h:105: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:0: /usr/include/string.h:105: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:0: /usr/include/string.h:90: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:0: /usr/include/string.h:81: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:0: /usr/include/string.h:105: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 differ in signedness [-Wpointer-sign] p1 = codes[text[i]-'0']; ^ i25.c:138:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p2 = codes[text[i+1]-'0']; ^ i25.c:139:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pd = partial + strlen(partial); /* destination */ ^ In file included from i25.c:24:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ i25.c:146:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (usesum && strlen(text+i)==2) { ^ In file included from i25.c:24:0: /usr/include/string.h:105: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:0: /usr/include/stdio.h:224: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:0: /usr/include/stdio.h:224: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:0: /usr/include/string.h:105: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:0: /usr/include/string.h:81: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 differ in signedness [-Wpointer-sign] bc->partial = partial; ^ i25.c:159:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bc->textinfo = textinfo; ^ --- msi.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c msi.c msi.c: In function 'Barcode_msi_verify': msi.c:45:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strlen(text)) ^ In file included from msi.c:23:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ --- plessey.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c plessey.c plessey.c: In function 'Barcode_pls_verify': plessey.c:48:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strlen(text)) ^ In file included from plessey.c:23:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ --- 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 --- 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:0: /usr/include/string.h:105: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:0: /usr/include/string.h:105: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 differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1; *ptr; ptr++) ^ ps.c:186:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { ^ ps.c:225:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ ps.c:225: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:0: /usr/include/string.h:82: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 differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ ps.c:231:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { ^ In file included from ps.c:22:0: /usr/include/stdio.h:225: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; ^ --- pcl.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c pcl.c pcl.c: In function 'Barcode_pcl_print': pcl.c:65:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1; *ptr; ptr++) ^ pcl.c:124:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { ^ pcl.c:162:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ pcl.c:162: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:0: /usr/include/string.h:82: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 differ in signedness [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ pcl.c:168:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { ^ In file included from pcl.c:23:0: /usr/include/stdio.h:225: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; ^ --- sample.o --- cc -pipe -O2 -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c sample.c 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; ^ --- 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 depends on executable: indexinfo - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for barcode-0.98 ===> 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/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/info ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for barcode-0.98 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 16:50:44 UTC Duration: 00:00:10