=>> Building graphics/barcode build started at Sat Feb 21 04:58:53 EST 2026 port directory: /usr/ports/graphics/barcode package name: barcode-0.98_2 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: jev@ecad.org Makefile datestamp: -rw-r--r-- 1 root wheel 431 Aug 27 2024 /usr/ports/graphics/barcode/Makefile Ports top last git commit: eac71dbf758c Ports top unclean checkout: no Port dir last git commit: ee56714f8e3c Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 05 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 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.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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=/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 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=/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=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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=15.0 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--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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 pipebuf (-y) 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-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.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.2.pkg [pkg.DaveG.ca] Installing gawk-5.3.2... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] `-- Installing readline-8.3.3... [pkg.DaveG.ca] `-- Extracting readline-8.3.3: .......... done [pkg.DaveG.ca] Extracting gawk-5.3.2: .......... done ===> barcode-0.98_2 depends on executable: gawk - found ===> Returning to build of barcode-0.98_2 ===> barcode-0.98_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> barcode-0.98_2 depends on file: /usr/local/bin/ccache - 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 ) works... yes checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -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 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for barcode-0.98_2 --- barcode.3 --- --- main.o --- --- cmdline.o --- --- library.o --- --- ean.o --- --- code128.o --- --- code39.o --- --- code93.o --- --- i25.o --- --- msi.o --- --- plessey.o --- --- codabar.o --- --- ps.o --- --- pcl.o --- --- barcode.1 --- --- sample.o --- --- barcode.3 --- awk -f doc/manpager doc/doc.barcode --- main.o --- 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 --- cmdline.o --- 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 --- library.o --- 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 --- ean.o --- 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 --- code128.o --- 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 --- code39.o --- 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 --- code93.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 --- i25.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -DNO_LIBPAPER -c i25.c -o i25.o --- msi.o --- 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 --- plessey.o --- 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 --- codabar.o --- 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 --- ps.o --- 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 --- pcl.o --- 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 --- barcode.1 --- awk -f doc/manpager doc/doc.barcode --- sample.o --- 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: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | 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] 8 | int ps = 1, pcl = 0, oflags; | ^ 2 warnings generated. --- cmdline.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] 65 | 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] 124 | 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] 162 | 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] 162 | for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { | ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | 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] 162 | 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] 168 | if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { | ^~~ /usr/include/stdio.h:302:36: note: passing argument to parameter here 302 | int sscanf(const char * __restrict, const char * __restrict, ...); | ^ pcl.c:41:15: warning: variable 'k' set but not used [-Wunused-but-set-variable] 41 | int i, j, k, barlen; | ^ 7 warnings generated. --- code39.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] 45 | if (!strlen(text)) | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ 1 warning generated. --- 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] 72 | if (!strlen(text)) | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 107 | 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] 114 | partial = malloc( (strlen(text) *2 + 4) * 6 +2); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 120 | checksum_str = (int *)malloc( (strlen(text) + 3) * 2 * sizeof(int)); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 128 | textinfo = malloc(10*strlen(text) + 2); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 141 | for (i=0; ipartial+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] 186 | 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] 225 | 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] 225 | for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { | ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | 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] 225 | 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] 231 | if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { | ^~~ /usr/include/stdio.h:302:36: note: passing argument to parameter here 302 | int sscanf(const char * __restrict, const char * __restrict, ...); | ^ ps.c:64:15: warning: variable 'k' set but not used [-Wunused-but-set-variable] 64 | int i, j, k, barlen, printable=1; | ^ 7 warnings generated. --- 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] 48 | if (!strlen(text)) | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ plessey.c:151:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 151 | sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plessey.c:151:22: note: treat the string as an argument to avoid this 151 | sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]); | ^ | "%s", 2 warnings generated. --- 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] 161 | if (cptr->verify(bc->ascii) != 0) { | ^~~~~~~~~ 1 warning generated. --- plessey.o --- --- library.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] 174 | 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] 182 | 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] 527 | 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] 561 | while ( (line = retrieve_input_string(ifile)) ) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. --- i25.o --- i25.c:65: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] 65 | text = bc->ascii; | ^ ~~~~~~~~~ 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] 84 | strcpy(text+1, bc->ascii); | ^~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | 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] 86 | strcpy(text, bc->ascii); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | 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] 100 | strcat(text, "0"); | ^~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 101 | text[strlen(text)-1] += (10 - (i%10)) % 10; | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 105 | partial = malloc( (strlen(text) + 3) * 5 +2); /* be large... */ | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 113 | textinfo = malloc(10*(strlen(text)+1) + 2); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 122 | strcpy(partial, "0"); /* the first space */ | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | 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] 123 | strcat(partial, guard[0]); /* start */ | ^~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 127 | len = strlen(text); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 137 | 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] 138 | 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] 139 | pd = partial + strlen(partial); /* destination */ | ^~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 146 | if (usesum && strlen(text+i)==2) { | ^~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 148 | sprintf(textptr, "%i:12:%c ", textpos, text[i]); | ^~~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 150 | sprintf(textptr, "%i:12:%c %i:12:%c ", textpos, text[i], | ^~~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 154 | textptr += strlen(textptr); | ^~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 156 | strcat(partial, guard[1]); | ^~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 158 | 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] 159 | bc->textinfo = textinfo; | ^ ~~~~~~~~ 20 warnings generated. --- 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] 166 | if (strlen(text)%2) | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 323 | 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] 336 | 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] 512 | if (!strlen(text)) | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 515 | if (sscanf(text, "%u%n", &val, &n) < 1) | ^~~~ /usr/include/stdio.h:302:36: note: passing argument to parameter here 302 | int sscanf(const char * __restrict, const char * __restrict, ...); | ^ 5 warnings generated. --- 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] 139 | len = strlen(text); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 140 | spc = strchr(text, ' '); | ^~~~ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | 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] 140 | 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] 158 | strncpy(tmp, text, 7); | ^~~ /usr/include/string.h:117:34: note: passing argument to parameter here 117 | 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] 158 | strncpy(tmp, text, 7); | ^~~~ /usr/include/string.h:117:59: note: passing argument to parameter here 117 | 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] 160 | if (text[7] != (ean_make_checksum(tmp, 0) + '0')) | ^~~ ean.c:101:36: note: passing argument to parameter 'text' here 101 | 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] 165 | strncpy(tmp, text, 12); | ^~~ /usr/include/string.h:117:34: note: passing argument to parameter here 117 | 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] 165 | strncpy(tmp, text, 12); | ^~~~ /usr/include/string.h:117:59: note: passing argument to parameter here 117 | 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] 167 | if (text[12] != (ean_make_checksum(tmp, 0) + '0')) | ^~~ ean.c:101:36: note: passing argument to parameter 'text' here 101 | 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] 185 | strncpy(result+1, text, 2); result[3]=text[5]; /* Manuf. */ | ^~~~ /usr/include/string.h:117:59: note: passing argument to parameter here 117 | 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] 222 | spc = strchr(text, ' '); | ^~~~ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | 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] 222 | 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] 226 | len = strlen(text); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 230 | strcpy(result, upc_e_to_a0(text)); | ^~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | 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] 231 | 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] 237 | strcpy(result, upc_e_to_a0(text+1)); | ^~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | 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] 239 | 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] 243 | strcpy(result, upc_e_to_a0(text)); | ^~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | 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] 244 | chk = ean_make_checksum(result, 0); | ^~~~~~ ean.c:101:36: note: passing argument to parameter 'text' here 101 | 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] 247 | 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] 252 | strcpy(result, upc_e_to_a0(text+1)); | ^~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | 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] 254 | chk = ean_make_checksum(result, 0); | ^~~~~~ ean.c:101:36: note: passing argument to parameter 'text' here 101 | 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] 256 | 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] 274 | len = strlen(text); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 277 | strcpy(result, text); | ^~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | 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] 277 | strcpy(result, text); | ^~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | 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] 279 | chksum = ean_make_checksum(result, 0); | ^~~~~~ ean.c:101:36: note: passing argument to parameter 'text' here 101 | 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] 284 | chksum = ean_make_checksum(text, 0); | ^~~~ ean.c:101:36: note: passing argument to parameter 'text' here 101 | 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] 290 | strcpy(result, "00000000"); /* 8 0's*/ | ^~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | 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] 299 | && !strncmp(text+4, "0000", 4)) { | ^~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | 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] 303 | } else if (!strncmp(text+4, "00000", 5)) { | ^~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | 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] 307 | } else if (!strncmp(text+5, "00000", 5)) { | ^~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | 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] 311 | } else if ((text[5] != '0') && !strncmp(text+6, "0000", 4) | ^~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | 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] 337 | len = strlen(text); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 338 | spc = strchr(text, ' '); | ^~~~ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | 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] 338 | 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] 356 | strncpy(tmp, text, len0); | ^~~ /usr/include/string.h:117:34: note: passing argument to parameter here 117 | 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] 356 | strncpy(tmp, text, len0); | ^~~~ /usr/include/string.h:117:59: note: passing argument to parameter here 117 | 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] 362 | strncpy(tmp, text, 11); | ^~~ /usr/include/string.h:117:34: note: passing argument to parameter here 117 | 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] 362 | strncpy(tmp, text, 11); | ^~~~ /usr/include/string.h:117:59: note: passing argument to parameter here 117 | 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] 364 | if (text[11] != (ean_make_checksum(tmp, 0) + '0')) | ^~~ ean.c:101:36: note: passing argument to parameter 'text' here 101 | 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] 407 | if (strlen(text+i) != 6) | ^~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 525 | strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); | ^~~~~~~~~ ean.c:217:40: note: passing argument to parameter 'text' here 217 | 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] 525 | strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); | ^~~~~~~~~~~~~~~~~~~~~ ean.c:269:49: note: passing argument to parameter 'text' here 269 | 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] 525 | strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | 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] 548 | xpos = width_of_partial(partial); | ^~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here 420 | 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] 581 | xpos += width_of_partial(guard[1]); | ^~~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here 420 | 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] 605 | xpos += width_of_partial(guard[2]); | ^~~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here 420 | 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] 612 | xpos = width_of_partial(partial); | ^~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here 420 | 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] 656 | xpos = width_of_partial(partial); | ^~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here 420 | 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] 666 | xpos += width_of_partial(guard[1]); | ^~~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here 420 | 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] 698 | xpos += width_of_partial(guardS[0]); | ^~~~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here 420 | 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] 701 | xpos += width_of_partial(guardS[1]); | ^~~~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here 420 | 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] 734 | bc->width = width_of_partial(partial); | ^~~~~~~ ean.c:420:44: note: passing argument to parameter 'partial' here 420 | 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] 755 | strcpy(text, "978"); j=3; | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | 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] 757 | 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] 765 | if (strchr(otext, ' ')) | ^~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | 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] 766 | strcat(text, strchr(otext, ' ')); | ^~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | 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] 766 | strcat(text, strchr(otext, ' ')); | ^~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 767 | 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] 770 | bc->ascii = otext; /* restore ascii for the ps comments */ | ^ ~~~~~ 61 warnings generated. --- 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 ar: warning: creating libbarcode.a ranlib libbarcode.a --- barcode --- --- sample --- --- barcode --- 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 --- sample --- 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=2026-02-21T09:58:53+0000' 'PKG_NOTE_ports_top_git_hash=eac71dbf758c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=ee56714f8e3c' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' 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 Feb 21 04:59:01 EST 2026 build time: 00:00:09