On Thu, Dec 20, 2007 at 11:49:53AM +0530, Kumar Appaiah wrote: > See this old log. The apt-get command follows the same order as > specified in the package's Build-Depends: > http://buildd.debian.org/fetch.cgi?&pkg=octave2.9&ver=1%3A2.9.17-1&arch=sparc&stamp=1195174810&file=log > > But here, it is in alphabetical order: > http://buildd.debian.org/fetch.cgi?&pkg=octave2.9&ver=1%3A2.9.19-1&arch=sparc&stamp=1197772112&file=log > > And I saw the source package for octave2.9, here's the control: > > Build-Depends: g++-4.1 (>= 4.1.1-4), debhelper (>= 5.0.0), autoconf, texinfo, > texlive-latex-base, texlive-generic-recommended, g77, > libreadline5-dev, > libncurses5-dev, gperf, libhdf5-serial-dev (>= 1.6.5) | > libhdf5-lam-dev (>= 1.6.5) | libhdf5-mpich-dev (>= 1.6.5), > refblas3-dev | atlas3-base-dev, lapack3-dev | atlas3-base-dev, > gnuplot-nox, fftw3-dev, texi2html, less, dpatch, > slice, libpcre3-dev, flex, libglpk-dev (>= 4.15), > libsuitesparse-dev, gawk, gs-gpl, libcurl4-dev, libqhull-dev, > desktop-file-utils > > Notice that refblas3-dev is _before_ lapack3-dev. Now, if apt-get is > called faithfully in this order, atlas does not come in. But if it is > reordered, the lapack3-dev dependencies are honoured first, and that > pulls in atlas3-base, which is the first alternate dependency, and is > satisfiable. > > Now, the question is, where is the reordering occurring? sbuild? And the answer is, that the dsc file itself has it ordered! The generated dsc file has ordered B-Deps. I think this has to do with the dpkg-dev refactoring. I'll find out if a bug is warranted, though I'd appreciate more input. Thanks. Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036
Attachment:
signature.asc
Description: Digital signature