tag 583063 +patch thanks On 01/-10/-28163 08:59 PM, Lucas Nussbaum wrote: > During a rebuild of all packages in sid, your package failed to build on > amd64. >
*snip* >> WARN: If you are running on a 32 Bits x86 platform, you should install the >> Python Psyco module if possible, this would greatly speedup parsing. NB : >> Psyco doesn't work on other platforms, so don't worry if you're in this case. *snip* >> dh_gencontrol >> dpkg-gencontrol: error: the Recommends field contains an arch-specific >> dependency but the package is architecture all >> dh_gencontrol: dpkg-gencontrol -ldebian/changelog >> -Tdebian/pkpgcounter.substvars -Pdebian/pkpgcounter returned exit code 255 >> make: *** [binary-indep] Error 9 Limiting architectures in Recommends: doesn't make sense, therefore dpkg-gencontrol fails. With the attached patch, this builds fine on amd64. Regards, Christian
diff -urN pkpgcounter-3.50/debian/control pkpgcounter-3.50-new//debian/control --- pkpgcounter-3.50/debian/control 2010-06-25 16:09:49.000000000 +0200 +++ pkpgcounter-3.50-new//debian/control 2010-06-25 16:10:24.018027668 +0200 @@ -14,8 +14,7 @@ Package: pkpgcounter Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-imaging (>= 1.1.2-3.2), ghostscript -Recommends: python-psyco [i386 hurd-i386 netbsd-i386 kfreebsd-i386], - imagemagick, xvfb, xauth, texlive-latex-base +Recommends: python-psyco, imagemagick, xvfb, xauth, texlive-latex-base Suggests: abiword XB-Python-Version: ${python:Versions} Description: computes number of pages or quantity of ink needed to print documents