Your message dated Sat, 12 May 2012 10:47:27 +0000
with message-id <[email protected]>
and subject line Bug#542491: fixed in ruby-chronic 0.6.7-1
has caused the Debian Bug report #542491,
regarding libchronic-ruby: Chronic smashes ruby's library search path
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.)
--
542491: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542491
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libchronic-ruby
Version: 0.2.3-1
Severity: normal
Tags: patch
Chronic is smashing the ruby library search path with the first line
of /usr/lib/ruby/1.8/chronic.rb:
$:.unshift File.dirname(__FILE__) # For use/testing when no gem is installed
This causes problems when trying to prepend items to the library
search path from the command-line. For example, when trying to run the
sup mail client from a git checkout, sup recommends that one run:
ruby -I ./lib -w ./bin/sup
The current libchronic-ruby breaks this invocation in the case that an
older copy of sup is installed in /usr/lib/ruby/1.8, (for example from
the sup-mail Debian package).
What happens is that many of sup's files are loaded from ./lib, until
chronic is loaded. After that, subsequent sup files are loaded from
/usr/lib/ruby/1.8 and as can be imagined, that leads to lots of
failure.
Removing the line above from chronic.rb fixes this problem, (see
trivial patch below).
-Carl
PS. I wanted to submit this bug upstream, but failed to find any
contact information at http://chronic.rubyforge.net. So I'm grateful
that Debian gives me a place to lodge the report for now.
diff -urN libchronic-ruby-0.2.3-orig/lib/chronic.rb
libchronic-ruby-0.2.3/lib/chronic.rb
--- libchronic-ruby-0.2.3-orig/lib/chronic.rb 2009-08-19 14:49:34.000000000
-0700
+++ libchronic-ruby-0.2.3/lib/chronic.rb 2009-08-19 14:48:49.000000000
-0700
@@ -7,8 +7,6 @@
#
#=============================================================================
-$:.unshift File.dirname(__FILE__) # For use/testing when no gem is
installed
-
require 'chronic/chronic'
require 'chronic/handlers'
--- End Message ---
--- Begin Message ---
Source: ruby-chronic
Source-Version: 0.6.7-1
We believe that the bug you reported is fixed in the latest version of
ruby-chronic, which is due to be installed in the Debian FTP archive:
libchronic-ruby_0.6.7-1_all.deb
to main/r/ruby-chronic/libchronic-ruby_0.6.7-1_all.deb
ruby-chronic_0.6.7-1.debian.tar.gz
to main/r/ruby-chronic/ruby-chronic_0.6.7-1.debian.tar.gz
ruby-chronic_0.6.7-1.dsc
to main/r/ruby-chronic/ruby-chronic_0.6.7-1.dsc
ruby-chronic_0.6.7-1_all.deb
to main/r/ruby-chronic/ruby-chronic_0.6.7-1_all.deb
ruby-chronic_0.6.7.orig.tar.gz
to main/r/ruby-chronic/ruby-chronic_0.6.7.orig.tar.gz
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.
Per Andersson <[email protected]> (supplier of updated ruby-chronic 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: Sun, 15 Apr 2012 12:46:15 +0200
Source: ruby-chronic
Binary: ruby-chronic libchronic-ruby
Architecture: source all
Version: 0.6.7-1
Distribution: unstable
Urgency: low
Maintainer: Debian Ruby Extras Maintainers
<[email protected]>
Changed-By: Per Andersson <[email protected]>
Description:
libchronic-ruby - Transitional package for ruby-chronic
ruby-chronic - natural language date parser
Closes: 542491 578467 660501
Changes:
ruby-chronic (0.6.7-1) unstable; urgency=low
.
* New maintainer. (Closes: #660501)
* New upstream version. (Closes: #578467, #542491)
* Bumped standards version to 3.9.3 (no changes needed).
* Changed to gem2deb packaging.
- Rename source and binary packages to ruby-chronic.
- Add libchronic-ruby transitional package.
- Run tests during build.
- BUild for all ruby versions.
* Cosmetic update of description.
* Update copyright file to DEP-5 format.
* Use source format 3.0 (quilt).
* Add watch file.
* Update docs.
- README.txt renamed README.md.
- Add HISTORY.md.
Checksums-Sha1:
931aea705270f88a07c90ebf83702d872f325735 2095 ruby-chronic_0.6.7-1.dsc
452c71dedeaf237abcd40a525d6a3fddac6958f9 33160 ruby-chronic_0.6.7.orig.tar.gz
1a9b9753d4aaadb104f974021fe9be3d6ce3c782 2821
ruby-chronic_0.6.7-1.debian.tar.gz
4781e80f4fad31b97b258d1b47ca4cfc2c81f192 27674 ruby-chronic_0.6.7-1_all.deb
6d9c7c380663aa3d621d47337c5ca195efb9b34c 2768 libchronic-ruby_0.6.7-1_all.deb
Checksums-Sha256:
6be3677a716db8cc5e50f7da20e8ee68c2b578e0c4a16d1dfe25e8c9e67695a5 2095
ruby-chronic_0.6.7-1.dsc
6e1abfcd379b364cf5657e7072da25d9b1e4deed1e0c0be07a9a6dc6d82a847d 33160
ruby-chronic_0.6.7.orig.tar.gz
56797ff1ed5fffb72f6fbfcbd912cf5b3dbb1aaa09782da5c517eebbb4d0609b 2821
ruby-chronic_0.6.7-1.debian.tar.gz
5f54fd46a6f345c934b15acc0169ba943add165e6716f4be4c9ce9b8ed866a9d 27674
ruby-chronic_0.6.7-1_all.deb
fccacde0f2e932a2889ac2d946d706d07b6937c7a0777645c2d5dc2a4af2e785 2768
libchronic-ruby_0.6.7-1_all.deb
Files:
27334e99cde50d9e926fff6cafba319e 2095 ruby optional ruby-chronic_0.6.7-1.dsc
c5dc8227e873f1c24aea2c43d13a4b89 33160 ruby optional
ruby-chronic_0.6.7.orig.tar.gz
69f33f887271003338983e4a6fa0c191 2821 ruby optional
ruby-chronic_0.6.7-1.debian.tar.gz
4d8ff6be2bf9e7566bfdefd9e42a8e73 27674 ruby optional
ruby-chronic_0.6.7-1_all.deb
c8cdd9d7f39ec1d6dae019f060fd5230 2768 oldlibs extra
libchronic-ruby_0.6.7-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJPm0xIAAoJEGc6A+TB25IfMr4QALuECKoFBVxWU28mecx8fX4a
RV1htE+48vE2ZjQ1VUtojcHl4Y4Mo0SJLg1WNwUtfSm33ekE0x0D7niy/DQTTWFf
Nc9R3CYl9MG1+NvfP5phfvglarayw6SQ8MEUuDlB5EcJoyZRWBYE/HT7wG0rzofq
RO08uxjmdY/zl2kMFq14DyCWCxq6biOU861qC72cHrgHDr9tXlnOfe0++KyPmMHF
Ju/4TEBoiUIgrbPuINNnOEFzDOYuKNjg39P7NK4CvOEYD6peWwyqzzahH6jXBn6M
6Pt65fxE3+80Uoytm5GyvuhVV9sE4ZSuMtMYZYpw0ZqliOKFtFDRdswH+7DdSuJN
4y+8oHh7vD8zDMvlPNfahUjZmPy6lZ4VKRa8xVYeBch9f1SbGfdzuzMgaoyJLLYA
iOGudO76ZWTVqZuPuHlykOjD/npWEntUfdbEEtsJ0UKrJUNhQw/XOmTNO0+X7jl6
YB1VCATjzUC7Tke2YoqRKIM+PnFge0I16g+4vaopuL7/efFtHznDGCVs9cqWBj1v
bjV5dJ1V1nsE0a5iypByqh0acJWWFG3VEGCUQqbJ3q8jpG8BVE8H7iGLWghShlCL
MpvQGLCFynY1UAie6tJ6l5YTiAfp2KwhzlCiShqhQjH/bwUucGFtJrXp+d54imuE
5XVmYmmsgtuwGivfJuJ0
=qz+x
-----END PGP SIGNATURE-----
--- End Message ---