+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/epm-4.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/epm-4.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for epm-4.2 Compiling aix.c... aix.c: In function 'write_liblpp.isra': aix.c:561:46: warning: '.al' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 561 | snprintf(filename, sizeof(filename), "%s/%s.al", directory, prodfull); | ^~~ aix.c:561:3: note: 'snprintf' output 5 or more bytes (assuming 1028) into a destination of size 1024 561 | snprintf(filename, sizeof(filename), "%s/%s.al", directory, prodfull); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:627:46: warning: '.cfgfiles' directive output may be truncated writing 9 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 627 | snprintf(filename, sizeof(filename), "%s/%s.cfgfiles", directory, prodfull); | ^~~~~~~~~ aix.c:627:3: note: 'snprintf' output 11 or more bytes (assuming 1034) into a destination of size 1024 627 | snprintf(filename, sizeof(filename), "%s/%s.cfgfiles", directory, prodfull); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:658:46: warning: '.copyright' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 658 | snprintf(filename, sizeof(filename), "%s/%s.copyright", directory, prodfull); | ^~~~~~~~~~ aix.c:658:3: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 658 | snprintf(filename, sizeof(filename), "%s/%s.copyright", directory, prodfull); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:681:48: warning: '.pre_i' directive output may be truncated writing 6 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 681 | snprintf(filename, sizeof(filename), "%s/%s.pre_i", directory, prodfull); | ^~~~~~ aix.c:681:5: note: 'snprintf' output 8 or more bytes (assuming 1031) into a destination of size 1024 681 | snprintf(filename, sizeof(filename), "%s/%s.pre_i", directory, prodfull); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:708:48: warning: '.post_i' directive output may be truncated writing 7 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 708 | snprintf(filename, sizeof(filename), "%s/%s.post_i", directory, prodfull); | ^~~~~~~ aix.c:708:5: note: 'snprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024 708 | snprintf(filename, sizeof(filename), "%s/%s.post_i", directory, prodfull); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:735:48: warning: '.unpre_i' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 735 | snprintf(filename, sizeof(filename), "%s/%s.unpre_i", directory, prodfull); | ^~~~~~~~ aix.c:735:5: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 735 | snprintf(filename, sizeof(filename), "%s/%s.unpre_i", directory, prodfull); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:762:48: warning: '.unpost_i' directive output may be truncated writing 9 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 762 | snprintf(filename, sizeof(filename), "%s/%s.unpost_i", directory, prodfull); | ^~~~~~~~~ aix.c:762:5: note: 'snprintf' output 11 or more bytes (assuming 1034) into a destination of size 1024 762 | snprintf(filename, sizeof(filename), "%s/%s.unpost_i", directory, prodfull); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aix.c:790:46: warning: '.inventory' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 790 | snprintf(filename, sizeof(filename), "%s/%s.inventory", directory, prodfull); | ^~~~~~~~~~ aix.c:790:3: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 790 | snprintf(filename, sizeof(filename), "%s/%s.inventory", directory, prodfull); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling bsd.c... bsd.c: In function 'make_subpackage': bsd.c:119:38: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 119 | snprintf(name, sizeof(name), "%s-%s", prodfull, dist->version); | ^~ bsd.c:119:5: note: 'snprintf' output between 2 and 1280 bytes into a destination of size 1024 119 | snprintf(name, sizeof(name), "%s-%s", prodfull, dist->version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:117:38: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 117 | snprintf(name, sizeof(name), "%s-%s-%s", prodfull, dist->version, platname); | ^~ bsd.c:117:5: note: 'snprintf' output 3 or more bytes (assuming 1281) into a destination of size 1024 117 | snprintf(name, sizeof(name), "%s-%s-%s", prodfull, dist->version, platname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:113:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 113 | snprintf(name, sizeof(name), "%s-%s-%s", prodfull, dist->version, | ^~ bsd.c:113:7: note: 'snprintf' output between 3 and 1536 bytes into a destination of size 1024 113 | snprintf(name, sizeof(name), "%s-%s-%s", prodfull, dist->version, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | dist->release); | ~~~~~~~~~~~~~~ bsd.c:110:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 110 | snprintf(name, sizeof(name), "%s-%s-%s-%s", prodfull, dist->version, | ^~ bsd.c:110:7: note: 'snprintf' output 4 or more bytes (assuming 1537) into a destination of size 1024 110 | snprintf(name, sizeof(name), "%s-%s-%s-%s", prodfull, dist->version, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | dist->release, platname); | ~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:128:48: warning: '.descr' directive output may be truncated writing 6 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 128 | snprintf(descrname, sizeof(descrname), "%s/%s.descr", directory, prodfull); | ^~~~~~ bsd.c:128:3: note: 'snprintf' output 8 or more bytes (assuming 1031) into a destination of size 1024 128 | snprintf(descrname, sizeof(descrname), "%s/%s.descr", directory, prodfull); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:148:52: warning: '.comment' directive output may be truncated writing 8 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 148 | snprintf(commentname, sizeof(commentname), "%s/%s.comment", directory, | ^~~~~~~~ bsd.c:148:3: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 148 | snprintf(commentname, sizeof(commentname), "%s/%s.comment", directory, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 149 | prodfull); | ~~~~~~~~~ bsd.c:182:48: warning: '.plist' directive output may be truncated writing 6 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 182 | snprintf(plistname, sizeof(plistname), "%s/%s.plist", directory, prodfull); | ^~~~~~ bsd.c:182:3: note: 'snprintf' output 8 or more bytes (assuming 1031) into a destination of size 1024 182 | snprintf(plistname, sizeof(plistname), "%s/%s.plist", directory, prodfull); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:449:48: warning: '.buildroot' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 449 | snprintf(filename, sizeof(filename), "%s/%s.buildroot", directory, | ^~~~~~~~~~ bsd.c:449:5: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 449 | snprintf(filename, sizeof(filename), "%s/%s.buildroot", directory, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | prodfull); | ~~~~~~~~~ bsd.c:383:54: warning: '.buildroot' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 383 | snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", | ^~~~~~~~~~ bsd.c:383:11: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 383 | snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 384 | directory, prodfull, file->dst); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:362: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=] 362 | "%s/%s.buildroot/usr/local/etc/rc.d/%s", directory, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:361:11: note: 'snprintf' output 32 or more bytes (assuming 1055) into a destination of size 1024 361 | snprintf(filename, sizeof(filename), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 362 | "%s/%s.buildroot/usr/local/etc/rc.d/%s", directory, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 363 | prodfull, file->dst); | ~~~~~~~~~~~~~~~~~~~~ bsd.c:373:54: warning: '.buildroot' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 373 | snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", | ^~~~~~~~~~ bsd.c:373:11: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 373 | snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 374 | directory, prodfull, file->dst); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:350:54: warning: '.buildroot' directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 350 | snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", | ^~~~~~~~~~ bsd.c:350:11: note: 'snprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 350 | snprintf(filename, sizeof(filename), "%s/%s.buildroot%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | directory, prodfull, file->dst); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling 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=] 218 | 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 218 | snprintf(filename, sizeof(filename), "%s/%s", directory, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:307:48: warning: '/DEBIAN/preinst' directive output may be truncated writing 15 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 307 | snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/preinst", directory, name); | ^~~~~~~~~~~~~~~ deb.c:307:5: note: 'snprintf' output 17 or more bytes (assuming 1040) into a destination of size 1024 307 | snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/preinst", directory, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:346:48: warning: '/DEBIAN/postinst' directive output may be truncated writing 16 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 346 | snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/postinst", directory, name); | ^~~~~~~~~~~~~~~~ deb.c:346:5: note: 'snprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024 346 | snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/postinst", directory, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:404:48: warning: '/DEBIAN/prerm' directive output may be truncated writing 13 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 404 | snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/prerm", directory, name); | ^~~~~~~~~~~~~ deb.c:404:5: note: 'snprintf' output 15 or more bytes (assuming 1038) into a destination of size 1024 404 | snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/prerm", directory, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:447:48: warning: '/DEBIAN/postrm' directive output may be truncated writing 14 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 447 | snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/postrm", directory, name); | ^~~~~~~~~~~~~~ deb.c:447:5: note: 'snprintf' output 16 or more bytes (assuming 1039) into a destination of size 1024 447 | snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/postrm", directory, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:483:46: warning: '/DEBIAN/conffiles' directive output may be truncated writing 17 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 483 | snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/conffiles", directory, name); | ^~~~~~~~~~~~~~~~~ deb.c:483:3: note: 'snprintf' output 19 or more bytes (assuming 1042) into a destination of size 1024 483 | snprintf(filename, sizeof(filename), "%s/%s/DEBIAN/conffiles", directory, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:592:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 592 | snprintf(filename, sizeof(filename), "%s/%s", directory, name); | ^ deb.c:592:5: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 592 | snprintf(filename, sizeof(filename), "%s/%s", directory, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:562:56: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 562 | snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, | ^ deb.c:562:11: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 562 | snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 563 | file->dst); | ~~~~~~~~~~ deb.c:541:54: warning: '/etc/init.d/' directive output may be truncated writing 12 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 541 | snprintf(filename, sizeof(filename), "%s/%s/etc/init.d/%s", | ^~~~~~~~~~~~ deb.c:541:11: note: 'snprintf' output 14 or more bytes (assuming 1037) into a destination of size 1024 541 | snprintf(filename, sizeof(filename), "%s/%s/etc/init.d/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 542 | directory, name, file->dst); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ deb.c:552:56: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 552 | snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, | ^ deb.c:552:11: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 552 | snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | file->dst); | ~~~~~~~~~~ deb.c:530:56: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 530 | snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, | ^ deb.c:530:11: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 530 | snprintf(filename, sizeof(filename), "%s/%s%s", directory, name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 531 | 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=] 92 | 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 92 | snprintf(filename, sizeof(filename), "%s/%s.deb.tgz", directory, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling dist.c... dist.c:61:17: error: conflicting types for 'gethostname'; have 'int(char *, int)' 61 | extern int gethostname(char *, int); | ^~~~~~~~~~~ In file included from epm.h:28, from dist.c:52: /usr/include/unistd.h:350:12: note: previous declaration of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 350 | extern int gethostname(char *, size_t); | ^~~~~~~~~~~ *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/misc/epm/work/epm-4.2 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/epm *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/epm