Your message dated Mon, 17 Aug 2015 11:50:11 +0000 with message-id <[email protected]> and subject line Bug#795407: fixed in mruby 1.1.0+20150817+gita1731254-1 has caused the Debian Bug report #795407, regarding libmruby-dev: static library compield without -fPIC on x86_64 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.) -- 795407: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795407 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Subject: libmruby-dev: static library compield without -fPIC on x86_64 Package: libmruby-dev Version: 1.0.0+20141015+gitb4cc962c-1 Severity: important Tags: newcomer upstream Dear Maintainer, * What led up to the situation? I was trying to compile a dynamic library (.so) that linked against libmruby. libmruby comes as a static library (.a). For a dynamic lib on x86_64, the -fPIC compiler flag needs to be used on all object files. In my case this includes the object files in libmruby.a * What exactly did you do (or not do) that was effective (or ineffective)? gcc -shared -o foo.so foo.o -lmruby -lm * What was the outcome of this action? on x86_64 gcc error message that all objects need to be compiled with -fPIC. On i386 it worked. * What outcome did you expect instead? I'd expect all static libraries installed from -dev packages be compiled with -fPIC on x86_64, since a random user project may want to link them in a dynamic lib. * My local hack to solve the problem apt-get source libmruby-dev edit build_config.rb: uncomment the "conf.cc do |cc|" line and its "end", then add cc.flags = '-fPIC' rebuild the package and install Proposed solution: enable -fPIC on x86_64 only and/or also compile a .so of the mruby lib. * Upstream Downloaded the official release pack for 1.0.0 and 1.0.1, they both compiled without -fPIC by default, so the problem is present in the upstream. -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Init: sysvinit (via /sbin/init) -- no debconf information Best regards, Tibor Palinkas
--- 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 ---

