Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919421 - x11-themes/gtk-engines-2.20.2-r101 - [clang] /.../lua_style.c: error: call to undeclared function g_printf; ISO C99 and later do not support implicit function
Summary: x11-themes/gtk-engines-2.20.2-r101 - [clang] /.../lua_style.c: error: call to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2023-12-07 21:39 UTC by Toralf Förster
Modified: 2025-02-13 12:42 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.49 KB, text/plain)
2023-12-07 21:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,255.55 KB, text/plain)
2023-12-07 21:39 UTC, Toralf Förster
Details
environment (environment,133.37 KB, text/plain)
2023-12-07 21:39 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2023-12-07 21:39 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.34 KB, application/x-xz)
2023-12-07 21:39 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.50 KB, application/x-xz)
2023-12-07 21:39 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,65.23 KB, application/x-xz)
2023-12-07 21:39 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,308.12 KB, application/x-xz)
2023-12-07 21:39 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,1.04 KB, application/x-xz)
2023-12-07 21:39 UTC, Toralf Förster
Details
x11-themes:gtk-engines-2.20.2-r101:20231207-210909.log.xz (x11-themes:gtk-engines-2.20.2-r101:20231207-210909.log.xz,11.78 KB, application/x-xz)
2023-12-07 21:39 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 2023-12-07 21:39:37 UTC
/var/tmp/portage/x11-themes/gtk-engines-2.20.2-r101/work/gtk-engines-2.20.2/engines/lua/./src/draw_lib.c:444:1: warning: non-void function does not return a value [-Wreturn-type]
  444 | }
      | ^
/var/tmp/portage/x11-themes/gtk-engines-2.20.2-r101/work/gtk-engines-2.20.2/engines/lua/./src/draw_lib.c:451:1: warning: non-void function does not return a value [-Wreturn-type]
  451 | }
      | ^
/var/tmp/portage/x11-themes/gtk-engines-2.20.2-r101/work/gtk-engines-2.20.2/engines/lua/./src/lua_style.c:78:2: error: call to undeclared function 'g_printf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   78 |         g_printf ("Warning: Unknown state: %d\n", state);
      |         ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd_merged_usr-20231203-121010

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] 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:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	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-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 86f8edc0584df42012f24b21b71011f9a00fb7ee
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 7 21:01:54 2023 +0000

    Merge updates from master

emerge -qpvO x11-themes/gtk-engines
[ebuild  N    ] x11-themes/gtk-engines-2.20.2-r101  USE="lua -accessibility" ABI_X86="(64) -32 (-x32)" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4"
Comment 1 Toralf Förster gentoo-dev 2023-12-07 21:39:38 UTC
Created attachment 878174 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-07 21:39:40 UTC
Created attachment 878175 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-07 21:39:41 UTC
Created attachment 878176 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-07 21:39:42 UTC
Created attachment 878177 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-07 21:39:43 UTC
Created attachment 878178 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-07 21:39:44 UTC
Created attachment 878179 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-07 21:39:45 UTC
Created attachment 878180 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-07 21:39:47 UTC
Created attachment 878181 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-07 21:39:48 UTC
Created attachment 878182 [details]
var.tmp.clang.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-07 21:39:49 UTC
Created attachment 878183 [details]
x11-themes:gtk-engines-2.20.2-r101:20231207-210909.log.xz
Comment 11 Pacho Ramos gentoo-dev 2024-11-08 19:50:24 UTC
Maybe we can simply kill this package and its reverse deps:
x11-themes/clearlooks-phenix
x11-themes/shiki-colors
Comment 12 Pacho Ramos gentoo-dev 2025-02-11 16:30:39 UTC
*** Bug 949559 has been marked as a duplicate of this bug. ***
Comment 13 Larry the Git Cow gentoo-dev 2025-02-13 12:42:00 UTC
The bug has been referenced in the following commit(s):

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

commit c15b3ff1a5409c30cc22576c02d692f463c44044
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-11 13:04:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-13 12:40:54 +0000

    x11-themes/gtk-engines: update EAPI 7 -> 8, fix USE=lua with GCC-14+
    
    Fixed incorrect usage of gtk macros, missing glib include, missing
    local include and single-use "convenience" redefine of Lua API.
    
    Bug: https://bugs.gentoo.org/919421
    Closes: https://bugs.gentoo.org/949559
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40530
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gtk-engines/files/gtk-engines-2.20.2-lua.patch | 69 ++++++++++++++++++++++
 .../gtk-engines/gtk-engines-2.20.2-r102.ebuild     | 69 ++++++++++++++++++++++
 2 files changed, 138 insertions(+)