Your message dated Tue, 18 Nov 2025 20:37:39 +0000
with message-id <[email protected]>
and subject line Bug#1095592: fixed in gem2deb 2.2.6
has caused the Debian Bug report #1095592,
regarding gem2deb is weird when cross building
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.)


-- 
1095592: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095592
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gem2deb
Version: 2.2.5
Tags: patch
User: [email protected]
Usertags: ftcbfs

Hi,

gem2deb behaves weirdly when it is cross built. This is how it looks:

|  debian/rules clean
| /usr/bin/ruby: 1: ELF[GIBBERISH]3616418   : not found
| /usr/bin/ruby: 1: [GIBBERISH]: not found
| /usr/bin/ruby: 1: [GIBBERISH]: not found
| /usr/bin/ruby: 1: T[GIBBERISH]: not found
| /usr/bin/ruby: 1: k: not found
| /usr/bin/ruby: 1: [GIBBERISH] not found
| /usr/bin/ruby: 2: Syntax error: word unexpected (expecting ")")
| dh clean

Evidently, the build dependency on ruby is satisfied with a host
architecture interpreter that cannot be run. It is quite surprising that
the build does not fail here and I suspect that the lack of failure is a
violation of Debian policy 10.4.

In more recent sbuild, a recent apt feature called "barbarian
architectures" is enabled. It prevents this situation from happening by
refusing to install a foreign ruby package. When using that, what
happens is this:

| The following packages have unmet dependencies:
|  rake : Depends: ruby:any
|  ruby-rubygems : Depends: ruby:any
| E: Unable to correct problems, you have held broken packages.
| apt-get failed.

I think it is pretty clear that what was meant here is installing a
build architecture ruby interpreter. Given that it actually fails on
recent sbuild, I am tracking it as a FTCBFS. Patch attached.

