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

Bug 831313

Summary: sci-electronics/xoscope-2.2 w/ >=x11-libs/gtkdatabox-1.0.0: /.../gtkdatabox_graph.h: error: unknown type name GdkRGBA
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: The Soldering-Iron Brotherhood <sci-electronics>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://xoscope.sourceforge.net/
See Also: https://bugs.gentoo.org/show_bug.cgi?id=849935
Whiteboard: fixed in 2.3
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 832757    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-electronics:xoscope-2.2:20220116-114955.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-01-16 14:57:08 UTC
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from xoscope.h:12,
                 from file.c:14:
/usr/include/gtkdatabox_graph.h:100:38: error: unknown type name ‘GdkRGBA’; did you mean ‘GdkGC’?
  100 |                                      GdkRGBA * color);
      |                                      ^~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.58.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.312_p07 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php8.1 *

  HEAD of ::gentoo
commit 2105d1dc037a0abc3d5dbf1bb9ec97921c1cf658
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 16 10:51:56 2022 +0000

    2022-01-16 10:51:55 UTC

emerge -qpvO sci-electronics/xoscope
[ebuild  N    ] sci-electronics/xoscope-2.2
Comment 1 Toralf Förster gentoo-dev 2022-01-16 14:57:09 UTC
Created attachment 762339 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-16 14:57:11 UTC
Created attachment 762340 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-01-16 14:57:12 UTC
Created attachment 762341 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-01-16 14:57:13 UTC
Created attachment 762342 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-01-16 14:57:14 UTC
Created attachment 762343 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-16 14:57:15 UTC
Created attachment 762344 [details]
sci-electronics:xoscope-2.2:20220116-114955.log
Comment 7 Toralf Förster gentoo-dev 2022-01-16 14:57:16 UTC
Created attachment 762345 [details]
temp.tar.bz2
Comment 8 Jeremy Stent 2022-01-17 18:44:54 UTC
I see that the upstream project moved to version 2.3 last year to address this issue.
This version appears to compile fine for me with neither of the patches the ebuild adds.
Comment 9 Andreas Sturmlechner gentoo-dev 2022-08-29 17:20:25 UTC
Likely causes follow-up bug 849935 too.

The solution here would be to package 2.3 version bump. ("Version 2.3 migrates to gtkdatabox 1.0 and GTK3.")
Comment 10 Larry the Git Cow gentoo-dev 2022-08-29 19:09:31 UTC
The bug has been closed via the following commit(s):

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

commit 7777a93212ad913c27ee9214c08ee36c507ee770
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-08-29 19:05:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-08-29 19:06:27 +0000

    sci-electronics/xoscope: add 2.3, bump to EAPI-8, add missing deps
    
    Bug: https://bugs.gentoo.org/832757
    Closes: https://bugs.gentoo.org/831313
    Closes: https://bugs.gentoo.org/849935
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-electronics/xoscope/Manifest           |  1 +
 sci-electronics/xoscope/xoscope-2.3.ebuild | 34 ++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)