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

Bug 918998

Summary: media-sound/jack-audio-connection-kit-0.125.0-r1 - [clang] sndio_driver.c: error: call to undeclared library function strlcpy with type unsigned long (char ,
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
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
logs.tar.xz
media-sound:jack-audio-connection-kit-0.125.0-r1:20231202-014046.log
qlist-info.txt
temp.tar.xz
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2023-12-02 01:43:11 UTC
sndio_driver.c:494:19: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
  494 |                         scale = 1.0f / 0x7fffffff;
      |                                      ~ ^~~~~~~~~~
sndio_driver.c:532:12: warning: implicit conversion from 'int' to 'jack_sample_t' (aka 'float') changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
  532 |                         scale = 0x7fffffff;
      |                               ~ ^~~~~~~~~~
sndio_driver.c:919:2: error: call to undeclared library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  919 |         strlcpy(desc->name, driver_client_name, sizeof(desc->name));
      |         ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20231129-092259

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
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+libcxx
Python 3.11.6
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.0.2
php cli (if any):
  [1]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 739458d9b6b24b3f5bd207ee877ad598b66f4f38
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 1 23:46:55 2023 +0000

    2023-12-01 23:46:55 UTC

emerge -qpvO media-sound/jack-audio-connection-kit
[ebuild  N    ] media-sound/jack-audio-connection-kit-0.125.0-r1  USE="examples pam -alsa (-coreaudio) -debug -doc -oss" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse -3dnow"
Comment 1 Toralf Förster gentoo-dev 2023-12-02 01:43:12 UTC
Created attachment 876304 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-02 01:43:14 UTC
Created attachment 876305 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-02 01:43:15 UTC
Created attachment 876306 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-02 01:43:16 UTC
Created attachment 876307 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-02 01:43:17 UTC
Created attachment 876308 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-02 01:43:18 UTC
Created attachment 876309 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-02 01:43:20 UTC
Created attachment 876310 [details]
media-sound:jack-audio-connection-kit-0.125.0-r1:20231202-014046.log
Comment 8 Toralf Förster gentoo-dev 2023-12-02 01:43:21 UTC
Created attachment 876311 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-02 01:43:22 UTC
Created attachment 876312 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-02 01:43:23 UTC
Created attachment 876313 [details]
var.tmp.clang.tar.xz