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

Bug#683786: marked as done (apt-get cross build dependency resolution of arch:all, m-a:none packages)



Your message dated Mon, 06 Aug 2012 16:02:15 +0000
with message-id <E1SyPl1-00023U-9J@franck.debian.org>
and subject line Bug#683786: fixed in apt 0.9.7.4
has caused the Debian Bug report #683786,
regarding apt-get cross build dependency resolution of arch:all, m-a:none packages
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.)


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


Hi,

all the following is based on a recent Debian Sid amd64 debootstrap
minbase chroot with armel enabled as a foreign architecture.

Dose3 fails to satisfy the cross build dependencies for the following
packages while apt does manage to satisfy them:

        dash, file, slang2, gzip, insserv, libsigsegv, make-dfsg, mpfr4,
        pam, sysvinit

Case 1
------

The following packages build-depend on a architecture:all, M-A: none
package. Dose3 correctly detected that they cannot satisfy the cross
build dependencies because they are not marked M-A: foreign. Apt decides
to ignore that and doesnt install them at all. Apt seems to completely
ignore that build dependency and is therefor able to believe it can
satisfy it.

{package}->{dependency that dose3 detected to be unsatisfiable and apt ignores} 

dash    -> po-debconf
file    -> python
slang2  -> autoconf

two examples:

josch@hoothoot> sudo chroot ~/debian-sid-minbase apt-cache showsrc dash | grep po-debconf
Build-Depends: po-debconf
josch@hoothoot> sudo chroot ~/debian-sid-minbase apt-get --simulate -aarmel build-dep dash | grep po-debconf | wc -l
0
josch@hoothoot> sudo chroot ~/debian-sid-minbase apt-get --option Debug::BuildDeps=true --simulate -aarmel build-dep dash | grep po-debconf
Looking for po-debconf...
  Trying to install po-debconf [ armel ] < none > ( none )

Case 2
------

The following packages also build-depend on a architecture:all, M-A:
none package. Since the packages are not M-A: foreign, they should not
be used to satisfy the build-dependencies for cross building. Apt
chooses to install them anyways:

{package}->{dependency that dose3 detected to be unsatisfiable but apt installs}

gzip    -> mingw-w64
insserv -> po-debconf
libsigsegv      -> autoconf
make-dfsg       -> autoconf
mpfr4   -> texlive-latex-base
pam     -> docbook-xml
sysvinit        -> po-debconf

an example:

josch@hoothoot> sudo chroot ~/debian-sid-minbase apt-cache showsrc
Build-Depends: debhelper (>= 8), po-debconf, bash-completion
josch@hoothoot> sudo chroot ~/debian-sid-minbase apt-get --option Debug::BuildDeps=true --simulate -aarmel build-dep insserv | grep po-debconf
Looking for po-debconf...
  Trying to install po-debconf [ armel ] < none > ( none )
  po-debconf
Inst po-debconf (1.0.16+nmu2 Debian:unstable [all])
Conf po-debconf (1.0.16+nmu2 Debian:unstable [all])


It is maybe interesting to see how dash and insserv both depend on
po-debconf and how slang2 and libsigsegv both depend on autoconf in the
exact same way but apt handles them differently. In one case it decides
to ignore the dependency on po-debconf and autoconf and in the other
case it wrongly installs the package even though it is not M-A: foreign
and should therefor not satisfy that build dependency.

Case 3
------

So we see that apt sometimes decides to use arch:all, M-A: none packages
to satisfy foreign build dependencies.

Then why do the following scenarios not work as expected:

josch@hoothoot> sudo chroot ~/debian-sid-minbase apt-get --simulate -aarmel build-dep libselinux
Reading package lists... Done
Building dependency tree... Done
E: Build-Depends dependency for libselinux cannot be satisfied because the package gem2deb cannot be found

josch@hoothoot> sudo chroot ~/debian-sid-minbase apt-get --simulate -aarmel build-dep libsemanage
Reading package lists... Done
Building dependency tree... Done
E: Build-Depends dependency for libsemanage cannot be satisfied because the package gem2deb cannot be found

josch@hoothoot> sudo chroot ~/debian-sid-minbase apt-get --simulate -aarmel build-dep libffi
Reading package lists... Done
Building dependency tree... Done
E: Build-Depends dependency for libffi cannot be satisfied because the package dejagnu cannot be found

josch@hoothoot> sudo chroot ~/debian-sid-minbase apt-get --simulate -aarmel build-dep diffutils
Reading package lists... Done
Building dependency tree... Done
E: Build-Depends dependency for diffutils cannot be satisfied because the package texi2html cannot be found

gem2deb, dejagnu and texi2html are arch:all, M-A: none packages just as
mingw-w64, po-debconf, autoconf, texlive-latex-base and docbook-xml that
apt happily installed before in some cases. Why doesnt it install those
packages this time?

Maybe there is a connection to bug#666772 ?

cheers, josch

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

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 683786@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 06 Aug 2012 15:55:04 +0200
Source: apt
Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.9.7.4
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package managment related utility programs
 libapt-inst1.5 - 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-pkg4.12 - package managment runtime library
