Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883093 - media-libs/gegl-0.4.40: error: invalid conversion from ‘const void*’ to ‘const char*’ [-fpermissive]
Summary: media-libs/gegl-0.4.40: error: invalid conversion from ‘const void*’ to ‘cons...
Status: RESOLVED DUPLICATE of bug 883223
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-26 09:40 UTC by David Kredba
Modified: 2022-11-27 01:02 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,513.59 KB, text/plain)
2022-11-26 09:42 UTC, David Kredba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2022-11-26 09:40:08 UTC
-c ../gegl-0.4.40/operations/common-cxx/denoise-dct.cc
In file included from /usr/include/glib-2.0/glib.h:52,
                 from /usr/include/glib-2.0/glib/gi18n-lib.h:23,
                 from ../gegl-0.4.40/operations/common-cxx/denoise-dct.cc:24:
../gegl-0.4.40/gegl/gegl-op.h: In function ‘gboolean has_key(GParamSpec*, const gchar*, const gchar*)’:
/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)
      |                                      ^~~~~~~~~~~~~~~~~~~~
      |                                      |
      |                                      const void*

Reproducible: Always

Steps to Reproduce:
1.Try to emerge gimp-2.99.14
2.Gegl is being upgradedd
3.



Portage 3.0.39 (python 3.10.8-final-0, default/linux/amd64/17.1/no-multilib, gcc-12, glibc-2.36-r5, 6.0.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.0.9-gentoo-x86_64-AMD_Ryzen_7_3800X_8-Core_Processor-with-glibc2.36
KiB Mem:    65754152 total,  37770412 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 26 Nov 2022 05:30:01 +0000
Head commit of repository gentoo: 5427d6eeca8fccf5eb2005e99d4bb4f804a101d1
Timestamp of repository palemoon: Mon, 07 Nov 2022 13:32:17 +0000
Head commit of repository palemoon: 11dc00b0e6e82cbf8445e294083f543d8ded3a7b

sh bash 5.2_p12
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.2_p12::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           2.7.18_p16::gentoo, 3.10.8_p3::gentoo
dev-lang/rust-bin:         1.65.0::gentoo
dev-util/cmake:            3.25.0::gentoo
dev-util/meson:            0.64.1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.5::gentoo
sys-devel/gcc:             12.2.1_p20221008::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             15.0.5::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.5::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.0::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.cz.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

palemoon
    location: /var/db/repos/palemoon
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/palemoon.git
    masters: gentoo

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=znver2"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=znver2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=znver2"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://gentoo.mirror.web4u.cz/ https://mirror.leaseweb.com/gentoo/"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs en"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl alsa amd64 blas bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli colord crypt cups dbus declarative djvu dri dts dv dvb dvd dvdr elogind encode exif ffmpeg fftw flac fontconfig fortran gdbm geoip gif gmp gnuplot graphviz gsl gsm hdf5 heif iconv idn ieee1394 imagemagick imlib ipv6 ithreads jbig jpeg jpeg2k kde ladspa lame lapack latex lcms libass libglvnd libsamplerate libtirpc lzma lzo mad matroska mms mng modplug mp3 mp4 mpeg mtp musepack musicbrainz ncurses nls nptl ogg opencl openexr opengl openmp pam pcre pdf plotutils png postscript pulseaudio qt5 quicktime rdp readline seccomp semantic-desktop slang smp sndfile sox speex spell split-usr ssl svg szip taglib test-rust theora threads tiff truetype udev unicode usb v4l vdpau vorbis wavpack wayland webp x264 xattr xcb xft xinerama xml xosd xpm xscreensaver xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words stage" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="cs en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="scripting-beanshell scripting-javascript nlpsolver" LLVM_TARGETS="AMDGPU BPF X86" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby31" SANE_BACKENDS="lexmark net" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

media-libs/gegl-0.4.38::gentoo was built with the following:
USE="cairo ffmpeg introspection lcms lensfun openexr pdf raw svg tiff umfpack v4l webp -debug -sdl -sdl2 -test -vala"
FEATURES="binpkg-multi-instance sfperms fixlafiles merge-sync binpkg-dostrip assume-digests unmerge-orphans news binpkg-logs userpriv strict network-sandbox pid-sandbox multilib-strict qa-unresolved-soname-deps unmerge-logs parallel-fetch usersandbox usersync sandbox userfetch config-protect-if-modified buildpkg-live binpkg-docompress ebuild-locks xattr unknown-features-warn preserve-libs distlocks protect-owned ipc-sandbox"
Comment 1 David Kredba 2022-11-26 09:42:24 UTC
Created attachment 836833 [details]
build.log
Comment 2 A Blamey 2022-11-26 11:01:24 UTC
I see the same issue.  A bit of googling revealed this is a new bug in glib-2.74.2:
https://gitlab.gnome.org/GNOME/glib/-/issues/2820
The fix is targeted for glib 2.74.3.

I'm going to mask glib-2.74.2 locally.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-27 01:02:49 UTC

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