Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605662 - sys-apps/udevil-0.4.4-r2 : device-info.c:946:29: error: called object ‘major’ is not a function or function pointer
Summary: sys-apps/udevil-0.4.4-r2 : device-info.c:946:29: error: called object ‘major’...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: zlg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-sysmacros
  Show dependency tree
 
Reported: 2017-01-14 09:48 UTC by Toralf Förster
Modified: 2017-05-01 12:50 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.46 KB, text/plain)
2017-01-14 09:48 UTC, Toralf Förster
Details
config.log (config.log,38.30 KB, text/plain)
2017-01-14 09:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,202.26 KB, text/plain)
2017-01-14 09:48 UTC, Toralf Förster
Details
environment (environment,114.04 KB, text/plain)
2017-01-14 09:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.83 KB, application/x-bzip)
2017-01-14 09:48 UTC, Toralf Förster
Details
sys-apps:udevil-0.4.4-r2:20170114-075945.log (sys-apps:udevil-0.4.4-r2:20170114-075945.log,27.12 KB, text/plain)
2017-01-14 09:48 UTC, Toralf Förster
Details
udevil-0.4.4-include-sysmacros-r1.patch (udevil-0.4.4-include-sysmacros-r1.patch,648 bytes, patch)
2017-03-15 07:11 UTC, zlg (RETIRED)
Details | Diff

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-14 09:48:14 UTC
     ^
device-info.c: In function ‘info_mount_points’:
device-info.c:946:29: error: called object ‘major’ is not a function or function pointer
                     major = major( statbuf.st_rdev );
                             ^
device-info.c:898:13: 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-14 09:48:18 UTC
Created attachment 459972 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-14 09:48:21 UTC
Created attachment 459974 [details]
config.log
Comment 3 Toralf Förster gentoo-dev 2017-01-14 09:48:25 UTC
Created attachment 459976 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-01-14 09:48:28 UTC
Created attachment 459978 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-01-14 09:48:30 UTC
Created attachment 459980 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-01-14 09:48:33 UTC
Created attachment 459982 [details]
sys-apps:udevil-0.4.4-r2:20170114-075945.log
Comment 7 zlg (RETIRED) gentoo-dev 2017-03-15 07:11:57 UTC
Created attachment 467102 [details, diff]
udevil-0.4.4-include-sysmacros-r1.patch

It appears coverage was insufficient with the original patch. I've extended it with this edit and it appears to work AOK for me. If it works out for you, I'll go ahead and commit the new patch + revbump the ebuild so it can trigger rebuilds for others.
Comment 8 zlg (RETIRED) gentoo-dev 2017-05-01 12:50:45 UTC
revbumped ebuild and patch both live

Commit-ID: 92e30e27bdb5940d3aa5b5039b3b214204b59cc5

Closing for now; please reopen if problem remains. Everything works okay on my end.