Your message dated Thu, 17 Aug 2017 06:04:04 +0000
with message-id <e1diduw-0009wm...@fasolo.debian.org>
and subject line Bug#870843: fixed in golang-logrus 1.0.2-2
has caused the Debian Bug report #870843,
regarding golang-github-armon-go-metrics-dev: unhandled symlink to directory 
conversion: /usr/share/gocode/src/github.com/sirupsen/logrus -> 
../Sirupsen/logrus
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.)


-- 
870843: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870843
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: golang-github-armon-go-metrics-dev
Version: 0.0~git20170601.0.f036747-1
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:

  testing -> 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 (scroll to the bottom...):

0m33.8s INFO: dirname part contains a symlink:
  /usr/share/gocode/src/github.com/sirupsen/logrus/alt_exit.go 
(golang-github-sirupsen-logrus-dev) != 
/usr/share/gocode/src/github.com/Sirupsen/logrus/alt_exit.go (?)
    /usr/share/gocode/src/github.com/sirupsen/logrus -> ../Sirupsen/logrus
  /usr/share/gocode/src/github.com/sirupsen/logrus/alt_exit_test.go 
(golang-github-sirupsen-logrus-dev) != 
/usr/share/gocode/src/github.com/Sirupsen/logrus/alt_exit_test.go (?)
    /usr/share/gocode/src/github.com/sirupsen/logrus -> ../Sirupsen/logrus
  /usr/share/gocode/src/github.com/sirupsen/logrus/doc.go 
(golang-github-sirupsen-logrus-dev) != 
/usr/share/gocode/src/github.com/Sirupsen/logrus/doc.go (?)
    /usr/share/gocode/src/github.com/sirupsen/logrus -> ../Sirupsen/logrus
  /usr/share/gocode/src/github.com/sirupsen/logrus/entry.go 
(golang-github-sirupsen-logrus-dev) != 
/usr/share/gocode/src/github.com/Sirupsen/logrus/entry.go (?)
    /usr/share/gocode/src/github.com/sirupsen/logrus -> ../Sirupsen/logrus
[...]
  /usr/share/gocode/src/github.com/sirupsen/logrus/terminal_windows.go 
(golang-github-sirupsen-logrus-dev) != 
/usr/share/gocode/src/github.com/Sirupsen/logrus/terminal_windows.go (?)
    /usr/share/gocode/src/github.com/sirupsen/logrus -> ../Sirupsen/logrus
  /usr/share/gocode/src/github.com/sirupsen/logrus/text_formatter.go 
(golang-github-sirupsen-logrus-dev) != 
/usr/share/gocode/src/github.com/Sirupsen/logrus/text_formatter.go (?)
    /usr/share/gocode/src/github.com/sirupsen/logrus -> ../Sirupsen/logrus
  /usr/share/gocode/src/github.com/sirupsen/logrus/text_formatter_test.go 
(golang-github-sirupsen-logrus-dev) != 
/usr/share/gocode/src/github.com/Sirupsen/logrus/text_formatter_test.go (?)
    /usr/share/gocode/src/github.com/sirupsen/logrus -> ../Sirupsen/logrus
  /usr/share/gocode/src/github.com/sirupsen/logrus/writer.go 
(golang-github-sirupsen-logrus-dev) != 
/usr/share/gocode/src/github.com/Sirupsen/logrus/writer.go (?)
    /usr/share/gocode/src/github.com/sirupsen/logrus -> ../Sirupsen/logrus


cheers,

Andreas

Attachment: golang-github-armon-go-metrics-dev_0.0~git20170601.0.f036747-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: golang-logrus
Source-Version: 1.0.2-2

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

