[Pkg-libvirt-maintainers] Bug#815764: libguestfs: FTBFS against ruby2.3
Antonio Terceiro
terceiro at debian.org
Wed Feb 24 13:32:04 UTC 2016
On Wed, Feb 24, 2016 at 10:28:54AM -0300, Antonio Terceiro wrote:
> On Wed, Feb 24, 2016 at 01:35:30PM +0100, Hilko Bengen wrote:
> > Control: tags -1 moreinfo
> >
> > > During a rebuild with ruby2.3 enabled, libguestfs fails to build. Please make
> > > sure it builds against ruby2.3, which will be the Ruby version in stretch.
> > >
> > > The full build log can be found at
> > > https://pkg-ruby-extras.alioth.debian.org/rebuilds/ruby2.3-build-logs/libguestfs_1.32.2-3_amd64.txt
> >
> > The cause, as we can see, is:
> >
> > /bin/bash: rake2.3: command not found
> >
> > ruby2.2_2.2.4-1_amd64.deb, downloaded from unstable just now, contains a
> > /usr/bin/rake2.2, but ruby2.3_2.3.0-2_amd64.deb does not contain a
> > /usr/bin/rake2.3.
> >
> > Should I just use /usR/bin/rake (from the "rake" package) instead?
>
> You need to call `rubyX.Y -S rake`, which will make sure rake is
> executed by the correct interpreter, e.g.
>
> ruby2.2 -S rake
> ruby2.3 -S rake
`rubyX.Y /usr/bin/rake` will also work and is a bit more explicit.
--
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20160224/e741fcf7/attachment.sig>
More information about the Pkg-libvirt-maintainers
mailing list