Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919235 - net-misc/connman-gtk-1.1.1-r1 - src/status.c: error: passing argument 1 of gtk_widget_set_sensitive from incompatible pointer type [-Wincompatible-poi
Summary: net-misc/connman-gtk-1.1.1-r1 - src/status.c: error: passing argument 1 of gt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 20:19 UTC by Toralf Förster
Modified: 2024-01-31 13:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.32 KB, text/plain)
2023-12-04 20:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,241.36 KB, text/plain)
2023-12-04 20:19 UTC, Toralf Förster
Details
environment (environment,85.48 KB, text/plain)
2023-12-04 20:19 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,976 bytes, application/x-xz)
2023-12-04 20:19 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.34 KB, application/x-xz)
2023-12-04 20:19 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.52 KB, application/x-xz)
2023-12-04 20:19 UTC, Toralf Förster
Details
net-misc:connman-gtk-1.1.1-r1:20231204-025723.log (net-misc:connman-gtk-1.1.1-r1:20231204-025723.log,24.77 KB, text/plain)
2023-12-04 20:19 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,60.71 KB, application/x-xz)
2023-12-04 20:19 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,24.17 KB, application/x-xz)
2023-12-04 20:19 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 2023-12-04 20:19:34 UTC
   75 |     (g_string_free) ((str), (free_segment)))
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c:43:9: note: in expansion of macro g_string_free
   43 |         g_string_free(str, FALSE);
      |         ^~~~~~~~~~~~~
src/status.c: In function status_menu:
src/status.c:122:42: error: passing argument 1 of gtk_widget_set_sensitive from incompatible pointer type [-Wincompatible-pointer-types]
  122 |                 gtk_widget_set_sensitive(item, has_items);
      |                                          ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20231128-165524

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 31c53b86617dc55e12ecf200e3033f30e326bf31
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 02:02:05 2023 +0000

    2023-12-04 02:02:05 UTC

emerge -qpvO net-misc/connman-gtk
[ebuild  N    ] net-misc/connman-gtk-1.1.1-r1  USE="-openconnect"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:19:35 UTC
Created attachment 877201 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:19:36 UTC
Created attachment 877202 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:19:37 UTC
Created attachment 877203 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:19:38 UTC
Created attachment 877204 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:19:39 UTC
Created attachment 877205 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:19:40 UTC
Created attachment 877206 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:19:41 UTC
Created attachment 877207 [details]
net-misc:connman-gtk-1.1.1-r1:20231204-025723.log
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:19:42 UTC
Created attachment 877208 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 20:19:43 UTC
Created attachment 877209 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-01-31 13:08:42 UTC
The bug has been closed via the following commit(s):

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

commit 59d42ae38dbd9aa10abd829fc8749d73e0ef695a
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2024-01-31 13:07:12 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2024-01-31 13:07:12 +0000

    net-misc/connman-gtk: add missing Gtk+ type cast
    
    Looks like upstream have missed this one, as they generally do use
    the macro GTK_WIDGET().
    
    Closes: https://bugs.gentoo.org/919235
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild              |  6 +++++-
 .../connman-gtk/files/connman-gtk-1.1.1-gtk_typecasts.patch   | 11 +++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)