Discussion:
Bug#869486: jruby: (Build-)Depends loop with ruby-psych
Aaron M. Ucko
2017-07-23 15:33:55 UTC
Permalink
Package: jruby
Version: 1.7.26-1
Severity: important
Control: affects -1 ruby-psych

jruby's dependency on ruby-psych is satisfiable only on amd64 because
ruby-psych is new but already build-depends on jruby, and as such
indirectly on itself. You could address the immediate problem by
temporarily rebundling ruby-psych until all architectures (ideally
including the non-release ones) have had time to build the separate
ruby-psych package. However, this circularity would still be problematic
when bootstrapping new architectures, or if it ever became necessary to
upgrade both packages in lockstep for some reason.

As such, a better solution would be to split the architecture-independent
portions of ruby-psych into a separate binary package and have jruby
depend on that rather than on the full ruby-psych package, since it
presumably has no need for an extension built for the traditional C ruby
implementation.

Could you please take a look? (I'm reporting this bug against jruby
because you'll need to make changes to its packaging regardless.)

Thanks!
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?***@monk.mit.edu
Miguel Landaeta
2017-07-24 22:12:40 UTC
Permalink
Post by Aaron M. Ucko
Package: jruby
Version: 1.7.26-1
Severity: important
Control: affects -1 ruby-psych
[...]
Could you please take a look? (I'm reporting this bug against jruby
because you'll need to make changes to its packaging regardless.)
I apologize for the silly mistake. I'll upload a jruby release that allow
ruby-psych to build soon.

I can't do it now because Maven is in a flux right now in sid and
jruby is FTBFS at the moment because of it.
--
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at http://miguel.cc/key.
"Faith means not wanting to know what is true." -- Nietzsche
Miguel Landaeta
2017-07-30 15:05:34 UTC
Permalink
* Break dependency loop by temporarily demoting dependency on ruby-psych
to Suggests. (Closes: #869486).
The issue is now partially fixed in ruby-psych (although the build failed
in two release architectures).

I intend to implement a definitive fix later by introducing a new arch
independent package libpsych-java. That should avoid the building
issues currently present in s390x and arm64.
--
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at http://miguel.cc/key.
"Faith means not wanting to know what is true." -- Nietzsche
Aaron M. Ucko
2017-07-30 15:32:26 UTC
Permalink
Post by Miguel Landaeta
I intend to implement a definitive fix later by introducing a new arch
independent package libpsych-java. That should avoid the building
issues currently present in s390x and arm64.
Great, thanks!
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?***@monk.mit.edu
Loading...