=> Building devel/epm Started : Monday, 8 JUL 2019 at 13:01:32 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.4-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.4-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for epm-4.3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/devel/epm XDG_CONFIG_HOME=/construction/devel/epm HOME=/construction/devel/epm TMPDIR="/tmp" PATH=/construction/devel/epm/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/devel/epm XDG_CONFIG_HOME=/construction/devel/epm HOME=/construction/devel/epm TMPDIR="/tmp" PATH=/construction/devel/epm/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/devel/epm/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/epm" EXAMPLESDIR="share/examples/epm" DATADIR="share/epm" WWWDIR="www/epm" ETCDIR="etc/epm" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/epm DOCSDIR=/usr/local/share/doc/epm EXAMPLESDIR=/usr/local/share/examples/epm WWWDIR=/usr/local/www/epm ETCDIR=/usr/local/etc/epm -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.4 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500400 OSVERSION=9999999 OSREL=5.4 _OSRELEASE=5.4-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2+ accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> epm-4.3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> epm-4.3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of epm-4.3 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by epm-4.3 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by epm-4.3 for building => SHA256 Checksum OK for epm-4.3-source.tar.bz2. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by epm-4.3 for building ===> Extracting for epm-4.3 => SHA256 Checksum OK for epm-4.3-source.tar.bz2. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for epm-4.3 ===> Applying ports patches for epm-4.3 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for epm-4.3 configure: loading site script /xports/Templates/config.site checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for chmod... /bin/chmod checking for cp... /bin/cp checking for gzip... (cached) /usr/bin/gzip checking for htmldoc... no checking for mkdir... /bin/mkdir checking for nroff... /usr/bin/nroff checking for rm... /bin/rm checking for rpm... no checking for rpmbuild... no checking for strip... /usr/bin/strip checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking whether char is unsigned... no checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for strings.h... (cached) yes checking for sys/mount.h... (cached) yes checking for sys/param.h... (cached) yes checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking for strcasecmp... (cached) yes checking for strdup... (cached) yes checking for strlcat... (cached) yes checking for strlcpy... (cached) yes checking for strncasecmp... (cached) yes checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for library containing gethostname... none required checking for fltk-config... no configure: WARNING: Sorry, setup GUI requires FLTK 1.1.x. checking if GCC supports -fno-rtti... yes checking if GCC supports -fno-exceptions... yes configure: creating ./config.status config.status: creating Makefile config.status: creating epm.list config.status: creating doc/Makefile config.status: creating config.h -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for epm-4.3 echo Compiling aix.c... Compiling aix.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c aix.c aix.c: In function 'write_liblpp': aix.c:554:46: warning: '.al' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.al", directory, prodfull); ^~~ aix.c:554:3: note: 'snprintf' output 5 or more bytes (assuming 1028) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.al", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:620:46: warning: '.cfgfiles' directive output may be truncated writing 9 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.cfgfiles", directory, prodfull); ^~~~~~~~~ aix.c:620:3: note: 'snprintf' output 11 or more bytes (assuming 1034) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.cfgfiles", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:651:46: warning: '.copyright' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.copyright", directory, prodfull); ^~~~~~~~~~ aix.c:651:3: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.copyright", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:674:48: warning: '.pre_i' directive output may be truncated writing 6 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.pre_i", directory, prodfull); ^~~~~~ aix.c:674:5: note: 'snprintf' output 8 or more bytes (assuming 1031) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.pre_i", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:701:48: warning: '.post_i' directive output may be truncated writing 7 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.post_i", directory, prodfull); ^~~~~~~ aix.c:701:5: note: 'snprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.post_i", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:728:48: warning: '.unpre_i' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.unpre_i", directory, prodfull); ^~~~~~~~ aix.c:728:5: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.unpre_i", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:755:48: warning: '.unpost_i' directive output may be truncated writing 9 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.unpost_i", directory, prodfull); ^~~~~~~~~ aix.c:755:5: note: 'snprintf' output 11 or more bytes (assuming 1034) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.unpost_i", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:783:46: warning: '.inventory' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.inventory", directory, prodfull); ^~~~~~~~~~ aix.c:783:3: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.inventory", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Compiling bsd.c... Compiling bsd.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c bsd.c bsd.c: In function 'make_subpackage': bsd.c:115:38: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(name, sizeof(name), "%s-%s", prodfull, dist->version); ^~ bsd.c:115:5: note: 'snprintf' output between 2 and 1280 bytes into a destination of size 1024 snprintf(name, sizeof(name), "%s-%s", prodfull, dist->version); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:113:38: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(name, sizeof(name), "%s-%s-%s", prodfull, dist->version, platname); ^~ bsd.c:113:5: note: 'snprintf' output 3 or more bytes (assuming 1281) into a destination of size 1024 snprintf(name, sizeof(name), "%s-%s-%s", prodfull, dist->version, platname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:109:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(name, sizeof(name), "%s-%s-%s", prodfull, dist->version, ^~ bsd.c:109:7: note: 'snprintf' output between 3 and 1536 bytes into a destination of size 1024 snprintf(name, sizeof(name), "%s-%s-%s", prodfull, dist->version, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->release); ~~~~~~~~~~~~~~ bsd.c:106:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(name, sizeof(name), "%s-%s-%s-%s", prodfull, dist->version, ^~ bsd.c:106:7: note: 'snprintf' output 4 or more bytes (assuming 1537) into a destination of size 1024 snprintf(name, sizeof(name), "%s-%s-%s-%s", prodfull, dist->version, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->release, platname); ~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:124:48: warning: '.descr' directive output may be truncated writing 6 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(descrname, sizeof(descrname), "%s/%s.descr", directory, prodfull); ^~~~~~ bsd.c:124:3: note: 'snprintf' output 8 or more bytes (assuming 1031) into a destination of size 1024 snprintf(descrname, sizeof(descrname), "%s/%s.descr", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:144:52: warning: '.comment' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(commentname, sizeof(commentname), "%s/%s.comment", directory, ^~~~~~~~ bsd.c:144:3: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 snprintf(commentname, sizeof(commentname), "%s/%s.comment", directory, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prodfull); ~~~~~~~~~ bsd.c:178:48: warning: '.plist' directive output may be truncated writing 6 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(plistname, sizeof(plistname), "%s/%s.plist", directory, prodfull); ^~~~~~ bsd.c:178:3: note: 'snprintf' output 8 or more bytes (assuming 1031) into a destination of size 1024 snprintf(plistname, sizeof(plistname), "%s/%s.plist", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:445:48: warning: '.buildroot' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.buildroot", directory, ^~~~~~~~~~ bsd.c:445:5: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.buildroot", directory, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prodfull); ~~~~~~~~~ bsd.c:379:54: warning: '.buildroot' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", ^~~~~~~~~~ bsd.c:379:11: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:358:26: warning: '.buildroot/usr/local/etc/rc...' directive output may be truncated writing 30 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] "%s/%s.buildroot/usr/local/etc/rc.d/%s", directory, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:357:11: note: 'snprintf' output 32 or more bytes (assuming 1055) into a destination of size 1024 snprintf(filename, sizeof(filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s.buildroot/usr/local/etc/rc.d/%s", directory, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~ bsd.c:369:54: warning: '.buildroot' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", ^~~~~~~~~~ bsd.c:369:11: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:346:54: warning: '.buildroot' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", ^~~~~~~~~~ bsd.c:346:11: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Compiling deb.c... Compiling deb.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c deb.c deb.c: In function 'make_subpackage': deb.c:218:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^ deb.c:218:3: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:320:48: warning: '/DEBIAN/preinst' directive output may be truncated writing 15 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/preinst", directory, name); ^~~~~~~~~~~~~~~ deb.c:320:5: note: 'snprintf' output 17 or more bytes (assuming 1040) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/preinst", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:359:48: warning: '/DEBIAN/postinst' directive output may be truncated writing 16 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/postinst", directory, name); ^~~~~~~~~~~~~~~~ deb.c:359:5: note: 'snprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/postinst", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:417:48: warning: '/DEBIAN/prerm' directive output may be truncated writing 13 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/prerm", directory, name); ^~~~~~~~~~~~~ deb.c:417:5: note: 'snprintf' output 15 or more bytes (assuming 1038) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/prerm", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:460:48: warning: '/DEBIAN/postrm' directive output may be truncated writing 14 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/postrm", directory, name); ^~~~~~~~~~~~~~ deb.c:460:5: note: 'snprintf' output 16 or more bytes (assuming 1039) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/postrm", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:496:46: warning: '/DEBIAN/conffiles' directive output may be truncated writing 17 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/conffiles", directory, name); ^~~~~~~~~~~~~~~~~ deb.c:496:3: note: 'snprintf' output 19 or more bytes (assuming 1042) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/conffiles", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:605:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^ deb.c:605:5: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:575:56: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, ^ deb.c:575:11: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file->dst); ~~~~~~~~~~ deb.c:554:54: warning: '/etc/init.d/' directive output may be truncated writing 12 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/etc/init.d/%s", ^~~~~~~~~~~~ deb.c:554:11: note: 'snprintf' output 14 or more bytes (assuming 1037) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/etc/init.d/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, name, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:565:56: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, ^ deb.c:565:11: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file->dst); ~~~~~~~~~~ deb.c:543:56: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, ^ deb.c:543:11: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file->dst); ~~~~~~~~~~ deb.c: In function 'make_deb': deb.c:92:48: warning: '.deb.tgz' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.deb.tgz", directory, name); ^~~~~~~~ deb.c:92:5: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.deb.tgz", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Compiling dist.c... Compiling dist.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c dist.c dist.c: In function 'read_dist': dist.c:1173:65: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 248 [-Wformat-truncation=] snprintf(dist->packager, sizeof(dist->packager), "unknown@%s", buf); ^~ ~~~ dist.c:1173:7: note: 'snprintf' output between 9 and 1032 bytes into a destination of size 256 snprintf(dist->packager, sizeof(dist->packager), "unknown@%s", buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist.c:1170:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 255 [-Wformat-truncation=] snprintf(dist->packager, sizeof(dist->packager), "%s@%s", pwd->pw_name, ^~ buf); ~~~ dist.c:1170:7: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 256 snprintf(dist->packager, sizeof(dist->packager), "%s@%s", pwd->pw_name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buf); ~~~~ echo Compiling file.c... Compiling file.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c file.c file.c: In function 'unlink_package': file.c:421:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^ file.c:421:3: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Compiling inst.c... Compiling inst.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c inst.c inst.c: In function 'make_inst': inst.c:503:46: warning: '.tardist' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.tardist", directory, name); ^~~~~~~~ inst.c:503:3: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.tardist", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inst.c:157:52: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 502 [-Wformat-truncation=] snprintf(file->src, sizeof(file->src), "../init.d/%s", ^~ inst.c:157:2: note: 'snprintf' output between 11 and 522 bytes into a destination of size 512 snprintf(file->src, sizeof(file->src), "../init.d/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~ inst.c:164:61: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 489 and 498 [-Wformat-truncation=] snprintf(file->dst, sizeof(file->dst), "/etc/rc%c.d/S%02d%s", ^~ inst.c:164:4: note: 'snprintf' output between 15 and 535 bytes into a destination of size 512 snprintf(file->dst, sizeof(file->dst), "/etc/rc%c.d/S%02d%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *runlevels, get_start(dist->files + i, 99), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~ inst.c:161:60: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 489 and 498 [-Wformat-truncation=] snprintf(file->dst, sizeof(file->dst), "/etc/rc0.d/K%02d%s", ^~ inst.c:161:4: note: 'snprintf' output between 15 and 535 bytes into a destination of size 512 snprintf(file->dst, sizeof(file->dst), "/etc/rc0.d/K%02d%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ get_stop(dist->files + i, 0), dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Compiling osx.c... Compiling osx.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c osx.c osx.c: In function 'make_subpackage': osx.c:405:46: warning: '/Resources' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Resources", directory, prodfull); ^~~~~~~~~~ osx.c:405:3: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Resources", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:415:50: warning: '/Resources/License' directive output may be truncated writing 18 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Resources/License%s", ^~~~~~~~~~~~~~~~~~ osx.c:415:44: note: assuming directive output of 4 bytes snprintf(filename, sizeof(filename), "%s/%s/Resources/License%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:415:7: note: 'snprintf' output 20 or more bytes (assuming 1047) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Resources/License%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, ext); ~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:425:50: warning: '/Resources/ReadMe' directive output may be truncated writing 17 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Resources/ReadMe%s", ^~~~~~~~~~~~~~~~~ osx.c:425:44: note: assuming directive output of 4 bytes snprintf(filename, sizeof(filename), "%s/%s/Resources/ReadMe%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:425:7: note: 'snprintf' output 19 or more bytes (assuming 1046) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Resources/ReadMe%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, ext); ~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:433:50: warning: '/Resources/background' directive output may be truncated writing 21 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Resources/background%s", ^~~~~~~~~~~~~~~~~~~~~ osx.c:433:7: note: 'snprintf' output 23 or more bytes (assuming 1046) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Resources/background%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, ext); ~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:438:48: warning: '/Resources/Welcome.rtf' directive output may be truncated writing 22 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Resources/Welcome.rtf", ^~~~~~~~~~~~~~~~~~~~~~ osx.c:438:5: note: 'snprintf' output 24 or more bytes (assuming 1047) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Resources/Welcome.rtf", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull); ~~~~~~~~~~~~~~~~~~~~ osx.c:447:48: warning: '-desc.plist' directive output may be truncated writing 11 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s-desc.plist", directory, prodfull); ^~~~~~~~~~~ osx.c:447:5: note: 'snprintf' output 13 or more bytes (assuming 1036) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s-desc.plist", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:476:48: warning: '-info.plist' directive output may be truncated writing 11 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s-info.plist", directory, prodfull); ^~~~~~~~~~~ osx.c:476:5: note: 'snprintf' output 13 or more bytes (assuming 1036) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s-info.plist", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:531:50: warning: '/Resources/preflight' directive output may be truncated writing 20 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Resources/preflight", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~ osx.c:531:7: note: 'snprintf' output 22 or more bytes (assuming 1045) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Resources/preflight", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:529:50: warning: '/Resources/preinstall' directive output may be truncated writing 21 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Resources/preinstall", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~ osx.c:529:7: note: 'snprintf' output 23 or more bytes (assuming 1046) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Resources/preinstall", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:566:50: warning: '/Resources/postflight' directive output may be truncated writing 21 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Resources/postflight", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~ osx.c:566:7: note: 'snprintf' output 23 or more bytes (assuming 1046) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Resources/postflight", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:564:50: warning: '/Resources/postinstall' directive output may be truncated writing 22 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Resources/postinstall", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~ osx.c:564:7: note: 'snprintf' output 24 or more bytes (assuming 1047) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Resources/postinstall", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:741:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", current, directory); ^ osx.c:741:5: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s", current, directory); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:750:41: warning: '/Packages' directive output may be truncated writing 9 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(pkgdir, sizeof(pkgdir), "%s/Packages", filename); ^~~~~~~~~ osx.c:750:5: note: 'snprintf' output between 10 and 1033 bytes into a destination of size 1024 snprintf(pkgdir, sizeof(pkgdir), "%s/Packages", filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:753:43: warning: '/Packages/' directive output may be truncated writing 10 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(pkgname, sizeof(pkgname), "%s/Packages/%s.pkg", filename, ^~~~~~~~~~ osx.c:753:5: note: 'snprintf' output between 15 and 2061 bytes into a destination of size 1024 snprintf(pkgname, sizeof(pkgname), "%s/Packages/%s.pkg", filename, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prodfull); ~~~~~~~~~ osx.c:762:44: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(pkgname, sizeof(pkgname), "%s/%s.pkg", filename, prodfull); ^~ ~~~~~~~~ osx.c:762:5: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 1024 snprintf(pkgname, sizeof(pkgname), "%s/%s.pkg", filename, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:849:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, prodfull); ^ osx.c:849:5: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:854:50: warning: '-desc.plist' directive output may be truncated writing 11 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s-desc.plist", directory, prodfull); ^~~~~~~~~~~ osx.c:854:7: note: 'snprintf' output 13 or more bytes (assuming 1036) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s-desc.plist", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:857:50: warning: '-info.plist' directive output may be truncated writing 11 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s-info.plist", directory, prodfull); ^~~~~~~~~~~ osx.c:857:7: note: 'snprintf' output 13 or more bytes (assuming 1036) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s-info.plist", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:720:56: warning: '/Package' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Package%s", ^~~~~~~~ osx.c:720:13: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Package%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:717:56: warning: '/Package/private' directive output may be truncated writing 16 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Package/private%s", ^~~~~~~~~~~~~~~~ osx.c:717:13: note: 'snprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Package/private%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:640:19: warning: '/Package/Library/StartupItem..' directive output may be truncated writing 30 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] "%s/%s/Package/Library/StartupItems/%s/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:639:11: note: 'snprintf' output 33 or more bytes (assuming 1056) into a destination of size 1024 snprintf(filename, sizeof(filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s/Package/Library/StartupItems/%s/%s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:651:19: warning: '/Package/Library/StartupItem..' directive output may be truncated writing 30 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] "%s/%s/Package/Library/StartupItems/%s/StartupParameters.plist", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:650:11: note: 'snprintf' output 56 or more bytes (assuming 1079) into a destination of size 1024 snprintf(filename, sizeof(filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s/Package/Library/StartupItems/%s/StartupParameters.plist", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:675:19: warning: '/Package/Library/StartupItem..' directive output may be truncated writing 30 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] "%s/%s/Package/Library/StartupItems/%s/Resources/English.lproj", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:674:11: note: 'snprintf' output 56 or more bytes (assuming 1079) into a destination of size 1024 snprintf(filename, sizeof(filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s/Package/Library/StartupItems/%s/Resources/English.lproj", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:680:19: warning: '/Package/Library/StartupItem..' directive output may be truncated writing 30 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] "%s/%s/Package/Library/StartupItems/%s/Resources/English.lproj/Localizable.strings", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:679:11: note: 'snprintf' output 76 or more bytes (assuming 1099) into a destination of size 1024 snprintf(filename, sizeof(filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s/Package/Library/StartupItems/%s/Resources/English.lproj/Localizable.strings", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:706:56: warning: '/Package' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Package%s", ^~~~~~~~ osx.c:706:13: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Package%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:703:56: warning: '/Package/private' directive output may be truncated writing 16 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Package/private%s", ^~~~~~~~~~~~~~~~ osx.c:703:13: note: 'snprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Package/private%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:628:56: warning: '/Package' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Package%s", ^~~~~~~~ osx.c:628:13: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Package%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c:625:56: warning: '/Package/private' directive output may be truncated writing 16 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/Package/private%s", ^~~~~~~~~~~~~~~~ osx.c:625:13: note: 'snprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/Package/private%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directory, prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osx.c: In function 'make_osx': osx.c:248:45: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", current, directory); ^ osx.c:248:2: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s", current, directory); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Compiling pkg.c... Compiling pkg.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c pkg.c pkg.c: In function 'make_pkg': pkg.c:500:46: warning: '.pkg.tgz' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.pkg.tgz", directory, name); ^~~~~~~~ pkg.c:500:3: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.pkg.tgz", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pkg.c:530:43: warning: '.pkg.gz' directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.pkg.gz", name); ^~~~~~~ pkg.c:530:3: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1024 snprintf(filename, sizeof(filename), "%s.pkg.gz", name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pkg.c:393:52: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 502 [-Wformat-truncation=] snprintf(file->src, sizeof(file->src), "../init.d/%s", ^~ pkg.c:393:2: note: 'snprintf' output between 11 and 522 bytes into a destination of size 512 snprintf(file->src, sizeof(file->src), "../init.d/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~ pkg.c:400:61: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 489 and 498 [-Wformat-truncation=] snprintf(file->dst, sizeof(file->dst), "/etc/rc%c.d/S%02d%s", ^~ pkg.c:400:4: note: 'snprintf' output between 15 and 535 bytes into a destination of size 512 snprintf(file->dst, sizeof(file->dst), "/etc/rc%c.d/S%02d%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *runlevels, get_start(dist->files + i, 99), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~ pkg.c:397:60: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 489 and 498 [-Wformat-truncation=] snprintf(file->dst, sizeof(file->dst), "/etc/rc0.d/K%02d%s", ^~ pkg.c:397:4: note: 'snprintf' output between 15 and 535 bytes into a destination of size 512 snprintf(file->dst, sizeof(file->dst), "/etc/rc0.d/K%02d%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ get_stop(dist->files + i, 0), dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Compiling portable.c... Compiling portable.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c portable.c portable.c: In function 'write_distfiles.isra.4': portable.c:1440:39: warning: '.sw' directive output may be truncated writing 3 bytes into a region of size between 1 and 255 [-Wformat-truncation=] snprintf(swname, sizeof(swname), "%s.sw", prodfull); ^~~ portable.c:1440:3: note: 'snprintf' output between 4 and 258 bytes into a destination of size 255 snprintf(swname, sizeof(swname), "%s.sw", prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portable.c:1549:39: warning: '.ss' directive output may be truncated writing 3 bytes into a region of size between 1 and 255 [-Wformat-truncation=] snprintf(swname, sizeof(swname), "%s.ss", prodfull); ^~~ portable.c:1549:3: note: 'snprintf' output between 4 and 258 bytes into a destination of size 255 snprintf(swname, sizeof(swname), "%s.ss", prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portable.c:1660:43: warning: '.psw' directive output may be truncated writing 4 bytes into a region of size between 1 and 255 [-Wformat-truncation=] snprintf(pswname, sizeof(pswname), "%s.psw", prodfull); ^~~~ portable.c:1660:5: note: 'snprintf' output between 5 and 259 bytes into a destination of size 255 snprintf(pswname, sizeof(pswname), "%s.psw", prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portable.c:1748:43: warning: '.pss' directive output may be truncated writing 4 bytes into a region of size between 1 and 255 [-Wformat-truncation=] snprintf(pswname, sizeof(pswname), "%s.pss", prodfull); ^~~~ portable.c:1748:5: note: 'snprintf' output between 5 and 259 bytes into a destination of size 255 snprintf(pswname, sizeof(pswname), "%s.pss", prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Compiling qprintf.c... Compiling qprintf.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c qprintf.c echo Compiling rpm.c... Compiling rpm.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c rpm.c rpm.c: In function 'move_rpms': rpm.c:529:46: warning: '-' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(rpmname, sizeof(rpmname), "%s/%s-%s", directory, prodfull, ^ rpm.c:529:5: note: 'snprintf' output 3 or more bytes (assuming 1281) into a destination of size 1024 snprintf(rpmname, sizeof(rpmname), "%s/%s-%s", directory, prodfull, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->version); ~~~~~~~~~~~~~~ rpm.c:526:46: warning: '-' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(rpmname, sizeof(rpmname), "%s/%s-%s-%s", directory, prodfull, ^ rpm.c:526:5: note: 'snprintf' output 4 or more bytes (assuming 1537) into a destination of size 1024 snprintf(rpmname, sizeof(rpmname), "%s/%s-%s-%s", directory, prodfull, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->version, dist->release); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpm.c: In function 'make_rpm': rpm.c:77:44: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(absdir, sizeof(absdir), "%s/%s", current, directory); ^ rpm.c:77:5: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(absdir, sizeof(absdir), "%s/%s", current, directory); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpm.c:295:48: warning: '.rpm.tgz' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.rpm.tgz", directory, name); ^~~~~~~~ rpm.c:295:5: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.rpm.tgz", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Compiling run.c... Compiling run.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c run.c echo Compiling setld.c... Compiling setld.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c setld.c setld.c: In function 'make_setld': setld.c:429:46: warning: '.tar.gz' directive output may be truncated writing 7 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.tar.gz", directory, name); ^~~~~~~ setld.c:429:3: note: 'snprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.tar.gz", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setld.c:148:52: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 502 [-Wformat-truncation=] snprintf(file->src, sizeof(file->src), "../init.d/%s", ^~ setld.c:148:2: note: 'snprintf' output between 11 and 522 bytes into a destination of size 512 snprintf(file->src, sizeof(file->src), "../init.d/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~ setld.c:155:62: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 488 and 497 [-Wformat-truncation=] snprintf(file->dst, sizeof(file->dst), "/sbin/rc%c.d/S%02d%s", ^~ setld.c:155:4: note: 'snprintf' output between 16 and 536 bytes into a destination of size 512 snprintf(file->dst, sizeof(file->dst), "/sbin/rc%c.d/S%02d%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *runlevels, get_start(dist->files + i, 99), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~ setld.c:152:61: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 488 and 497 [-Wformat-truncation=] snprintf(file->dst, sizeof(file->dst), "/sbin/rc0.d/K%02d%s", ^~ setld.c:152:4: note: 'snprintf' output between 16 and 536 bytes into a destination of size 512 snprintf(file->dst, sizeof(file->dst), "/sbin/rc0.d/K%02d%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ get_stop(dist->files + i, 0), dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Compiling slackware.c... Compiling slackware.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c slackware.c slackware.c: In function 'make_subpackage.isra.0': slackware.c:128:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(pkgname, sizeof(pkgname), "%s-%s-%s-%s.tgz", prodfull, ^~ slackware.c:128:3: note: 'snprintf' output between 8 and 1572 bytes into a destination of size 1024 snprintf(pkgname, sizeof(pkgname), "%s-%s-%s-%s.tgz", prodfull, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->version, platform.machine, dist->release); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:221:48: warning: '/install' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/install", directory, prodfull); ^~~~~~~~ slackware.c:221:5: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/install", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:253:48: warning: '/install' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/install", directory, prodfull); ^~~~~~~~ slackware.c:253:5: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/install", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:301:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, pkgname); ^ slackware.c:301:3: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s", directory, pkgname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:307:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, prodfull); ^ slackware.c:307:3: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s", directory, prodfull); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:200:49: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, prodfull, ^ slackware.c:200:4: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s", directory, prodfull, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file->dst); ~~~~~~~~~~ slackware.c:177:47: warning: '/etc/rc.d/' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s/etc/rc.d/%s", directory, ^~~~~~~~~~ slackware.c:177:4: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s/etc/rc.d/%s", directory, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prodfull, file->dst); ~~~~~~~~~~~~~~~~~~~~ slackware.c:189:49: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, prodfull, ^ slackware.c:189:4: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s", directory, prodfull, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file->dst); ~~~~~~~~~~ slackware.c:165:49: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, prodfull, ^ slackware.c:165:4: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s", directory, prodfull, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file->dst); ~~~~~~~~~~ echo Compiling snprintf.c... Compiling snprintf.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c snprintf.c echo Compiling string.c... Compiling string.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c string.c echo Compiling support.c... Compiling support.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c support.c echo Compiling swinstall.c... Compiling swinstall.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c swinstall.c swinstall.c: In function 'make_swinstall': swinstall.c:539:46: warning: '.depot.tgz' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.depot.tgz", directory, name); ^~~~~~~~~~ swinstall.c:539:3: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s.depot.tgz", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ swinstall.c:286:52: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 502 [-Wformat-truncation=] snprintf(file->src, sizeof(file->src), "../init.d/%s", ^~ swinstall.c:286:2: note: 'snprintf' output between 11 and 522 bytes into a destination of size 512 snprintf(file->src, sizeof(file->src), "../init.d/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~ swinstall.c:293:63: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 487 and 496 [-Wformat-truncation=] snprintf(file->dst, sizeof(file->dst), "/sbin/rc%c.d/S%02d0%s", ^~ swinstall.c:293:4: note: 'snprintf' output between 17 and 537 bytes into a destination of size 512 snprintf(file->dst, sizeof(file->dst), "/sbin/rc%c.d/S%02d0%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *runlevels, get_start(dist->files + i, 99), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~ swinstall.c:290:62: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 487 and 496 [-Wformat-truncation=] snprintf(file->dst, sizeof(file->dst), "/sbin/rc0.d/K%02d0%s", ^~ swinstall.c:290:4: note: 'snprintf' output between 17 and 537 bytes into a destination of size 512 snprintf(file->dst, sizeof(file->dst), "/sbin/rc0.d/K%02d0%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ get_stop(dist->files + i, 0), dist->files[i].dst); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Compiling tar.c... Compiling tar.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c tar.c tar.c: In function 'tar_header': tar.c:420:34: warning: '%6o' directive writing between 6 and 11 bytes into a region of size 8 [-Wformat-overflow=] sprintf(record.header.chksum, "%6o", sum); ^~~ tar.c:420:33: note: directive argument in the range [0, 2147483647] sprintf(record.header.chksum, "%6o", sum); ^~~~~ tar.c:420:3: note: 'sprintf' output between 7 and 12 bytes into a destination of size 8 sprintf(record.header.chksum, "%6o", sum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tar.c: In function 'tar_package': tar.c:532:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^ tar.c:532:3: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Archiving libepm.a... Archiving libepm.a... /bin/rm -f libepm.a /usr/bin/ar crs libepm.a aix.o bsd.o deb.o dist.o file.o inst.o osx.o pkg.o portable.o qprintf.o rpm.o run.o setld.o slackware.o snprintf.o string.o support.o swinstall.o tar.o ranlib libepm.a echo Compiling epm.c... Compiling epm.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c epm.c epm.c: In function 'main': epm.c:420:45: warning: '.list' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(listname, sizeof(listname), "%s.list", prodname); ^~~~~ epm.c:420:5: note: 'snprintf' output between 6 and 261 bytes into a destination of size 256 snprintf(listname, sizeof(listname), "%s.list", prodname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Linking epm... Linking epm... cc -Os -o epm epm.o libepm.a echo Compiling epminstall.c... Compiling epminstall.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c epminstall.c echo Linking epminstall... Linking epminstall... cc -Os -o epminstall epminstall.o libepm.a echo Compiling mkepmlist.c... Compiling mkepmlist.c... cc -Wall -Wformat -Wno-format-y2k -Wunused -pipe -O2 -fno-strict-aliasing -Os -I. -I. -c mkepmlist.c echo Linking mkepmlist... Linking mkepmlist... cc -Os -o mkepmlist mkepmlist.o libepm.a -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for epm-4.3 ===> Generating temporary packing list echo Installing EPM programs in /usr/local/bin Installing EPM programs in /usr/local/bin /bin/mkdir -p /construction/devel/epm/stage/usr/local/bin /bin/rm -f /construction/devel/epm/stage/usr/local/bin/epm /bin/cp epm /construction/devel/epm/stage/usr/local/bin /usr/bin/strip /construction/devel/epm/stage/usr/local/bin/epm /bin/rm -f /construction/devel/epm/stage/usr/local/bin/epminstall /bin/cp epminstall /construction/devel/epm/stage/usr/local/bin /usr/bin/strip /construction/devel/epm/stage/usr/local/bin/epminstall /bin/rm -f /construction/devel/epm/stage/usr/local/bin/mkepmlist /bin/cp mkepmlist /construction/devel/epm/stage/usr/local/bin echo Installing EPM manpages in /usr/local/man/man1 Installing EPM manpages in /usr/local/man/man1 /bin/mkdir -p /construction/devel/epm/stage/usr/local/man/man1 /bin/rm -f /construction/devel/epm/stage/usr/local/man/man1/epm.1 /bin/cp ./doc/epm.man /construction/devel/epm/stage/usr/local/man/man1/epm.1 /bin/rm -f /construction/devel/epm/stage/usr/local/man/man1/epminstall.1 /bin/cp ./doc/epminstall.man /construction/devel/epm/stage/usr/local/man/man1/epminstall.1 /bin/rm -f /construction/devel/epm/stage/usr/local/man/man1/mkepmlist.1 /bin/cp ./doc/mkepmlist.man /construction/devel/epm/stage/usr/local/man/man1/mkepmlist.1 /bin/rm -f /construction/devel/epm/stage/usr/local/man/man1/setup.1 /bin/cp ./doc/setup.man /construction/devel/epm/stage/usr/local/man/man1/setup.1 echo Installing EPM manpages in /usr/local/man/man5 Installing EPM manpages in /usr/local/man/man5 /bin/mkdir -p /construction/devel/epm/stage/usr/local/man/man5 /bin/rm -f /construction/devel/epm/stage/usr/local/man/man5/epm.list.5 /bin/cp ./doc/epm.list.man /construction/devel/epm/stage/usr/local/man/man5/epm.list.5 /bin/rm -f /construction/devel/epm/stage/usr/local/man/man5/setup.types.5 /bin/cp ./doc/setup.types.man /construction/devel/epm/stage/usr/local/man/man5/setup.types.5 echo Installing EPM documentation in /usr/local/share/doc/epm Installing EPM documentation in /usr/local/share/doc/epm /bin/mkdir -p /construction/devel/epm/stage/usr/local/share/doc/epm /bin/rm -f /construction/devel/epm/stage/usr/local/share/doc/epm/COPYING /bin/cp ./COPYING /construction/devel/epm/stage/usr/local/share/doc/epm /bin/rm -f /construction/devel/epm/stage/usr/local/share/doc/epm/README /bin/cp ./README /construction/devel/epm/stage/usr/local/share/doc/epm /bin/rm -f /construction/devel/epm/stage/usr/local/share/doc/epm/epm-book.html /bin/cp ./doc/epm-book.html /construction/devel/epm/stage/usr/local/share/doc/epm ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for epm-4.3 file sizes/checksums [15]: . done packing files [15]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Monday, 8 JUL 2019 at 13:01:48 UTC Duration: 00:00:16