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

Bug 923021

Summary: dev-util/memprof-0.6.2-r1 - src/process.c: error: passing argument 4 of g_io_channel_read_chars from incompatible pointer type [-Wincompatible-pointer
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36581
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-util:memprof-0.6.2-r1:20240127-124228.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-01-27 13:10:24 UTC
      |                                      ^
src/process.c: In function process_command:
src/process.c:473:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  473 |                 info->alloc.new_ptr = (void *)process->seqno;
      |                                       ^
src/process.c: In function input_func:
src/process.c:538:87: error: passing argument 4 of g_io_channel_read_chars from incompatible pointer type [-Wincompatible-pointer-types]
  538 | io_channel_read_chars (source, (char *)&info, sizeof(info), &count, NULL);
      |                                                             ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-20240125-143002

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
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]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 0e82eacea3b893e4e66659fc6d029ec38d938bb2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 27 11:48:09 2024 +0000

    2024-01-27 11:48:09 UTC

emerge -qpvO dev-util/memprof
[ebuild  N    ] dev-util/memprof-0.6.2-r1  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2024-01-27 13:10:25 UTC
Created attachment 883253 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-27 13:10:26 UTC
Created attachment 883254 [details]
dev-util:memprof-0.6.2-r1:20240127-124228.log
Comment 3 Toralf Förster gentoo-dev 2024-01-27 13:10:27 UTC
Created attachment 883255 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-01-27 13:10:28 UTC
Created attachment 883256 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-01-27 13:10:29 UTC
Created attachment 883257 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-27 13:10:30 UTC
Created attachment 883258 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-27 13:10:31 UTC
Created attachment 883259 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-27 13:10:33 UTC
Created attachment 883260 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-01-27 13:10:33 UTC
Created attachment 883261 [details]
temp.tar.xz