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

Bug 605662

Summary: sys-apps/udevil-0.4.4-r2 : device-info.c:946:29: error: called object ‘major’ is not a function or function pointer
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: zlg (RETIRED) <zlg>
Status: RESOLVED FIXED    
Severity: normal CC: ThyArmageddon+Gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 575232    
Attachments: emerge-info.txt
config.log
emerge-history.txt
environment
etc.portage.tbz2
sys-apps:udevil-0.4.4-r2:20170114-075945.log
udevil-0.4.4-include-sysmacros-r1.patch

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.