[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#728317: marked as done (apt ignores build-conflicts on virtual package)



Your message dated Thu, 04 Feb 2016 22:34:59 +0000
with message-id <E1aRSUN-00078Q-9S@franck.debian.org>
and subject line Bug#728317: fixed in apt 1.2.2
has caused the Debian Bug report #728317,
regarding apt ignores build-conflicts on virtual package
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 owner@bugs.debian.org
immediately.)


-- 
728317: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728317
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.9.12.1
Severity: normal

Hi,

To reproduce:

$ sudo debootstrap sid debian-sid-20131028 http://snapshot.debian.org/archive/debian/20131028T000000Z/
[...]
$ echo deb-src http://snapshot.debian.org/archive/debian/20131028T000000Z/ sid main | sudo tee -a debian-sid-20131028/etc/apt/sources.list
[...]
$ sudo chroot debian-sid-20131028 apt-get update
[...]
$ sudo chroot debian-sid-20131028 apt-cache showsrc gcc-4.6 | grep Build-Conflicts
Build-Conflicts: binutils-gold
$ sudo chroot debian-sid-20131028 apt-cache show binutils | grep Provides
Provides: binutils-gold, elf-binutils
$ sudo chroot debian-sid-20131028 apt-get build-dep --simulate gcc-4.6 | grep binutils
  autoconf autoconf2.64 autogen autotools-dev binutils bison build-essential
Inst binutils (2.23.90.20131017-1 Debian:unstable [amd64])
Conf binutils (2.23.90.20131017-1 Debian:unstable [amd64])
$ echo $?
0

The same works for src:gcc-4.7 and src:gcc-4.8.

The problem is, that gcc-4.6 Build-Conflicts with binutils-gold. The binutils
package provides binutils-gold. With my understanding of policy sections 3.6
but especially 7.5 on virtual packages, I think that apt is not supposed
to allow the compilation of a source package (here: gcc-4.6) together
with a binary package (here: binutils) providing a package that the
source package conflicts with (here: binutils-gold).

And indeed after `apt-get source`-ing the code and `apt-get
build-dep`-ing the dependencies, dpkg-checkbuilddeps prints:

dpkg-checkbuilddeps: Build conflicts: binutils-gold

cheers, josch

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 1.2.2

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

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 04 Feb 2016 22:50:43 +0100
Source: apt
Binary: apt libapt-pkg5.0 libapt-inst2.0 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source
Version: 1.2.2
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description:
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package management related utility programs
 libapt-inst2.0 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg5.0 - package management runtime library
Closes: 137560 444930 489911 583914 728317 807367 809329 812111 812173 812212 812492 812497 813467
Changes:
 apt (1.2.2) unstable; urgency=medium
 .
   [ David Kalnischkies ]
   * always create pkg at the time pkg:arch is created
   * reimplement build-dep via apts normal resolver
     (Closes: #137560, #444930, #489911, #583914, #728317, #812173)
   * parse version correctly from binary Source field (Closes: 812492)
   * get sources for packages in multiple releases again (Closes: 812497)
   * only warn about missing/invalid Date field for now (Closes: 809329)
   * support <libc>-<kernel>-<cpu> in architecture specs.
     Thanks to Bálint Réczey for initial patch (Closes: #812212)
   * avoid building dependency tree in 'source' command
 .
   [ Stefan Bühler ]
   * fix "Mismatched free() / delete / delete []" in simple_buffer
 .
   [ Julian Andres Klode ]
   * Do not buffer writes larger than the buffer if possible
   * Drop the g++ build-dep, transition is done
   * NEWS: Prefix the keep deb option with Binary::apt:: (Closes: #812111)
   * rred: If there were I/O errors, fail
   * Correctly report write errors when flushing buffered writer
   * test: Fix apt-key tests to work with current gpg 2.1
 .
   [ Manuel "Venturi" Porras Peralta ]
   * Spanish program translation update (Closes: 813467)
 .
   [ Adrian Wielgosik ]
   * Try avoiding loading long package description
   * Avoid temporary strings in SubstVar.
 .
   [ Fredrik Fornwall ]
   * edspsystem.cc: include <stdlib.h> for mkdtemp (Closes: #807367)
Checksums-Sha1:
 a1bf8d6269d68fde1151ac9afe1db3edb99beaf5 2323 apt_1.2.2.dsc
 4acb1323da073be650d625e245529deea3ebbc43 2018908 apt_1.2.2.tar.xz
Checksums-Sha256:
 1fcc4e2acca9e82143a35f2dcc86ffd2ae20f39579bffe01580b14d694c170fb 2323 apt_1.2.2.dsc
 9ce1dcdc5e53057ad7647856fcb4e12580c9b164a59f46967fecacc1be2dea35 2018908 apt_1.2.2.tar.xz
Files:
 58b341a17601bedb6da245292ceb2284 2323 admin important apt_1.2.2.dsc
 8e820f5e87aa6d188c36c6fbe4ab2a5f 2018908 admin important apt_1.2.2.tar.xz

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

iQIcBAEBCgAGBQJWs8jFAAoJENc8OeVlgLOGHtEP/R0gdtDVQGn8Cy2vCb366tfa
KX7xgf1J3Uy6jBERio5xJbkXVoxwR6o/+l41LnE5khBTFiWhdYC2FKupwgHJsqV2
8NCEq3AishPzcjHyvPmemRxGxst1fQIVPJqH6fWryoFQ2/6gRjCG1CgTrbxVwh1C
wpiGWmxIdug1H3IFaMSfjY/4cfMmCu/7JvsgYSenQKskdfHYpvn7W8ZoKTgj+aIu
p7DOv1h2n7qCX8jI7CTX1uhVQkpiWjVDhVQXrv5IqsLXqdIx29gF6qdfaGCkSd4i
MBpEFTenlQsNDTKF14Jr0wIzgZMJsvJXSzcBUhljHKZ8W8748RV6ocIO3/mTEYaM
Sy5ARIU5IX+3t5sDhwWDm6LMO0KLa7QX+PJ6HJfksc1fn2EzYthInot2/tD4mfMe
RrHpHgi9wdUCV+20339PM22QRLVawjqqb92mXLioMaT0nFTkrU81ROTk3YoWP/OM
1yjMNfFLVTiXWqqN3n2H4lxPDJCXHB3jOPlw9KRmfXVC5jTQG5exM5TWxQaUYgEU
28rOr99UIZgUuxtaaWxjsr4ydLiwpXnskCbEW6M+jcBNi/o350eArXjjM7TYzOb4
ptI+Eu2fCPbbrIr1GBJVkGhQy+OM1CNU1N1U/Gltud1Wf95jx80lyW4PUTvN/eds
ozhB9rUtrE8Bed1P8uZr
=KlTM
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: