Debian Bug report logs -
#970469
rbconfig.rb should contain triplet-prefixed tools
Reported by: Helmut Grohne <helmut@subdivi.de>
Date: Wed, 16 Sep 2020 20:15:03 UTC
Severity: normal
Tags: patch
Found in version ruby2.7/2.7.1-3
Fixed in version ruby2.7/2.7.2-2
Done: Utkarsh Gupta <utkarsh@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#970469; Package libruby2.7.
(Wed, 16 Sep 2020 20:15:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Helmut Grohne <helmut@subdivi.de>:
New Bug report received and forwarded. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>.
(Wed, 16 Sep 2020 20:15:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: libruby2.7
Version: 2.7.1-3
Tags: patch
I've looked into cross building ruby extensions again. With help from
Antonio Terceiro and Chris Hofstaedtler, we figured that we likely need
three changes to make this work:
* gem2deb should pull a native ruby. Otherwise running ruby fails.
* $something should cause ruby to use the host's rbconfig.rb.
* The build should use cross compilers.
The last of these is a problem since the compilers used for building
extensions are those listed in rbconfig.rb. It currently lists CC -> gcc
and CXX -> g++. Since these are unqualified, they're unsuitable for
cross building.
If rbconfig.rb were mapping these to triplet-prefixed build tools (which
work both natively and during cross builds) and we were solving the
other aspects, we could likely cross build simple ruby extensions.
So here goes the patch that makes rbconfig.rb contain triplet-prefixed
tools. The hard part of making the build use the correct rbconfig.rb is
not yet solved.
Helmut
[ruby2.7_2.7.1-3.1.debdiff (text/plain, attachment)]
Reply sent
to Utkarsh Gupta <utkarsh@debian.org>:
You have taken responsibility.
(Tue, 13 Oct 2020 14:48:10 GMT) (full text, mbox, link).
Notification sent
to Helmut Grohne <helmut@subdivi.de>:
Bug acknowledged by developer.
(Tue, 13 Oct 2020 14:48:10 GMT) (full text, mbox, link).
Message #10 received at 970469-close@bugs.debian.org (full text, mbox, reply):
Source: ruby2.7
Source-Version: 2.7.2-2
Done: Utkarsh Gupta <utkarsh@debian.org>
We believe that the bug you reported is fixed in the latest version of
ruby2.7, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 970469@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Utkarsh Gupta <utkarsh@debian.org> (supplier of updated ruby2.7 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 13 Oct 2020 18:48:32 +0530
Source: ruby2.7
Architecture: source
Version: 2.7.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Utkarsh Gupta <utkarsh@debian.org>
Closes: 968203 969130 970469
Changes:
ruby2.7 (2.7.2-2) unstable; urgency=medium
.
* Add patch to fix ENOENT error when cwd does not exists. (Closes: #969130)
- Thanks, Antoni Villalonga, for the patch.
* Place arch-qualified tools in rbconfig.rb. (Closes: #970469)
- Thanks, Helmut Grohne, for the debdiff.
* Disable test_find_proxy_no_proxy test. (Closes: #968203)
- Tries to parse http://example.org and thus causes FTBFS on buster.
Checksums-Sha1:
aba495bb896133c89f69753618819e0e129f0984 2505 ruby2.7_2.7.2-2.dsc
a3b3fda80555a59f75faeb4b892da307cb44236c 112764 ruby2.7_2.7.2-2.debian.tar.xz
574ef8332111d24bb4247b5318c8052bce179e5b 8215 ruby2.7_2.7.2-2_amd64.buildinfo
Checksums-Sha256:
ff4b983b688cac0b9244459b43269adbb6fd306633ec8e3fac95a0226a329633 2505 ruby2.7_2.7.2-2.dsc
3b3daac70e9076c61a3f7f511fdc065d805ff89eefcaa69883ce2280c01a9860 112764 ruby2.7_2.7.2-2.debian.tar.xz
aee226df3ecb4d6b5632e7d72464bc8799e83209dcbc88999ff78a3c6ed4b5ba 8215 ruby2.7_2.7.2-2_amd64.buildinfo
Files:
59ce1be2a693afa41f474f35d92a4a76 2505 ruby optional ruby2.7_2.7.2-2.dsc
c80f8c00e5cbaf4bdbee54984259c83c 112764 ruby optional ruby2.7_2.7.2-2.debian.tar.xz
7d2862a77b91b7720175447f8cc0ecc5 8215 ruby optional ruby2.7_2.7.2-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCAAxFiEEbJ0QSEqa5Mw4X3xxgj6WdgbDS5YFAl+FslcTHHV0a2Fyc2hA
ZGViaWFuLm9yZwAKCRCCPpZ2BsNLlnJ4EACe+pidkqJuuDHe7jTRhXc7k7HKi9zd
EYYyY6sJaCovJmxjv3rZCNc2MEycabmP1XAEoTVtOVJ4nppu+Ua8Ku31I1IyyB94
Ga+vwpKgSUR8F5ZybscI9InqJEfxSkL7HOlv5A9YLkPSWjoQ1KIvJfCKiyTcCZ6n
clP31DJXek1VTqNYIklk7cI36pihekLtsm6i1gbcllzRd7JG+aLyhtQgPcLduw3v
18gdgWHveD1jlgbq5C9mV6yb37Np4z/iD7bxRyDSRlOqKT+57tNKEcVOdKX7nKuP
L5Y7cMFXaxlmcqWxVTzspNVh0SW8plVYsXgQJRKmO/7mNg2GQbRq5eAE1oQGHdIs
MrmD3b6BTweLT+skwgfqF49ZajBnMiAMwYQr27VJ7fHqap3o6bTlMMxnxMmJwCsU
5bIV3gFL4LRtOWR1oENBJu+gad2mITQEviPGGWbujjRxhPEr50mk0TJIVxuyTpin
N4ye8d3MRPGipttvNK1TAY4/gnrNSl4zNKLdRlO0wj0hglpOr4E92OoZffUAN6ak
1r/085uk63D1HkWS4XEbygGNuHdeSNRePS1YqyG38NlXxtSNJF2JsLSTrerWlAKj
6YSITzkZNvGpwTdsFjZJtlKFLp8iA7Bx94SYfVaUyqrlgSYlQQjBclQOsuCHy6CR
arpjJS1UdZdwPw==
=yl5N
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 16 Nov 2020 07:30:12 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Oct 8 03:04:58 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.