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

Bug 617192

Summary: sys-cluster/slurm-16.05.2 : task_cgroup_devices.c:446:16: error: called object ‘major’ is not a function or function pointer
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Alexey Shvetsov <alexxy>
Status: RESOLVED FIXED    
Severity: normal CC: cluster, jlec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 575232    
Attachments: emerge-info.txt
config.log.tbz2
emerge-history.txt
environment
etc.portage.tbz2
sys-cluster:slurm-16.05.2:20170501-130946.log
temp.tbz2

Description Toralf Förster gentoo-dev 2017-05-01 13:34:13 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../slurm -I../../../.. -I../../../../src/common -I/usr/include -DNUMA_VERSION1_COMPATIBILITY -O2 -pipe -march=native -Wall -pthread -Wall -g -O0 -fno-strict-aliasing -c task_cgroup_devices.c  -fPIC -DPIC -o .libs/task_cgroup_devices.o
task_cgroup_devices.c: In function ‘_calc_device_major’:
task_cgroup_devices.c:446:16: error: called object ‘major’ is not a function or function pointer
   major = (int)major(fs.st_rdev);
                ^
task_cgroup_devices.c:435:9: note: declared here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-no-multilib_20170430-195233

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
  [2]   ruby22 (with Rubygems)
Comment 1 Toralf Förster gentoo-dev 2017-05-01 13:34:16 UTC
Created attachment 471442 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-05-01 13:34:19 UTC
Created attachment 471444 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-05-01 13:34:22 UTC
Created attachment 471446 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-05-01 13:34:25 UTC
Created attachment 471448 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-05-01 13:34:29 UTC
Created attachment 471450 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-05-01 13:34:32 UTC
Created attachment 471452 [details]
sys-cluster:slurm-16.05.2:20170501-130946.log
Comment 7 Toralf Förster gentoo-dev 2017-05-01 13:34:35 UTC
Created attachment 471454 [details]
temp.tbz2
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2017-07-09 18:53:16 UTC
commit 7c939e7a1b163ab5a754ba6592067be14ed9158c
Author: Justin Lecher <jlec@gentoo.org>
Date:   Sun Jul 9 15:50:58 2017 +0100

    sys-cluster/slurm: Fix compilation error with glibc-2.25

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=617192
    Package-Manager: Portage-2.3.6, Repoman-2.3.2
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c939e7a1b163ab5a754ba6592067be14ed9158c