Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717038 - net-analyzer/nagios-plugins-linux-madrisan-25-r1 : processes.c: error: PATH_MAX undeclared (first use in this function)
Summary: net-analyzer/nagios-plugins-linux-madrisan-25-r1 : processes.c: error: PATH_M...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL: https://github.com/madrisan/nagios-pl...
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-11 10:31 UTC by Toralf Förster
Modified: 2020-04-20 15:01 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.24 KB, text/plain)
2020-04-11 10:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,433.14 KB, text/plain)
2020-04-11 10:31 UTC, Toralf Förster
Details
environment (environment,64.44 KB, text/plain)
2020-04-11 10:31 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,33.82 KB, application/x-bzip)
2020-04-11 10:31 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.79 KB, application/x-bzip)
2020-04-11 10:31 UTC, Toralf Förster
Details
net-analyzer:nagios-plugins-linux-madrisan-25-r1:20200411-093815.log (net-analyzer:nagios-plugins-linux-madrisan-25-r1:20200411-093815.log,21.39 KB, text/plain)
2020-04-11 10:31 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.30 KB, application/x-bzip)
2020-04-11 10:31 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 2020-04-11 10:31:35 UTC
      |                                  %llu
processes.c: In function procs_list_getall:
processes.c:176:31: error: PATH_MAX undeclared (first use in this function)
  176 |   char *line = NULL, *p, path[PATH_MAX];
      |                               ^~~~~~~~
processes.c:176:31: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.42.0
  [2]   rust-1.42.0 *
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Apr 11 08:38:00 UTC 2020
/var/db/repos/musl	Wed Apr  8 18:15:58 UTC 2020

emerge -qpvO net-analyzer/nagios-plugins-linux-madrisan
[ebuild  N    ] net-analyzer/nagios-plugins-linux-madrisan-25-r1  USE="-curl"
Comment 1 Toralf Förster gentoo-dev 2020-04-11 10:31:38 UTC
Created attachment 632156 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-11 10:31:41 UTC
Created attachment 632158 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-11 10:31:43 UTC
Created attachment 632160 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-11 10:31:46 UTC
Created attachment 632162 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-11 10:31:49 UTC
Created attachment 632164 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-11 10:31:52 UTC
Created attachment 632166 [details]
net-analyzer:nagios-plugins-linux-madrisan-25-r1:20200411-093815.log
Comment 7 Toralf Förster gentoo-dev 2020-04-11 10:31:55 UTC
Created attachment 632168 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-04-20 15:01:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98512d626268d232434aa24d0450ddd5ac8c71d9

commit 98512d626268d232434aa24d0450ddd5ac8c71d9
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2020-04-20 14:59:33 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2020-04-20 15:01:45 +0000

    net-analyzer/nagios-plugins-linux-madrisan: fix build with musl
    
    Closes: https://bugs.gentoo.org/717038
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 ...-plugins-linux-madrisan-25-fix-musl-build.patch | 35 ++++++++++++++++++++++
 .../nagios-plugins-linux-madrisan-25-r1.ebuild     |  6 +++-
 2 files changed, 40 insertions(+), 1 deletion(-)