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

Bug 914862

Summary: net-misc/rsync-bpc-3.1.3.0 - [clang] lib/compat.c: error: too few argumentsclang -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -Wall
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Dennis Eisele <kernlpanic>
Status: CONFIRMED ---    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-misc:rsync-bpc-3.1.3.0:20230927-175322.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-09-27 20:31:06 UTC
./rsync.h:1071:9: warning: 'snprintf' macro redefined [-Wmacro-redefined]
 1071 | #define snprintf rsync_snprintf
      |         ^
/usr/include/bits/stdio2.h:59:11: note: previous definition is here
   59 | #  define snprintf(str, len, ...) \
      |           ^
lib/compat.c:154:24: error: too few argumentsclang -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -Wall -W  -c lib/snprintf.c -o lib/snprintf.o
 to function call, expected 2, have
      1

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.1
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.1+libcxx
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
  [2]   php8.2
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit f2306275d19cbe3af31c08d70c126832f0e2d1d7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 27 17:01:43 2023 +0000

    2023-09-27 17:01:43 UTC

emerge -qpvO net-misc/rsync-bpc
[ebuild  N    ] net-misc/rsync-bpc-3.1.3.0
Comment 1 Toralf Förster gentoo-dev 2023-09-27 20:31:07 UTC
Created attachment 871574 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-27 20:31:09 UTC
Created attachment 871575 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-27 20:31:10 UTC
Created attachment 871576 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-27 20:31:10 UTC
Created attachment 871577 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-27 20:31:11 UTC
Created attachment 871578 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-27 20:31:12 UTC
Created attachment 871579 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-27 20:31:13 UTC
Created attachment 871580 [details]
net-misc:rsync-bpc-3.1.3.0:20230927-175322.log
Comment 8 Toralf Förster gentoo-dev 2023-09-27 20:31:14 UTC
Created attachment 871581 [details]
temp.tar.xz