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

Bug 914865

Summary: net-analyzer/rrdtool-1.8.0-r3 - [clang] rrd_snprintf.c: warning: a function declaration without a prototype is
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Conrad Kostecki <conikost>
Status: CONFIRMED ---    
Severity: normal CC: netmon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-analyzer:rrdtool-1.8.0-r3:20230927-180123.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-09-27 20:31:37 UTC
rrd_snprintf.c:209:9: warning: 'asprintf' macro redefined [-Wmacro-redefined]
  209 | #define asprintf rrd_asprintf
      |         ^
/usr/include/bits/stdio2.h:157:12: note: previous definition is here
  157 | #   define asprintf(ptr, ...) \
      |            ^
rrd_snprintf.c:584:12: warning: a function declaration without a prototype is
      deprecated in all versions of C [-Wstrict-prototypes]
  584 | extern int errno;

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

  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-analyzer/rrdtool
[ebuild  N    ] net-analyzer/rrdtool-1.8.0-r3  USE="-dbi -doc -examples -graph -lua -perl -python (-rados) -rrdcached -rrdcgi -ruby -static-libs -tcl -tcpd -test" LUA_TARGETS="lua5-1 -lua5-3 -lua5-4 -luajit" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-09-27 20:31:38 UTC
Created attachment 871594 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-27 20:31:40 UTC
Created attachment 871595 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-27 20:31:41 UTC
Created attachment 871596 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-27 20:31:42 UTC
Created attachment 871597 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-27 20:31:43 UTC
Created attachment 871598 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-27 20:31:43 UTC
Created attachment 871599 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-27 20:31:45 UTC
Created attachment 871600 [details]
net-analyzer:rrdtool-1.8.0-r3:20230927-180123.log
Comment 8 Toralf Förster gentoo-dev 2023-09-27 20:31:46 UTC
Created attachment 871601 [details]
temp.tar.xz