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

Bug 872236

Summary: sci-electronics/xnec2c-4.4.11 - common.h: error: conflicting types for g_idle_add_once; have void(gboolean ( )(void ), void ) {aka
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED FIXED    
Severity: normal CC: sci-electronics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 881973    
Bug Blocks:    
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-electronics:xnec2c-4.4.11:20220921-164701.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-21 18:50:30 UTC
<built-in>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from measurements.c:1:
common.h:1479:6: error: conflicting types for g_idle_add_once; have void(gboolean (*)(void *), void *) {aka void(int (*)(void *), void *)}
 1479 | void g_idle_add_once(GSourceFunc function, gpointer data);
      |      ^~~~~~~~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit 194a2710797afb9694f981a488e37dd4c4349862
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 21 15:46:48 2022 +0000

    2022-09-21 15:46:48 UTC

emerge -qpvO sci-electronics/xnec2c
[ebuild  N    ] sci-electronics/xnec2c-4.4.11  USE="-doc -examples"
Comment 1 Toralf Förster gentoo-dev 2022-09-21 18:50:31 UTC
Created attachment 813361 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-21 18:50:33 UTC
Created attachment 813364 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-21 18:50:34 UTC
Created attachment 813367 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-21 18:50:35 UTC
Created attachment 813370 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-21 18:50:36 UTC
Created attachment 813373 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-21 18:50:38 UTC
Created attachment 813376 [details]
sci-electronics:xnec2c-4.4.11:20220921-164701.log
Comment 7 Toralf Förster gentoo-dev 2022-09-21 18:50:39 UTC
Created attachment 813379 [details]
temp.tar.bz2
Comment 8 Thomas Beierlein gentoo-dev 2022-09-26 05:59:51 UTC
Seem glib-2.74 changed some prototypes
Comment 9 Larry the Git Cow gentoo-dev 2022-09-26 06:01:26 UTC
The bug has been referenced in the following commit(s):

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

commit 3e2bc00da26120fde685703411dc880340bdfaf7
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2022-09-26 05:57:44 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2022-09-26 06:00:53 +0000

    sci-electronics/xnec2c: add 4.4.12
    
    Adds support for >=dev-libs/glib-2.74
    
    Bug: https://bugs.gentoo.org/872236
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 sci-electronics/xnec2c/Manifest             |  1 +
 sci-electronics/xnec2c/xnec2c-4.4.12.ebuild | 53 +++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-11-20 07:37:31 UTC
The bug has been closed via the following commit(s):

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

commit 581075e5a10701ebb74f6fe22ffcbc65592c183c
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2022-11-20 07:36:53 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2022-11-20 07:36:53 +0000

    sci-electronics/xnec2c: drop 4.4.11
    
    Closes: https://bugs.gentoo.org/872236
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 sci-electronics/xnec2c/Manifest             |  1 -
 sci-electronics/xnec2c/xnec2c-4.4.11.ebuild | 53 -----------------------------
 2 files changed, 54 deletions(-)