Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605744 - sys-auth/elogind-219.12-r4 : src/.../logind-session-device.c:50:17: error: called object ‘major’ is not a function or function pointer
Summary: sys-auth/elogind-219.12-r4 : src/.../logind-session-device.c:50:17: error: ca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-sysmacros
  Show dependency tree
 
Reported: 2017-01-15 09:53 UTC by Toralf Förster
Modified: 2017-01-15 12:18 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,5.46 KB, text/plain)
2017-01-15 09:53 UTC, Toralf Förster
Details
config.log (config.log,102.04 KB, text/plain)
2017-01-15 09:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,216.76 KB, text/plain)
2017-01-15 09:53 UTC, Toralf Förster
Details
environment (environment,147.98 KB, text/plain)
2017-01-15 09:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.76 KB, application/x-bzip)
2017-01-15 09:53 UTC, Toralf Förster
Details
sys-auth:elogind-219.12-r4:20170114-232603.log (sys-auth:elogind-219.12-r4:20170114-232603.log,448.90 KB, text/plain)
2017-01-15 09:53 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-01-15 09:53:16 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -include ./config.h -DPKGSYSCONFDIR=\"/etc/elogind\" -DPOLKIT_AGENT_BINARY_PATH=\"/usr/bin/pkttyagent\" -DSYSTEM_CONFIG_UNIT_PATH=\"/etc/elogind/system\" -DSYSTEM_DATA_UNIT_PATH=\"\" -DUSER_CONFIG_UNIT_PATH=\"/etc/elogind/user\" -DUSER_DATA_UNIT_PATH=\"\" -DROOTPREFIX=\"\" -DSYSTEM_SLEEP_PATH=\"/usr/libexec/elogind/sleep.d\" -DSYSTEM_SHUTDOWN_PATH=\"/usr/libexec/elogind/shutdown.d\" -DHALT=\"/sbin/halt\" -DREBOOT=\"/sbin/reboot\" -DKEXEC=\"/usr/sbin/kexec\" -DLIBDIR=\"/lib64\" -DTEST_DIR=\"/var/tmp/portage/sys-auth/elogind-219.12-r4/work/elogind-219.12/test\" -I ./src -I ./src/shared -I ./src/shared -I ./src/login -I ./src/systemd -I ./src/libelogind/sd-bus -I ./src/libelogind/sd-event -I ./src/libelogind/sd-device -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Werror=overflow -Wdate-time -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-sections -fdata-sections -fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 -O2 -pipe -march=native -Wall -c src/login/logind-session-device.c  -fPIC -DPIC -o src/login/.libs/logind-session-device.o
src/login/logind-session-device.c: In function ‘session_device_notify’:
src/login/logind-session-device.c:50:17: error: called object ‘major’ is not a function or function pointer
         major = major(sd->dev);
                 ^
src/login/logind-session-device.c:45:18: note: declared here

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

  This is an unstable amd64 chroot image (named 13.0-unstable_20170109-235418) at a hardened host acting as a tinderbox.

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:

  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-01-15 09:53:19 UTC
Created attachment 460098 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-15 09:53:22 UTC
Created attachment 460100 [details]
config.log
Comment 3 Toralf Förster gentoo-dev 2017-01-15 09:53:25 UTC
Created attachment 460102 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-01-15 09:53:28 UTC
Created attachment 460104 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-01-15 09:53:31 UTC
Created attachment 460106 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-01-15 09:53:34 UTC
Created attachment 460108 [details]
sys-auth:elogind-219.12-r4:20170114-232603.log
Comment 7 Andreas Sturmlechner gentoo-dev 2017-01-15 12:18:26 UTC
Thanks, fixed in git by commit 1f9deebdff205c1ec61f4adb4b0fcc669ee5c394