Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920156 - 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
Summary: sys-apps/audio-entropyd-2.0.3-r1 - audio-entropyd.c: error: passing argument ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-16 14:00 UTC by Toralf Förster
Modified: 2023-12-16 14:00 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.86 KB, text/plain)
2023-12-16 14:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,27.11 KB, text/plain)
2023-12-16 14:00 UTC, Toralf Förster
Details
environment (environment,60.10 KB, text/plain)
2023-12-16 14:00 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2023-12-16 14:00 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.13 KB, application/x-xz)
2023-12-16 14:00 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,63.80 KB, text/plain)
2023-12-16 14:00 UTC, Toralf Förster
Details
sys-apps:audio-entropyd-2.0.3-r1:20231216-133031.log (sys-apps:audio-entropyd-2.0.3-r1:20231216-133031.log,6.17 KB, text/plain)
2023-12-16 14:00 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,15.18 KB, application/x-xz)
2023-12-16 14:00 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-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