=>> Building graphics/barcode build started at Sat Apr 6 03:03:36 BST 2024 port directory: /usr/ports/graphics/barcode package name: barcode-0.98_2 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: jev@ecad.org Makefile datestamp: -rw-r--r-- 1 root wheel 431 Feb 25 10:26 /usr/ports/graphics/barcode/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: ee56714f8e Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 04 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- jev@ecad.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/barcode/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/barcode/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/barcode/work/.cache HOME=/wrkdirs/usr/ports/graphics/barcode/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/graphics/barcode/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/barcode/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/barcode/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/barcode/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/barcode/work/.cache HOME=/wrkdirs/usr/ports/graphics/barcode/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/graphics/barcode/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/barcode/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/barcode" EXAMPLESDIR="share/examples/barcode" DATADIR="share/barcode" WWWDIR="www/barcode" ETCDIR="etc/barcode" --End PLIST_SUB-- --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 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> barcode-0.98_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> barcode-0.98_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of barcode-0.98_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by barcode-0.98_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by barcode-0.98_2 for building => SHA256 Checksum OK for barcode-0.98.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by barcode-0.98_2 for building ===> Extracting for barcode-0.98_2 => SHA256 Checksum OK for barcode-0.98.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for barcode-0.98_2 ===> Applying FreeBSD patches for barcode-0.98_2 from /usr/ports/graphics/barcode/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> barcode-0.98_2 depends on executable: gawk - not found ===> Installing existing package /packages/All/gawk-5.3.0.pkg [pkg-builder.dan.net.uk] Installing gawk-5.3.0... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing gmp-6.3.0... [pkg-builder.dan.net.uk] `-- Extracting gmp-6.3.0: .......... done [pkg-builder.dan.net.uk] `-- Installing mpfr-4.2.1,1... [pkg-builder.dan.net.uk] `-- Extracting mpfr-4.2.1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing readline-8.2.10... [pkg-builder.dan.net.uk] `-- Extracting readline-8.2.10: .......... done [pkg-builder.dan.net.uk] Extracting gawk-5.3.0: .......... done ===> barcode-0.98_2 depends on executable: gawk - found ===> Returning to build of barcode-0.98_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for barcode-0.98_2 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong ) works... yes checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong ) 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 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for barcode-0.98_2 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c library.c -o library.o library.c:161:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (cptr->verify(bc->ascii) != 0) { ^~~~~~~~~ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c ean.c -o ean.o ean.c:139:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(text); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ean.c:140:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spc = strchr(text, ' '); ^~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ ean.c:140:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spc = strchr(text, ' '); ^ ~~~~~~~~~~~~~~~~~ ean.c:158:10: warning: passing 'unsigned char[24]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmp, text, 7); ^~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ean.c:158:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmp, text, 7); ^~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ean.c:160:36: warning: passing 'unsigned char[24]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (text[7] != (ean_make_checksum(tmp, 0) + '0')) ^~~ ean.c:101:36: note: passing argument to parameter 'text' here static int ean_make_checksum(char *text, int mode) ^ ean.c:165:10: warning: passing 'unsigned char[24]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmp, text, 12); ^~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ean.c:165:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmp, text, 12); ^~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ean.c:167:37: warning: passing 'unsigned char[24]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (text[12] != (ean_make_checksum(tmp, 0) + '0')) ^~~ ean.c:101:36: note: passing argument to parameter 'text' here static int ean_make_checksum(char *text, int mode) ^ ean.c:185:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(result+1, text, 2); result[3]=text[5]; /* Manuf. */ ^~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ean.c:222:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spc = strchr(text, ' '); ^~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ ean.c:222:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spc = strchr(text, ' '); ^ ~~~~~~~~~~~~~~~~~ ean.c:226:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(text); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ean.c:230:9: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(result, upc_e_to_a0(text)); ^~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ean.c:231:9: warning: returning 'unsigned char[16]' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return result; ^~~~~~ ean.c:237:10: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(result, upc_e_to_a0(text+1)); ^~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ean.c:239:10: warning: returning 'unsigned char[16]' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return result; ^~~~~~ ean.c:243:9: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(result, upc_e_to_a0(text)); ^~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ean.c:244:26: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] chk = ean_make_checksum(result, 0); ^~~~~~ ean.c:101:36: note: passing argument to parameter 'text' here static int ean_make_checksum(char *text, int mode) ^ ean.c:247:10: warning: returning 'unsigned char[16]' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return result; ^~~~~~ ean.c:252:10: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(result, upc_e_to_a0(text+1)); ^~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ean.c:254:27: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] chk = ean_make_checksum(result, 0); ^~~~~~ ean.c:101:36: note: passing argument to parameter 'text' here static int ean_make_checksum(char *text, int mode) ^ ean.c:256:11: warning: returning 'unsigned char[16]' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return result; ^~~~~~ ean.c:274:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(text); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ean.c:277:9: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(result, text); ^~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ean.c:277:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(result, text); ^~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ean.c:279:29: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] chksum = ean_make_checksum(result, 0); ^~~~~~ ean.c:101:36: note: passing argument to parameter 'text' here static int ean_make_checksum(char *text, int mode) ^ ean.c:284:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] chksum = ean_make_checksum(text, 0); ^~~~ ean.c:101:36: note: passing argument to parameter 'text' here static int ean_make_checksum(char *text, int mode) ^ ean.c:290:12: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(result, "00000000"); /* 8 0's*/ ^~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ean.c:299:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && !strncmp(text+4, "0000", 4)) { ^~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ ean.c:303:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if (!strncmp(text+4, "00000", 5)) { ^~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ ean.c:307:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if (!strncmp(text+5, "00000", 5)) { ^~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ ean.c:311:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ((text[5] != '0') && !strncmp(text+6, "0000", 4) ^~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ ean.c:337:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(text); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ean.c:338:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spc = strchr(text, ' '); ^~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ ean.c:338:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spc = strchr(text, ' '); ^ ~~~~~~~~~~~~~~~~~ ean.c:356:10: warning: passing 'unsigned char[24]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmp, text, len0); ^~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ean.c:356:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmp, text, len0); ^~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ean.c:362:10: warning: passing 'unsigned char[24]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmp, text, 11); ^~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ean.c:362:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmp, text, 11); ^~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ean.c:364:37: warning: passing 'unsigned char[24]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (text[11] != (ean_make_checksum(tmp, 0) + '0')) ^~~ ean.c:101:36: note: passing argument to parameter 'text' here static int ean_make_checksum(char *text, int mode) ^ ean.c:407:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(text+i) != 6) ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ean.c:525:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); ^~~~~~~~~ ean.c:217:40: note: passing argument to parameter 'text' here static char *upc_e_to_a(unsigned char *text) ^ ean.c:525:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); ^~~~~~~~~~~~~~~~~~~~~ ean.c:269:49: note: passing argument to parameter 'text' here static unsigned char *upc_a_to_e(unsigned char *text) ^ ean.c:525:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ean.c:548:26: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xpos = width_of_partial(partial); ^~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here static int width_of_partial(unsigned char *partial) ^ ean.c:581:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xpos += width_of_partial(guard[1]); ^~~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here static int width_of_partial(unsigned char *partial) ^ ean.c:605:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xpos += width_of_partial(guard[2]); ^~~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here static int width_of_partial(unsigned char *partial) ^ ean.c:612:26: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xpos = width_of_partial(partial); ^~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here static int width_of_partial(unsigned char *partial) ^ ean.c:656:26: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xpos = width_of_partial(partial); ^~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here static int width_of_partial(unsigned char *partial) ^ ean.c:666:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xpos += width_of_partial(guard[1]); ^~~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here static int width_of_partial(unsigned char *partial) ^ ean.c:698:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xpos += width_of_partial(guardS[0]); ^~~~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here static int width_of_partial(unsigned char *partial) ^ ean.c:701:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xpos += width_of_partial(guardS[1]); ^~~~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here static int width_of_partial(unsigned char *partial) ^ ean.c:734:31: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bc->width = width_of_partial(partial); ^~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here static int width_of_partial(unsigned char *partial) ^ ean.c:755:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(text, "978"); j=3; ^~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ean.c:757:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] otext = bc->ascii; ^ ~~~~~~~~~ ean.c:765:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strchr(otext, ' ')) ^~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ ean.c:766:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(text, strchr(otext, ' ')); ^~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ ean.c:766:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(text, strchr(otext, ' ')); ^~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ ean.c:767:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bc->ascii = text; ^ ~~~~ ean.c:770:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bc->ascii = otext; /* restore ascii for the ps comments */ ^ ~~~~~ 61 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c code128.c -o code128.o code128.c:166:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(text)%2) ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ code128.c:323:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = bc->ascii; ^ ~~~~~~~~~ code128.c:336:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = bc->ascii; *s; /* increments are in the loop */) { ^ ~~~~~~~~~ code128.c:512:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strlen(text)) ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ code128.c:515:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (sscanf(text, "%u%n", &val, &n) < 1) ^~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c code39.c -o code39.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c code93.c -o code93.o code93.c:72:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strlen(text)) ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ code93.c:107:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] text = bc->ascii; ^ ~~~~~~~~~ code93.c:114:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] partial = malloc( (strlen(text) *2 + 4) * 6 +2); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ code93.c:120:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] checksum_str = (int *)malloc( (strlen(text) + 3) * 2 * sizeof(int)); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ code93.c:128:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] textinfo = malloc(10*strlen(text) + 2); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ code93.c:141:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (i=0; iascii; ^ ~~~~~~~~~ i25.c:84:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(text+1, bc->ascii); ^~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ i25.c:86:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(text, bc->ascii); ^~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ i25.c:100:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(text, "0"); ^~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ i25.c:101:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] text[strlen(text)-1] += (10 - (i%10)) % 10; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ i25.c:105:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] partial = malloc( (strlen(text) + 3) * 5 +2); /* be large... */ ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ i25.c:113:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] textinfo = malloc(10*(strlen(text)+1) + 2); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ i25.c:122:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(partial, "0"); /* the first space */ ^~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ i25.c:123:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(partial, guard[0]); /* start */ ^~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ i25.c:127:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(text); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ i25.c:137:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p1 = codes[text[i]-'0']; ^ ~~~~~~~~~~~~~~~~~~ i25.c:138:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p2 = codes[text[i+1]-'0']; ^ ~~~~~~~~~~~~~~~~~~~~ i25.c:139:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pd = partial + strlen(partial); /* destination */ ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ i25.c:146:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (usesum && strlen(text+i)==2) { ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ i25.c:148:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(textptr, "%i:12:%c ", textpos, text[i]); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ i25.c:150:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(textptr, "%i:12:%c %i:12:%c ", textpos, text[i], ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ i25.c:154:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] textptr += strlen(textptr); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ i25.c:156:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(partial, guard[1]); ^~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ i25.c:158:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bc->partial = partial; ^ ~~~~~~~ i25.c:159:18: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bc->textinfo = textinfo; ^ ~~~~~~~~ 20 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c msi.c -o msi.o msi.c:45:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strlen(text)) ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c plessey.c -o plessey.o plessey.c:48:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strlen(text)) ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ plessey.c:151:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plessey.c:151:22: note: treat the string as an argument to avoid this sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]); ^ "%s", 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c codabar.c -o codabar.o codabar.c:58:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strlen(text)) ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ codabar.c:70:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!startpresent || i != strlen(text) - 1)) ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c ps.c -o ps.o ps.c:84:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (ptr = bc->partial+1; *ptr; ptr++) ^ ~~~~~~~~~~~~~ ps.c:186:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { ^ ~~~~~~~~~~~~~ ps.c:225:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ ~~~~~~~~~~~~ ps.c:225:52: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ ps.c:225:43: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ ~~~~~~~~~~~~~~~~ ps.c:231:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { ^~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here 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; ^ 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c pcl.c -o pcl.o pcl.c:65:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (ptr = bc->partial+1; *ptr; ptr++) ^ ~~~~~~~~~~~~~ pcl.c:124:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { ^ ~~~~~~~~~~~~~ pcl.c:162:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ ~~~~~~~~~~~~ pcl.c:162:52: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ pcl.c:162:43: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { ^ ~~~~~~~~~~~~~~~~ pcl.c:168:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { ^~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here 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; ^ 7 warnings generated. ar r libbarcode.a library.o ean.o code128.o code39.o code93.o i25.o msi.o plessey.o codabar.o ps.o pcl.o ar: warning: creating libbarcode.a ranlib libbarcode.a cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c main.c -o main.o main.c:174:9: warning: returning 'char *' from a function with result type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return string; ^~~~~~ main.c:182:12: warning: returning 'char *' from a function with result type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return strdup(fileline); ^~~~~~~~~~~~~~~~ main.c:527:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ( (line = retrieve_input_string(ifile)) ) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:561:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ( (line = retrieve_input_string(ifile)) ) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c cmdline.c -o cmdline.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER main.o cmdline.o -L. -lbarcode -o barcode awk -f doc/manpager doc/doc.barcode cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c sample.c -o sample.o sample.c:9:23: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (argc == 2 && !strcmp(argv[1],"-P")) { ^ sample.c:9:23: note: include the header or explicitly provide a declaration for 'strcmp' sample.c:8:9: warning: variable 'ps' set but not used [-Wunused-but-set-variable] int ps = 1, pcl = 0, oflags; ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER sample.o -L. -lbarcode -o sample =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> barcode-0.98_2 depends on executable: indexinfo - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for barcode-0.98_2 ===> Generating temporary packing list /usr/bin/install -c -d /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/bin /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/include /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/lib /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/share/man/man1 /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/share/man/man3 /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/share/info /usr/bin/install -c -c barcode /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/bin /usr/bin/install -c -c -m 0644 barcode.h /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/include /usr/bin/install -c -c -m 0644 libbarcode.a /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/lib /usr/bin/install -c -c -m 0644 barcode.1 /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/share/man/man1 /usr/bin/install -c -c -m 0644 barcode.3 /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/share/man/man3 /usr/bin/install -c -c -m 0644 doc/barcode.info /wrkdirs/usr/ports/graphics/barcode/work/stage/usr/local/share/info ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-06T02:03:36+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=ee56714f8e' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for barcode-0.98_2 ===> Building barcode-0.98_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for barcode-0.98_2 build of graphics/barcode | barcode-0.98_2 ended at Sat Apr 6 03:03:48 BST 2024 build time: 00:00:13