Your message dated Sat, 11 Nov 2017 13:20:21 +0000
with message-id <e1edvht-000086...@fasolo.debian.org>
and subject line Bug#880921: fixed in opencv 3.2.0+dfsg-4
has caused the Debian Bug report #880921,
regarding libopencv-dev: removal of libopencv-dev makes files disappear from 
libhighgui-dev
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.)


-- 
880921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880921
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libopencv-dev
Version: 3.2.0+dfsg-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts replaces-without-breaks

Hi,

during a test with piuparts and DOSE tools I noticed your package causes
removal of files that also belong to another package.
This is caused by using Replaces without corresponding Breaks.

The installation sequence to reproduce this problem is

  apt-get install libhighgui-dev/stretch
  # (1)
  apt-get install libopencv-dev/buster
  apt-get remove libopencv-dev
  # (2)

The list of installed files at points (1) and (2) should be identical,
but the following files have disappeared:

  /usr/include/opencv/highgui.h

This is a serious bug violating policy 7.6, see
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
and also see the footnote that describes this incorrect behavior
https://www.debian.org/doc/debian-policy/footnotes.html#f53

The libopencv-dev package has the following relationships with libhighgui-dev:

  Conflicts: libhighgui-dev (<= 2.4.9.1+dfsg-2.1)
  Breaks:
  Replaces:  libhighgui-dev

* The Conflicts version obviously predates the moving around of highgui.h
* The Replaces should be versioned identical to the corresponding Breaks (or 
Conflicts)
* Breaks is preferred over Conflicts for moving files between packages since it 
makes apt's job easier
* There are more unversioned Replaces with versioned Conflicts, these should be 
made versioned, too


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

5m57.4s DEBUG: Modified(user, group, mode, size, target): 
/var/lib/dpkg/info/libhighgui-dev:amd64.list expected(root, root, - 100644, 
261, None) != found(root, root, - 100644, 231, None)
5m57.4s INFO: Warning: Package purging left files on system:
  /etc/fonts/conf.d/10-hinting-slight.conf -> 
/usr/share/fontconfig/conf.avail/10-hinting-slight.conf    not owned

5m57.4s ERROR: FAIL: After purging files have disappeared:
  /usr/include/opencv/highgui.h  owned by: libopencv-dev

5m57.4s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/libhighgui-dev:amd64.list   not owned


cheers,

Andreas

Attachment: libopencv3.2-java=3.2.0+dfsg-3_libopencv3.3-java=3.3.0+dfsg-1~exp0.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: opencv
Source-Version: 3.2.0+dfsg-4

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

