Your message dated Tue, 12 Jan 2016 11:34:34 +0000
with message-id <e1aixde-00026v...@franck.debian.org>
and subject line Bug#804116: fixed in ruby-mousetrap-rails 1.4.6-4
has caused the Debian Bug report #804116,
regarding ruby-mousetrap-rails: unhandled symlink to directory conversion: 
/usr/share/ruby-mousetrap-rails/vendor/assets/javascripts/mousetrap
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 ow...@bugs.debian.org
immediately.)


-- 
804116: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804116
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ruby-mousetrap-rails
Version: 1.4.6-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

an upgrade test with piuparts revealed that your package installs files
over existing symlinks and possibly overwrites files owned by other
packages. This usually means an old version of the package shipped a
symlink but that was later replaced by a real (and non-empty)
directory. This kind of overwriting another package's files cannot be
detected by dpkg.

This was observed on the following upgrade paths:

  stretch -> sid

For /usr/share/doc/PACKAGE this may not be problematic as long as both
packages are installed, ship byte-for-byte identical files and are
upgraded in lockstep. But once one of the involved packages gets
removed, the other one will lose its documentation files, too,
including the copyright file, which is a violation of Policy 12.5:
https://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile

For other overwritten locations anything interesting may happen.

Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
to perform the conversion, ideally using d/$PACKAGE.maintscript.
Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (usually somewhere in the middle...):

3m16.4s ERROR: FAIL: silently overwrites files via directory symlinks:
  
/usr/share/ruby-mousetrap-rails/vendor/assets/javascripts/mousetrap/dictionary.js
 (ruby-mousetrap-rails) != /usr/share/javascript/mousetrap/dictionary.js 
(libjs-mousetrap)
    /usr/share/ruby-mousetrap-rails/vendor/assets/javascripts/mousetrap -> 
../../../../javascript/mousetrap
  /usr/share/ruby-mousetrap-rails/vendor/assets/javascripts/mousetrap/global.js 
(ruby-mousetrap-rails) != /usr/share/javascript/mousetrap/global.js 
(libjs-mousetrap)
    /usr/share/ruby-mousetrap-rails/vendor/assets/javascripts/mousetrap -> 
../../../../javascript/mousetrap
  /usr/share/ruby-mousetrap-rails/vendor/assets/javascripts/mousetrap/pause.js 
(ruby-mousetrap-rails) != /usr/share/javascript/mousetrap/pause.js 
(libjs-mousetrap)
    /usr/share/ruby-mousetrap-rails/vendor/assets/javascripts/mousetrap -> 
../../../../javascript/mousetrap
  
/usr/share/ruby-mousetrap-rails/vendor/assets/javascripts/mousetrap/plugins.js 
(ruby-mousetrap-rails) != /usr/share/javascript/mousetrap/plugins.js 
(libjs-mousetrap)
    /usr/share/ruby-mousetrap-rails/vendor/assets/javascripts/mousetrap -> 
../../../../javascript/mousetrap
  /usr/share/ruby-mousetrap-rails/vendor/assets/javascripts/mousetrap/record.js 
(ruby-mousetrap-rails) != /usr/share/javascript/mousetrap/record.js 
(libjs-mousetrap)
    /usr/share/ruby-mousetrap-rails/vendor/assets/javascripts/mousetrap -> 
../../../../javascript/mousetrap
3m16.4s DEBUG: Starting command: ['debsums', '--root', 
'/tmp/piupartss/tmplyxaro', '-ac']

3m17.2s ERROR: FAIL: debsums reports modifications inside the chroot:
  debsums: missing file /usr/share/javascript/mousetrap/dictionary.js (from 
libjs-mousetrap package)
  debsums: missing file /usr/share/javascript/mousetrap/global.js (from 
libjs-mousetrap package)
  debsums: missing file /usr/share/javascript/mousetrap/pause.js (from 
libjs-mousetrap package)
  debsums: missing file /usr/share/javascript/mousetrap/plugins.js (from 
libjs-mousetrap package)
  debsums: missing file /usr/share/javascript/mousetrap/record.js (from 
libjs-mousetrap package)


cheers,

Andreas

Attachment: ruby-mousetrap-rails_1.4.6-3.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: ruby-mousetrap-rails
Source-Version: 1.4.6-4

