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

Bug 883257

Summary: dev-libs/gjs-1.74.{0,1} with glib-2.74.2 - /.../ghash.h: error: invalid conversion from const void to const char [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gentoo, leho, me
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-libs:gjs-1.74.1:20221126-235019.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-27 10:35:51 UTC
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from ../gjs-1.74.1/gjs/gjs_pch.hh:34:
../gjs-1.74.1/util/log.cpp: In function GjsDebugTopic prefix_to_topic(const char*):
/usr/include/glib-2.0/glib/ghash.h:165:38: error: invalid conversion from const void* to const char* [-fpermissive]
  165 | #define g_str_equal(v1, v2) (strcmp ((gconstpointer) (v1), (gconstpointer) (v2)) == 0)
      |                                      ^~~~~~~~~~~~~~~~~~~~

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

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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
php cli (if any):

  HEAD of ::gentoo
commit 0fd4cdd9f8e9d1042df01d71a7223e4a7b56d707
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 26 22:32:09 2022 +0000

    2022-11-26 22:32:09 UTC

emerge -qpvO dev-libs/gjs
[ebuild  N    ] dev-libs/gjs-1.74.1  USE="cairo examples readline sysprof -test"
Comment 1 Toralf Förster gentoo-dev 2022-11-27 10:35:52 UTC
Created attachment 837401 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-27 10:35:53 UTC
Created attachment 837403 [details]
dev-libs:gjs-1.74.1:20221126-235019.log
Comment 3 Toralf Förster gentoo-dev 2022-11-27 10:35:55 UTC
Created attachment 837405 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-27 10:35:56 UTC
Created attachment 837407 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-27 10:35:57 UTC
Created attachment 837409 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-27 10:35:59 UTC
Created attachment 837411 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-27 10:36:00 UTC
Created attachment 837413 [details]
temp.tar.bz2
Comment 8 Kobboi 2022-11-27 12:25:50 UTC
Happens because of the dev-libs/glib upgrade to 2.74.2. Compiles file with 2.74.1-r1
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-27 15:46:06 UTC

*** This bug has been marked as a duplicate of bug 883223 ***