Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 907299

Summary: dev-util/crash-8.0.3 - yacc-reference: e - line 34 of .../cp-name-parser.y, syntax error
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Yixun Lan <dlan>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:crash-8.0.3:20230528-132642.log.bz2
emerge-history.txt.bz2
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-05-28 13:36:08 UTC
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
Comment 1 Toralf Förster gentoo-dev 2023-05-28 13:36:09 UTC
Created attachment 862727 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-28 13:36:10 UTC
Created attachment 862728 [details]
dev-util:crash-8.0.3:20230528-132642.log.bz2
Comment 3 Toralf Förster gentoo-dev 2023-05-28 13:36:11 UTC
Created attachment 862729 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-05-28 13:36:12 UTC
Created attachment 862730 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-05-28 13:36:13 UTC
Created attachment 862731 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-28 13:36:14 UTC
Created attachment 862732 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-05-28 13:36:15 UTC
Created attachment 862733 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-05-28 13:36:16 UTC
Created attachment 862734 [details]
temp.tar.bz2
Comment 9 Yixun Lan archtester gentoo-dev 2023-06-05 03:11:48 UTC
(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..