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

Bug 920156

Summary: sys-apps/audio-entropyd-2.0.3-r1 - audio-entropyd.c: error: passing argument 5 of get_random_data from incompatible pointer type [-Wincompatible-point
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    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
sys-apps:audio-entropyd-2.0.3-r1:20231216-133031.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-16 14:00:22 UTC
                 from audio-entropyd.c:30:
/usr/include/alsa/pcm.h:825:96: note: expected unsigned int * but argument is of type int *
  825 | (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir);
      |                                               ~~~~~~~~~~~~~~^~~

audio-entropyd.c: In function main_loop:
audio-entropyd.c:234:96: error: passing argument 5 of get_random_data from incompatible pointer type [-Wincompatible-pointer-types]
  234 | , DEFAULT_CLICK_READ, DEFAULT_SAMPLE_RATE, &n_output_bytes, &output_buffer);
      |                                                             ^~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231215-225005

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

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.7
Available Ruby profiles:
  (none found)
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.5 linux/amd64

  HEAD of ::gentoo
commit a683a02ff97c7dc3b46d4c5a040df29e42215469
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 16 12:48:51 2023 +0000

    2023-12-16 12:48:51 UTC

emerge -qpvO sys-apps/audio-entropyd
[ebuild  N    ] sys-apps/audio-entropyd-2.0.3-r1  USE="(-selinux)"
Comment 1 Toralf Förster gentoo-dev 2023-12-16 14:00:23 UTC
Created attachment 879595 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-16 14:00:24 UTC
Created attachment 879596 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-16 14:00:25 UTC
Created attachment 879597 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-16 14:00:26 UTC
Created attachment 879598 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-16 14:00:27 UTC
Created attachment 879599 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-16 14:00:29 UTC
Created attachment 879600 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2023-12-16 14:00:29 UTC
Created attachment 879601 [details]
sys-apps:audio-entropyd-2.0.3-r1:20231216-133031.log
Comment 8 Toralf Förster gentoo-dev 2023-12-16 14:00:30 UTC
Created attachment 879602 [details]
temp.tar.xz