We believe that the bug you reported is fixed in the latest version of
ruby-mousetrap-rails, 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 804...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pirate Praveen <prav...@debian.org> (supplier of updated ruby-mousetrap-rails 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 12 Jan 2016 16:47:39 +0530
Source: ruby-mousetrap-rails
Binary: ruby-mousetrap-rails
Architecture: source all
Version: 1.4.6-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Pirate Praveen <prav...@debian.org>
Description:
 ruby-mousetrap-rails - integrate Mousetrap javascript library with Rails Asset 
Pipeline
Closes: 804116
Changes:
 ruby-mousetrap-rails (1.4.6-4) unstable; urgency=medium
 .
   * Stop providing libjs-mousetrap (Closes: #804116)
     libjs-mousetrap is now available as a separate package
   * Add smoke test for assets
Checksums-Sha1:
 ba36e5dd60bf6e13044bffd7d1a1efc7b4aa722e 2161 ruby-mousetrap-rails_1.4.6-4.dsc
 86e4ba560b0b80879e56c1d2606501c06622b773 3192 
ruby-mousetrap-rails_1.4.6-4.debian.tar.xz
 20fdc2eff38a4f15256f9ee4adfd6db0e3f657e7 10248 
ruby-mousetrap-rails_1.4.6-4_all.deb
Checksums-Sha256:
 ac30df474e04b8547dbdc47a4955d2815c48241974d769205eead301726a5d8b 2161 
ruby-mousetrap-rails_1.4.6-4.dsc
 9d3b2064192c96a8db7f477ec969f0b0f8cb984af4890d7be4db0d20c7b2733c 3192 
ruby-mousetrap-rails_1.4.6-4.debian.tar.xz
 12925df1d67ae85d2e089ebbc92222d0fd8af75ce77d073d80e05757fe6c00ee 10248 
ruby-mousetrap-rails_1.4.6-4_all.deb
Files:
 62d8971f8f37cc57d234350d408d6aee 2161 ruby optional 
ruby-mousetrap-rails_1.4.6-4.dsc
 6238c347f131c02c75fd62b466a8ff77 3192 ruby optional 
ruby-mousetrap-rails_1.4.6-4.debian.tar.xz
 90435e5cc7bf7fff2ed3f827c11445e7 10248 web optional 
ruby-mousetrap-rails_1.4.6-4_all.deb

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

iQIcBAEBCAAGBQJWlOLhAAoJEM4fnGdFEsIqzNsP/1eDZkNJTaGQAKb1JwK5HKx2
OdMlgqWj3Y0dOuV90VUFFywPXRNk8nncdupb7rJn7SyXBd1SgPQVJ+Z5sJn9QolV
8T/AXx6yjy36rKKiNOK5bb9O7X/lkhQAR1m1bQs3vAQOS8Aa9ajJe+g1ccDqQUec
sEb7TAhiYThM5a1WI2ApJeru/Btyze5NuelYyh+TkHzWxOeFadbvEq7BSZ6CXYpx
kftJE91/cZSAGH5fTeUBZnA+7nzhf9UfcyTbesoc7tLCEuVsHku3MQFKm6yIsuBm
0KrTfWqoBkOUVh97acuUygoDzzWjPSuVioDF0Ps/L6q57KgV93++FonqFQZG1zfS
SLBxUUa9PfIbfEDOeeP4+eIHg1AmZEOKxMOn48nHK3i8LxbNaV8kBM5dfU4DSi2b
joEEWBimDRg6HqE8WtgS4EN6+QQbaK/R6d6c1QGQtGAhJ/zFhPDKGtQ7+lgdjIwT
Y/H3kcW6ZfPrjm4lrv2pA90X8znwPjKuZmWAtnZWYcJUUvpyRbtRfxKhQN4ZZK5h
fN/TbXHvKvG0xroxQ+92iSEk8UKTbEfTfnviE747SjA8kVRwEI6hjx1j0Tk493Km
nnxGOojgssUhitzHWL+biHJbjLuuuBhTn3u3TdLrroQ4CaG28N6WKpnh53jjFJui
xDW3YubRnQKdjr8zGC5w
=EfYF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to