Bug#261940: FTBFS: missing libpopt-dev from Build-Depends

Matt Kraai Matt Kraai <kraai@ftbfs.org>, 261940@bugs.debian.org
Wed, 28 Jul 2004 11:22:17 -0700


--wzJLGUyc3ArbnUjN
Content-Type: multipart/mixed; boundary="6TrnltStXW4iwmi0"
Content-Disposition: inline


--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: libgnomeprint
Version: 2.6.2-2
Severity: important
Tags: patch

This package fails to build from source:

 ...
 make[4]: Entering directory `/tmp/buildd/libgnomeprint-2.6.2/tests/tools'
 source=3D'pdfcheck.c' object=3D'pdfcheck.o' libtool=3Dno \
 depfile=3D'.deps/pdfcheck.Po' tmpdepfile=3D'.deps/pdfcheck.TPo' \
 depmode=3Dgcc3 /bin/sh ../../depcomp \
 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib=
-2.0/include -I/usr/include/libxml2      -g -Wall -O2 -Wall -Wmissing-proto=
types -Wnested-externs -Wpointer-arith -Wno-sign-compare -c `test -f 'pdfch=
eck.c' || echo './'`pdfcheck.c
 pdfcheck.c:17:18: popt.h: No such file or directory
 pdfcheck.c:26: error: elements of array `options' have incomplete type
 pdfcheck.c:27: warning: excess elements in struct initializer
 pdfcheck.c:27: warning: (near initialization for `options[0]')
 pdfcheck.c:27: warning: excess elements in struct initializer
 pdfcheck.c:27: warning: (near initialization for `options[0]')
 pdfcheck.c:27: error: `POPT_ARG_INT' undeclared here (not in a function)
 pdfcheck.c:27: warning: excess elements in struct initializer
 pdfcheck.c:27: warning: (near initialization for `options[0]')
 pdfcheck.c:27: warning: excess elements in struct initializer
 pdfcheck.c:27: warning: (near initialization for `options[0]')
 pdfcheck.c:27: warning: excess elements in struct initializer
 pdfcheck.c:27: warning: (near initialization for `options[0]')
 pdfcheck.c:28: warning: excess elements in struct initializer
 pdfcheck.c:28: warning: (near initialization for `options[0]')
 pdfcheck.c:28: warning: excess elements in struct initializer
 pdfcheck.c:28: warning: (near initialization for `options[0]')
 pdfcheck.c:29: warning: excess elements in struct initializer
 pdfcheck.c:29: warning: (near initialization for `options[1]')
 pdfcheck.c: In function `my_error':
 pdfcheck.c:40: warning: implicit declaration of function `vsnprintf'
 pdfcheck.c: In function `main':
 pdfcheck.c:517: error: `poptContext' undeclared (first use in this functio=
n)
 pdfcheck.c:517: error: (Each undeclared identifier is reported only once
 pdfcheck.c:517: error: for each function it appears in.)
 pdfcheck.c:517: error: parse error before "popt"
 pdfcheck.c:524: error: `popt' undeclared (first use in this function)
 pdfcheck.c:524: warning: implicit declaration of function `poptGetContext'
 pdfcheck.c:525: warning: implicit declaration of function `poptGetNextOpt'
 pdfcheck.c:526: warning: implicit declaration of function `poptGetArgs'
 pdfcheck.c:526: warning: assignment makes pointer from integer without a c=
ast
 make[4]: *** [pdfcheck.o] Error 1
 make[4]: Leaving directory `/tmp/buildd/libgnomeprint-2.6.2/tests/tools'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/tmp/buildd/libgnomeprint-2.6.2/tests'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/tmp/buildd/libgnomeprint-2.6.2'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/tmp/buildd/libgnomeprint-2.6.2'
 make: *** [debian/stamp-makefile-build] Error 2
 pbuilder: Failed autobuilding of package
 ...

Fixed by adding libpopt-dev to the Build-Depends.

--=20
Matt Kraai            kraai@ftbfs.org            http://ftbfs.org/

--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=unknown-8bit
Content-Disposition: attachment; filename=patch
Content-Transfer-Encoding: quoted-printable

diff -Nru libgnomeprint-2.6.2-old/debian/control libgnomeprint-2.6.2/debian=
/control
--- libgnomeprint-2.6.2-old/debian/control	2004-07-28 10:29:29.000000000 -0=
700
+++ libgnomeprint-2.6.2/debian/control	2004-07-28 10:51:23.000000000 -0700
@@ -4,7 +4,7 @@
 Maintainer: Rob Taylor <robtaylor@fastmail.fm>
 Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.de=
bian.org>, Akira TAGOH <tagoh@debian.org>, Andreas Rottmann <rotty@debian.o=
rg>, Andrew Lau <netsnipe@users.sourceforge.net>, Carlos Perell=C3=B3 Mar=
=C3=ADn <carlos@pemas.net>, Edd Dumbill <ejad@debian.org>, Emil Soleyman-Zo=
malan <emil@nishra.com>, Gustavo Noronha Silva <kov@debian.org>, J.H.M. Das=
sen (Ray) <jdassen@debian.org>, Joe Drew <drew@debian.org>, Johannes Rohr <=
j.rohr@comlink.org>, Jordi Mallach <jordi@debian.org>, Jose Carlos Garcia S=
ogo <jsogo@debian.org>, Josselin Mouette <joss@debian.org>, Ond=C5=99ej Sur=
=C3=BD <ondrej@debian.org>, Rob Bradford <rob@debianplanet.org>, Robert McQ=
ueen <robot101@debian.org>, Ross Burton <ross@debian.org>, Sebastien Bacher=
 <seb128@debian.org>, Takuo KITAME <kitame@debian.org>, Marc 'HE' Brockschm=
idt <he@debian.org>
 Standards-Version: 3.6.1
-Build-Depends: debhelper (>=3D 3.4.4), cdbs, intltool, gnome-pkg-tools, zl=
ib1g-dev, libxml2-dev, libfontconfig-dev, libglib2.0-dev (>=3D 2.4.1-2), li=
bpango1.0-dev (>=3D 1.4.0-3), libcupsys2-dev (>=3D 1.1.20final+cvs20040330-=
4), libart-2.0-dev (>=3D 2.3.16-5)
+Build-Depends: debhelper (>=3D 3.4.4), cdbs, intltool, gnome-pkg-tools, zl=
ib1g-dev, libxml2-dev, libfontconfig-dev, libglib2.0-dev (>=3D 2.4.1-2), li=
bpango1.0-dev (>=3D 1.4.0-3), libcupsys2-dev (>=3D 1.1.20final+cvs20040330-=
4), libart-2.0-dev (>=3D 2.3.16-5), libpopt-dev
=20
 Package: libgnomeprint2.2-0
 Architecture: any
diff -Nru libgnomeprint-2.6.2-old/debian/control.in libgnomeprint-2.6.2/deb=
ian/control.in
--- libgnomeprint-2.6.2-old/debian/control.in	2004-07-28 10:29:29.000000000=
 -0700
+++ libgnomeprint-2.6.2/debian/control.in	2004-07-28 10:50:52.000000000 -07=
00
@@ -4,7 +4,7 @@
 Maintainer: Rob Taylor <robtaylor@fastmail.fm>
 Uploaders: @GNOME_TEAM@
 Standards-Version: 3.6.1
-Build-Depends: debhelper (>=3D 3.4.4), cdbs, intltool, gnome-pkg-tools, zl=
ib1g-dev, libxml2-dev, libfontconfig-dev, libglib2.0-dev (>=3D 2.4.1-2), li=
bpango1.0-dev (>=3D 1.4.0-3), libcupsys2-dev (>=3D 1.1.20final+cvs20040330-=
4), libart-2.0-dev (>=3D 2.3.16-5)
+Build-Depends: debhelper (>=3D 3.4.4), cdbs, intltool, gnome-pkg-tools, zl=
ib1g-dev, libxml2-dev, libfontconfig-dev, libglib2.0-dev (>=3D 2.4.1-2), li=
bpango1.0-dev (>=3D 1.4.0-3), libcupsys2-dev (>=3D 1.1.20final+cvs20040330-=
4), libart-2.0-dev (>=3D 2.3.16-5), libpopt-dev
=20
 Package: libgnomeprint2.2-0
 Architecture: any

--6TrnltStXW4iwmi0--

--wzJLGUyc3ArbnUjN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBB+7ZfNdgYxVXvBARAp4nAJ9aQmXgI0XHHshFfwk1HAlYDDAZowCeNwha
VOrzXNQX9hIgu6+urAsQxPE=
=Jwpi
-----END PGP SIGNATURE-----

--wzJLGUyc3ArbnUjN--