Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617192 - sys-cluster/slurm-16.05.2 : task_cgroup_devices.c:446:16: error: called object ‘major’ is not a function or function pointer
Summary: sys-cluster/slurm-16.05.2 : task_cgroup_devices.c:446:16: error: called objec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: glibc-sysmacros
  Show dependency tree
 
Reported: 2017-05-01 13:34 UTC by Toralf Förster
Modified: 2018-04-27 23:14 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.12 KB, text/plain)
2017-05-01 13:34 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,19.04 KB, application/x-bzip)
2017-05-01 13:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,45.94 KB, text/plain)
2017-05-01 13:34 UTC, Toralf Förster
Details
environment (environment,163.40 KB, text/plain)
2017-05-01 13:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.90 KB, application/x-bzip)
2017-05-01 13:34 UTC, Toralf Förster
Details
sys-cluster:slurm-16.05.2:20170501-130946.log (sys-cluster:slurm-16.05.2:20170501-130946.log,374.95 KB, text/plain)
2017-05-01 13:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,57.32 KB, application/x-bzip)
2017-05-01 13:34 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 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