Your message dated Thu, 01 Dec 2022 19:49:32 +0000
with message-id <[email protected]>
and subject line Bug#1018217: fixed in gem2deb 2.1
has caused the Debian Bug report #1018217,
regarding gem2deb: fails to cross build to i386
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.)
--
1018217: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018217
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gem2deb
Version: 2.0.3
Tags: patch
User: [email protected]
Usertags: ftcbfs
Control: affects -1 + src:ruby-json
Hi Antonio,
many thanks for finalizing the cross build integration. It mostly just
works except for i386. This triplet value is actually two things. It's
"multiarch" (which is what we use for filesystem locations) and it is
the "gnu type" (which is the toolchain prefix). Those are equal almost
everywhere except for i386 (and any-i386) where the multiarch value is
i386-linux-gnu and the gnu triplet has been bumped to i686-linux-gnu.
You happen to apply the multiarch value to the toolchain and that fails.
Here's a patch for your convenience.
Note that we cannot just repurpose the def host_arch for gnu type,
because it actually is used for constructing multiarch paths.
Helmut
diff --minimal -Nru gem2deb-2.0.3/debian/changelog
gem2deb-2.0.3+nmu1/debian/changelog
--- gem2deb-2.0.3/debian/changelog 2022-07-31 01:44:54.000000000 +0200
+++ gem2deb-2.0.3+nmu1/debian/changelog 2022-08-27 10:31:42.000000000 +0200
@@ -1,3 +1,10 @@
+gem2deb (2.0.3+nmu1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix cross building to i386. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Sat, 27 Aug 2022 10:31:42 +0200
+
gem2deb (2.0.3) unstable; urgency=medium
* Gem2Deb::YAML: fix loading more metadata.yml files.
diff --minimal -Nru gem2deb-2.0.3/lib/gem2deb.rb
gem2deb-2.0.3+nmu1/lib/gem2deb.rb
--- gem2deb-2.0.3/lib/gem2deb.rb 2022-07-31 01:44:54.000000000 +0200
+++ gem2deb-2.0.3+nmu1/lib/gem2deb.rb 2022-08-27 10:31:42.000000000 +0200
@@ -102,6 +102,10 @@
@host_arch ||= `dpkg-architecture -qDEB_HOST_MULTIARCH`.strip
end
+ def host_arch_gnu
+ @host_arch_gnu ||= `dpkg-architecture -qDEB_HOST_GNU_TYPE`.strip
+ end
+
def cross_building?
build_arch != host_arch
end
@@ -110,7 +114,7 @@
@default_compiler ||= {}
@default_compiler[name] ||=
if cross_building?
- "#{host_arch}-#{name}"
+ "#{host_arch_gnu}-#{name}"
else
name
end
--- End Message ---
--- Begin Message ---
Source: gem2deb
Source-Version: 2.1
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, 01 Dec 2022 16:06:44 -0300
Source: gem2deb
Architecture: source
Version: 2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
Closes: 1018217 1019397
Changes:
gem2deb (2.1) unstable; urgency=medium
.
[ Antonio Terceiro ]
* dh_ruby: ignore XS-Ruby-Versions
* dh_ruby: print a warning if XS-Ruby-Versions is present
* metadata: ignore != in dependency specifications
* gem2deb: fix check for already downloaded .gem files
* dh-make-ruby, gem2deb: drop support for specifying Ruby versions
- Command line tools no longer provide a --ruby-versions option
- Generated debian/control templates no longer include either
XS-Ruby-Versions: or XB-Ruby-Versions:
* dh_ruby: drop support for ${ruby:Versions}
Packages using ${ruby:Versions} will now produce dpkg warnings during
build, since ${ruby:Versions} is no longer defined.
* test_helper: set DEBFULLNAME and DEBEMAIL
* gem2deb/rake/testtask: don't override task options.
This allows downstream users to set t.options.
* dh-make-ruby: produce pre-wrapped Depends: field
.
[ Helmut Grohne ]
* Fix cross building to i386 (Closes: #1018217)
* gem_installer: fix cross building (Closes: #1019397)
Checksums-Sha1:
d8cdada70482b77ad75083b639008714c38cc5b2 2309 gem2deb_2.1.dsc
2818d90fe9ade9de446f329d71f0e4170a2acd85 76644 gem2deb_2.1.tar.xz
adfc83fd6d4af289e3eab76211bde06c8f10b3fe 10056 gem2deb_2.1_amd64.buildinfo
Checksums-Sha256:
0d20c1121423c09f1ab72caceefb843625fdc45ff35f24b4415e7ef46efeb35f 2309
gem2deb_2.1.dsc
f529fbf01ca79e36267b7a61aa248994b0306cc9592fafe3080fabece58076e1 76644
gem2deb_2.1.tar.xz
5ef3a0f9fd6a891cfbe41ac6f147ba9f7233fc33c1cf4ca32f5ac86e49e48040 10056
gem2deb_2.1_amd64.buildinfo
Files:
9e4fddd167728346938864dc36e764a0 2309 ruby optional gem2deb_2.1.dsc
e5502515bbeb63e0d2237b3275156693 76644 ruby optional gem2deb_2.1.tar.xz
d3913b1cabebaa834f9704f522515646 10056 ruby optional
gem2deb_2.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmOJAokACgkQ/A2xu81G
C967fw/7BtobnNLDJQf73gUv/ixAtZ6XpDpk0K8jCR3A6uCMIM4wsGYc3RWzwOXP
wbqYmpFGFd0HjgioFeVZkTVDyVCaSZE2iaJBgpqBm+SLlVIrGw2ina7yf5agkmgn
fhRVf+h+ZFN0+yD3UyXxFBD/4wOa8xk0mGhkH+AnIQTECuqQgomI5PgQwdjmy7pR
c3YpXd4FRckzpRjhQMuYfnrtf+7/B5NUsjhlzRUL8fR5hmKTe0EDTdSlTOitYkM/
daC0f74oVBBx4yei3dpSbwq8fVHjjB5at6L1RQcy3UZAIkezbyRIhrtxYZQiVLDS
y1j8jJG3GsJfqoSH/iyxKqkjfBKw0Xx1YM3FBIGNfGg4ocOa7jAUhDoanofuuwUE
n40QpMEHJN7h+qb4gNhY29sMgQjjhuEOShx+YARBAm7bffysjGTopejYs7m8Ejuf
BFohaIi9oZ/EEZ4tEtF2WFtsEKkP3PKlVUhL1Yl23a9nsDy8GNnKdgN6unAJTIr0
sXe/h6n9Zfx0l6ro18bFbZ5fs2TXZpKqqMZhIjE+9GWsizlzMK2APlPbdH3rrdhH
oS6Ewyt9BVxG0vMV5eqgAgfG0bQA5T/95ZZQKO7X9U1WpDUuP8hItvNGOn4w+xoa
IpqLHSPKoEiqTQqTyhL9t5EKGpOxzqK+lIG8Y25blg2l2GY1t00=
=9Eqi
-----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