Source: ruby-mpi
Version: 0.3.2-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240728 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>/ext/mpi'
> mpicc -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -I. 
> -I/usr/include/x86_64-linux-gnu/ruby-3.1.0 
> -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. 
> -I/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.1.0 -Wdate-time 
> -D_FORTIFY_SOURCE=2   -fPIC -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -fPIC  -o mpi.o -c mpi.c
> In file included from /usr/include/ruby-3.1.0/ruby/ruby.h:26,
>                  from /usr/include/ruby-3.1.0/ruby.h:38,
>                  from mpi.c:4:
> mpi.c: In function ‘Init_mpi’:
> /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:337:142: error: passing 
> argument 3 of ‘rb_define_module_function_m1’ from incompatible pointer type 
> [-Wincompatible-pointer-types]
>   337 | #define rb_define_module_function(mod, mid, func, arity)    
> RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), 
> (mid), (func), (arity))
>       |                                                                       
>                                                                        ^~~~~~
>       |                                                                       
>                                                                        |
>       |                                                                       
>                                                                        VALUE 
> (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}
> mpi.c:697:3: note: in expansion of macro ‘rb_define_module_function’
>   697 |   rb_define_module_function(mMPI, "Finalize", rb_m_finalize, -1);
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:273:21: note: expected ‘VALUE 
> (*)(int,  union <anonymous>,  VALUE)’ {aka ‘long unsigned int (*)(int,  union 
> <anonymous>,  long unsigned int)’} but argument is of type ‘VALUE (*)(VALUE)’ 
> {aka ‘long unsigned int (*)(long unsigned int)’}
>   273 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *)
>       |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:253:41: note: in definition 
> of macro ‘RBIMPL_ANYARGS_DECL’
>   253 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _m1(__VA_ARGS__, 
> VALUE(*)(int, union { VALUE *x; const VALUE *y; } 
> __attribute__((__transparent_union__)), VALUE), int); \
>       |                                         ^~~
> make[1]: *** [Makefile:246: mpi.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/ruby-mpi_0.3.2-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to