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

Bug 699852

Summary: sys-block/fio-3.16 : gclient.c:333:2: error: too many arguments to function strncpy
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED DUPLICATE    
Severity: normal CC: prometheanfire
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-block:fio-3.16:20191111-165655.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-11-11 17:11:07 UTC
  103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
gclient.c:333:2: error: too many arguments to function ‘strncpy’
  333 |  strncpy(message, sizeof(message), "%s", status_message);
      |  ^~~~~~~
In file included from /usr/include/features.h:450,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20191106-111651

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.39.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 11 Nov 2019 15:46:06 +0000

emerge -qpvO sys-block/fio
[ebuild  N    ] sys-block/fio-3.16  USE="gtk zlib -aio -curl -glusterfs -gnuplot -libressl -numa -rbd -rdma (-static) -tcmalloc" PYTHON_TARGETS="python2_7 python3_6 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2019-11-11 17:11:10 UTC
Created attachment 595776 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-11 17:11:13 UTC
Created attachment 595778 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-11-11 17:11:17 UTC
Created attachment 595780 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-11-11 17:11:19 UTC
Created attachment 595782 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-11-11 17:11:22 UTC
Created attachment 595784 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-11 17:11:25 UTC
Created attachment 595786 [details]
sys-block:fio-3.16:20191111-165655.log
Comment 7 Toralf Förster gentoo-dev 2019-11-11 17:11:28 UTC
Created attachment 595788 [details]
temp.tbz2
Comment 8 SpanKY gentoo-dev 2020-01-24 18:11:56 UTC
duping to newer bug as it was triaged & fixed there

*** This bug has been marked as a duplicate of bug 699878 ***