Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 881757 Details for
Bug 921659
net-misc/portfwd-0.29-r2 - [clang] yconf.c: error: ISO C++17 does not allow register storage class
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:portfwd-0.29-r2:20240109-101138.log
net-misc:portfwd-0.29-r2:20240109-101138.log (text/plain), 21.69 KB, created by
Toralf Förster
on 2024-01-09 12:32:37 UTC
(
hide
)
Description:
net-misc:portfwd-0.29-r2:20240109-101138.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-01-09 12:32:37 UTC
Size:
21.69 KB
patch
obsolete
> * Package: net-misc/portfwd-0.29-r2:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking portfwd-0.29.tar.gz to /var/tmp/portage/net-misc/portfwd-0.29-r2/work >>>> Source unpacked in /var/tmp/portage/net-misc/portfwd-0.29-r2/work >>>> Preparing source in /var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29 ... > * Applying portfwd-0.29-build-system.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/net-misc/portfwd-0.29-r2/temp/aclocal' ... > [ ok ] > * Moving configure.in to configure.ac (bug #426262) > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: portfwd-0.29/ >>>> Source prepared. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29 ... > * econf: updating portfwd-0.29/config/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating portfwd-0.29/config/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating portfwd-0.29/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating portfwd-0.29/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/portfwd-0.29-r2 --htmldir=/usr/share/doc/portfwd-0.29-r2/html --libdir=/usr/lib64 >configure: loading site script /usr/share/config.site >configure: loading site script /usr/share/config.site.d/80crossdev.conf >checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for x86_64-pc-linux-gnu-gcc... clang >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 the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of clang... none >checking whether the compiler supports GNU C++... yes >checking whether clang++ accepts -g... yes >checking for clang++ option to enable C++11 features... none needed >checking dependency style of clang++... none >checking for bison... bison -y >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar >checking for flex... flex >checking for lex output file root... lex.yy >checking for lex library... none needed >checking for library containing yywrap... -lfl >checking whether yytext is a pointer... yes >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for socket in -lsocket... no >checking for gethostbyname in -lnsl... yes >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for wchar.h... yes >checking for minix/config.h... no >checking whether it is safe to define __EXTENSIONS__... yes >checking whether _XOPEN_SOURCE should be defined... no >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for getopt.h... yes >checking for fcntl.h... yes >checking for sys/file.h... yes >checking for sys/ioctl.h... yes >checking for sys/time.h... yes >checking for syslog.h... yes >checking for unistd.h... (cached) yes >checking for sys/termios.h... yes >checking for sys/socket.h... yes >checking for pid_t... yes >checking for size_t... yes >checking for working alloca.h... yes >checking for alloca... yes >checking for working memcmp... yes >checking return type of signal handlers... void >checking for getopt_long... yes >checking for select... yes >checking for socket... yes >checking for strdup... yes >checking for strerror... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating getopt/Makefile >config.status: creating src/Makefile >config.status: creating tools/Makefile >config.status: creating doc/Makefile >config.status: creating Makefile >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >'/var/tmp/portage/net-misc/portfwd-0.29-r2/temp/clang16-errors.log' -> '/var/tmp/clang/net-misc/portfwd-0.29-r2/clang16-errors.log' >'/var/tmp/portage/net-misc/portfwd-0.29-r2/temp/clang16-safe.log' -> '/var/tmp/clang/net-misc/portfwd-0.29-r2/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29' >Making all in getopt >make[2]: Entering directory '/var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29/getopt' >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -o getopt.o -c getopt.c >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -o getopt1.o -c getopt1.c >cp getopt.o ../src >cp getopt1.o ../src >rm -f libgetopt.a >x86_64-pc-linux-gnu-ar cru libgetopt.a getopt.o getopt1.o >x86_64-pc-linux-gnu-ranlib libgetopt.a >make[2]: Leaving directory '/var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29/getopt' >Making all in src >make[2]: Entering directory '/var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29/src' >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o addr.o addr.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o from_addr.o from_addr.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o host_map.o host_map.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o portfwd.o portfwd.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o dst_addr.o dst_addr.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o director.o director.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o entry.o entry.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o net_portion.o net_portion.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o proto_map.o proto_map.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o forward.o forward.cc >director.cc:198:64: warning: format specifies type 'int' but the argument has > type 'size_t' (aka 'unsigned long') [-Wformat] > 198 | ..."director::director(): malloc(%d) failed", address_buf_size); > | ~~ ^~~~~~~~~~~~~~~~ > | %zu >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o port_pair.o port_pair.cc >director.cc:355:114: warning: format specifies type 'int' but the argument has > type 'size_t' (aka 'unsigned long') [-Wformat] > 355 | ...address (local_buffer_size=%d < address_length=%d)", address_buf_size, a... > | ~~ ^~~~~~~~~~~~~~~~ > | %zu >director.cc:355:132: warning: format specifies type 'int' but the argument has > type 'size_t' (aka 'unsigned long') [-Wformat] > 355 | ...< address_length=%d)", address_buf_size, addr_buf_len); > | ~~ ^~~~~~~~~~~~ > | %zu >In file included from director.cc:21: >In file included from ./vector.hpp:13: >./util.hpp:18:92: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > 18 | ...(%d x %d)\n", "safe_new()", "could not allocate array", size, sizeof(T)); > | ~~ ^~~~~~~~~ > | %lu >./vector.hpp:71:14: note: in instantiation of function template specialization > 'safe_new<char *>' requested here > 71 | data = safe_new(data, cap); > | ^ >director.cc:149:19: note: in instantiation of member function > 'vector<char *>::vector' requested here > 149 | vector<char*> arg_list; > | ^ >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o solve.o solve.cc >4 warnings generated. >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o yconf.o yconf.c >solve.cc:126:139: warning: format specifies type 'int' but the argument has type > 'size_t' (aka 'unsigned long') [-Wformat] > 126 | ...address (buf_len=%d, addr_len=%d)\n", hostname, BUF_SZ, buf_len); > | ~~ ^~~~~~~ > | %zu >clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] >1 warning generated. >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o lexconf.o lexconf.c >clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o util.o util.cc >clang++ -DHAVE_CONFIG_H -I. -I.. -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src -O2 -pipe -march=native -fno-diagnostics-color -c -o fd_set.o fd_set.cc >yconf.c:957:3: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 957 | register int yystate; > | ^~~~~~~~ >yconf.c:958:3: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 958 | register int yyn; > | ^~~~~~~~ >yconf.c:976:3: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 976 | register short *yyssp; > | ^~~~~~~~ >yconf.c:981:3: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 981 | register YYSTYPE *yyvsp; > | ^~~~~~~~ ><stdout>:762:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 762 | register yy_state_type yy_current_state; > | ^~~~~~~~ ><stdout>:763:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 763 | register char *yy_cp, *yy_bp; > | ^~~~~~~~ ><stdout>:763:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 763 | register char *yy_cp, *yy_bp; > | ^~~~~~~~ ><stdout>:764:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 764 | register int yy_act; > | ^~~~~~~~ ><stdout>:817:4: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 817 | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; > | ^~~~~~~~ ><stdout>:1210:6: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1210 | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; > | ^~~~~~~~ ><stdout>:1211:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1211 | register char *source = (yytext_ptr); > | ^~~~~~~~ ><stdout>:1212:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1212 | register int number_to_move, i; > | ^~~~~~~~ ><stdout>:1212:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1212 | register int number_to_move, i; > | ^~~~~~~~ ><stdout>:1336:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1336 | register yy_state_type yy_current_state; > | ^~~~~~~~ ><stdout>:1337:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1337 | register char *yy_cp; > | ^~~~~~~~ ><stdout>:1343:3: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1343 | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_... > | ^~~~~~~~ ><stdout>:1368:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1368 | register int yy_is_jam; > | ^~~~~~~~ ><stdout>:1369:6: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1369 | register char *yy_cp = (yy_c_buf_p); > | ^~~~~~~~ ><stdout>:1371:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1371 | register YY_CHAR yy_c = 1; > | ^~~~~~~~ ><stdout>:1389:33: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1389 | static void yyunput (int c, register char * yy_bp ) > | ^~~~~~~~ ><stdout>:1391:2: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1391 | register char *yy_cp; > | ^~~~~~~~ ><stdout>:1401:3: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1401 | register int number_to_move = (yy_n_chars) + 2; > | ^~~~~~~~ ><stdout>:1402:3: error: ISO C++17 does not allow 'register' storage class > specifier [-Wregister] > 1402 | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ > | ^~~~~~~~ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >20 errors generated. >In file included from conf.y:16: >In file included from ./proto_map.hpp:11: >In file included from ./host_map.hpp:12: >In file included from ./vector.hpp:13: >./util.hpp:18:92: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > 18 | ...(%d x %d)\n", "safe_new()", "could not allocate array", size, sizeof(T)); > | ~~ ^~~~~~~~~ > | %lu >./vector.hpp:71:14: note: in instantiation of function template specialization > 'safe_new<entry *>' requested here > 71 | data = safe_new(data, cap); > | ^ >conf.y:59:40: note: in instantiation of member function > 'vector<entry *>::vector' requested here > 59 | vector<entry*> *entry_vector = new vector<entry*>(); > | ^ >In file included from conf.y:16: >In file included from ./proto_map.hpp:11: >In file included from ./host_map.hpp:12: >In file included from ./vector.hpp:13: >./util.hpp:18:92: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > 18 | ...(%d x %d)\n", "safe_new()", "could not allocate array", size, sizeof(T)); > | ~~ ^~~~~~~~~ > | %lu >./vector.hpp:71:14: note: in instantiation of function template specialization > 'safe_new<proto_map *>' requested here > 71 | data = safe_new(data, cap); > | ^ >conf.y:208:21: note: in instantiation of member function 'vector<proto_map > *>::vector' requested here > 208 | map_vector = new vector<proto_map*>(); > | ^ >In file included from conf.y:16: >In file included from ./proto_map.hpp:11: >In file included from ./host_map.hpp:12: >In file included from ./vector.hpp:13: >./util.hpp:18:92: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > 18 | ...(%d x %d)\n", "safe_new()", "could not allocate array", size, sizeof(T)); > | ~~ ^~~~~~~~~ > | %lu >./vector.hpp:71:14: note: in instantiation of function template specialization > 'safe_new<int>' requested here > 71 | data = safe_new(data, cap); > | ^ >conf.y:242:22: note: in instantiation of member function 'vector<int>::vector' > requested here > 242 | port_vector = new vector<int>(); > | ^ >In file included from conf.y:16: >In file included from ./proto_map.hpp:11: >In file included from ./host_map.hpp:12: >In file included from ./vector.hpp:13: >./util.hpp:18:92: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > 18 | ...(%d x %d)\n", "safe_new()", "could not allocate array", size, sizeof(T)); > | ~~ ^~~~~~~~~ > | %lu >./vector.hpp:71:14: note: in instantiation of function template specialization > 'safe_new<host_map *>' requested here > 71 | data = safe_new(data, cap); > | ^ >conf.y:252:35: note: in instantiation of member function 'vector<host_map > *>::vector' requested here > 252 | host_vector = new vector<host_map*>(); > | ^ >In file included from conf.y:16: >In file included from ./proto_map.hpp:11: >In file included from ./host_map.hpp:12: >In file included from ./vector.hpp:13: >./util.hpp:18:92: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > 18 | ...(%d x %d)\n", "safe_new()", "could not allocate array", size, sizeof(T)); > | ~~ ^~~~~~~~~ > | %lu >./vector.hpp:71:14: note: in instantiation of function template specialization > 'safe_new<to_addr *>' requested here > 71 | data = safe_new(data, cap); > | ^ >conf.y:266:21: note: in instantiation of member function 'vector<to_addr > *>::vector' requested here > 266 | dst_vector = new vector<to_addr*>(); > | ^ >In file included from conf.y:16: >In file included from ./proto_map.hpp:11: >In file included from ./host_map.hpp:12: >In file included from ./vector.hpp:13: >./util.hpp:18:92: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > 18 | ...(%d x %d)\n", "safe_new()", "could not allocate array", size, sizeof(T)); > | ~~ ^~~~~~~~~ > | %lu >./vector.hpp:71:14: note: in instantiation of function template specialization > 'safe_new<from_addr *>' requested here > 71 | data = safe_new(data, cap); > | ^ >conf.y:284:22: note: in instantiation of member function 'vector<from_addr > *>::vector' requested here > 284 | from_vector = new vector<from_addr*>(); > | ^ >6 warnings and 4 errors generated. >make[2]: *** [Makefile:412: lexconf.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >make[2]: *** [Makefile:412: yconf.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29/src' >make[1]: *** [Makefile:423: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29' >make: *** [Makefile:343: all] Error 2 > * ERROR: net-misc/portfwd-0.29-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-misc/portfwd-0.29-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/portfwd-0.29-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:portfwd-0.29-r2:20240109-101138.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/portfwd-0.29-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/portfwd-0.29-r2/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29' > * S: '/var/tmp/portage/net-misc/portfwd-0.29-r2/work/portfwd-0.29' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 921659
:
881751
|
881752
|
881753
|
881754
|
881755
|
881756
| 881757 |
881758
|
881759
|
881760