Debian distribution maintenance software
pp.
Mattia Rizzolo <mat...@debian.org> (supplier of updated opencv 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: Sat, 11 Nov 2017 13:46:48 +0100
Source: opencv
Binary: opencv-doc libopencv-dev opencv-data libopencv-core-dev 
libopencv-core3.2 libopencv-ml-dev libopencv-ml3.2 libopencv-imgproc-dev 
libopencv-imgproc3.2 libopencv-imgcodecs-dev libopencv-imgcodecs3.2 
libopencv-video-dev libopencv-video3.2 libopencv-videoio-dev 
libopencv-videoio3.2 libopencv-objdetect-dev libopencv-objdetect3.2 
libopencv-highgui-dev libopencv-highgui3.2 libopencv-calib3d-dev 
libopencv-calib3d3.2 libopencv-flann-dev libopencv-flann3.2 
libopencv-features2d-dev libopencv-features2d3.2 libopencv-ts-dev 
libopencv-photo-dev libopencv-photo3.2 libopencv-videostab-dev 
libopencv-videostab3.2 libopencv-stitching-dev libopencv-stitching3.2 
libopencv-shape-dev libopencv-shape3.2 libopencv-superres-dev 
libopencv-superres3.2 libopencv-viz-dev libopencv-viz3.2 libopencv-contrib-dev 
libopencv-contrib3.2 libopencv3.2-java libopencv3.2-jni python-opencv 
python3-opencv
Architecture: source
Version: 3.2.0+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Mattia Rizzolo <mat...@debian.org>
Description:
 libopencv-calib3d-dev - development files for libopencv-calib3d3.2
 libopencv-calib3d3.2 - computer vision Camera Calibration library
 libopencv-contrib-dev - development files for libopencv-contrib3.2
 libopencv-contrib3.2 - computer vision contrlib library
 libopencv-core-dev - development files for libopencv-core3.2
 libopencv-core3.2 - computer vision core library
 libopencv-dev - development files for opencv
 libopencv-features2d-dev - development files for libopencv-features2d3.2
 libopencv-features2d3.2 - computer vision Feature Detection and Descriptor 
Extraction libra
 libopencv-flann-dev - development files for libopencv-flann3.2
 libopencv-flann3.2 - computer vision Clustering and Search in 
Multi-Dimensional spaces
 libopencv-highgui-dev - development files for libopencv-highgui3.2
 libopencv-highgui3.2 - computer vision High-level GUI and Media I/O library
 libopencv-imgcodecs-dev - development files for libopencv-imgcodecs3.2
 libopencv-imgcodecs3.2 - computer vision Image Codecs library
 libopencv-imgproc-dev - development files for libopencv-imgproc3.2
 libopencv-imgproc3.2 - computer vision Image Processing library
 libopencv-ml-dev - development files for libopencv-ml3.2
 libopencv-ml3.2 - computer vision Machine Learning library
 libopencv-objdetect-dev - development files for libopencv-objdetect3.2
 libopencv-objdetect3.2 - computer vision Object Detection library
 libopencv-photo-dev - development files for libopencv-photo3.2
 libopencv-photo3.2 - computer vision computational photography library
 libopencv-shape-dev - development files for libopencv-shape3.2
 libopencv-shape3.2 - computer vision shape descriptors and matchers library
 libopencv-stitching-dev - development files for libopencv-stitching3.2
 libopencv-stitching3.2 - computer vision image stitching library
 libopencv-superres-dev - development files for libopencv-superres3.2
 libopencv-superres3.2 - computer vision Super Resolution library
 libopencv-ts-dev - development files for TS library of OpenCV (Open Computer 
Vision)
 libopencv-video-dev - development files for libopencv-video3.2
 libopencv-video3.2 - computer vision Video analysis library
 libopencv-videoio-dev - development files for libopencv-videoio3.2
 libopencv-videoio3.2 - computer vision Video I/O library
 libopencv-videostab-dev - development files for libopencv-videostab3.2
 libopencv-videostab3.2 - computer vision video stabilization library
 libopencv-viz-dev - development files for libopencv-viz3.2
 libopencv-viz3.2 - computer vision 3D data visualization library
 libopencv3.2-java - Java bindings for the computer vision library
 libopencv3.2-jni - Java jni library for the computer vision library
 opencv-data - development data for opencv
 opencv-doc - OpenCV documentation and examples
 python-opencv - Python bindings for the computer vision library
 python3-opencv - Python 3 bindings for the computer vision library
Closes: 878949 880921
Changes:
 opencv (3.2.0+dfsg-4) unstable; urgency=medium
 .
   * Team upload.
   * Install maven artifacts with maven-repo-helper so reverse dependencies can
     automatically pick the dependency by using ${maven:Depends}.
     Thanks to Gilles Filippini <p...@debian.org> for the patch.  Closes: 
#878949
   * d/control:
     + Use unversioned Conflicts in libopencv-dev, to force the removal
       of some old packages.  Closes: #880921
     + Remove dbus-x11 work around now that #878878 is fixed.
Checksums-Sha1:
 64cd859cc461065a650f471b0ab93d9755d7595b 5878 opencv_3.2.0+dfsg-4.dsc
 55721a04f1a36df940a91729b9d351a78b301012 26796 
opencv_3.2.0+dfsg-4.debian.tar.xz
 ba2fe73bde0f468a3896ddb446e5c631ffa289c7 45236 
opencv_3.2.0+dfsg-4_amd64.buildinfo
Checksums-Sha256:
 a390bcedf98192b6ae607bf1d51fb0752d2f3f265100c88172e2ddea9c67765b 5878 
opencv_3.2.0+dfsg-4.dsc
 3952677fd32bd4d2dc0867e8e263a0635aea33f06044ad1ee507bfbc24729ff3 26796 
opencv_3.2.0+dfsg-4.debian.tar.xz
 f37d95ca18d9ef9516d527c04645596c893f57f58760c03ba20b161663759ac1 45236 
opencv_3.2.0+dfsg-4_amd64.buildinfo
Files:
 613a4cdb290d094c4a5b26bf72062eb0 5878 devel optional opencv_3.2.0+dfsg-4.dsc
 185ac61e2b00c615445b377613cbc379 26796 devel optional 
opencv_3.2.0+dfsg-4.debian.tar.xz
 d54ddc099688f63bd11a868270bd6309 45236 devel optional 
opencv_3.2.0+dfsg-4_amd64.buildinfo

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

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAloG88wACgkQCBa54Yx2
K60zGg//RSQS8POKefqkvAd9h5gu94cgLbhReQ9K0buVqsOpbKxQCY9fhNNsw7N0
qWI26Y0Jtm+X1RrkCwfO2HPufbH3NkKtBJvTVy0E+hbyCVhMDcoGr/xJJUHkmz2q
T8iqhin1eJipwSAkEHaHkj1lzwxmVGBxnLrDx+u6xVNVvD8We+XIVILHtROVUuMa
WRM0r5V1hDiDye7rVR68JbEYEF8dF6FPfSKGvJJIV5zdyhiEdM3xfxWFhLDk5sVA
T+4kkejAh/XN01xOFBW8k/0Z9GfBXKercnkm8HGOKw04b+LGjIYHyicqGnXj+M5l
esnI7AptFpEJEC1th0XHIWuOVF3dls7OsWFyb+neNAudR2rWzwh2Wk7xiMEpYScN
6uOzt6t4sKl5Zgn7YQTBXuPW1cpNJ5tufG+JJLRUpcphi4OgrCtBgYIGWqCRVUFB
KbV5Jrfxue1JIp8lFNG16dTiwyxHnre9UFr0gvC6ItjU8eamxdiEsSpp1lN+KoGz
9/Z6TZoroOcXQ8q9dxJEMLl+vLagvsMom9SjjZQ1LXENqljRpcmvucnScFDuwcfo
IobeX3HC55PTC0/Xr4myNO1iePsahp+2kbA8EPG1o0DJ5+tvoUQVU6b2sGwsjdrU
udhQo5Q+ifIpuf52Rutt8zmHjkVH6TN/oZQWvZUShl3wza9taac=
=k4cT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to