Your message dated Mon, 17 Aug 2015 11:50:11 +0000 with message-id <[email protected]> and subject line Bug#795367: fixed in mruby 1.1.0+20150817+gita1731254-1 has caused the Debian Bug report #795367, regarding src:mruby: FTBFS on ppc64el 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.) -- 795367: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795367 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: src:mruby Version: 1.1.0+20150807+git4fdf4922-1 Severity: normal Tags: patch Dear Maintainer, While trying to build the package on ppc64el, the tests fail: Total: 853 OK: 852 KO: 1 Crash: 0 Time: 0.39 seconds rake aborted! Command Failed: ["build/host/test/mrbtest" -v] Rakefile:122:in `block (2 levels) in <top (required)>' make[1]: *** [test] Error 1 dh_auto_test: make -j1 test returned exit code 2 make: *** [build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 Makefile:12: recipe for target 'test' failed make[1]: Leaving directory '/«BUILDDIR»/mruby-1.1.0+20150807+git4fdf4922' It seems coming from the options given to gcc, especially those ones: -g3 -O0. As said in documention: "GCC allows you to use -g with -O. The shortcuts taken by optimized code may occasionally produce surprising results". In this case, for ppc64el, it makes fail a test with large doubles and prevents the packages to be built. The attached patch removes the -O0 option when building the package for ppc64el architecture. Thanks for considering this patch. Regards, Erwan. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.16.0-4-powerpc64le Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dashdiff -Naur a/debian/patches/ppc64el.patch b/debian/patches/ppc64el.patch --- a/debian/patches/ppc64el.patch 1970-01-01 01:00:00.000000000 +0100 +++ b/debian/patches/ppc64el.patch 2015-08-13 13:00:26.273811806 +0200 @@ -0,0 +1,13 @@ +diff -Naur a/tasks/mruby_build.rake b/tasks/mruby_build.rake +--- a/tasks/mruby_build.rake 2015-08-13 12:55:56.705826133 +0200 ++++ b/tasks/mruby_build.rake 2015-08-13 12:59:50.785813692 +0200 +@@ -100,7 +100,8 @@ + compilers.each do |c| + c.defines += %w(MRB_DEBUG) + if toolchains.any? { |toolchain| toolchain == "gcc" } +- c.flags += %w(-g3 -O0) ++ c.flags += %w(-g3) ++ c.flags += %w(-O0) if ENV['DEB_TARGET_ARCH'] != 'ppc64el' + end + end + @mrbc.compile_options += ' -g' diff -Naur a/debian/patches/series b/debian/patches/series --- a/debian/patches/series 2015-08-13 12:55:56.725826132 +0200 +++ b/debian/patches/series 2015-08-13 13:02:44.593804455 +0200 @@ -1 +1,2 @@ enable_verbose_build.patch +ppc64el.patch
--- End Message ---
--- Begin Message ---Source: mruby Source-Version: 1.1.0+20150817+gita1731254-1 We believe that the bug you reported is fixed in the latest version of mruby, 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. Nobuhiro Iwamatsu <[email protected]> (supplier of updated mruby 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, 17 Aug 2015 19:53:07 +0900 Source: mruby Binary: mruby libmruby-dev Architecture: source amd64 Version: 1.1.0+20150817+gita1731254-1 Distribution: unstable Urgency: medium Maintainer: Nobuhiro Iwamatsu <[email protected]> Changed-By: Nobuhiro Iwamatsu <[email protected]> Description: libmruby-dev - lightweight implementation of the Ruby language (development file mruby - lightweight implementation of the Ruby language Closes: 795367 795407 Changes: mruby (1.1.0+20150817+gita1731254-1) unstable; urgency=medium . * Snapshot, taken from the master (20150817). * Add patches/change_optimize_O2.patch. (Closes: #795367) * Add patches/add_fpic_amd64.patch. (Closes: #795407) Checksums-Sha1: df564f38baa49aab4957697efcab04eadca8df57 2011 mruby_1.1.0+20150817+gita1731254-1.dsc db08cbcd1697bee5d1e1277d60bcc3d5c83efd9a 379758 mruby_1.1.0+20150817+gita1731254.orig.tar.gz d98724d4dd3476d5de28e199fc5a67d9dbe57c92 4016 mruby_1.1.0+20150817+gita1731254-1.debian.tar.xz dc3ebc68940dff1d75c4fdc86d016a017ee62571 252998 libmruby-dev_1.1.0+20150817+gita1731254-1_amd64.deb 6fad6e48e95c959d9745bfd6e4a7af49756584db 276710 mruby_1.1.0+20150817+gita1731254-1_amd64.deb Checksums-Sha256: bd501d9fa61a26e242ff6773c610092a79d89613478fa1830387ba40230f9257 2011 mruby_1.1.0+20150817+gita1731254-1.dsc 8e6a2ea85cd4d79ffb20c06b6371e1acfc9dad10fc2a7666d51719c61fd4977b 379758 mruby_1.1.0+20150817+gita1731254.orig.tar.gz 1bb02f937b456c14c419485982c53725aa510ee590515ba1271fe285e59175f9 4016 mruby_1.1.0+20150817+gita1731254-1.debian.tar.xz 8b6f3f076f12fce67f43469547d07629bac894e46e37b69235f2ad2d26580557 252998 libmruby-dev_1.1.0+20150817+gita1731254-1_amd64.deb ce45bf496639f420f85b48e07efda0ee08c7e57f3ee3914caac41781e92b0a7a 276710 mruby_1.1.0+20150817+gita1731254-1_amd64.deb Files: 047e84579353b6a0e8bf0fd40fd784f3 2011 ruby extra mruby_1.1.0+20150817+gita1731254-1.dsc 716312b9f63ae61030dbd55c0f904c52 379758 ruby extra mruby_1.1.0+20150817+gita1731254.orig.tar.gz b47e8555a838e8cd2a261fb384353ab9 4016 ruby extra mruby_1.1.0+20150817+gita1731254-1.debian.tar.xz cee7c9425b88b87c9321053d6b5e2fd5 252998 libdevel extra libmruby-dev_1.1.0+20150817+gita1731254-1_amd64.deb e38658f73a6a2c53c79e09fa2dc42131 276710 ruby extra mruby_1.1.0+20150817+gita1731254-1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJV0ceTAAoJEDIkf7tArR+m/LsP/3C79SVmSsnfvAGP934xqwWy TpjdcAyOShvTj/0qYhXDao8tua2cgwj3+Fv2r7+HGO3SzjSywikIea5o6nAn6ylQ MasbP1RdvmGN/3tRFLR8oFMMsWvqD+4nYpqoHXEpKg9oCeWnxh0yJ5TDlYgSTZtQ O6aLm7+Y2ZZUr2UpZUzX55nAng1b8tBw2euw4WlxcoUS6n8F2lj3YcMrr6AhUScs WQU5kjOFMYTey0dfhqoZG2SJK/p+vOeiqkBiySVlMECNJqXtCGymJeDc+mNrRjOL JUOWo7iQKrkI8yB59qbP/SCJQkzJx+UXjyZOHjfNAiyNvt2KFJeqbLZYoocVaJUW zIP51gI/UyXrlc7iF2SKUF2tC9Vm3aN1bpSPHAmwE3tFZ3cxwcljuOI9EkbDGY3J C9cBCeDLdvsFlx8qDKy6yb9eWatQR6mAsa9wCvI5x/TBM2Dm9cxIStaG8/5oUaUP klF7NwJx42btSttHpt/xyXsq1YBlMQsQhr8uhzH4rEX88FiZQUHA2qVOyyVrbq+z 1ftyBMkXpBI4Uz+HZuh+cll27Jciy3ZkXGgJt+uuzT6ZCGBtVnOTtkDJgcHeOXcf mRnwRCApaaS/gXJjIl7cF6HxOwf4xXXns1IO+T/Y2NeFHYAfASOiqgDUJJ7o/9dF m2RLhc+3exITlj0coZ/I =b9DA -----END PGP SIGNATURE-----
--- End Message ---