Debian distribution maintenance software
pp.
Martín Ferrari <tin...@debian.org> (supplier of updated golang-logrus 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: Thu, 17 Aug 2017 05:52:43 +0000
Source: golang-logrus
Binary: golang-github-sirupsen-logrus-dev golang-logrus-dev
Architecture: source all
Version: 1.0.2-2
Distribution: unstable
Urgency: high
Maintainer: Debian Go Packaging Team 
<pkg-go-maintain...@lists.alioth.debian.org>
Changed-By: Martín Ferrari <tin...@debian.org>
Description:
 golang-github-sirupsen-logrus-dev - Logrus: a logging library for Go
 golang-logrus-dev - Transitional package for golang-github-sirupsen-logrus-dev
Closes: 870843
Changes:
 golang-logrus (1.0.2-2) unstable; urgency=high
 .
   * Add maintscript to handle symlink to dir conversions.
     Closes: 870843.
Checksums-Sha1:
 3330a3246fa05309c5bc21f31e2baaf8b5f9c9b7 2264 golang-logrus_1.0.2-2.dsc
 675cf4e73cd8ef5289360368d7a59d3341bfdcd9 4164 
golang-logrus_1.0.2-2.debian.tar.xz
 1eb4dd075d0a9a0cb44ae00b8b700ca2fe5eb83a 31356 
golang-github-sirupsen-logrus-dev_1.0.2-2_all.deb
 afdc872e0d97242e76778e52bf7948a69e4ede1a 4304 golang-logrus-dev_1.0.2-2_all.deb
 45f3d4ef60e8d3ac8335605905a2e0395b90bdb8 5955 
golang-logrus_1.0.2-2_amd64.buildinfo
Checksums-Sha256:
 119fefaa03b54e5c2a3f7c1c79c0f7dc1f20b9548e499567f5f2fdf41f3e4e22 2264 
golang-logrus_1.0.2-2.dsc
 f4916860d9b838da58e67eeaf439b49d8686e4297b36f6f4ca5f45fe15d9f30a 4164 
golang-logrus_1.0.2-2.debian.tar.xz
 9e7c58f25d1c96305b1e921f0ec138b2c811a73da61129afa7883e0680234870 31356 
golang-github-sirupsen-logrus-dev_1.0.2-2_all.deb
 02b4140344a4e4d9dcc3f0b2cf8cb5399a92f1086b3ac003a951623850388792 4304 
golang-logrus-dev_1.0.2-2_all.deb
 b41fd875ca4dda9405a47ece3df223fcbbf793e4cd5ce48a35286ad29233a5c8 5955 
golang-logrus_1.0.2-2_amd64.buildinfo
Files:
 279d1208b91c3400117c9693ba5257a2 2264 devel extra golang-logrus_1.0.2-2.dsc
 ddac8147f3e90346888d4d8c1a6ffab7 4164 devel extra 
golang-logrus_1.0.2-2.debian.tar.xz
 85074085650a7065caf92c8f68fcde7d 31356 devel extra 
golang-github-sirupsen-logrus-dev_1.0.2-2_all.deb
 72ecbf0476b675174f4ec3213dacf462 4304 oldlibs extra 
golang-logrus-dev_1.0.2-2_all.deb
 125f8c08882d7853a3d7627290f5ebb1 5955 devel extra 
golang-logrus_1.0.2-2_amd64.buildinfo

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

iQIzBAEBCAAdFiEETe94h3mvRsa9AoOeXdjgv5Gj09oFAlmVL1MACgkQXdjgv5Gj
09rBJRAAyMIl6rDFGe4n0/WRMz37adYtKzFFgrqrCBhzA83YqHeBgAkZU0LsHnYn
l3qBdqwGOp74py9e3Yx38AmmV3XpF1auK93Y1WuR4w1Gqv2Umjodqk3l91zDt+BN
nwV8l2VfSuB+VuNbOM5HNEpZPNgJHRHM0twROcvEWYW20Qw+1h98N2GxRZk8oxRP
CR5QZ8solbABmR+T8i0tlJJz24zuTnt9UA2CC2HIca6a1QDxIbNlCuZN4AQSQUwc
aqDQo7RLFpOIeIkvC4rieq+Z9+kPKWIpmASYMm9WfTo+bihu9gERs7zBIwJ5JPMl
MOysNYIq8BbrwGkSv+ltTQA2uxStGBY9DcGnhQyCh3EZ58TRCII4NTPzfdO09TRH
lWgAwOvpWIwF6geIiviySl28wM4gdKRCM0MNSDAKigLUSLxDDR30v+xdcgjegEMD
0fYLqrV2fYQWt7PtEKPxxH/9MPNZvskuZEDSI6WW9MWn2yhWLP0CdyOGyBGWhmrA
ecmuA7dGDim4Jh1o4Sujon6KJgmKhmh40icEuvQoet4mTUSNBGcDWZW82cPoPlTw
4em8oUBY9zCXNntJxQIkSTIK04mbKQDWkQBSaExlOTNzQN/WhCvmjpIHUF8h01HC
2v8OkSQIubpxCzqEfkT+igSWWoAAwSvqL18ZOjeEZVHsBuVH3+Q=
=ONUp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to