Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869149 - net-libs/libsmi-0.5.0-r2:0 - parser-smi.c: error: redefinition of yylen
Summary: net-libs/libsmi-0.5.0-r2:0 - parser-smi.c: error: redefinition of yylen
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PATCH
: 871360 920057 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-08 07:08 UTC by Toralf Förster
Modified: 2024-01-11 14:48 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.86 KB, text/plain)
2022-09-08 07:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,213.15 KB, text/plain)
2022-09-08 07:08 UTC, Toralf Förster
Details
environment (environment,25.40 KB, text/plain)
2022-09-08 07:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.53 KB, application/x-bzip)
2022-09-08 07:08 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.36 KB, application/x-bzip)
2022-09-08 07:08 UTC, Toralf Förster
Details
net-libs:libsmi-0.5.0-r2:20220908-054338.log (net-libs:libsmi-0.5.0-r2:20220908-054338.log,26.83 KB, text/plain)
2022-09-08 07:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,12.86 KB, application/x-bzip)
2022-09-08 07:08 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 2022-09-08 07:08:40 UTC
parser-smi.c:10027:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int]
parser-smi.c:10027:3: warning: parameter names (without types) in function declaration
parser-smi.c:10028:3: warning: data definition has no type or storage class
parser-smi.c:10028:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int]
parser-smi.c:10028:3: error: redefinition of 'yylen'
parser-smi.c:9959:3: note: previous definition of 'yylen' with type 'int'
parser-smi.c:10029:3: warning: data definition has no type or storage class

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20220905-210005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.0
 [2] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.3_p7 [openjdk-17]
*)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 66654adf62e6428a7b710b5b954e7de55281330e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Sep 8 05:12:29 2022 +0000

    2022-09-08 05:12:28 UTC

emerge -qpvO net-libs/libsmi
[ebuild  N    ] net-libs/libsmi-0.5.0-r2
Comment 1 Toralf Förster gentoo-dev 2022-09-08 07:08:42 UTC
Created attachment 803875 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-08 07:08:43 UTC
Created attachment 803878 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-08 07:08:44 UTC
Created attachment 803881 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-08 07:08:45 UTC
Created attachment 803884 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-08 07:08:46 UTC
Created attachment 803887 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-08 07:08:47 UTC
Created attachment 803890 [details]
net-libs:libsmi-0.5.0-r2:20220908-054338.log
Comment 7 Toralf Förster gentoo-dev 2022-09-08 07:08:48 UTC
Created attachment 803893 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-09-09 02:56:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c21472aed0fd65b2d60e535cc3117e0ed2b0d0b3

commit c21472aed0fd65b2d60e535cc3117e0ed2b0d0b3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-09 02:55:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-09 02:55:56 +0000

    net-libs/libsmi: add missing BDEPENDs (flex, yacc)
    
    I can't reproduce the reported issue but these
    were missing anyway.
    
    Bug: https://bugs.gentoo.org/869149
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libsmi/libsmi-0.5.0-r2.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-09 02:57:27 UTC
toralf, can you reproduce this?
Comment 10 Toralf Förster gentoo-dev 2022-09-09 13:13:40 UTC
(In reply to Sam James from comment #9)
> toralf, can you reproduce this?

now it is fine:
/home/tinderbox/run/17.1_desktop_systemd-j4-20220905-210005/var/log/emerge.log
2022-09-09T08:41:00 >>> net-libs/libsmi-0.5.0-r1: 23 seconds
Comment 11 Toralf Förster gentoo-dev 2022-09-26 18:12:41 UTC
well, it still does happen:


parser-smi.c:10027:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int]
parser-smi.c:10027:3: warning: parameter names (without types) in function declaration
parser-smi.c:10028:3: warning: data definition has no type or storage class
parser-smi.c:10028:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int]
parser-smi.c:10028:3: error: redefinition of 'yylen'
parser-smi.c:9959:3: note: previous definition of 'yylen' with type 'int'
parser-smi.c:10029:3: warning: data definition has no type or storage class
Comment 12 Andreas K. Hüttel archtester gentoo-dev 2022-11-02 20:43:24 UTC
Does this also affect 0.5.0-r1 or 0.5.0-r5 ?
Why do you assume this is glibc-related?
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-02 20:46:21 UTC
I think it's Clang 16 if anything.
Comment 14 Toralf Förster gentoo-dev 2023-10-30 22:25:59 UTC
*** Bug 871360 has been marked as a duplicate of this bug. ***
Comment 15 Toralf Förster gentoo-dev 2024-01-09 08:22:15 UTC
*** Bug 920057 has been marked as a duplicate of this bug. ***