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

Bug 874717

Summary: app-misc/gtk-sunlight-0.4.2-r1 - sunlight.c: error: implicit declaration of function change_wallpaper [-Werror=implicit-function-d
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 Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/27956
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-misc:gtk-sunlight-0.4.2-r1:20221003-175455.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-03 18:50:35 UTC
In file included from /usr/include/gtk-3.0/gdk/gdk.h:61:
/usr/include/gtk-3.0/gdk/gdkthreads.h:44:10: note: declared here
   44 | void     gdk_threads_init                     (void);
      |          ^~~~~~~~~~~~~~~~
sunlight.c:225:17: error: implicit declaration of function change_wallpaper [-Werror=implicit-function-declaration]
  225 |                 change_wallpaper (data);
      |                 ^~~~~~~~~~~~~~~~

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

  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)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   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 9a62fd768e4d6745109c76a44ba529b08c8b3656
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 17:17:17 2022 +0000

    2022-10-03 17:17:16 UTC

emerge -qpvO app-misc/gtk-sunlight
[ebuild  N    ] app-misc/gtk-sunlight-0.4.2-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-03 18:50:36 UTC
Created attachment 818116 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 18:50:37 UTC
Created attachment 818119 [details]
app-misc:gtk-sunlight-0.4.2-r1:20221003-175455.log
Comment 3 Toralf Förster gentoo-dev 2022-10-03 18:50:38 UTC
Created attachment 818122 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 18:50:40 UTC
Created attachment 818125 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 18:50:41 UTC
Created attachment 818128 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 18:50:41 UTC
Created attachment 818131 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-31 17:43:40 UTC
The bug has been closed via the following commit(s):

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

commit df16ce2ac71beb4c015e94915e73c49b03258aac
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-10-26 07:25:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-31 17:39:48 +0000

    app-misc/gtk-sunlight: revbump, fix clang16 build, EAPI bump
    
    Fix function declarations so clang16 does not complain.
    
    Closes: https://bugs.gentoo.org/874717
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/27956
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-sunlight-0.4.2-fix-function-declarations.patch | 32 ++++++++++++++++++++++
 ....4.2-r1.ebuild => gtk-sunlight-0.4.2-r2.ebuild} |  8 ++++--
 2 files changed, 38 insertions(+), 2 deletions(-)