[DRE-maint] Bug#800108: gem2deb: permanently broken when cache is missing

brian m. carlson sandals at crustytoothpaste.net
Sat Sep 26 22:17:51 UTC 2015


Package: gem2deb
Version: 0.21.1
Severity: normal

When I run gem2deb, it complains about the cache missing and says it
will be rebuilt the next time.  However, it never does so and it refuses
to work without it:

  vauxhall ok % gem2deb twofish-1.0.5.gem
  -- Creating source tarball from twofish-1.0.5.gem ...
  tar xfm /home/bmc/tmp/gem/twofish-1.0.5.gem
  "tar xzfm data.tar.gz"
  "zcat metadata.gz > metadata.yml"
  tar czf /home/bmc/tmp/gem/twofish-1.0.5.tar.gz twofish-1.0.5
  -- Successfully created ./twofish-1.0.5.tar.gz
  
  -- Creating Debian source package from ./twofish-1.0.5.tar.gz ...
  E: Failed to load "gem name to package name" cache from
     /home/bmc/.cache/gem2deb/gem_to_packages.yaml
  I: The existing cache was removed and will be rebuilt next time.
  I: please try again.

Running the same command again results in the same behavior.

After looking at the source code, running the following command seems to
fix it:

  printf '---\n{}\n' > ~/.cache/gem2deb/gem_to_packages.yaml

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_US.UTF-8, LC_CTYPE=es_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gem2deb depends on:
ii  build-essential      12.1
ii  debhelper            9.20150811
ii  devscripts           2.15.8
ii  gem2deb-test-runner  0.21.1
ii  perl                 5.20.2-6
ii  python3-debian       0.1.27
ii  ruby                 1:2.1.5.1
ii  ruby-all-dev         1:2.1.5.1
ii  ruby-setup           3.4.1-9

Versions of packages gem2deb recommends:
ii  apt-file  2.5.4

gem2deb suggests no packages.

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20150926/64fb8079/attachment.sig>


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