[DRE-maint] Bug#677955: very intricate relationship between rspec packages

Jérémy Bobbio lunar at debian.org
Tue Mar 26 13:46:56 UTC 2013


Jérémy Bobbio:
> Another idea: we stop running the test suite at build time for
> ruby-rspec-mocks, ruby-rspec-expectations and ruby-rspec-core; and
> instead, run all the test suites as part as building ruby-rspec.
> 
> If we tighten the dependencies and build-dependencies  in ruby-rspec, we
> can happily remove the circular build dependency and at the same time
> keep a good level of confidence in the fact that rspec gems are in
> working conditions.

*sigh* I hope this would have been simpler. RSpec test suites relies on
a quite specific environment to run and it is hard to reproduce it
properly after the packages have been installed. Looks like this was not
the best idea after all.

I think RSpec eating its own dogfood for its test suite makes the
problem similar to compiler bootstrap. The good news is that its
actually simpler to bootstrap than compiler:

 * Do a first build with `DEB_BUILD_OPTIONS=nocheck` of ruby-rspec-core,
   ruby-rspec-expectations, ruby-rspec-mocks. This will create
   the binary packages without running the test suites (so
   the relevant Build-Depends can even be removed).
 * Rebuild the source packages using the binary packages built
   previously.

This is not optimal but a pretty bearable work-around for now.

-- 
Jérémy Bobbio                        .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20130326/ca0b263a/attachment.pgp>


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