[DRE-maint] Bug#1092697: ruby-nokogumbo: FTBFS with ruby3.3: nokogumbo.c:492:27: error: ‘rb_cData’ undeclared (first use in this function)
Antonio Terceiro
terceiro at debian.org
Fri Jan 10 18:12:39 GMT 2025
Source: ruby-nokogumbo
Version: 2.0.5-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.3
Hi,
The ruby3.3 transition has started on unstable. During a test rebuild,
ruby-nokogumbo failed to build.
Relevant part (hopefully):
> gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -I. -I/usr/include/x86_64-linux-gnu/ruby-3.3.0 -I/usr/include/ruby-3.3.0/ruby/backward -I/usr/include/ruby-3.3.0 -I. -I./../../gumbo-parser/src -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 -std=c99 -I/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0/gems/nokogiri-1.16.4/ext/nokogiri -o nokogumbo.o -c nokogumbo.c
> In file included from /usr/include/ruby-3.3.0/ruby/internal/core.h:27,
> from /usr/include/ruby-3.3.0/ruby/ruby.h:29,
> from /usr/include/ruby-3.3.0/ruby.h:38,
> from nokogumbo.c:22:
> nokogumbo.c: In function ‘wrap_parse_args’:
> nokogumbo.c:492:27: error: ‘rb_cData’ undeclared (first use in this function)
> 492 | return Data_Wrap_Struct(rb_cData, parse_args_mark, RUBY_NEVER_FREE, args);
> | ^~~~~~~~
> /usr/include/ruby-3.3.0/ruby/internal/core/rdata.h:204:10: note: in definition of macro ‘Data_Wrap_Struct’
> 204 | (klass), \
> | ^~~~~
> nokogumbo.c:492:27: note: each undeclared identifier is reported only once for each function it appears in
> 492 | return Data_Wrap_Struct(rb_cData, parse_args_mark, RUBY_NEVER_FREE, args);
> | ^~~~~~~~
> /usr/include/ruby-3.3.0/ruby/internal/core/rdata.h:204:10: note: in definition of macro ‘Data_Wrap_Struct’
> 204 | (klass), \
> | ^~~~~
> make[1]: *** [Makefile:248: nokogumbo.o] Error 1
The full build log is available at
https://people.debian.org/~terceiro/ruby3.3/ruby-nokogumbo_2.0.5-1+rebuild1736519156_amd64.build
-------------- 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/20250110/0a88548c/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list