Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918998 - 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 ,
Summary: media-sound/jack-audio-connection-kit-0.125.0-r1 - [clang] sndio_driver.c: er...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-02 01:43 UTC by Toralf Förster
Modified: 2023-12-02 01:55 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.06 KB, text/plain)
2023-12-02 01:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,103.99 KB, text/plain)
2023-12-02 01:43 UTC, Toralf Förster
Details
environment (environment,85.69 KB, text/plain)
2023-12-02 01:43 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-02 01:43 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.96 KB, application/x-xz)
2023-12-02 01:43 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.62 KB, application/x-xz)
2023-12-02 01:43 UTC, Toralf Förster
Details
media-sound:jack-audio-connection-kit-0.125.0-r1:20231202-014046.log (media-sound:jack-audio-connection-kit-0.125.0-r1:20231202-014046.log,91.68 KB, text/plain)
2023-12-02 01:43 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,186.41 KB, text/plain)
2023-12-02 01:43 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.93 KB, application/x-xz)
2023-12-02 01:43 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,1.53 KB, application/x-xz)
2023-12-02 01:43 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-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