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

Bug 920782

Summary: dev-util/babeltrace-2.0.5 - [clang] parser.c: error: variable yynerrs set but not used
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:babeltrace-2.0.5:20231227-072051.log.xz
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
temp.tar.xz
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2023-12-27 08:56:55 UTC
too long lines were shrinked:

/bin/sh ../../../../../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H   -I../../../../../include -I../../../../../src -I../../../../../src -include common/config.h -I. -I. -include ./scanner-symbols.h  -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fno-strict-alia
/bin/sh ../../../../../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H   -I../../../../../include -I../../../../../src -I../../../../../src -include common/config.h -I. -I.  -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fno-strict-aliasing -Wnested-externs -Wmissi
libtool: compile:  clang -DHAVE_CONFIG_H -I../../../../../include -I../../../../../src -I../../../../../src -include common/config.h -I. -I. -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fno-strict-aliasing -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclar
libtool: compile:  clang -DHAVE_CONFIG_H -I../../../../../include -I../../../../../src -I../../../../../src -include common/config.h -I. -I. -include ./scanner-symbols.h -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fno-strict-aliasing -Wnested-externs -Wmissing-prototypes
libtool: compile:  clang -DHAVE_CONFIG_H -I../../../../../include -I../../../../../src -I../../../../../src -include common/config.h -I. -I. -include ./scanner-symbols.h -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fno-strict-aliasing -Wnested-externs -Wmissing-prototypes
libtool: compile:  clang -DHAVE_CONFIG_H -I../../../../../include -I../../../../../src -I../../../../../src -include common/config.h -I. -I. -include ./scanner-symbols.h -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fno-strict-aliasing -Wnested-externs -Wmissing-prototypes
parser.c:2830:9: error: variable 'yynerrs' set but not used
      [-Werror,-Wunused-but-set-variable]
 2830 |     int yynerrs;

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_merged_usr-20231226-113005

  -------------------------------------------------------------------

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit f73b48f01328a70a75144d264f7200179b9177fe
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 27 04:46:57 2023 +0000

    2023-12-27 04:46:56 UTC

emerge -qpvO dev-util/babeltrace
[ebuild  N    ] dev-util/babeltrace-2.0.5  USE="elfutils man -doc -plugins -python" PYTHON_SINGLE_TARGET="python3_11 -pypy3 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-12-27 08:56:55 UTC
Created attachment 880497 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-27 08:56:56 UTC
Created attachment 880498 [details]
dev-util:babeltrace-2.0.5:20231227-072051.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-27 08:56:57 UTC
Created attachment 880499 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-27 08:56:59 UTC
Created attachment 880500 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-27 08:56:59 UTC
Created attachment 880501 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-27 08:57:00 UTC
Created attachment 880502 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-27 08:57:01 UTC
Created attachment 880503 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-27 08:57:03 UTC
Created attachment 880504 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-27 08:57:04 UTC
Created attachment 880505 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-27 08:57:05 UTC
Created attachment 880506 [details]
var.tmp.clang.tar.xz