[DRE-maint] Bug#996227: ruby-ferret: FTBFS with ruby3.0: index.h:595:25: error: width of ‘is_compressed’ exceeds its type

Antonio Terceiro terceiro at debian.org
Tue Oct 12 13:11:27 BST 2021


Source: ruby-ferret
Version: 0.11.8.7-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-ferret was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
> gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -I. -I/usr/include/x86_64-linux-gnu/ruby-3.0.0 -I/usr/include/ruby-3.0.0/ruby/backward -I/usr/include/ruby-3.0.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2   -fPIC -g -O2 -ffile-prefix-map=/build/ruby3.0-2KsnwC/ruby3.0-3.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500  -o compound_io.o -c compound_io.c
> In file included from compound_io.c:1:
> index.h:595:25: error: width of ‘is_compressed’ exceeds its type
>   595 |     bool                is_compressed : 2; /* set to 2 after all data is loaded */
>       |                         ^~~~~~~~~~~~~
> make[1]: *** [Makefile:245: compound_io.o] Error 1


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-ferret/ruby-ferret_0.11.8.7-2+rebuild1633379746_amd64.build.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211012/5d71ecce/attachment.sig>


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