Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 431910 Details for
Bug 581138
dev-ruby/sigar-0.7.3 : linux_sigar.c:1177:22: error: called object ‘major’ is not a function or function pointer
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-ruby:sigar-0.7.3:20160425-070044.log
dev-ruby:sigar-0.7.3:20160425-070044.log (text/plain), 8.58 KB, created by
Toralf Förster
on 2016-04-25 08:25:00 UTC
(
hide
)
Description:
dev-ruby:sigar-0.7.3:20160425-070044.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2016-04-25 08:25:00 UTC
Size:
8.58 KB
patch
obsolete
> * Package: dev-ruby/sigar-0.7.3 > * Repository: gentoo > * Maintainer: ruby@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby20 ruby_targets_ruby21 userland_GNU > * FEATURES: preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... > * Running unpack phase for all ... > * Unpacking .gem file... ... > [ ok ] > * Uncompressing metadata ... > [ ok ] > * Unpacking data.tar.gz ... > [ ok ] >>>> Source unpacked in /var/tmp/portage/dev-ruby/sigar-0.7.3/work >>>> Preparing source in /var/tmp/portage/dev-ruby/sigar-0.7.3/work ... > * Running prepare phase for all ... > * Running source copy phase for ruby20 ... > * Running source copy phase for ruby21 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-ruby/sigar-0.7.3/work ... > * Running configure phase for ruby20 ... >Ruby platform=x86_64-linux >rbsigar_generated.rx needs update >generating rbsigar_generated.rx >../../src/sigar_util.c -> sigar_util.c >../../src/sigar_signal.c -> sigar_signal.c >../../src/sigar_ptql.c -> sigar_ptql.c >../../src/sigar_getline.c -> sigar_getline.c >../../src/sigar_format.c -> sigar_format.c >../../src/sigar_fileinfo.c -> sigar_fileinfo.c >../../src/sigar_cache.c -> sigar_cache.c >../../src/sigar.c -> sigar.c >../../src/os/linux/linux_sigar.c -> linux_sigar.c >creating Makefile > * Running configure phase for ruby21 ... >Ruby platform=x86_64-linux >rbsigar_generated.rx needs update >generating rbsigar_generated.rx >../../src/sigar_util.c -> sigar_util.c >../../src/sigar_signal.c -> sigar_signal.c >../../src/sigar_ptql.c -> sigar_ptql.c >../../src/sigar_getline.c -> sigar_getline.c >../../src/sigar_format.c -> sigar_format.c >../../src/sigar_fileinfo.c -> sigar_fileinfo.c >../../src/sigar_cache.c -> sigar_cache.c >../../src/sigar.c -> sigar.c >../../src/os/linux/linux_sigar.c -> linux_sigar.c >creating Makefile >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-ruby/sigar-0.7.3/work ... > * Running compile phase for ruby20 ... >make -j1 -Cbindings/ruby V=1 >make: Entering directory '/var/tmp/portage/dev-ruby/sigar-0.7.3/work/ruby20/sigar-0.7.3/bindings/ruby' >x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.0.0/x86_64-linux -I/usr/include/ruby-2.0.0/ruby/backward -I/usr/include/ruby-2.0.0 -I. -I../../include -I../../src/os/linux -U_FILE_OFFSET_BITS -DRB_HAS_RE_ERROR -DRB_RUBY_19 -fPIC -march=native -O2 -pipe -fno-strict-aliasing -fPIC -o linux_sigar.o -c linux_sigar.c >linux_sigar.c: In function âget_iostat_proc_dstatâ: >linux_sigar.c:1177:22: warning: implicit declaration of function âmajorâ [-Wimplicit-function-declaration] > #define ST_MAJOR(sb) major((sb).st_rdev) > ^ >linux_sigar.c:1253:26: note: in expansion of macro âST_MAJORâ > ST_MAJOR(sb), ST_MINOR(sb)); > ^ >linux_sigar.c:1178:22: warning: implicit declaration of function âminorâ [-Wimplicit-function-declaration] > #define ST_MINOR(sb) minor((sb).st_rdev) > ^ >linux_sigar.c:1253:40: note: in expansion of macro âST_MINORâ > ST_MAJOR(sb), ST_MINOR(sb)); > ^ >linux_sigar.c:1177:22: error: called object âmajorâ is not a function or function pointer > #define ST_MAJOR(sb) major((sb).st_rdev) > ^ >linux_sigar.c:1266:23: note: in expansion of macro âST_MAJORâ > if ((major == ST_MAJOR(sb)) && > ^ >linux_sigar.c:1261:23: note: declared here > unsigned long major, minor; > ^ >linux_sigar.c:1178:22: error: called object âminorâ is not a function or function pointer > #define ST_MINOR(sb) minor((sb).st_rdev) > ^ >linux_sigar.c:1267:24: note: in expansion of macro âST_MINORâ > ((minor == ST_MINOR(sb)) || (minor == 0))) > ^ >linux_sigar.c:1261:30: note: declared here > unsigned long major, minor; > ^ >linux_sigar.c:1178:22: error: called object âminorâ is not a function or function pointer > #define ST_MINOR(sb) minor((sb).st_rdev) > ^ >linux_sigar.c:1318:26: note: in expansion of macro âST_MINORâ > if (minor == ST_MINOR(sb)) { > ^ >linux_sigar.c:1261:30: note: declared here > unsigned long major, minor; > ^ >linux_sigar.c: In function âget_iostat_procpâ: >linux_sigar.c:1177:22: error: called object âmajorâ is not a function or function pointer > #define ST_MAJOR(sb) major((sb).st_rdev) > ^ >linux_sigar.c:1369:23: note: in expansion of macro âST_MAJORâ > if ((major == ST_MAJOR(sb)) && (minor == ST_MINOR(sb))) { > ^ >linux_sigar.c:1364:23: note: declared here > unsigned long major, minor; > ^ >linux_sigar.c:1178:22: error: called object âminorâ is not a function or function pointer > #define ST_MINOR(sb) minor((sb).st_rdev) > ^ >linux_sigar.c:1369:50: note: in expansion of macro âST_MINORâ > if ((major == ST_MAJOR(sb)) && (minor == ST_MINOR(sb))) { > ^ >linux_sigar.c:1364:30: note: declared here > unsigned long major, minor; > ^ >In file included from linux_sigar.c:30:0: >linux_sigar.c: At top level: >../../include/sigar_util.h:82:20: warning: inline function âsigar_skip_multiple_tokenâ declared but never defined > SIGAR_INLINE char *sigar_skip_multiple_token(char *p, int count); > ^ >../../include/sigar_util.h:80:20: warning: inline function âsigar_skip_tokenâ declared but never defined > SIGAR_INLINE char *sigar_skip_token(char *p); > ^ >../../include/sigar_util.h:78:20: warning: inline function âsigar_skip_lineâ declared but never defined > SIGAR_INLINE char *sigar_skip_line(char *buffer, int buflen); > ^ >linux_sigar.c: In function âsigar_cpu_list_getâ: >linux_sigar.c:453:5: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result] > (void)fgets(cpu_total, sizeof(cpu_total), fp); > ^ >linux_sigar.c: In function âget_iostat_procpâ: >linux_sigar.c:1362:5: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result] > (void)fgets(buffer, sizeof(buffer), fp); /* skip header */ > ^ >linux_sigar.c: In function âsigar_net_route_list_getâ: >linux_sigar.c:1734:5: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result] > (void)fgets(buffer, sizeof(buffer), fp); /* skip header */ > ^ >linux_sigar.c: In function âsigar_net_interface_stat_getâ: >linux_sigar.c:1777:5: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result] > fgets(buffer, sizeof(buffer), fp); > ^ >linux_sigar.c:1778:5: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result] > fgets(buffer, sizeof(buffer), fp); > ^ >linux_sigar.c: In function âproc_net_readâ: >linux_sigar.c:1942:5: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result] > fgets(buffer, sizeof(buffer), fp); /* skip header */ > ^ >linux_sigar.c: In function âsigar_arp_list_getâ: >linux_sigar.c:2423:5: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result] > (void)fgets(buffer, sizeof(buffer), fp); /* skip header */ > ^ >Makefile:223: recipe for target 'linux_sigar.o' failed >make: *** [linux_sigar.o] Error 1 >make: Leaving directory '/var/tmp/portage/dev-ruby/sigar-0.7.3/work/ruby20/sigar-0.7.3/bindings/ruby' > * ERROR: dev-ruby/sigar-0.7.3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-ruby/sigar-0.7.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-ruby/sigar-0.7.3::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-ruby:sigar-0.7.3:20160425-070044.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/sigar-0.7.3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/sigar-0.7.3/temp/environment'. > * Working directory: '/var/tmp/portage/dev-ruby/sigar-0.7.3/work/ruby20/sigar-0.7.3' > * S: '/var/tmp/portage/dev-ruby/sigar-0.7.3/work/ruby20/sigar-0.7.3' >!!! When you file a bug report, please include the following information: >GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" >JAVACFLAGS="" COMPILER="" >and of course, the output of emerge --info =sigar-0.7.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 581138
: 431910 |
431912
|
431914