Your message dated Mon, 04 Nov 2019 08:44:30 +0000
with message-id <e1irxyr-0005as...@fasolo.debian.org>
and subject line Bug#943526: fixed in node-typescript 3.6.4-2
has caused the Debian Bug report #943526,
regarding node-tslib: directory vs. symlink conflict: /usr/share/nodejs/tslib
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.)


-- 
943526: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943526
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: node-tslib
Version: 1.10.0-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: affects -1 + node-rollup-plugin-typescript

Hi,

during a test with piuparts I noticed your package installs files over
an existing symlink shipped or created by another package.

Your package ships:

drwxr-xr-x root/root         0 2019-08-03 13:44 ./usr/share/nodejs/tslib/
-rw-r--r-- root/root       701 2019-06-10 22:24 
./usr/share/nodejs/tslib/package.json
-rw-r--r-- root/root      2290 2019-06-10 22:24 
./usr/share/nodejs/tslib/tslib.d.ts
-rw-r--r-- root/root        36 2019-06-10 22:24 
./usr/share/nodejs/tslib/tslib.es6.html
-rw-r--r-- root/root      9436 2019-06-10 22:24 
./usr/share/nodejs/tslib/tslib.es6.js
-rw-r--r-- root/root        32 2019-06-10 22:24 
./usr/share/nodejs/tslib/tslib.html
-rw-r--r-- root/root     12037 2019-06-10 22:24 
./usr/share/nodejs/tslib/tslib.js

but package node-typescript ships:

lrwxrwxrwx root/root         0 2019-10-15 06:12 ./usr/share/nodejs/tslib -> 
typescript/lib


Installing something over existing symlinks is considered bad practice.
See e.g. https://lists.debian.org/87ehlevcrf....@windlord.stanford.edu

It may break in subtle ways and dpkg cannot detect this as a problem.
* Your package might silently overwrite files installed at the symlink
  destination by other packages.
* If the package shipping the symlink decides to make the link point
  somewhere else (or turn it into a real directory), the files owned
  by your package "will be lost" somewhere in the filesystem.
* Depending on installation order the problematic path will be created
  either as a symlink or a directory: the package installed first will
  "win" and all others have "lost".
  Note that dpkg intentionally does not replace directories with
  symlinks and vice versa, see in particular the end of point 4 in
  
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-unpack-phase-of-installation-or-upgrade
  (Note: Adding Pre-Depends is *not* a solution.)

Please move the files shipped in your package to the "real" location.

>From the attached log (scroll to the bottom...):

0m24.0s ERROR: installs objects over existing directory symlinks:
  /usr/share/nodejs/tslib/package.json (node-tslib) != 
/usr/share/nodejs/typescript/lib/package.json (?)
    /usr/share/nodejs/tslib -> typescript/lib
  /usr/share/nodejs/tslib/tslib.d.ts (node-tslib) != 
/usr/share/nodejs/typescript/lib/tslib.d.ts (?)
    /usr/share/nodejs/tslib -> typescript/lib
  /usr/share/nodejs/tslib/tslib.es6.html (node-tslib) != 
/usr/share/nodejs/typescript/lib/tslib.es6.html (?)
    /usr/share/nodejs/tslib -> typescript/lib
  /usr/share/nodejs/tslib/tslib.es6.js (node-tslib) != 
/usr/share/nodejs/typescript/lib/tslib.es6.js (?)
    /usr/share/nodejs/tslib -> typescript/lib
  /usr/share/nodejs/tslib/tslib.html (node-tslib) != 
/usr/share/nodejs/typescript/lib/tslib.html (?)
    /usr/share/nodejs/tslib -> typescript/lib
  /usr/share/nodejs/tslib/tslib.js (node-tslib) != 
/usr/share/nodejs/typescript/lib/tslib.js (?)
    /usr/share/nodejs/tslib -> typescript/lib


cheers,

Andreas

Attachment: node-rollup-plugin-typescript_1.0.0-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: node-typescript
Source-Version: 3.6.4-2

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

