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

Bug 834627

Summary: sys-cluster/slurm-20.11.0.1-r104 - jobacct_gather_cgroup.c: error: PATH_MAX undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: alexxy, cluster
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-cluster:slurm-20.11.0.1-r104:20220305-151124.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-03-05 15:13:54 UTC
make[6]: Entering directory '/var/tmp/portage/sys-cluster/slurm-20.11.0.1-r104/work/slurm-slurm-20-11-0-1/src/plugins/jobacct_gather/common'
make[6]: 'libjobacct_gather_common.la' is up to date.
make[6]: Leaving directory '/var/tmp/portage/sys-cluster/slurm-20.11.0.1-r104/work/slurm-slurm-20-11-0-1/src/plugins/jobacct_gather/common'
jobacct_gather_cgroup.c: In function '_handle_task_cgroup':
jobacct_gather_cgroup.c:381:40: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'?
  381 |         if (snprintf(task_cgroup_path, PATH_MAX, "%s/task_%u",
      |                                        ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220302-020005

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit 73fe6e44a0a7ae7ab4f349229462ecb2722b942f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Mar 5 14:51:56 2022 +0000

    2022-03-05 14:51:55 UTC

emerge -qpvO sys-cluster/slurm
[ebuild  N    ] sys-cluster/slurm-20.11.0.1-r104  USE="ofed pam -X -debug -hdf5 -html -ipmi -json -lua -multiple-slurmd -munge -mysql -netloc -numa -perl -slurmdbd -static-libs -torque -ucx" LUA_SINGLE_TARGET="lua5-1 -lua5-3"
Comment 1 Toralf Förster gentoo-dev 2022-03-05 15:13:55 UTC
Created attachment 766351 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-05 15:13:56 UTC
Created attachment 766352 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-03-05 15:14:00 UTC
Created attachment 766353 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-03-05 15:14:01 UTC
Created attachment 766354 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-03-05 15:14:02 UTC
Created attachment 766355 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-03-05 15:14:04 UTC
Created attachment 766356 [details]
sys-cluster:slurm-20.11.0.1-r104:20220305-151124.log
Comment 7 Toralf Förster gentoo-dev 2022-03-05 15:14:07 UTC
Created attachment 766357 [details]
temp.tar.bz2