Your message dated Thu, 21 Jul 2022 21:49:03 +0000
with message-id <[email protected]>
and subject line Bug#982887: fixed in gem2deb 2.0
has caused the Debian Bug report #982887,
regarding gem2deb: add support for cross building Ruby extensions
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
982887: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982887
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libruby2.7
Version: 2.7.2-4
User: [email protected]
Usertags: ftcbfs
Control: affects -1 + src:ruby-json
ruby-json (and many others) fail to cross build from source in the same
way. dh_ruby runs ruby ... extconf.rb, which configures for the build
architecture and then some dependency (usually ruby/config.h) goes
missing as it is only installed for the host architecture.
As far as I can tell, the root cause is the extconf.rb invocation. For
cross compiling, one should pass -I /somepath to ruby such that
/somepath contains the host's rbconfig.rb. Unfortunately, we cannot just
pass -I /usr/lib/<triplet>/ruby/2.7.0 here, because doing so results in
ruby attempting to load foreign extension modules. We need a different
path here.
Let me give a little excursion into other ecosystems to give you a
better idea what is needed here:
Perl has a file that is similar to rbconfig.rb and it is simply called
Config.pm. It normally resides in /usr/lib/x86_64-linux-gnu/perl-base.
Using this path would have the same issue. Therefore, there also is
/usr/lib/x86_64-linux-gnu/perl/5.32.1 containing a symlink.
Python has a similar file _sysconfigdata.py. Rather than disambiguating
the containing directory, Python renames it and arrives at things like
_sysconfigdata__x86_64-linux-gnu.py. Rather than specifying a directory
to to search for modules, a separate environment variable can specify
its location.
The Ruby way is like Perl. I suggest copying this approach. To that end,
I request that ruby2.7-dev adds a new, architecture-dependent directory
that contains a symlink to the matching rbconfig.rb. Then dh_ruby can
pass that directory via -I and things should work.
Does that sound good to you? Do you have any preference on the naming?
No, this is not meant for bullseye.
Helmut
--- End Message ---
--- Begin Message ---
Source: gem2deb
Source-Version: 2.0
Done: Antonio Terceiro <[email protected]>
We believe that the bug you reported is fixed in the latest version of
gem2deb, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Antonio Terceiro <[email protected]> (supplier of updated gem2deb 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 21 Jul 2022 21:17:01 +0200
Source: gem2deb
Architecture: source
Version: 2.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
Closes: 982887 1015311
Changes:
gem2deb (2.0) unstable; urgency=medium
.
[ Daniel Leidert ]
* Use github tags instead of releases in watch file template
.
[ Antonio Terceiro ]
* dh_ruby: stop printing "dh_ruby --opt"
* source_test: replace mocking with temporary directory
* Gem2Deb::Source: improve reading of debian/control
* Gem2Deb::Source: detect debhelper compatibility level
* dh_ruby: build, test and install separately for debhelper compat 14+
* Add support for cross compilation of Ruby extensinons (Closes: #982887)
* activate.bash: also set PERL5LIB
* debian/tests/gem2deb: don't check build dependencies
* Gem2Deb::Metadata: fix loading medadata.yml with ruby3.1 (Closes: #1015311)
Checksums-Sha1:
84e05947c2f6522d1e7c1771a1d2e80c97b0fd7e 2283 gem2deb_2.0.dsc
de6bf2efa5193c7caae975ff281bc9c4399bbd61 74748 gem2deb_2.0.tar.xz
695c2f18c7c56948e2d881754a2be675b284be80 9744 gem2deb_2.0_amd64.buildinfo
Checksums-Sha256:
e9c366a6e18030ad6c9a8e0d6db240cc53d257c2cf125d6f2344c3dcf4ba4cf7 2283
gem2deb_2.0.dsc
db1ca50b928e7a91e9a5393a7d3f9a7676900f8a5e863675cc0b5c837ba7633d 74748
gem2deb_2.0.tar.xz
8f02521cd9dc9924804d917c1f409896a77ebc4649b7d08d9921dd8195827b78 9744
gem2deb_2.0_amd64.buildinfo
Files:
2cd39313a7d0b6d28c875e23e76e80ce 2283 ruby optional gem2deb_2.0.dsc
55eb7c2ee08c5e3ae5c586303f650509 74748 ruby optional gem2deb_2.0.tar.xz
e486c4674a9291133cc9174a75d70274 9744 ruby optional gem2deb_2.0_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmLZyB4ACgkQ/A2xu81G
C970VhAAtwWIvgop5skvcOATe89tCuD017as/Su0kPfpgVtW+53S4AFqZuwaqAZe
H8NQqCD/HVV5ZdEqUZCEfmjbjFYOsCr1pM9ekpaxM0vPAT4JkSikewxC0s5hJnPd
a6v7p159QQmiW0c3tdmAw0UrKq8CjUjw/4se4SlZjKxEwD+orJC94KFn/ZqXIypj
kcujFZkrZ/bmhkbTI2A3tuSH45//XC62i8KT1YEx9dFJVAXFsHwFHOhxHGWCamyd
ORu2xcUwlfV7WFMOuESpvADVOBOTcf/r+xL8cp6kZ+BvyeZB3ohmBcJj7DqZPZB0
l78uG8UZLAS2xUmtqFWK2Ge14hhtoMqPRMngRacBrgYLfcVsJTtCHkcGzc/EyVLs
NS9cuRLUYq6wKklcvYVRPYTwfZvRjZ1spZCJi27QlO0GOuBg1Mdbg9Kfv50QhptP
vIf09ZvHstjm04Ei+TO62EAOFK4UCO42zDVXuzqQJujCJC7jtItnY1eFpcOPIC77
eAGrBBf0rlXQ7eC56AOxVrh7R1SICzQT8aprcvbVzTN+6Wep1d73fMqC1KBjHubK
qe4QuIbpciR3QObyyqJmVywUQvmctiqsLG+8cjO6RSH4vzha2weU6nk9yci/R8ah
PKtahfiTKP2P2DicYUAHd3lyqU+/TzteIy2BCzwxGrfbNuRTOoA=
=/fPn
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers