+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bincimap-1.2.13nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bincimap-1.2.13nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for bincimap-1.2.13nb1 --- ./stamp-h.in --- cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- stamp-h --- cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/bash ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands --- config.h --- --- all-recursive-am --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in conf Making all in contrib --- all-recursive --- Making all in authenticators Making all in doc --- all-recursive --- Making all in manual Making all in man Making all in src --- address.o --- --- argparser.o --- --- address.o --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -pipe -O2 -I/usr/pkg/include -Wall -fno-exceptions -O2 -I. -c address.cc --- argparser.o --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -pipe -O2 -I/usr/pkg/include -Wall -fno-exceptions -O2 -I. -c argparser.cc --- authenticate.o --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -pipe -O2 -I/usr/pkg/include -Wall -fno-exceptions -O2 -I. -c authenticate.cc --- base64.o --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -pipe -O2 -I/usr/pkg/include -Wall -fno-exceptions -O2 -I. -c base64.cc --- authenticate.o --- authenticate.cc: In function 'void {anonymous}::enterJail()': authenticate.cc:94:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | chdir("/"); | ~~~~~^~~~~ authenticate.cc:97:19: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | if (gr) setgid(gr->gr_gid); | ~~~~~~^~~~~~~~~~~~ authenticate.cc:98:19: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | if (pw) setuid(pw->pw_uid); | ~~~~~~^~~~~~~~~~~~ --- base64.o --- base64.cc:51:8: error: reference to 'byte' is ambiguous 51 | static byte dtable[256]; | ^~~~ In file included from /usr/include/c++/11/bits/stl_algobase.h:61, from /usr/include/c++/11/bits/char_traits.h:39, from /usr/include/c++/11/string:40, from base64.h:40, from base64.cc:38: /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: 'enum class std::byte' 404 | enum class byte : unsigned char; | ^~~~ base64.cc:44:23: note: 'typedef unsigned char byte' 44 | typedef unsigned char byte; /* Byte type */ | ^~~~ base64.cc: In function 'std::string Binc::base64encode(const string&)': base64.cc:61:5: error: 'dtable' was not declared in this scope; did you mean 'double'? 61 | dtable[i] = 'A' + i; | ^~~~~~ | double base64.cc:65:5: error: 'dtable' was not declared in this scope; did you mean 'double'? 65 | dtable[52 + i] = '0' + i; | ^~~~~~ | double base64.cc:67:3: error: 'dtable' was not declared in this scope; did you mean 'double'? 67 | dtable[62] = '+'; | ^~~~~~ | double base64.cc:73:5: error: reference to 'byte' is ambiguous 73 | byte igroup[3], ogroup[4]; | ^~~~ In file included from /usr/include/c++/11/bits/stl_algobase.h:61, from /usr/include/c++/11/bits/char_traits.h:39, from /usr/include/c++/11/string:40, from base64.h:40, from base64.cc:38: /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: 'enum class std::byte' 404 | enum class byte : unsigned char; | ^~~~ base64.cc:44:23: note: 'typedef unsigned char byte' 44 | typedef unsigned char byte; /* Byte type */ | ^~~~ base64.cc:76:5: error: 'igroup' was not declared in this scope 76 | igroup[0] = igroup[1] = igroup[2] = 0; | ^~~~~~ base64.cc:79:20: error: reference to 'byte' is ambiguous 79 | igroup[n] = (byte) c; | ^~~~ In file included from /usr/include/c++/11/bits/stl_algobase.h:61, from /usr/include/c++/11/bits/char_traits.h:39, from /usr/include/c++/11/string:40, from base64.h:40, from base64.cc:38: /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: 'enum class std::byte' 404 | enum class byte : unsigned char; | ^~~~ base64.cc:44:23: note: 'typedef unsigned char byte' 44 | typedef unsigned char byte; /* Byte type */ | ^~~~ base64.cc:82:7: error: 'ogroup' was not declared in this scope 82 | ogroup[0] = dtable[igroup[0] >> 2]; | ^~~~~~ base64.cc: In function 'std::string Binc::base64decode(const string&)': base64.cc:112:5: error: 'dtable' was not declared in this scope; did you mean 'double'? 112 | dtable[i] = 0x80; | ^~~~~~ | double base64.cc:115:5: error: 'dtable' was not declared in this scope; did you mean 'double'? 115 | dtable[i] = 0 + (i - 'A'); | ^~~~~~ | double base64.cc:118:5: error: 'dtable' was not declared in this scope; did you mean 'double'? 118 | dtable[i] = 26 + (i - 'a'); | ^~~~~~ | double base64.cc:121:5: error: 'dtable' was not declared in this scope; did you mean 'double'? 121 | dtable[i] = 52 + (i - '0'); | ^~~~~~ | double base64.cc:123:3: error: 'dtable' was not declared in this scope; did you mean 'double'? 123 | dtable[(int) '+'] = 62; | ^~~~~~ | double base64.cc:130:5: error: reference to 'byte' is ambiguous 130 | byte a[4], b[4], o[3]; | ^~~~ In file included from /usr/include/c++/11/bits/stl_algobase.h:61, from /usr/include/c++/11/bits/char_traits.h:39, from /usr/include/c++/11/string:40, from base64.h:40, from base64.cc:38: /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: 'enum class std::byte' 404 | enum class byte : unsigned char; | ^~~~ base64.cc:44:23: note: 'typedef unsigned char byte' 44 | typedef unsigned char byte; /* Byte type */ | ^~~~ base64.cc:138:7: error: 'a' was not declared in this scope 138 | a[i] = (byte) c; | ^ base64.cc:138:15: error: reference to 'byte' is ambiguous 138 | a[i] = (byte) c; | ^~~~ In file included from /usr/include/c++/11/bits/stl_algobase.h:61, from /usr/include/c++/11/bits/char_traits.h:39, from /usr/include/c++/11/string:40, from base64.h:40, from base64.cc:38: /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: 'enum class std::byte' 404 | enum class byte : unsigned char; | ^~~~ base64.cc:44:23: note: 'typedef unsigned char byte' 44 | typedef unsigned char byte; /* Byte type */ | ^~~~ base64.cc:139:7: error: 'b' was not declared in this scope 139 | b[i] = (byte) dtable[c]; | ^ base64.cc:139:15: error: reference to 'byte' is ambiguous 139 | b[i] = (byte) dtable[c]; | ^~~~ In file included from /usr/include/c++/11/bits/stl_algobase.h:61, from /usr/include/c++/11/bits/char_traits.h:39, from /usr/include/c++/11/string:40, from base64.h:40, from base64.cc:38: /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: 'enum class std::byte' 404 | enum class byte : unsigned char; | ^~~~ base64.cc:44:23: note: 'typedef unsigned char byte' 44 | typedef unsigned char byte; /* Byte type */ | ^~~~ base64.cc:142:5: error: 'o' was not declared in this scope 142 | o[0] = (b[0] << 2) | (b[1] >> 4); | ^ base64.cc:142:13: error: 'b' was not declared in this scope 142 | o[0] = (b[0] << 2) | (b[1] >> 4); | ^ base64.cc:146:9: error: 'a' was not declared in this scope 146 | i = a[2] == '=' ? 1 : (a[3] == '=' ? 2 : 3); | ^ *** [base64.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/mail/bincimap/work/bincimap-1.2.13final/src 1 error bmake[2]: stopped in /home/pbulk/build/mail/bincimap/work/bincimap-1.2.13final/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/mail/bincimap/work/bincimap-1.2.13final 1 error bmake[1]: stopped in /home/pbulk/build/mail/bincimap/work/bincimap-1.2.13final *** [all-recursive-am] Error code 2 bmake: stopped in /home/pbulk/build/mail/bincimap/work/bincimap-1.2.13final 1 error bmake: stopped in /home/pbulk/build/mail/bincimap/work/bincimap-1.2.13final *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/mail/bincimap *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/mail/bincimap