[DRE-maint] Bug#918916: Unicorn not reporting proper version for gemfile?

Dominik George natureshadow at debian.org
Thu Jan 10 20:01:06 GMT 2019


Control: severity -1 grave
Control: tag -1 + patch

Hi,

On Thu, Jan 10, 2019 at 08:08:29AM -0700, Justin Hallett wrote:
> Package: unicorn
> Version: 5.4.1-1
> 
> Preparing to unpack .../25-unicorn_5.4.1-1_amd64.deb ...
> Unpacking unicorn (5.4.1-1) over (5.4.0-1+b1) ...
> Setting up unicorn (5.4.1-1) ...
> insserv: warning: current start runlevel(s) (empty) of script `unicorn' overrides LSB defaults (2 3 4 5).
> insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `unicorn' overrides LSB defaults (0 1 6).
> Processing triggers for gitlab (11.5.6+dfsg-1) ...
> Could not find gem 'unicorn (~> 5.1)' in any of the gem sources listed in your
> Gemfile.

Stumled upon the same problem today.

Looking at the package, it seems the fix-gemspec.patch has been dropped
in the last upload, for no obvious reason and without being mentioned in
the changelog.

I tried to add it again, rebuilt the package, and it fixes the issue.

-nik
-------------- next part --------------
diff -Nru unicorn-5.4.1/debian/changelog unicorn-5.4.1/debian/changelog
--- unicorn-5.4.1/debian/changelog	2019-01-03 22:26:13.000000000 +0100
+++ unicorn-5.4.1/debian/changelog	2019-01-10 20:34:52.000000000 +0100
@@ -1,3 +1,10 @@
+unicorn (5.4.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add fix-gemspec.patch again.
+
+ -- Dominik George <natureshadow at debian.org>  Thu, 10 Jan 2019 20:34:52 +0100
+
 unicorn (5.4.1-1) unstable; urgency=medium
 
   * Team upload
diff -Nru unicorn-5.4.1/debian/patches/fix-gemspec.patch unicorn-5.4.1/debian/patches/fix-gemspec.patch
--- unicorn-5.4.1/debian/patches/fix-gemspec.patch	1970-01-01 01:00:00.000000000 +0100
+++ unicorn-5.4.1/debian/patches/fix-gemspec.patch	2019-01-10 20:34:52.000000000 +0100
@@ -0,0 +1,11 @@
+--- a/unicorn.gemspec
++++ b/unicorn.gemspec
+@@ -11,7 +11,7 @@ end.compact
+ 
+ Gem::Specification.new do |s|
+   s.name = %q{unicorn}
+-  s.version = (ENV['VERSION'] || '5.4.1').dup
++  s.version = '5.4.1'
+   s.authors = ['unicorn hackers']
+   s.summary = 'Rack HTTP server for fast clients and Unix'
+   s.description = File.read('README').split("\n\n")[1]
diff -Nru unicorn-5.4.1/debian/patches/series unicorn-5.4.1/debian/patches/series
--- unicorn-5.4.1/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ unicorn-5.4.1/debian/patches/series	2019-01-10 20:34:52.000000000 +0100
@@ -0,0 +1 @@
+fix-gemspec.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 902 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20190110/a261c57f/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list