Bug#950739: xapian-bindings: Fails to build against ruby2.7

2020-02-06 Thread Olly Betts
Control: tags -1 +pending

On Wed, Feb 05, 2020 at 12:05:22PM -0300, Lucas Kanashiro wrote:
> We are planning to start the ruby2.7 transition and your package failed
> to build against ruby2.7. Check the full build log here:
> 
> https://people.debian.org/~kanashiro/ruby2.7/builds/5/xapian-bindings/xapian-bindings_1.4.12-3+rebuild1580867044_amd64-2020-02-05T01:44:06Z.build

The problems all look to be in SWIG-generated code.  SWIG was patched
for Ruby 2.7 support last month, but there hasn't been a SWIG release
since 21 Aug 2019 so I'll work on patching the generated code for now.

It looks like the only thing that actually needs fixing right now may
be adding a cast to (rb_gvar_setter_t*) - testing that now.

Cheers,
Olly



Bug#950739: xapian-bindings: Fails to build against ruby2.7

2020-02-05 Thread Lucas Kanashiro
Source: xapian-bindings
Version: 1.4.12-3
Severity: important

Dear Maintainer,

We are planning to start the ruby2.7 transition and your package failed
to build against ruby2.7. Check the full build log here:

https://people.debian.org/~kanashiro/ruby2.7/builds/5/xapian-bindings/xapian-bindings_1.4.12-3+rebuild1580867044_amd64-2020-02-05T01:44:06Z.build

For now, to reproduce the failure locally you need:

* experimental enabled
* ruby-all-dev binary package from experimental (>= 1:2.5.7~0)

For instance, you can use use the following sbuild command:

$ sbuild -d unstable --build-dep-resolver=aptitude
--extra-repository="deb http://deb.debian.org/debian experimental main"
--starting-build-commands="apt install -y ruby-all-dev/experimental"
--source-only-changes

ruby2.7 should be enabled as the default ruby soon in unstable.

-- 
Lucas Kanashiro




signature.asc
Description: OpenPGP digital signature