Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871192 - net-analyzer/nagios-plugins-2.4.0-r1 - check_disk.c: error: call to undeclared function min_state; ISO C99 and
Summary: net-analyzer/nagios-plugins-2.4.0-r1 - check_disk.c: error: call to undeclare...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Orlitzky
URL: https://github.com/nagios-plugins/nag...
Whiteboard: fixed in 2.4.2
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 09:14 UTC by Toralf Förster
Modified: 2024-10-27 11:08 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.15 KB, text/plain)
2022-09-18 09:14 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,71.87 KB, application/x-bzip)
2022-09-18 09:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,96.97 KB, text/plain)
2022-09-18 09:14 UTC, Toralf Förster
Details
environment (environment,79.91 KB, text/plain)
2022-09-18 09:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,32.18 KB, application/x-bzip)
2022-09-18 09:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,38.12 KB, application/x-bzip)
2022-09-18 09:14 UTC, Toralf Förster
Details
net-analyzer:nagios-plugins-2.4.0-r1:20220918-090206.log (net-analyzer:nagios-plugins-2.4.0-r1:20220918-090206.log,119.01 KB, text/plain)
2022-09-18 09:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,72.77 KB, application/x-bzip)
2022-09-18 09:14 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 2022-09-18 09:14:23 UTC
check_disk.c:392:219: warning: format specifies type 'unsigned long long' but
      the argument has type 'uintmax_t' (aka 'unsigned long') [-Wformat]
  ...path->dfree_inodes_percent, fsp.fsu_blocksize, mult);
                                                    ^~~~
check_disk.c:413:23: error: call to undeclared function 'min_state'; ISO C99 and
      later do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220917-010004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 70514a1ff9d0747d358718998c62f7b3fbede9bf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 08:31:53 2022 +0000

    2022-09-18 08:31:52 UTC

emerge -qpvO net-analyzer/nagios-plugins
[ebuild  N    ] net-analyzer/nagios-plugins-2.4.0-r1  USE="ipv6 nagios-dns nagios-game nagios-ping ssh ssl -ldap -mysql -postgres -radius -samba (-selinux) -snmp"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 09:14:24 UTC
Created attachment 810352 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 09:14:25 UTC
Created attachment 810355 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 09:14:26 UTC
Created attachment 810358 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 09:14:28 UTC
Created attachment 810361 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 09:14:29 UTC
Created attachment 810364 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 09:14:30 UTC
Created attachment 810367 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 09:14:31 UTC
Created attachment 810370 [details]
net-analyzer:nagios-plugins-2.4.0-r1:20220918-090206.log
Comment 8 Toralf Förster gentoo-dev 2022-09-18 09:14:33 UTC
Created attachment 810373 [details]
temp.tar.bz2
Comment 9 Michael Orlitzky gentoo-dev 2022-10-20 19:21:51 UTC
A fix has been committed upstream, but I'm hoping for a new release soon. PRs have been getting merged over the last few weeks after a long silence.
Comment 10 Larry the Git Cow gentoo-dev 2022-11-19 23:06:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e9908e93b59bdef790c8fc4fa1353f27ac0c495

commit 8e9908e93b59bdef790c8fc4fa1353f27ac0c495
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2022-11-19 22:52:29 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2022-11-19 23:04:33 +0000

    net-analyzer/nagios-plugins: add 2.4.2, drop 2.4.0-r1
    
    In addition to the upstream bug fixes, I've removed an old workaround
    for -fstrict-aliasing and dropped an obsolete patch. (The patch -- my
    own -- was never merged, but a worse one was accepted four years ago.
    It's probably time to let it go.)
    
    Closes: https://bugs.gentoo.org/871192
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 net-analyzer/nagios-plugins/Manifest                           |  1 +
 ...ios-plugins-2.4.0-r1.ebuild => nagios-plugins-2.4.2.ebuild} | 10 ----------
 2 files changed, 1 insertion(+), 10 deletions(-)