Source: xapian-bindings
Version: 1.4.18-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, xapian-bindings 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):
> make[7]: Entering directory '/<<PKGBUILDDIR>>/debian/build/ruby2.7/ruby'
> rm -f 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.7.0/_xapian.la
> make[7]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/ruby2.7/ruby'
> make[6]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/ruby2.7/ruby'
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/ruby2.7/ruby'
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/ruby2.7/ruby'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/ruby2.7'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/ruby2.7'
> # `created.rid` contains a timestamp making the build non-reproducible.
> # It doesn't seem to be useful to install, so just delete it.
> rm -f debian/tmp/usr/share/doc/xapian-bindings-ruby*/ruby/rdocs/created.rid
> # We only need one xapian.rb for ruby-xapian, and it should be the same
> # for all versions, so if present, check that the older versions are
> # the same as the latest, then throw them away.  Also, delete the older
> # versions of the docs - the latest docs are installed by
> # ruby-xapian.install.
> rb=debian/tmp`/usr/bin/ruby3.0 -rrbconfig -e 'puts 
> RbConfig::CONFIG["vendorlibdir"]'`/xapian.rb; \
> for v in 2.7; do \
>     if [ "$v" != "3.0" ] ; then \
>       set -e; \
>       rb_old=debian/tmp`/usr/bin/ruby$v -rrbconfig -e 'puts 
> RbConfig::CONFIG["vendorlibdir"]'`/xapian.rb; \
>       diff "$rb_old" "$rb"; \
>       rm -rf "$rb_old" debian/tmp/usr/share/doc/xapian-bindings-ruby$v; \
>     fi; \
> done; \
> mv "$rb" debian/tmp/usr/lib/ruby/vendor_ruby
> diff: debian/tmp/usr/lib/ruby/vendor_ruby/3.0.0/xapian.rb: No such file or 
> directory
> make[1]: *** [debian/rules:359: override_dh_auto_install] Error 2


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/4/xapian-bindings/xapian-bindings_1.4.18-1+rebuild1635263761_amd64.build.txt

Attachment: signature.asc
Description: PGP signature

Reply via email to