x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Ilibmisc -Wall -Wextra -Wshadow -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -MD -c expr_synth.cc -o expr_synth.o mv elab_expr.d dep/elab_expr.d x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Ilibmisc -Wall -Wextra -Wshadow -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -MD -c functor.cc -o functor.o mv eval_attrib.d dep/eval_attrib.d flex -s -t lexor.lex > lexor.cc byacc --verbose -t -p VL --defines=parse.h -o parse.cc parse.y invalid option: --verbose Usage: yacc [options] filename ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20230414-035505 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.1 Python 3.10.11 Available Ruby profiles: [1] ruby30 (with Rubygems) * The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php7.4 [2] php8.0 [3] php8.2 * go version go1.20.3 linux/amd64 HEAD of ::gentoo commit cbbca433721b5bb6a549f0f6b157a0a1e4d2f157 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Apr 17 01:31:58 2023 +0000 2023-04-17 01:31:58 UTC emerge -qpvO sci-electronics/iverilog [ebuild N ] sci-electronics/iverilog-12.0
Created attachment 860276 [details] emerge-info.txt
Created attachment 860277 [details] emerge-history.txt
Created attachment 860278 [details] environment
Created attachment 860279 [details] etc.clang.tar.bz2
Created attachment 860280 [details] etc.portage.tar.bz2
Created attachment 860281 [details] logs.tar.bz2
Created attachment 860282 [details] sci-electronics:iverilog-12.0:20230417-035256.log
Created attachment 860283 [details] temp.tar.bz2
After testing, iverilog can only use bison-compatible yacc when compiling, and cannot be compatible with byacc, which means that the fastest way to correct it is to add the use flag dependency of app-alternatives/yacc[bison] to the current version. To completely fix this problem requires dual compatibility of byacc and bison in upstream.
(In reply to vowstar from comment #9) > After testing, iverilog can only use bison-compatible yacc when compiling, > and cannot be compatible with byacc, which means that the fastest way to > correct it is to add the use flag dependency of app-alternatives/yacc[bison] > to the current version. > > To completely fix this problem requires dual compatibility of byacc and > bison in upstream. It's even faster to just unset YACC and/or set it to bison.