Your message dated Tue, 04 Sep 2012 11:47:50 +0000
with message-id <[email protected]>
and subject line Bug#684198: fixed in ruby-mkrf 0.2.3+dfsg-3
has caused the Debian Bug report #684198,
regarding ruby-mkrf: FTBFS with ld that defaults to --as-needed: bad link order
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.)
--
684198: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684198
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ruby-mkrf
Version: 0.2.3+dfsg-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch quantal
ruby-mkrf fails to build with a linker that defaults to --as-needed.
This is because of incorrect link ordering: it puts libraries before the
objects that use them rather than after. See:
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
The attached patch fixes this.
Build log:
> cd
> /tmp/buildd/ruby-mkrf-0.2.3+dfsg/test/sample_files/libxml-ruby-0.3.8/ext/xml/;
> /usr/bin/ruby1.8 extconf.rb; rake
> extconf failure: need zlib
> [...]
> 1) Failure:
> test_that_libxml_compiles(TestSampleProjects)
> [./test/unit/../abstract_unit.rb:42:in `assert_creates_file'
> ./test/integration/test_sample_projects.rb:20:in
> `test_that_libxml_compiles']:
> ./test/integration/../sample_files/libxml-ruby-0.3.8/ext/xml/libxml_so.so
> wasn't created!.
> <false> is not true.
Description: Fix link command order so it works with ld --as-needed.
Author: Felix Geyer <[email protected]>
--- ruby-mkrf-0.2.3+dfsg.orig/lib/mkrf/availability.rb
+++ ruby-mkrf-0.2.3+dfsg/lib/mkrf/availability.rb
@@ -279,9 +279,9 @@ module Mkrf
def link_command
# This current implementation just splats the library_paths in
# unconditionally. Is this problematic?
- "#{@compiler} -o #{TEMP_EXECUTABLE} #{library_paths_compile_string}" +
- " #{library_compile_string} #{includes_compile_string}" +
- " #{TEMP_SOURCE_FILE}"
+ "#{@compiler} -o #{TEMP_EXECUTABLE}" +
+ " #{includes_compile_string} #{TEMP_SOURCE_FILE}" +
+ " #{library_paths_compile_string} #{library_compile_string}"
end
# Creates a temporary source file with the string passed
--- End Message ---
--- Begin Message ---
Source: ruby-mkrf
Source-Version: 0.2.3+dfsg-3
We believe that the bug you reported is fixed in the latest version of
ruby-mkrf, 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.
Cédric Boutillier <[email protected]> (supplier of updated ruby-mkrf
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, 04 Sep 2012 11:56:34 +0200
Source: ruby-mkrf
Binary: ruby-mkrf
Architecture: source all
Version: 0.2.3+dfsg-3
Distribution: unstable
Urgency: low
Maintainer: Debian Ruby Extras Maintainers
<[email protected]>
Changed-By: Cédric Boutillier <[email protected]>
Description:
ruby-mkrf - Ruby library generating Rakefiles to build C extensions to Ruby
Closes: 684198
Changes:
ruby-mkrf (0.2.3+dfsg-3) unstable; urgency=low
.
* Add 0700_fix_link_command_order.patch, solving FTBFS with --as-needed
linker flag. Thanks Felix Geyer for the patch (Closes: #684198).
Checksums-Sha1:
db36580974ac9a95f7ee1f23d2177eeba266e774 2107 ruby-mkrf_0.2.3+dfsg-3.dsc
a22ae9517cbd890521daeca4e4fc0699c1ea8f58 11442
ruby-mkrf_0.2.3+dfsg-3.debian.tar.gz
4cf049d0f1f58e00502508efa1916a31c050cc6e 15876 ruby-mkrf_0.2.3+dfsg-3_all.deb
Checksums-Sha256:
cf82c616025ccea19f11e8820690df860f6bf79e279f763eee50fa08f35e90e6 2107
ruby-mkrf_0.2.3+dfsg-3.dsc
5d15fd0a673d096673ed1df7a1299889a3680edbc9d85304574004f3b75945e7 11442
ruby-mkrf_0.2.3+dfsg-3.debian.tar.gz
965ed10e2d23d3bf9e08141bd00dab832a361a4bf7ad1617bfea16771c73cb70 15876
ruby-mkrf_0.2.3+dfsg-3_all.deb
Files:
ddd79beca176bb452877a8949c3d822c 2107 ruby optional ruby-mkrf_0.2.3+dfsg-3.dsc
43f968e380a7620a4845fa03597ccedc 11442 ruby optional
ruby-mkrf_0.2.3+dfsg-3.debian.tar.gz
8a622181bfe3c1567dced23a68d427c0 15876 ruby optional
ruby-mkrf_0.2.3+dfsg-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCgAGBQJQRedhAAoJENpJWPYR4UnpBYcP/jz2ukt0et6WiXL+UCppYwYf
s2eC8x7lHJ4QXHWEXu8EeMNRSZe6GbE8RHvE9mc4NzIPXrXuX2C+TwoJPLBG7xP7
S49lTP95BUtNEvpEcPgNEes+ODXUwfO6we+JvjCw5PAgSiMYpKgMn9H9tk37CW5b
I9LR02jo4AYE3FzK2q0d+zi+7UKQPhMrbwjfe7cUxmDw3WYoMA4Hf/jJYpq6zvXI
HRNqANfMF92Lo91emgaU/4jo6WZhVMhYmPfKZyC8nEflQywGw9rDO+rQMcyRdSwU
U0oMJImy8wrv5bHWbXuuB9N+WLuV8Z8lNOnE31xwHrWwbO4FAmNdtNeXzzU7djzk
nO9Vq6ojnwKaKYlKyQMfl4UYwYxbffMX2uM0+ktHAa9il/UwlrDazANCyCHr3orG
sKMPIZz+nFNJuY6MFDpUy/Og8YseF50r43Ibuc/84StPMaMjUFyaJX6Nssl2DI+F
mdgkaYkfpYKcmrLoJFQxgVZfnXUmogusGGI0HNmppB/QCq1MNxBlc4bEeATsonPQ
zDWqUh2/8RAAL7ijVYwsqZEU+pyXPGBKA0yEwJyBYf5lmkDdsOXBfZKLrYmw4a7D
F/xHVznxH1NkIo+5b7bR/5OyMeMy3ksatBp0eOwrnInOlnjx4DOfHkMZTL2T0bW9
noZ/+73GsENhjfhZAzD9
=Nk6P
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers