Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881315 - mate-base/mate-settings-daemon-1.26.0 - msd-a11y-keyboard-atspi.c: error: incompatible function pointer types
Summary: mate-base/mate-settings-daemon-1.26.0 - msd-a11y-keyboard-atspi.c: error: inc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-14 20:55 UTC by Toralf Förster
Modified: 2023-08-22 07:45 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.38 KB, text/plain)
2022-11-14 20:55 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,52.71 KB, application/x-bzip)
2022-11-14 20:55 UTC, Toralf Förster
Details
environment (environment,103.23 KB, text/plain)
2022-11-14 20:55 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,696 bytes, application/x-bzip)
2022-11-14 20:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.13 KB, application/x-bzip)
2022-11-14 20:55 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.66 KB, application/x-bzip)
2022-11-14 20:55 UTC, Toralf Förster
Details
mate-base:mate-settings-daemon-1.26.0:20221114-201545.log (mate-base:mate-settings-daemon-1.26.0:20221114-201545.log,68.41 KB, text/plain)
2022-11-14 20:55 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,34.73 KB, application/x-bzip)
2022-11-14 20:55 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,2.09 KB, application/x-bzip)
2022-11-14 20:55 UTC, Toralf Förster
Details
fix-incompatible-pointer-type.patch (fix-incompatible-pointer-type.patch,556 bytes, patch)
2023-06-26 00:50 UTC, David Carlos Manuelda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-11-14 20:55:23 UTC
/usr/include/glib-2.0/glib/gmacros.h:1201:37: note: expanded from macro
      'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
                                    ^
msd-a11y-keyboard-atspi.c:131:53: error: incompatible function pointer types
      passing 'gboolean (const AtspiDeviceEvent *, void *)' (aka 'int (const
      struct _AtspiDeviceEvent *, void *)') to parameter of type

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221112-220005

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 

php cli (if any):

  HEAD of ::gentoo
commit e0484b385a43ace0b96fb91a643fd17f22a34497
Merge: f2401ce11ca3 0c77aadb9830
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 14 17:46:45 2022 +0000

    Merge updates from master

emerge -qpvO mate-base/mate-settings-daemon
[ebuild  N    ] mate-base/mate-settings-daemon-1.26.0  USE="X libnotify policykit sound -accessibility -debug -pulseaudio -rfkill -smartcard"
Comment 1 Toralf Förster gentoo-dev 2022-11-14 20:55:24 UTC
Created attachment 832527 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-14 20:55:25 UTC
Created attachment 832529 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-14 20:55:26 UTC
Created attachment 832531 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-14 20:55:27 UTC
Created attachment 832533 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-14 20:55:29 UTC
Created attachment 832535 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-14 20:55:30 UTC
Created attachment 832537 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-14 20:55:31 UTC
Created attachment 832539 [details]
mate-base:mate-settings-daemon-1.26.0:20221114-201545.log
Comment 8 Toralf Förster gentoo-dev 2022-11-14 20:55:32 UTC
Created attachment 832541 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-14 20:55:33 UTC
Created attachment 832543 [details]
var.tmp.clang.tar.bz2
Comment 10 David Carlos Manuelda 2023-06-26 00:50:27 UTC
Created attachment 864614 [details, diff]
fix-incompatible-pointer-type.patch

Not sure if it's the proper fix but it builds fine with this patch
Comment 11 Larry the Git Cow gentoo-dev 2023-08-22 07:45:47 UTC
The bug has been closed via the following commit(s):

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

commit 9117f92404caf36bb351c7c88a53fef5d86812db
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-06-27 17:02:53 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-08-22 07:45:26 +0000

    mate-base/mate-settings-daemon: Fix incompatible function pointer types
    
    The patch also fixes a memory leak, take from an open PR by mate dev.
    
    Closes: https://bugs.gentoo.org/881315
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31624
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 ...tings-daemon-1.26.0-fix-buid-with-clang16.patch | 45 ++++++++++++
 .../mate-settings-daemon-1.26.0-r2.ebuild          | 79 ++++++++++++++++++++++
 2 files changed, 124 insertions(+)