Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919259 - net-dialup/moserial-3.0.21 - src/SettingsDialog.c: error: passing argument 2 of moserial_settings_dialog_cancel from incompatible pointer type [-Winco
Summary: net-dialup/moserial-3.0.21 - src/SettingsDialog.c: error: passing argument 2 ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard: patch
Keywords:
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2023-12-05 10:15 UTC by Toralf Förster
Modified: 2024-10-23 10:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,22.13 KB, text/plain)
2023-12-05 10:15 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,96.51 KB, application/x-xz)
2023-12-05 10:15 UTC, Toralf Förster
Details
environment (environment,80.87 KB, text/plain)
2023-12-05 10:15 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-05 10:15 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.31 KB, application/x-xz)
2023-12-05 10:15 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.45 KB, application/x-xz)
2023-12-05 10:15 UTC, Toralf Förster
Details
net-dialup:moserial-3.0.21:20231205-100154.log (net-dialup:moserial-3.0.21:20231205-100154.log,54.18 KB, text/plain)
2023-12-05 10:15 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,101.78 KB, application/x-xz)
2023-12-05 10:15 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.30 KB, application/x-xz)
2023-12-05 10:15 UTC, Toralf Förster
Details
Fix build with strict compiler flags (moserial-3.0.21-c99-workaround.patch,16.79 KB, patch)
2024-08-12 14:12 UTC, Vladislav Mikhailikov
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 2023-12-05 10:15:46 UTC
  262 |     (!g_atomic_pointer_get (location) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
src/Main.c:283:13: note: in expansion of macro g_once_init_enter
  283 |         if (g_once_init_enter (&moserial_main_type_id__volatile)) {
      |             ^~~~~~~~~~~~~~~~~
src/SettingsDialog.c: In function _moserial_settings_dialog_cancel_gtk_button_clicked:
src/SettingsDialog.c:232:74: error: passing argument 2 of moserial_settings_dialog_cancel from incompatible pointer type [-Wincompatible-pointer-types]
  232 | erial_settings_dialog_cancel ((moserialSettingsDialog*) self, _sender);
      |                                                               ^~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] 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.7
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 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit a4651668089837239eb29cf0fe5302b976ade798
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 5 08:31:59 2023 +0000

    2023-12-05 08:31:58 UTC

emerge -qpvO net-dialup/moserial
[ebuild  N    ] net-dialup/moserial-3.0.21
Comment 1 Toralf Förster gentoo-dev 2023-12-05 10:15:47 UTC
Created attachment 877337 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-05 10:15:48 UTC
Created attachment 877338 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-05 10:15:50 UTC
Created attachment 877339 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-05 10:15:50 UTC
Created attachment 877340 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-05 10:15:52 UTC
Created attachment 877341 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-05 10:15:52 UTC
Created attachment 877342 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-05 10:15:53 UTC
Created attachment 877343 [details]
net-dialup:moserial-3.0.21:20231205-100154.log
Comment 8 Toralf Förster gentoo-dev 2023-12-05 10:15:55 UTC
Created attachment 877344 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-05 10:15:56 UTC
Created attachment 877345 [details]
temp.tar.xz
Comment 10 Vladislav Mikhailikov 2024-08-12 14:12:40 UTC
Created attachment 899938 [details, diff]
Fix build with strict compiler flags

This is quick and dirty fix without breaking original logic, just stricter typing where the compiler throws the errors. For immediate fix put it into /etc/portage/patches/net-dialup/moserial