This FTBFS bug has been fixed in Ubuntu. I have attached our debdiff in the hope that it can help you to fix this in Debian.
Kind regards -- Roy Jamison (xteejx) Ubuntu Bug Squad Ubuntu Bug Control www.ubuntu.com
diff -Nru xpaint-2.9.1.4/debian/changelog xpaint-2.9.1.4/debian/changelog --- xpaint-2.9.1.4/debian/changelog 2010-07-20 03:48:38.000000000 +0100 +++ xpaint-2.9.1.4/debian/changelog 2010-10-27 23:43:03.000000000 +0100 @@ -1,3 +1,10 @@ +xpaint (2.9.1.4-1ubuntu1) natty; urgency=low + + * 99-binutils-gold: Add -lfontconfig for binutils-gold, fixes FTBFS + (LP: #667502) + + -- Roy Jamison <xtee...@googlemail.com> Wed, 27 Oct 2010 23:37:53 +0100 + xpaint (2.9.1.4-1) unstable; urgency=low * New upstream release. diff -Nru xpaint-2.9.1.4/debian/control xpaint-2.9.1.4/debian/control --- xpaint-2.9.1.4/debian/control 2010-07-15 23:29:56.000000000 +0100 +++ xpaint-2.9.1.4/debian/control 2010-10-27 23:43:31.000000000 +0100 @@ -1,7 +1,8 @@ Source: xpaint Section: graphics Priority: optional -Maintainer: Josue Abarca <jmasli...@debian.org.gt> +Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> +XSBC-Original-Maintainer: Josue Abarca <jmasli...@debian.org.gt> Build-Depends: debhelper (>= 7.0.50~), libxpm-dev, libxaw7-dev, libtiff4-dev, libpng12-dev, xutils-dev, libxft-dev, bison, flex (>= 2.5.31-16), libxmu-dev, libxt-dev, libsm-dev, libice-dev, libxext-dev, libx11-dev, diff -Nru xpaint-2.9.1.4/debian/patches/99-binutils-gold.diff xpaint-2.9.1.4/debian/patches/99-binutils-gold.diff --- xpaint-2.9.1.4/debian/patches/99-binutils-gold.diff 1970-01-01 01:00:00.000000000 +0100 +++ xpaint-2.9.1.4/debian/patches/99-binutils-gold.diff 2010-10-27 23:37:33.000000000 +0100 @@ -0,0 +1,16 @@ +Description: Add -lfontconfig to configure for binutils-gold +Bug-Ubuntu: https://bugs.launchpad.net/bugs/667502 +Author: Roy Jamison <xtee...@googlemail.com> +--- xpaint-2.9.1.4.orig/configure 2010-10-27 23:27:12.594722228 +0100 ++++ xpaint-2.9.1.4/configure 2010-10-27 23:28:43.000000000 +0100 +@@ -72,8 +72,8 @@ + ln -sf `pwd`/xaw3dxft xaw_incdir + echo "XAWLIB_DEFINES = -DXAW3D -DXAW3DG -DXAW3DXFT" + echo "XAWLIB_DEFINES = -DXAW3D -DXAW3DG -DXAW3DXFT" > Local.xawdefs +- echo "SYS_LIBRARIES = -lXaw3dxft -lXt -L. -L./xaw3dxft" +- echo "SYS_LIBRARIES = -lXaw3dxft -lXt -L. -L./xaw3dxft" >> Local.xawdefs ++ echo "SYS_LIBRARIES = -lXaw3dxft -lXt -lfontconfig -L. -L./xaw3dxft" ++ echo "SYS_LIBRARIES = -lXaw3dxft -lXt -lfontconfig -L. -L./xaw3dxft" >> Local.xawdefs + echo "" + cd xaw3dxft ; xmkmf ; make Xaw3dP.h ; cd .. ; + xmkmf -a diff -Nru xpaint-2.9.1.4/debian/patches/series xpaint-2.9.1.4/debian/patches/series --- xpaint-2.9.1.4/debian/patches/series 2010-07-15 23:29:56.000000000 +0100 +++ xpaint-2.9.1.4/debian/patches/series 2010-10-27 23:26:58.000000000 +0100 @@ -2,3 +2,4 @@ imgmerge-sensible-editor.diff xpaint_ocr-sensible-editor.diff imakefile_extra_includes.diff +99-binutils-gold.diff