Cook: epm 4.4 ================================================================================ QA: checking package receipt... Extracting source archive "epm-4.4.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking for clang... no checking for cc... cc 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 for clang++... no checking for c++... c++ 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... /bin/gzip checking for htmldoc... no checking for mkdir... /bin/mkdir checking for nroff... no checking for groff... no checking for rm... /bin/rm checking for rpm... /bin/rpm 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... cc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... 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 sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking for strcasecmp... yes checking for strdup... yes checking for strlcat... no checking for strlcpy... no checking for strncasecmp... yes checking for snprintf... yes checking for vsnprintf... 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 /bin/rpm: invalid option -- '-' Command line: /bin/rpm --version BusyBox v1.27.2 (2018-07-16 11:06:22 Europe) multi-call binary. Usage: rpm -i PACKAGE.rpm; rpm -qp[ildc] PACKAGE.rpm Manipulate RPM packages Commands: -i Install package -qp Query package -qpi Show information -qpl List contents -qpd List documents -qpc List config files ./configure: line 4944: test: -lt: unary operator expected ./configure: line 4950: test: -ge: unary operator expected configure: creating ./config.status config.status: creating Makefile config.status: creating epm.list config.status: creating doc/Makefile config.status: creating config.h Compiling aix.c... aix.c: In function 'make_aix': aix.c:109:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(current, sizeof(current)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c: In function 'write_liblpp': aix.c:551: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); ^~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from aix.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 5 or more bytes (assuming 1028) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:616: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); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from aix.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 1034) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:646: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); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from aix.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 1035) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:668: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); ^~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from aix.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 1031) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:694: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); ^~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from aix.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 1032) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:720: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); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from aix.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 1033) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:746: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); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from aix.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 1034) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:773: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); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from aix.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 1035) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling bsd.c... bsd.c: In function 'make_subpackage': bsd.c:91:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(current, sizeof(current)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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", prodfull, dist->version); ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:111: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); ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 1281) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:107: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, ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 1536 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:104: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, ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 1537) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:122: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); ^~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 1031) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:141: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, ^~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 1033) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:174: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); ^~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 1031) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:440: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, ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 1035) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:374: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", ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 1035) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:353: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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 32 or more bytes (assuming 1055) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:364: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", ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 1035) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:341: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", ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from bsd.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 1035) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling deb.c... deb.c: In function 'make_subpackage': deb.c:216:46: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:319: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); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 1040) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:357: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); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 1041) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:414: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); ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 1038) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:456: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); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 16 or more bytes (assuming 1039) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:491: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); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 19 or more bytes (assuming 1042) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:599:48: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:569:56: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:548: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", ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 14 or more bytes (assuming 1037) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:559:56: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:537:56: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c: In function 'make_deb': deb.c:90: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); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from deb.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 1033) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling dist.c... dist.c: In function 'read_dist': dist.c:1165: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); ^~ ~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from dist.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 1032 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dist.c:1162: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); ~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from dist.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling file.c... file.c: In function 'copy_file': file.c:102:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(dst, owner, group); ^~~~~~~~~~~~~~~~~~~~~~~~ file.c: In function 'make_directory': file.c:134:4: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(buffer, owner, group); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:149:7: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(buffer, owner, group); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c: In function 'unlink_package': file.c:404:46: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from file.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling inst.c... inst.c: In function 'make_inst': inst.c:501: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); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from inst.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 1033) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inst.c:155: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from inst.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 11 and 522 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inst.c:162: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from inst.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 535 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inst.c:159: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from inst.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 535 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling macos.c... macos.c: In function 'make_osx': macos.c:96:7: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(current, sizeof(current)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c: In function 'make_subpackage': macos.c:391:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(current, sizeof(current)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:401: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); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 1035) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:411: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", ^~~~~~~~~~~~~~~~~~ macos.c:411:44: note: assuming directive output of 4 bytes snprintf(filename, sizeof(filename), "%s/%s/Resources/License%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 1047) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:421: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", ^~~~~~~~~~~~~~~~~ macos.c:421:44: note: assuming directive output of 4 bytes snprintf(filename, sizeof(filename), "%s/%s/Resources/ReadMe%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 19 or more bytes (assuming 1046) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:429: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", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 23 or more bytes (assuming 1046) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:434: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", ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 24 or more bytes (assuming 1047) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:443: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); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 1036) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:471: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); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 1036) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:525: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); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:523: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); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 23 or more bytes (assuming 1046) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:559: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); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 23 or more bytes (assuming 1046) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:557: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); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 24 or more bytes (assuming 1047) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:731:48: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", current, directory); ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:740: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); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 1033 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:743: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, ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 2061 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:752: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); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 2052 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:839:48: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, prodfull); ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:844: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); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 1036) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:847: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); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 1036) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:710: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", ^~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 1033) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:707: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", ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 1041) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:632: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", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes (assuming 1056) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:643: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", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 56 or more bytes (assuming 1079) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:666: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", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 56 or more bytes (assuming 1079) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:671: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", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 76 or more bytes (assuming 1099) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:696: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", ^~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 1033) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:693: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", ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 1041) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:620: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", ^~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 1033) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c:617: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", ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 1041) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macos.c: In function 'make_osx': macos.c:244:45: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", current, directory); ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from macos.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling pkg.c... pkg.c: In function 'make_pkg': pkg.c:78:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(current, sizeof(current)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pkg.c:486: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); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from pkg.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 1033) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pkg.c:516: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); ^~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from pkg.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 1031 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pkg.c:384: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from pkg.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 11 and 522 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pkg.c:391: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from pkg.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 535 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pkg.c:388: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from pkg.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 535 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling portable.c... portable.c: In function 'write_distfiles.isra.3': portable.c:1339: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); ^~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from portable.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 258 bytes into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portable.c:1441: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); ^~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from portable.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 258 bytes into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portable.c:1545: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); ^~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from portable.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 259 bytes into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portable.c:1626: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); ^~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from portable.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 259 bytes into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling qprintf.c... Compiling rpm.c... rpm.c: In function 'make_rpm': rpm.c:73:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(current, sizeof(current)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpm.c:139:3: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink("RPMS", filename); ^~~~~~~~~~~~~~~~~~~~~~~~~ rpm.c: In function 'move_rpms': rpm.c:514: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, ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from rpm.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 1281) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpm.c:511: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, ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from rpm.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 1537) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpm.c: In function 'make_rpm': rpm.c:75:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(absdir, sizeof(absdir), "%s/%s", current, directory); ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from rpm.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpm.c:292: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); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from rpm.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 1033) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling run.c... run.c: In function 'run_command': run.c:129:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); ^~~~~~ run.c:130:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); ^~~~~~ run.c:138:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(directory); ^~~~~~~~~~~~~~~~ Compiling setld.c... setld.c: In function 'make_setld': setld.c:124:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(current, sizeof(current)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setld.c:410:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(filename); ^~~~~~~~~~~~~~~ setld.c:415:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(current); ^~~~~~~~~~~~~~ setld.c:424: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); ^~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from setld.c:23: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 1032) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setld.c:146: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from setld.c:23: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 11 and 522 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setld.c:153: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from setld.c:23: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 16 and 536 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setld.c:150: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from setld.c:23: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 16 and 536 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling slackware.c... slackware.c: In function 'make_subpackage.isra.0': slackware.c:125: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, ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from slackware.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 1605 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:218: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); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from slackware.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 1033) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:249: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); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from slackware.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 1033) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:296:46: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, pkgname); ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from slackware.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:302:46: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, prodfull); ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from slackware.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:197:49: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, prodfull, ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from slackware.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:174: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, ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from slackware.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 1035) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:186:49: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, prodfull, ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from slackware.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slackware.c:162:49: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s", directory, prodfull, ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from slackware.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling snprintf.c... Compiling string.c... Compiling support.c... Compiling swinstall.c... swinstall.c: In function 'make_swinstall': swinstall.c:316:7: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(file->src, filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ swinstall.c:530: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); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from swinstall.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 1035) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ swinstall.c:280: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from swinstall.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 11 and 522 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ swinstall.c:287: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from swinstall.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 537 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ swinstall.c:284: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", ^~ In file included from /usr/include/stdio.h:873, from epm.h:25, from swinstall.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 537 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling tar.c... tar.c: In function 'tar_header': tar.c:429: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:429:33: note: directive argument in the range [0, 2147483647] sprintf(record.header.chksum, "%6o", sum); ^~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from tar.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 12 bytes into a destination of size 8 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tar.c: In function 'tar_package': tar.c:558:46: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s", directory, name); ^ In file included from /usr/include/stdio.h:873, from epm.h:25, from tar.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Archiving libepm.a... Compiling epm.c... epm.c: In function 'main': epm.c:418: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); ^~~~~ In file included from /usr/include/stdio.h:873, from epm.h:25, from epm.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 261 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking epm... Compiling epminstall.c... Linking epminstall... Compiling mkepmlist.c... Linking mkepmlist... ================================================================================ Executing strip on all files... Done Time: 0.18s. Size: 154344 B -> 144720 B. Save: 9 KB. ================================================================================ Pack: epm 4.4 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "epm-4.4-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/epm-4.4... Done Checking site script in source/epm-4.4... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: epm 4.4 ================================================================================ Src file : epm-4.4.tar.gz Src size : 1.2M Source dir : 3.3M Produced : 156.0K Cook time : 16s Cook date : 2020-07-19 22:32 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 172.0K : 49.1K : 1 : epm-4.4-i486.tazpkg ================================================================================