Closes: 676302 683109 683354 683410 683786
Changes: 
 apt (0.9.7.4) unstable; urgency=low
 .
   [ Manpages translation updates ]
   * Polish (Robert Luberda) (Closes: #683109)
 .
   [ Program translation updates ]
   * Polish (Michał Kułach)
 .
   [ Pino Toscano ]
   * apt-pkg/contrib/mmap.cc:
     - guard only the msync call with _POSIX_SYNCHRONIZED_IO rather
       than also the fallback code as it breaks APT on hurd since 0.9.7.3
       as the fallback is now always used on non-linux (Closes: #683354)
 .
   [ David Kalnischkies ]
   * apt-pkg/contrib/fileutl.cc:
     - remove _POSIX_SYNCHRONIZED_IO guard in FileFd::Sync() around fsync
       as this guard is only needed for fdatasync and not defined on hurd
   * cmdline/apt-get.cc:
     - error out on (unsatisfiable) build-deps on purly virtual packages
       instead of ignoring these dependencies; thanks to Johannes Schauer
       for the detailed report! (Closes: #683786)
     - ensure that the right architecture is used for cross-dependencies in
       cases we have to choose a provider by defaulting on host-arch
       instead of build-arch
   * doc/apt-verbatim.ent:
     - denote 'wheezy' as stable codename and 'jessie' as testing codename
       in the documentation in preparation for release
   * apt-pkg/indexcopy.cc:
     - do not use atomic writing if the target is /dev/null as we don't want
       to replace it, not even automically. (Closes: #683410)
   * apt-pkg/cdrom.cc:
     - do not link() but rename() the cdroms.list to cdroms.list~ as a backup
       to ensure that apt-cdrom can be run multiple times (Closes: #676302)
Checksums-Sha1: 
 bba2fe56bd1d64ddcd943165424f96f2689be40b 1689 apt_0.9.7.4.dsc
 f813e7db6d5f39991e5bc6fc9e479f33b6d970e3 3389724 apt_0.9.7.4.tar.gz
 ede60bb8b310d010c17702284304f71a7549cdbf 260128 apt-doc_0.9.7.4_all.deb
 cbb7d0b51331512cc9dc655ba0dc1a9cc15e6b27 958974 libapt-pkg-doc_0.9.7.4_all.deb
 6f1db7f1a25faf602e4f03cd16d5b1eed1971a36 880586 libapt-pkg4.12_0.9.7.4_amd64.deb
 f4c0f1d461347529889bf571cc8209e70256d3c4 163764 libapt-inst1.5_0.9.7.4_amd64.deb
 38e2ff456f1c643736a4698a4c1310d72de42417 1153106 apt_0.9.7.4_amd64.deb
 92955a30b2cd7b65b9ac744d2020c9443c25e625 184658 libapt-pkg-dev_0.9.7.4_amd64.deb
 9360c43cc8ed0370f0f1190dd63b7e6b1f030a5d 373558 apt-utils_0.9.7.4_amd64.deb
 f9d335001d0ec1f4320632c5034779311a935697 106346 apt-transport-https_0.9.7.4_amd64.deb
Checksums-Sha256: 
 e495e1d6f363999c16598a1fd39c21e832bdec5ea2677e5d4dbccff5f72ec492 1689 apt_0.9.7.4.dsc
 31745b8567287baa5443e970044a54693d2a1488f6b70d29c8357c844d2615a9 3389724 apt_0.9.7.4.tar.gz
 55a2bd6e546066e7b8148dc4acff06fe3ba072fe6c009b79d2d63ab3b7d6af29 260128 apt-doc_0.9.7.4_all.deb
 dfe286763332f965cca710f50381c46382889ca5a0b2aad971ab07df3cf1118d 958974 libapt-pkg-doc_0.9.7.4_all.deb
 9550210e6adac0f12619e384fab8ecc298943b5f6b0fe539af817e1f1d145ba9 880586 libapt-pkg4.12_0.9.7.4_amd64.deb
 c74027e605c7225635aaba89d7ebd2e092a20c5326cc48416084e6f607b25723 163764 libapt-inst1.5_0.9.7.4_amd64.deb
 bbaee2cf937525eddf5de12ccf8cd28cca0102f9cd9a9add23b70a4a2afbc6ef 1153106 apt_0.9.7.4_amd64.deb
 e6335d09e6924cacd3e222941730848ea73424c3d23cf2b746e97da8754e6359 184658 libapt-pkg-dev_0.9.7.4_amd64.deb
 7f23b6e5393f6c0644a6c1e8a645dac01d9a3453d0d2c6060aa6b2dc75553bde 373558 apt-utils_0.9.7.4_amd64.deb
 229f1a688a49b36205498290fb7a2cd0e921e0564e9e5201bdf63109a53eb9fe 106346 apt-transport-https_0.9.7.4_amd64.deb
Files: 
 19e3fcbdb26756087f84960e9d5b1778 1689 admin important apt_0.9.7.4.dsc
 a433cbc6b6d124863ef61c7963ce4aca 3389724 admin important apt_0.9.7.4.tar.gz
 53374023402f34191a5fcfcaf5090d42 260128 doc optional apt-doc_0.9.7.4_all.deb
 181a99da9aa5583cff07b4259041f35f 958974 doc optional libapt-pkg-doc_0.9.7.4_all.deb
 41d6193d0c7e6873eb976ea6861d86e7 880586 libs important libapt-pkg4.12_0.9.7.4_amd64.deb
 0f100fe68bd4b0f615a01c7833fb6ce2 163764 libs important libapt-inst1.5_0.9.7.4_amd64.deb
 896ba34fded7a1ce6bdb9f9ed081036d 1153106 admin important apt_0.9.7.4_amd64.deb
 8cf55b2bcdf6ec622b935c66979fb694 184658 libdevel optional libapt-pkg-dev_0.9.7.4_amd64.deb
 161a81f1e7b7233b80b2552ce4a9c68c 373558 admin important apt-utils_0.9.7.4_amd64.deb
 5df4fe7b338ae7703ec0b17cb3768217 106346 admin optional apt-transport-https_0.9.7.4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlAf51UACgkQliSD4VZixzTgRQCeJmHyVzUmvCzCXUp1OWHQzDx+
kIYAnReo/UQTAHkz09mRteThcjtjguqb
=TTeF
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: