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

Bug 875131

Summary: x11-misc/oroborus-deskmenu-1.4.5-r1 - deskmenu.c: error: implicit declaration of function decode_switches [-Werror=implicit-functi
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
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
x11-misc:oroborus-deskmenu-1.4.5-r1:20221004-085933.log

Description Toralf Förster gentoo-dev 2022-10-04 16:45:06 UTC
  576 | struct _GTimeVal
      |        ^~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -O2 -g -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  `pkg-config gtk+-2.0 --cflags` -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c getopt1.c
deskmenu.c: In function initialize:
deskmenu.c:165:13: error: implicit declaration of function decode_switches [-Werror=implicit-function-declaration]
  165 |         i = decode_switches (argc, argv);
      |             ^~~~~~~~~~~~~~~

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

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

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

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 following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 92c31ff98e022fce3c1646acc591d62fab57394c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 08:32:55 2022 +0000

    2022-10-04 08:32:55 UTC

emerge -qpvO x11-misc/oroborus-deskmenu
[ebuild  N    ] x11-misc/oroborus-deskmenu-1.4.5-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:45:07 UTC
Created attachment 820099 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:45:09 UTC
Created attachment 820102 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:45:10 UTC
Created attachment 820105 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:45:11 UTC
Created attachment 820108 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:45:12 UTC
Created attachment 820111 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:45:13 UTC
Created attachment 820114 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-04 16:45:14 UTC
Created attachment 820117 [details]
x11-misc:oroborus-deskmenu-1.4.5-r1:20221004-085933.log
Comment 8 Larry the Git Cow gentoo-dev 2023-10-07 22:20:22 UTC
The bug has been closed via the following commit(s):

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

commit 52c9bad6b757b20b007982aa5067177b18dc5e2f
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-10-07 22:19:47 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-10-07 22:19:47 +0000

    x11-misc/oroborus-deskmenu: update EAPI 6 -> 8
    
    Closes: https://bugs.gentoo.org/875131
    Closes: https://bugs.gentoo.org/898252
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...menu-1.4.5-Wimplicit-function-declaration.patch | 12 ++++++++
 .../oroborus-deskmenu-1.4.5-r1.ebuild              | 24 ---------------
 .../oroborus-deskmenu-1.4.5-r2.ebuild              | 36 ++++++++++++++++++++++
 3 files changed, 48 insertions(+), 24 deletions(-)