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

Bug 874468

Summary: x11-wm/vtwm-5.4.7-r2 - y.tab.c: error: call to undeclared function yylex; ISO C99 and later
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: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2
x11-wm:vtwm-5.4.7-r2:20221003-005133.log

Description Toralf Förster gentoo-dev 2022-10-03 08:01:09 UTC
      prototype in C2x, conflicting with a subsequent definition
      [-Wdeprecated-non-prototype]
extern TwmWindow *AddWindow();
                  ^
y.tab.c:1840:16: error: call to undeclared function 'yylex'; ISO C99 and later
      do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20221002-132844

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit f0563c90e636da833af43e4a5334c6ebddd3cf6a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 22:16:57 2022 +0000

    2022-10-02 22:16:57 UTC

emerge -qpvO x11-wm/vtwm
[ebuild  N    ] x11-wm/vtwm-5.4.7-r2  USE="-rplay"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:01:10 UTC
Created attachment 816769 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:01:11 UTC
Created attachment 816772 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:01:12 UTC
Created attachment 816775 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:01:14 UTC
Created attachment 816778 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:01:15 UTC
Created attachment 816784 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:01:16 UTC
Created attachment 816790 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 08:01:17 UTC
Created attachment 816796 [details]
x11-wm:vtwm-5.4.7-r2:20221003-005133.log
Comment 8 Larry the Git Cow gentoo-dev 2022-10-16 17:02:08 UTC
The bug has been closed via the following commit(s):

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

commit b8a1520675c8374066b82ff43830ae30ce318cfb
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-16 15:44:27 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-16 16:59:05 +0000

    x11-wm/vtwm: EAPI7->8, drop rplay, fix w/ clang16, -std=gnu89
    
    Also added some lacking EPREFIX and xsetroot dep.
    
    Just surface fixes, left old patches/sed as-is given haven't
    tried runtime (may be due for last rites like rplay).
    
    Closes: https://bugs.gentoo.org/874468
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-wm/vtwm/files/vtwm-5.4.7-clang16.patch         |  7 +++
 x11-wm/vtwm/metadata.xml                           |  3 -
 .../{vtwm-5.4.7-r2.ebuild => vtwm-5.4.7-r3.ebuild} | 64 ++++++++++++----------
 3 files changed, 43 insertions(+), 31 deletions(-)