Greetings, Peter, thanks for the bug report. I have some comments:
On Sun, May 10, 2009 at 09:19:26PM +0300, Peter De Schrijver wrote: > > Package: massxpert > Version: 2.0.0-1 > Severity: serious > > There was an error while trying to autobuild your package: > > > Automatic build of massxpert_2.0.0-1 on mayr by sbuild/mips 99.999 > > Build started at 20090510-0815 > > [...] > > > ** Using build dependencies supplied by package: > > Build-Depends: debhelper (>= 7), libqt4-dev (>= 4.4.3), cmake (>= 2.6.0) > > [...] The full build log [0] shows that the debian/rules build target was called on the package: debian/rules build Because that debian/rules build target was called, the autobuilder should have downloaded and installed the Build-Depends-Indep dependencies: Build-Depends-Indep: texlive-latex-extra, texlive-latex-recommended, texlive-fonts-recommended Instead, it chose not to do so: Download complete and in download only mode ** Using build dependencies supplied by package: Build-Depends: debhelper (>= 7), libqt4-dev (>= 4.4.3), cmake (>= 2.6.0) Build-Depends-Indep: texlive-latex-extra, texlive-latex-recommended, texlive-fonts-recommended Checking for already installed source dependencies... debhelper: already installed (7.2.8 >= 7 is satisfied) libqt4-dev: missing cmake: missing Checking for source dependency conflicts... /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install libqt4-dev cmake Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: cmake-data defoma emacsen-common fontconfig fontconfig-config gsfonts libaa1 libasound2 libasyncns0 libatk1.0-0 libaudio2 libavc1394-0 libavcodec52 ... [ many lines removed not containing texlive-.* ] phonon-backend-xine qt4-qmake shared-mime-info tsconf ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ucf whiptail x11-common Thus, when the debian/rules build target was called, it did: .PHONY: build build: build-indep-stamp build-arch-stamp beginning with 8<~~~~~~~~~~~~~~~~~~~~~~~~~ debian/rules ~~~~~~~~~~~~~~~~~~~~~~~~~~ build-indep-stamp: dh_testdir dh_prep -i rm -rf $(INSTALL_INDEP_DIR) mkdir -p $(BUILD_INDEP_DIR) # The following is for building of the user manual cd $(BUILD_INDEP_DIR) && $(CMAKE) -D BUILD_PROGRAM=0 -D BUILD_DATA=1 \ -D BUILD_USERMANUAL=1 -D CMAKE_INSTALL_PREFIX=/usr ../.. cd $(CURDIR)/usermanual && $(MAKE) -f Makefile all_no_reload touch build-indep-stamp ~~~~~~~~~~~~~~~~~~~~~~~~~ debian/rules ~~~~~~~~~~~~~~~~~~~~~~~~~~>8 However, pdflatex, which is needed by build-indep-stamp is not installed because pbuilder did not install Build-Depends-Indep: texlive-latex-extra, texlive-latex-recommended, texlive-fonts-recommended Please, note that Policy requires that if 'build' is called as a debian/rules target, the Build-Depends-Indep dependencies have to be installed (arrows mine): 7.7 Relationships between source and binary packages - Build-Depends, Build-Depends-Indep, Build-Conflicts, Build-Conflicts-Indep The dependencies and conflicts they define must be satisfied (as defined earlier for binary packages) in order to invoke the targets in debian/rules, as follows:[46] [...] Build-Depends-Indep, Build-Conflicts-Indep The Build-Depends-Indep and Build-Conflicts-Indep fields must be satisfied when any of the following targets is invoked: build, build-indep, binary and binary-indep. ^^^^^ [46] says: If you make "build-arch" or "binary-arch", you need Build-Depends. If you make "build-indep" or "binary-indep", you need Build-Depends and Build-Depends-Indep. If you make "build" or "binary", you need both. ^^^^^ I hope this pbuilder problem can be fixed so that package maintainers who make efforts to build well-separated arch/indep packages using well crafted debian/rules targets do not make these efforts for no reason. Cheers, Filippo [0] http://buildd.debian.org/build.php?arch=mips&pkg=massxpert&ver=2.0.0-1 -- Filippo Rusconi, PhD - CNRS - public key C78F687C Author of ``massXpert'' at http://www.massxpert.org
signature.asc
Description: Digital signature