Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881081 - x11-misc/trayer-1.0-r4 - main.c: error: incompatible function pointer types initializing int
Summary: x11-misc/trayer-1.0-r4 - main.c: error: incompatible function pointer types i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Desktop Misc. Team
URL:
Whiteboard: fixed in 1.0-r5
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-12 10:37 UTC by Toralf Förster
Modified: 2024-10-29 14:23 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.67 KB, text/plain)
2022-11-12 10:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,64.80 KB, text/plain)
2022-11-12 10:37 UTC, Toralf Förster
Details
environment (environment,64.29 KB, text/plain)
2022-11-12 10:37 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,697 bytes, application/x-bzip)
2022-11-12 10:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.95 KB, application/x-bzip)
2022-11-12 10:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,19.18 KB, application/x-bzip)
2022-11-12 10:37 UTC, Toralf Förster
Details
x11-misc:trayer-1.0-r4:20221112-032211.log (x11-misc:trayer-1.0-r4:20221112-032211.log,14.79 KB, text/plain)
2022-11-12 10:37 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 2022-11-12 10:37:18 UTC
      [-Wgnu-designator]
    destructor  : tray_destructor,
    ^~~~~~~~~~~~~
    .destructor = 
main.c:146:19: error: incompatible function pointer types initializing 'int
      (*)(struct _plugin *)' with an expression of type 'int (plugin *)' (aka
      'int (struct _plugin *)') [-Werror,-Wincompatible-function-pointer-types]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20221111-150005

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
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 Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p8 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
4)	Eclipse Temurin JRE 17.0.5_p8 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-jre-bin-17 

php cli (if any):

  HEAD of ::gentoo
commit 57ebe17947e4422eac1f62c52d6e1fedcd107946
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 12 03:01:53 2022 +0000

    2022-11-12 03:01:53 UTC

emerge -qpvO x11-misc/trayer
[ebuild  N    ] x11-misc/trayer-1.0-r4
Comment 1 Toralf Förster gentoo-dev 2022-11-12 10:37:19 UTC
Created attachment 831807 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-12 10:37:21 UTC
Created attachment 831809 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-12 10:37:22 UTC
Created attachment 831811 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-12 10:37:23 UTC
Created attachment 831813 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-12 10:37:24 UTC
Created attachment 831815 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-12 10:37:25 UTC
Created attachment 831817 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-12 10:37:27 UTC
Created attachment 831819 [details]
x11-misc:trayer-1.0-r4:20221112-032211.log
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-12 10:42:47 UTC
Fork at https://github.com/sargon/trayer-srg
Comment 9 Larry the Git Cow gentoo-dev 2022-12-04 23:58:00 UTC
The bug has been closed via the following commit(s):

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

commit da8be2e6b4210e2d25c161485a34aaeadca1b2d0
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-12-03 14:19:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-04 23:57:35 +0000

    x11-misc/trayer: fix incompatible pointer types
    
    Closes: https://bugs.gentoo.org/881081
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28523
    Signed-off-by: Sam James <sam@gentoo.org>

 ...trayer-1.0-fix-incompatible-pointer-types.patch | 19 ++++++++++
 x11-misc/trayer/trayer-1.0-r5.ebuild               | 42 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2024-10-29 14:23:39 UTC
The bug has been referenced in the following commit(s):

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

commit a7c94d652d427097e7cdd5d016570e937c7a604e
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-10-29 14:05:07 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-10-29 14:05:07 +0000

    x11-misc/trayer: drop 1.0-r4
    
    Bug: https://bugs.gentoo.org/881081
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 x11-misc/trayer/trayer-1.0-r4.ebuild | 41 ------------------------------------
 1 file changed, 41 deletions(-)