Bug#792850: gmp-ecm, libecm-dev: copyright file missing after upgrade (policy 12.5)
Package: gmp-ecm,libecm-dev Version: 6.4.4+ds-2 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, a test with piuparts revealed that your package misses the copyright file after an upgrade, which is a violation of Policy 12.5: https://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile After the upgrade /usr/share/doc/$PACKAGE/ is just an empty directory. This was observed on the following upgrade paths: stretch -> sid >From the attached log (scroll to the bottom...): 2m42.8s ERROR: WARN: Inadequate results from running adequate! gmp-ecm: missing-copyright-file /usr/share/doc/gmp-ecm/copyright MISSING COPYRIGHT FILE: /usr/share/doc/gmp-ecm/copyright # ls -lad /usr/share/doc/gmp-ecm drwxr-xr-x 2 root root 40 Jul 17 01:33 /usr/share/doc/gmp-ecm # ls -la /usr/share/doc/gmp-ecm/ total 0 drwxr-xr-x 2 root root 40 Jul 17 01:33 . drwxr-xr-x 104 root root 2200 Jul 17 01:33 .. 1m16.5s ERROR: WARN: Inadequate results from running adequate! libecm-dev: missing-copyright-file /usr/share/doc/libecm-dev/copyright MISSING COPYRIGHT FILE: /usr/share/doc/libecm-dev/copyright # ls -lad /usr/share/doc/libecm-dev drwxr-xr-x 2 root root 40 Jul 17 01:49 /usr/share/doc/libecm-dev # ls -la /usr/share/doc/libecm-dev/ total 0 drwxr-xr-x 2 root root 40 Jul 17 01:49 . drwxr-xr-x 107 root root 2280 Jul 17 01:49 .. Additional info may be available here: https://wiki.debian.org/MissingCopyrightFile 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.mainstscript. Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control. See dpkg-maintscript-helper(1) and dh_installdeb(1) for details. cheers, Andreas gmp-ecm_6.4.4+ds-2.log.gz Description: application/gzip -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#792850: gmp-ecm, libecm-dev: copyright file missing after upgrade (policy 12.5)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Andreas, thanks for your report. I am agree that there is an error here: I would save some space and at the end I get a bugreport. Poor me :-( Whatever. My point is that I am ready to fix it: the main issue right now is that I am blind to this error because my piuparts cannot detect it: I run piuparts version 0.64~bpo8+1 ((on my fresh Jessie box)) while your attached log was produced by the most recent version 0.65~201507160102~0.62-31728-gf6286b : in short, I feel stuck, not to say uncomfortable. It would be great it I could reproduce the issue on my own box before to try to fix it; I think. Thanks for your work, Jerome -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJVuDZSAAoJEIC/w4IMSybjMJ4H/jbMF8tjvtFWRhCRGQENGh5q vH5oTOP7/zs/hjw1xkbgGnzeq85f6cTpJrkIre1plLHGqGg8lwSxOGPHlNaKoySz M1zlNhNjFVhkxKOwfBDw2LpVFVxh7x/Mh7IX7AfFSQvdnR88umj2X+7TNylnri9G wPzTEghUmeYjoUAUnvDPIg57gmy2lhssahXgXFKMQYGn1rpwcn2qSkKatRsLuSeS ReBb769iYPIq3jN499D6nFoOVeukJhyeWRPpQZiPxqS2omzCMbJzXpmS8Y+IwXF6 hkKZjDyqvKnAwQQ6AWfKkIqNjyufzxkatR/+D1iiLb6WxOMZaGOSw/dnylVSWQM= =tztT -END PGP SIGNATURE- -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#792850: gmp-ecm, libecm-dev: copyright file missing after upgrade (policy 12.5)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Andreas: I have just installed piuparts 0.66 on my box in order to reproduce the issue: so far, I I have not succeeded to reproduced the issue. Please can you confirm the issue ? Or give the proper option to reproduce it ? Thanks in advance, Jerome -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJV3fblAAoJEIC/w4IMSybjBU8IAK99p+S0YZVoHZ0gc5Lu1jLp lDTVawB7razlDFFjrFh2+m6/ykbu5INgKyxyOe82JXTcI/5+CCQ4RRMaPPLTv6Zt n39/CCHVgmk0fBsUpapaiWKGmOIqkZpg7l8PEUpPRU9jleDh6laP8rBkcrLhB+5Y 4RSMgdlbcQ9nit1jyrc3KBrvOx/Gl+KO80XkIgAidpytLQ+/Y87DxxhJXWiR0nTQ oASA74dEHDW5OkZa0c4OFXdBH81NnuweBzdWE0Jc8h/+toXpb5pKdj3poL3aL4Sl cM1BhRdU+q1Ife82uimMNepHKvXA+tIRuzMajoevohjmm6KOscd0yQvvf+uE288= =Xu44 -END PGP SIGNATURE- -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers