+++ Christoph Egger [2012-03-13 15:46 +0100]: > Package: src:therion > Version: 5.3.9-2 > Severity: serious > Tags: sid wheezy > Justification: fails to build from source (but built successfully in the past) > > Hi! > > Your package failed to build on the buildds: > > make -C ./thbook > make[2]: pdftex: Command not found > make[2]: *** [all] Error 127 > > Full build log at > https://buildd.debian.org/status/fetch.php?pkg=therion&arch=kfreebsd-amd64&ver=5.3.9-2&stamp=1331568497 > > latex* in build-depends-indep but used on a arch build?
Hmmm. This is my first conversion of a non-trivial package to separate out Build-Depends-Indep and build-arch, build-indep. It seemed to work locally when I tried both sorts of build in pbuilder. So I'm not quite sure what I've done wrong here. The autobuilder only install the Build-Depends stuff, but then appears to call the 'build' target which depends on both build-arch and build-indep. SO all the build-arch stuff build OK but then the build-indep part fails alomst immediately due to not having latex (pdflatex) installed. If the autobuilder only called build-arch then it looks like it should work OK, or if it also installed the Build-Depends-Indep packages it would work OK, but what currently seems to be happeneding seems guaranteed to fail in package that implements this separated-target stuff. Therefore I presume I have misunderstood something. Should I stop providing a 'build' target? I currently have: build: build-arch build-indep build-indep: generate latex for doc package touch build-indep-stamp build-arch: compile binary touch build-arch-stamp binary-indep: build-indep-stamp install doc package files binary-arch: build-arch-stamp install binary package files So is that wrong? I made this change because I saw mail asking that people prepare their packages for this transition. This seems to be difficult to do in practice at the moment. I could make 'build' only depend on build-arch, but that's inconvenient for local builds. Maybe it OK as a work-around? I assume someone has a plan? Asking around it seems like the autobuilder is still calling 'build' even though it only installs 'Build-Depends'. It seems that what is needed is dpkg 1.16.2 or later in order to have build-indep called automatically in preference when present. So I'll add a dependency on that and re-upload. Wookey -- Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM http://wookware.org/ -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org