Your message dated Sat, 13 Jun 2015 01:35:09 +0000
with message-id <[email protected]>
and subject line Bug#786841: fixed in gem2deb 0.18
has caused the Debian Bug report #786841,
regarding generate_or_update_gem_to_package_data: undefined method `invert' for 
false:FalseClass (NoMethodError)
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.)


-- 
786841: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786841
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gem2deb
Version: 0.16
Severity: normal

I've been observing the following error while running `gem2deb molinillo`:
-----
molinillo doesn't seem to exist. Let's try to download it with 'gem fetch 
molinillo'
gem fetch molinillo
Downloaded molinillo-0.2.3
-- Creating source tarball from molinillo-0.2.3.gem ...
tar xfm /home/ch/Debian/pkg-ruby-extras/molinillo-0.2.3.gem
"tar xzfm data.tar.gz"
"zcat metadata.gz > metadata.yml"
tar czf /home/ch/Debian/pkg-ruby-extras/molinillo-0.2.3.tar.gz molinillo-0.2.3
-- Successfully created ./molinillo-0.2.3.tar.gz

-- Creating Debian source package from ./molinillo-0.2.3.tar.gz ...
/usr/lib/ruby/vendor_ruby/gem2deb/dh_make_ruby.rb:145:in 
`generate_or_update_gem_to_package_data': undefined method `invert' for 
false:FalseClass (NoMethodError)
         from /usr/lib/ruby/vendor_ruby/gem2deb/dh_make_ruby.rb:64:in 
`initialize'
         from /usr/bin/gem2deb:96:in `new'
         from /usr/bin/gem2deb:96:in `<main>'
-----

A bit of debugging suggests that this happens because my apt-file cache
was empty, and then apt-file search returns an empty result, yielding
an invalid YAML file (after the sed processing), causing YAML.load
on dh_make_ruby.rb:145 to return false.

Maybe a check for false or a too-small cache file could be added
in generate_or_update_gem_to_package_data.

AFAICT, the version in jessie is also affected by this.

Best,
C.


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_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      11.7
ii  debhelper            9.20150101
ii  devscripts           2.15.3
ii  gem2deb-test-runner  0.16
ii  perl                 5.20.2-3
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-7

Versions of packages gem2deb recommends:
ii  apt-file  2.5.4

gem2deb suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: gem2deb
Source-Version: 0.18

We believe that the bug you reported is fixed in the latest version of
gem2deb, 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.
Antonio Terceiro <[email protected]> (supplier of updated gem2deb 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: Fri, 12 Jun 2015 22:17:18 -0300
Source: gem2deb
Binary: gem2deb gem2deb-test-runner
Architecture: source all
Version: 0.18
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
Description:
 gem2deb    - Debian Ruby packaging suite
 gem2deb-test-runner - Debian Ruby packaging suite - tool to run tests
Closes: 786841
Changes:
 gem2deb (0.18) unstable; urgency=medium
 .
   * make dh-make-ruby resilient against a corrupt "gem name to package name"
     cache (Closes: #786841)
   * dh_ruby: install gemspecs _before_ running tests so that checking
     dependencies when running tests actually works.
   * gem2deb-test-runner: fix dependency checking during build (by fixing name
     of Rubygems environment variable, s/GEMPATH/GEM_PATH/)
   * gem2deb-test-runner: when called with --check-dependencies, do not exit
     after successfully checking dependencies, but before running tests.
Checksums-Sha1:
 dd973758d67f345a18c9cba9a69dd710d60dc08c 2179 gem2deb_0.18.dsc
 c8c9503c57e9893ae16cf38796440afed12ac5ba 54904 gem2deb_0.18.tar.xz
 7a7bb00841052595957649ea9c032146aa52d94a 15734 gem2deb-test-runner_0.18_all.deb
 17abd2b50001979238469d1a90538145a2e3c237 51012 gem2deb_0.18_all.deb
Checksums-Sha256:
 20d1d9d0a96dab0c106cf7b1d2670fc8594db371acb34246dd262962f95ef670 2179 
gem2deb_0.18.dsc
 2090d1f8ec8f2045e12dcacf47f3dd311a905d7df5fa3b7d050029d99a3a967c 54904 
gem2deb_0.18.tar.xz
 412b831b5017f6e1f4041d7bd38d78ffbae852b91801970a43aa19f4db6bd020 15734 
gem2deb-test-runner_0.18_all.deb
 ee7269e64591ee0b9a15eb390f09be5af75fdcd8a404bb32e3823f7a33714761 51012 
gem2deb_0.18_all.deb
Files:
 9ce3eb856a2539e8f446d78814599098 2179 ruby optional gem2deb_0.18.dsc
 6de487e757c3c274fb6a1df0f89166b8 54904 ruby optional gem2deb_0.18.tar.xz
 afcbd5a2ac479c63dbb81c056f89f877 15734 ruby optional 
gem2deb-test-runner_0.18_all.deb
 9318d11c5045eff8d6ffbc9a5661513c 51012 ruby optional gem2deb_0.18_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVe4VJAAoJEPwNsbvNRgveuW0P/060xr9k8WvRFwMtxEgNWnw8
6i1AXjcTnpUacn4g4BpEq4muA04HgqcfYvZYfzNbvjrUgCy7IItM16CxY/Cpljt0
z8JATin2xTdAqvYO2DIl8Nos+L+8esqlPUKmbkU/yffcx5wZHu6QzU1G9mM5rYs0
rEBF88Y8EcZOOuoE7fqEfs7DFZEkVvrdIxVRVUASte3UH+AGUvob44oVgsNtPGy4
mjEoMjHYHsoAFVenumysXUirwW4XNZmbxH2Z5Sp+5Me5XihQm0UaCX4/z1/DVvHB
dkH5KH4JH5ueQFIIn1EzHkyHXPGtiAOKEdwo1HsoYqLzUjtQxGdALgff4WHsXnpl
8JKLC+GKOddd9WjG688szgyBzYosWK5fZsAa2yajD0h04gIoro0nJKx6iqau0mfM
j4Ob+cvNs9FFMRDmrrwkSqG6qKcLCgr0shBNQAIkbPszvHRn3rNbspiCvSKf7j9d
Fb1gJkSKF+RAJk2vexFuNUt2p/dyJ9MWpcQrMg08akHO7CyGfQVB7EaghaTCcjLq
FwDgaeFHgaPvclfaDmSMghmjYWq/fTu6qBLDIUt2A/V0LSAM4ico4aq4PCTnAile
iQFeSYrglcJnWpFefQKbaunNjWnSB6gB77NaV59aSpwHMIK84/uGOWtan09Y2Wjy
HigJEQtao0yNj/i/LUDP
=QJ5g
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to