Public bug reported: Binary package hint: apt
Hello, I tried on hardy: #sudo apt-get build-dep -o Debug::BuildDeps=1 python2.5=2.5.2-2ubuntu4.1 where python has in control file and cache: Build-Depends: debhelper (>= 5), autoconf, automake1.9, libreadline5-dev, libncursesw5-dev (>= 5.3), tk8.4-dev, libdb4.6-dev [amd64 i386 lpia], libdb4.2-dev [!amd64 !i386 !lpia], zlib1g-dev, libgdbm-dev, blt-dev (>= 2.4z), libssl-dev, sharutils, libbz2-dev, libbluetooth-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], locales, libsqlite3-dev, libffi4-dev (>= 4.1.2), mime-support, libgpmg1 [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], netbase, lsb-release, bzip2, netbase, gcc (>= 4:4.2) | gcc-4.1 (>= 4.1.2-4) [alpha powerpc ppc64 s390 sparc] Build-Depends-Indep: libhtml-tree-perl, texlive-latex-recommended, texinfo, emacs22, debiandoc-sgml, sharutils and it silently discards the libbluetooth-dev package on amd64 and i386 (linux) arch. Poking around, I found that apt parses correctly [debSrcRecordParser::BuildDepends(vector<pkgSrcRecords::Parser::BuildDepRec> &BuildDeps, bool ArchOnly) ], but fails in cmdline/apt-get.cc at <code> bool hasAlternatives = (((*D).Op & pkgCache::Dep::Or) == pkgCache::Dep::Or); if (skipAlternatives == true) { if (!hasAlternatives) skipAlternatives = false; { // end of or group std::cout << "MOO7: skipping: " << (*D).Package << " " << (*D).Version << std::endl; std::cout << "MOO7: skipping: info: " << (*D).Op << std::endl; continue; } } </code> when it iterates over the all Build-Depends and Build-Indep-Depends packages. The output of this modified C++ code for better understanding: [..] MOO4 Install: libbluetooth-dev MOO7: skipping: libbluetooth-dev MOO7: skipping: info: 0 [..] , later the dpkg-checkbuilddeps will fail when I try to build this python. In this case, by using apt-get build-dep the python's build dependency cannot be satisfied nor built. ** Affects: apt (Ubuntu) Importance: Undecided Status: New ** Tags: apt build-dep build-depends -- apt-get build-dep doesn't install all the necessary packages https://bugs.launchpad.net/bugs/378680 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs