mkdir -p -- python/.deps /bin/sh ./../mkinstalldirs target/.deps mkdir -p -- target/.deps /bin/sh ./../mkinstalldirs nat/.deps mkdir -p -- nat/.deps YACC cp-name-parser.c yacc-reference: e - line 34 of "/var/tmp/portage/dev-util/crash-8.0.3/work/crash-8.0.3/gdb-10.2/gdb/cp-name-parser.y", syntax error %pure-parser ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j3-20230522-174516 ------------------------------------------------------------------- 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.4 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.4 Python 3.11.3 Available Ruby profiles: [1] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.69.0 [2] rust-1.69.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8] 4) Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm [4] openjdk-jre-bin-17 php cli (if any): go version go1.20.4 linux/amd64 HEAD of ::gentoo commit cd8fe9295144b387794622d0ce4d329f6e0fb07e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun May 28 12:02:01 2023 +0000 2023-05-28 12:02:01 UTC emerge -qpvO dev-util/crash [ebuild N ] dev-util/crash-8.0.3
Created attachment 862727 [details] emerge-info.txt
Created attachment 862728 [details] dev-util:crash-8.0.3:20230528-132642.log.bz2
Created attachment 862729 [details] emerge-history.txt.bz2
Created attachment 862730 [details] environment
Created attachment 862731 [details] etc.clang.tar.bz2
Created attachment 862732 [details] etc.portage.tar.bz2
Created attachment 862733 [details] logs.tar.bz2
Created attachment 862734 [details] temp.tar.bz2
(In reply to Toralf Förster from comment #0) > mkdir -p -- python/.deps > /bin/sh ./../mkinstalldirs target/.deps > mkdir -p -- target/.deps > /bin/sh ./../mkinstalldirs nat/.deps > mkdir -p -- nat/.deps > YACC cp-name-parser.c > yacc-reference: e - line 34 of > "/var/tmp/portage/dev-util/crash-8.0.3/work/crash-8.0.3/gdb-10.2/gdb/cp-name- > parser.y", syntax error > %pure-parser > ^ it sounds this problem relate to dev-util/yacc, switch to USE=bison or byacc for app-alternatives/yacc would fix this issue..
Issue confirmed in dev-util/crash-8.0.4 in an amd64 system. Successfully compiled by: 1) USE="bison -reference -byacc" emerge -1v app-alternatives/yacc 2) Patch /tmp/portage/dev-util/crash-8.0.4/work/gdb-10.2/gdb/cp-name-parser.y 34c34 < %pure-parser --- > %define api.pure 3) MAKEOPTS="-j1 -l1" ACCEPT_KEYWORDS="~amd64" emerge -v --nodeps dev-util/crash