[DRE-maint] Bug#916111: ruby-sigar FTBFS with glibc 2.28

Adrian Bunk bunk at debian.org
Mon Dec 10 09:34:15 GMT 2018


Source: ruby-sigar
Version: 0.7.3-1
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-sigar.html

...
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'; did you mean 'mknod'? [-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;
                              ^~~~~



More information about the Pkg-ruby-extras-maintainers mailing list