Your message dated Mon, 20 Apr 2020 17:38:08 +0000 with message-id <[email protected]> and subject line Bug#954293: fixed in ruby2.7 2.7.0-6 has caused the Debian Bug report #954293, regarding ruby2.7: FTBFS on x32: misdetected as i386 or amd64 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.) -- 954293: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954293 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: ruby2.7 Version: 2.7.0-4 Severity: important Tags: ftbfs upstream Justification: fails to build from source on non-release arch […] gcc -I. -I.ext/include/x86_64-linux-gnux32 -I./include -I. -I./enc/unicode/12.1.0 -DSYMBOL_PREFIX= -o coroutine/x 86/Context.o -c coroutine/x86/Context.S coroutine/x86/Context.S: Assembler messages: coroutine/x86/Context.S:17: Error: invalid instruction suffix for `push' […] The problem lies in the top-level configure.ac: 2303 AC_ARG_WITH(coroutine, 2304 AS_HELP_STRING([--with-coroutine=IMPLEMENTATION], [specify the coroutine implementation to use]), 2305 [rb_cv_coroutine=$withval]) 2306 AS_CASE([$rb_cv_coroutine], [yes|''], [ 2307 AC_MSG_CHECKING(native coroutine implementation for ${target_cpu}-${target_os}) 2308 AS_CASE(["$target_cpu-$target_os"], […] 2312 [x*64-linux*], [ 2313 AS_CASE(["$ac_cv_sizeof_voidp"], 2314 [8], [ rb_cv_coroutine=amd64 ], 2315 [4], [ rb_cv_coroutine=x86 ], 2316 [*], [ rb_cv_coroutine= ] 2317 ) This basically assumes there are only two x86 architectures. For x32, the amd64 code might serve as start but won’t work as-is. I don’t see right now everything that would need to be patched, as it’s very sparsely commented, so I’d suggest using the generic im‐ plementation, probably ucontext. This can be achieved by adding a *BEFORE* line 2312: [x86_64-linux-gnux32], [ rb_cv_coroutine=ucontext ], Please apply as patch, so we can test this on the buildd, and forward it upstream when it works. This is kinda important because libselinux build-depends on this. https://buildd.debian.org/status/fetch.php?pkg=ruby2.7&arch=x32&ver=2.7.0-4&stamp=1582112521&raw=0 has the complete log of the failed build.
--- End Message ---
--- Begin Message ---Source: ruby2.7 Source-Version: 2.7.0-6 Done: Lucas Kanashiro <[email protected]> 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Lucas Kanashiro <[email protected]> (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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Mon, 20 Apr 2020 10:39:35 -0300 Source: ruby2.7 Architecture: source Version: 2.7.0-6 Distribution: unstable Urgency: medium Maintainer: Debian Ruby Team <[email protected]> Changed-By: Lucas Kanashiro <[email protected]> Closes: 951714 954293 Changes: ruby2.7 (2.7.0-6) unstable; urgency=medium . * Add patch to fix FTBFS on x32: misdetected as i386 or amd64 (Closes: #954293) * d/rules: add -fno-crossjumping to CFLAGS (Closes: #951714) * Make 64-bit-only symbols optional to fix FTBFS on i386/armhf Checksums-Sha1: e748abffc9f3d4587b5925dc638b903824d4eebd 2492 ruby2.7_2.7.0-6.dsc de2ba4bc7cab697061ad0ccdbd69009b8c7449ab 111652 ruby2.7_2.7.0-6.debian.tar.xz Checksums-Sha256: fe8caf817297e59a1603dfc92f8fea88474a7a82e62d966de2a955c6a4593feb 2492 ruby2.7_2.7.0-6.dsc 088c928ce2948202cb88075c407334b5f3676f4dc4b8a02a0c14448ab2646cd4 111652 ruby2.7_2.7.0-6.debian.tar.xz Files: 39cdb1ef7eca29b20ca7477b8cabef47 2492 ruby optional ruby2.7_2.7.0-6.dsc ce0b9b8d43d2436110db8a243121300f 111652 ruby optional ruby2.7_2.7.0-6.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEjtbD+LrJ23/BMKhw+COicpiDyXwFAl6d2MUVHGthbmFzaGly b0BkZWJpYW4ub3JnAAoJEPgjonKYg8l81tsP/0NjoGgJrpQ4C7NyUkS2+ZqVSHld eMyKP0KVz1RmICuS3GtwqryM5JpjjI1yF1ZBY5l+qekDE9tVxOSwWnmlWVqs7hTe +nIjBLoiwJMCj3I7OZcbYSCViPqsBbhEni9syzVVbkox48V6cDUVP5C97maB6WsV lPvysQmsoJtnA60F1H31VdRAbqt88dfjVoPEAR1XYE49/Ugb3idEzYuGa88liBs9 0aZQDWBdtW+25ZPj5YjAu+0UVMCBFtSzCTRXL9B6oEL74LHfuiOXAihP0aA5nyXl aYEwXOIyA09PizJJM8UuCQGcWwAYLGBpREC6qfYNZUcBNU+Ssi76azyocOo/SXWz uPNXhexZ7UuBSxDoPjxKworzsEEj5hqrJsuBXBI6AMrOAm5xv9lzfL73gHVHiESC OV5rlXQrjyXOjzdg/XoIzyxn9RPMdT7PVCfROA0fLuOxLGl+tvjVgyifwri9DCcN M3PsPRAjthGJEYzS5o8s5jbEJzzjZGyPgVtOK7G2IEaTphuyYgLWhRjMkFB1K1UE rAn1kyhfxSYIs6K2guuSSYMQDtbfpgO76vtwti8qGt0gRD6vM9aNBRhS8EV264Wa HoJnYZT6UPPOutA074nrOw3X/qzwih65y4so4rDBzviMx1cFnc3yK0TiyCOB/KP+ 002/D3ZLv1fD4IZH =nyKk -----END PGP SIGNATURE-----
--- End Message ---