Debian distribution maintenance software
pp.
Julien Puydt <jpu...@debian.org> (supplier of updated node-typescript 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: SHA512

Format: 1.8
Date: Mon, 04 Nov 2019 08:47:57 +0100
Source: node-typescript
Architecture: source
Version: 3.6.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<pkg-javascript-de...@lists.alioth.debian.org>
Changed-By: Julien Puydt <jpu...@debian.org>
Closes: 943526
Changes:
 node-typescript (3.6.4-2) unstable; urgency=medium
 .
   * Don't provide the tslib link (Closes: #943526)
Checksums-Sha1:
 1b90d685dbd498192da0b58c632eca6e675fa96b 2047 node-typescript_3.6.4-2.dsc
 41f7dc651ea1206fd34e2971a8a298fcf91bc2cb 6868 
node-typescript_3.6.4-2.debian.tar.xz
 019bedb1ff5d53fd6f5abd7a9fbebebbc4753bd8 5303 
node-typescript_3.6.4-2_source.buildinfo
Checksums-Sha256:
 7819dd2d1374e6eef07332173f251d1738e21c311ac4d4b6f83eba5027f8b1a3 2047 
node-typescript_3.6.4-2.dsc
 35dcb32570cbeeaea5d9754341b05d5059c2cc54476311e2e8dd6c2946fe365f 6868 
node-typescript_3.6.4-2.debian.tar.xz
 4d4e75e5e96cf84de2f2b3bc5d698cc92ff668c22b4b9f20546c6eecb7b15565 5303 
node-typescript_3.6.4-2_source.buildinfo
Files:
 06c2b27e891e46dc448bdda9ae4f6be2 2047 javascript optional 
node-typescript_3.6.4-2.dsc
 5d14caaf4f2679ee0f4299f33a1a215b 6868 javascript optional 
node-typescript_3.6.4-2.debian.tar.xz
 6124e7f40f1c96ace922f29d1b438828 5303 javascript optional 
node-typescript_3.6.4-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEgS7v2KP7pKzk3xFLBMU71/4DBVEFAl2/2LQSHGpwdXlkdEBk
ZWJpYW4ub3JnAAoJEATFO9f+AwVR3i8P/3tlYDWKMtT2MyNTCp/G7/ZvJ3k7X2Hn
XqblHlG0LDtI/ol6vaL8BE3JpCgUzdtHSKiaWPohWX47cG5gXAEmKr4wLgw8cXXh
uSbQT5N1oIOrGnZJQY4ciSnKImEfwwS6UFo90UpiOUlM2cQpPt22ilHy5ZT8O6bC
609q4M2Had9nBTP7K4UCI2MgxIGDAXg65x79v+vTOLagNuqokoeIiUtQ8qVVccOY
e0hY+Fkjvvl3XLMlJAyUMk7cpxxs1uf/lnJi4wC9aMbgLSVhIXGMKyo2f1TgInhI
VntVCVgSoGkbAwmEmzgR7VHUN+PbE5ojvalPpfHABnuSZCjAzjJxTUuFPwKxvOma
qJbGZM4LgCSo9LijBs94v9/Z6kzBqZb+jkSPga0+2CrN/04xNiE5hFDn8BBURjHr
ejMTFlec1Gl5DgyuVHTgBJiZL+uDWQJLPmg3IyvPq8Ne+Vuaj5pa8DqST7Kj+Snz
3Lewc1S93v/yGOfAHhTEfbKvSo8nDw+xULZgv6EueAEvqq9ag+JHx0986xir7hp4
dYhe/jy1v6Gqyel4REq2KFzfHrNQkpSk7M52DjR51Z3V0gflIpdsoGFoyi8EXWmJ
cGoU2+GlfgFgPKQ0VDeeQQoHMEixJpzYFHn74RmnblJxvPXmpXEkYAklVpWvJW8C
OeN/npMiaw5q
=HRjI
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to