Helmut
diff --minimal -Nru gem2deb-2.2.5/debian/changelog 
gem2deb-2.2.5+nmu1/debian/changelog
--- gem2deb-2.2.5/debian/changelog      2024-11-13 21:30:42.000000000 +0100
+++ gem2deb-2.2.5+nmu1/debian/changelog 2025-02-07 21:01:41.000000000 +0100
@@ -1,3 +1,10 @@
+gem2deb (2.2.5+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use a runnable ruby interpreter for cross building. (Close :-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 07 Feb 2025 21:01:41 +0100
+
 gem2deb (2.2.5) unstable; urgency=medium
 
   [ Chris Hofstaedtler ]
diff --minimal -Nru gem2deb-2.2.5/debian/control 
gem2deb-2.2.5+nmu1/debian/control
--- gem2deb-2.2.5/debian/control        2024-11-13 21:30:42.000000000 +0100
+++ gem2deb-2.2.5+nmu1/debian/control   2025-02-07 21:01:40.000000000 +0100
@@ -14,7 +14,7 @@
                dpkg-dev (>= 1.17.14),
                python3-debian <!nocheck>,
                rake <!nocheck>,
-               ruby (>= 1:2.1.0.3~),
+               ruby:any (>= 1:2.1.0.3~),
                ruby-all-dev (>= 1:2.5),
                ruby-mocha <!nocheck>,
                ruby-rspec <!nocheck>,

--- End Message ---
--- Begin Message ---
Source: gem2deb
Source-Version: 2.2.6
Done: Lucas Nussbaum <[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.
Lucas Nussbaum <[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: SHA512

Format: 1.8
Date: Tue, 18 Nov 2025 20:46:09 +0100
Source: gem2deb
Architecture: source
Version: 2.2.6
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<[email protected]>
Changed-By: Lucas Nussbaum <[email protected]>
Closes: 971553 1036126 1064462 1094649 1095592
Changes:
 gem2deb (2.2.6) unstable; urgency=medium
 .
   [ Antonio Terceiro ]
   * dh-make-ruby: Standards-Version: get latest debian-policy version
   * Demote devscripts from Depends: to Recommends:
   * autopkgtest: reproducible-extensions: use debrepro instead of reprotest
   * activate.bash: use absolute location of source
   * dh-make-ruby: generate build dependency on current gem2deb version
     (Closes: #1036126)
   * Gem2Deb::Source: handle debian/control according to deb822
     (Closes: #1064462)
   * debian/copyright: update copyright statement (Closes: #971553)
   * debian/rules: move test targets under override_dh_auto_test
   * Build-Depends: mark everything other than debhelper as <!nocheck>
     (Closes: Bug#1095592)
   * Depends: bump debhelper-compat to (= 13)
   * dh-make-ruby: stop creating .gitattributes
   * Drop debian/.gitattributes
 .
   [ Ananthu C V ]
   * Ignore mentioned tests entirely if DH_RUBY_IGNORE_TESTS is set
     (Closes: #1094649)
   * Remove unused code for handling test failures when DH_RUBY_IGNORE_TESTS is
     set
   * Add question mark to method name end for consistency
 .
   [ Lucas Nussbaum ]
   * debian/salsa-ci.yml: use team-specific include
   * debian/salsa-ci.yml generation: use team-specific include
Checksums-Sha1:
 adca20e2855848558794a8c546d1ddc224057278 2309 gem2deb_2.2.6.dsc
 b29eb4a390bf8aabdbd03d98dc9c301f7a515898 80340 gem2deb_2.2.6.tar.xz
 22b703bd34be6dc8a4982bf3ce7d4ba7268a2f6a 13038 gem2deb_2.2.6_source.buildinfo
Checksums-Sha256:
 b341f2901a328de47245f67b129fb50c86a9dc67fc803488df963698a0e0d508 2309 
gem2deb_2.2.6.dsc
 fc26826b3a41ebbc590cb79accd0f6218a80135197c1844f470914290f97942d 80340 
gem2deb_2.2.6.tar.xz
 e558d0179455dff9d85d24c30cf3ad7700eb253de4529fe0a13c3c20bb5bdb6f 13038 
gem2deb_2.2.6_source.buildinfo
Files:
 7273165c8b7925044745d5f9406a2295 2309 ruby optional gem2deb_2.2.6.dsc
 210742947eafdd3798910c2b755443f9 80340 ruby optional gem2deb_2.2.6.tar.xz
 5f427e3807b4785373b869dab1181d04 13038 ruby optional 
gem2deb_2.2.6_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE/t7ByzN7z1CfQ8IkORS1MvTfvpkFAmkcznkACgkQORS1MvTf
vplE4xAAg2oYzOmTmv2ch9pswTLOaWhIelXOWhznXEFzCkK0kuxs1N679Y8J6UxP
QzA15SgAEPezntf5pTnE4XCS8cB9GkaNsFSnjm2kshudueHic+xBbpO2lvuISl63
rVb30FvJ1vHkdeif1rrUY63vF20ulEAysNns30mpNakEA/fIeFcBdHW4WN/BjO5h
vMgCAe08wnppzIyYzmZawu412pFDWaW87YkE5V5xEagnsALfMBNrAKlgnrvJ6MjD
36/KMEbnRpMao6W6kjeHhMl+ecrmnLCQbShPFzadEI9w7Sb6aszdFw2qoQ4SVVif
K41Nl7unicdZYHupVaNshUCW+3aemrvlgIfhSe/UK+7s+rKgD2c7AQFCS6yBx5Cp
7x5fiy5bDmWNIr8QFGt2N3d0KIRK9mjFW1j+mGB18wgdbhcAciIbTp56BAF7/xwd
LbeOBqCGMdlhSZ+vCIaR3pwxIloWe7+I39J+wlLOVtIGCpV8oGSxGNiCMzFJ+IyL
taUmPXflxeP8loEEyOxR4yg/QYdm2GfihZh6h7j+Ubh79MtGbWJC0RMUfo9pd7rO
QTe+b4foLzONwujllHAB7Iytj3ces+dcfomW0e5woxNhsDekqNpfzIwQvuCF9sJW
pvYFNEEEfGtxbxZC854oKaE0EsiCaEAG4TjlYpHd9jZk1insdRs=
=sCSO
-----END PGP SIGNATURE-----

Attachment: pgpOHG2i70gAd.pgp
Description: 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

Reply via email to