Public bug reported:
diaspora-installer fails to install with cosmic-proposed enabled because
it downloads and builds gems which FTBFS with glibc 2.28.
[...]
ESC[32mFetching sigar 0.7.3ESC[0m
ESC[32mInstalling sigar 0.7.3 with native extensionsESC[0m
ESC[31mGem::Ext::BuildError: ERROR: Failed to build gem native extension.
ESC[0m
current directory:
/var/lib/diaspora/vendor/bundle/ruby/2.5.0/gems/sigar-0.7.3/bindings/ruby
/usr/bin/ruby2.5 -r ./siteconf20180831-6110-a6qmsk.rb extconf.rb
--with-cppflags=\"-fgnu89-inline\"
Ruby platform=arm-linux-gnueabihf
rbsigar_generated.rx needs update
generating rbsigar_generated.rx
../../src/sigar.c -> sigar.c
../../src/sigar_cache.c -> sigar_cache.c
../../src/sigar_fileinfo.c -> sigar_fileinfo.c
../../src/sigar_format.c -> sigar_format.c
../../src/sigar_getline.c -> sigar_getline.c
../../src/sigar_ptql.c -> sigar_ptql.c
../../src/sigar_signal.c -> sigar_signal.c
../../src/sigar_util.c -> sigar_util.c
../../src/os/linux/linux_sigar.c -> linux_sigar.c
creating Makefile
current directory:
/var/lib/diaspora/vendor/bundle/ruby/2.5.0/gems/sigar-0.7.3/bindings/ruby
make "DESTDIR=" clean
current directory:
/var/lib/diaspora/vendor/bundle/ruby/2.5.0/gems/sigar-0.7.3/bindings/ruby
make "DESTDIR="
compiling linux_sigar.c
linux_sigar.c: In function ‘sigar_os_proc_list_get’:
linux_sigar.c:617:5: warning: ‘readdir_r’ is deprecated
[-Wdeprecated-declarations]
while (readdir_r(dirp, &dbuf, &ent) == 0) {
^~~~~
In file included from linux_sigar.c:19:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
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;
^~~~~
linux_sigar.c: In function ‘sigar_proc_port_get’:
linux_sigar.c:2505:5: warning: ‘readdir_r’ is deprecated
[-Wdeprecated-declarations]
while (readdir_r(dirp, &dbuf, &ent) == 0) {
^~~~~
In file included from linux_sigar.c:19:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
linux_sigar.c:2546:9: warning: ‘readdir_r’ is deprecated
[-Wdeprecated-declarations]
while (readdir_r(fd_dirp, &fd_dbuf, &fd_ent) == 0) {
^~~~~
In file included from linux_sigar.c:19:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
linux_sigar.c: In function ‘sigar_cpu_list_get’:
linux_sigar.c:453:11: 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:11: 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:11: 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:11: warning: ignoring return value of ‘fgets’, declared with
attribute warn_unused_result [-Wunused-result]
(void)fgets(buffer, sizeof(buffer), fp); /* skip header */
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:243: linux_sigar.o] Error 1
make failed, exit code 2
[...]
ESC[0mESC[31mAn error occurred while installing sigar (0.7.3), and Bundler
cannot
continue.
Make sure that `gem install sigar -v '0.7.3'` succeeds before bundling.ESC[0m
In Gemfile:
eye was resolved to 0.9.2, which depends on
sigarESC[0m
dpkg: error processing package diaspora-installer (--configure):
installed diaspora-installer package post-installation script subprocess
returned error exit status 5
[...]
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-cosmic/cosmic/armhf/d/diaspora-
installer/20180831_091059_f3686@/log.gz
Since this is an installer package which by design downloads gems from
the Internet, it is not something we can straightforwardly fix by
updates to the diaspora-installer package (even though ruby-sigar is
present in the Ubuntu archive as well at a matching version, it is not
used).
Therefore, diaspora-installer will be removed from the cosmic release
and will be allowed back in if and only if it passes its autopkgtests
cleanly against glibc 2.28 - i.e., if the ruby-sigar gem is fixed to be
source-compatible.
** Affects: diaspora-installer (Ubuntu)
Importance: Undecided
Status: New
** Tags: block-proposed
** Tags added: block-proposed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790215
Title:
upstream gems broken with glibc 2.28, fails to install
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/diaspora-installer/+bug/1790215/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs