[DRE-maint] Bug#791521: FTBFS: common.h: RFLOAT undefined: invalid type argument of.. RFLOAT(val)->float_value

Chris West (Faux) solo-debianbugs at goeswhere.com
Sun Jul 5 18:08:50 UTC 2015


Source: ruby-opengl
Version: 0.60.1+dfsg2-3
Severity: serious
Tags: sid
Justification: fails to build from source (but built successfully in the past)
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs

Dear Maintainer,

The package fails to build:

In file included from ../common/common.h:54:0,
                 from gl-1.0-1.1.c:18:
.../common/conv.h: In function ‘num2double’:
.../common/conv.h:55:1: warning: implicit declaration of function ‘RFLOAT’ [-Wimplicit-function-declaration]
 FASTCONV(num2double,double,FIX2LONG,rb_num2dbl)
 ^
.../common/conv.h:33:42: error: invalid type argument of ‘->’ (have ‘int’)
 #define FLOAT_VAL_ACCESS(val) RFLOAT(val)->float_value
                                          ^
.../common/conv.h:44:18: note: in expansion of macro ‘FLOAT_VAL_ACCESS’
   return (_type_)FLOAT_VAL_ACCESS(val); \
                  ^
.../common/conv.h:55:1: note: in expansion of macro ‘FASTCONV’
 FASTCONV(num2double,double,FIX2LONG,rb_num2dbl)
 ^

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/ruby-opengl.html


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-21-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



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