Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907299 - dev-util/crash-8.0.3 - yacc-reference: e - line 34 of .../cp-name-parser.y, syntax error
Summary: dev-util/crash-8.0.3 - yacc-reference: e - line 34 of .../cp-name-parser.y, s...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-28 13:36 UTC by Toralf Förster
Modified: 2024-04-08 15:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.01 KB, text/plain)
2023-05-28 13:36 UTC, Toralf Förster
Details
dev-util:crash-8.0.3:20230528-132642.log.bz2 (dev-util:crash-8.0.3:20230528-132642.log.bz2,27.36 KB, application/x-bzip)
2023-05-28 13:36 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,81.81 KB, application/x-bzip)
2023-05-28 13:36 UTC, Toralf Förster
Details
environment (environment,63.04 KB, text/plain)
2023-05-28 13:36 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,940 bytes, application/x-bzip)
2023-05-28 13:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.68 KB, application/x-bzip)
2023-05-28 13:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,88.67 KB, application/x-bzip)
2023-05-28 13:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,43.13 KB, application/x-bzip)
2023-05-28 13:36 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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..
Comment 10 Ivan Lloro 2024-04-08 15:38:18 UTC
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