Your message dated Thu, 29 Dec 2005 12:00:26 +0100
with message-id <[EMAIL PROTECTED]>
and subject line closing
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Jul 2005 23:32:29 +0000
>From [EMAIL PROTECTED] Fri Jul 29 16:32:29 2005
Return-path: <[EMAIL PROTECTED]>
Received: from zoot.lafn.org [206.117.18.6] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DyeL6-0006Iv-00; Fri, 29 Jul 2005 16:32:28 -0700
Received: from localhost.localdomain 
(pool-71-104-165-253.lsanca.dsl-w.verizon.net [71.104.165.253])
        (authenticated bits=0)
        by zoot.lafn.org (8.13.1/8.13.1) with ESMTP id j6TNWRBt062328
        (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO)
        for <[EMAIL PROTECTED]>; Fri, 29 Jul 2005 16:32:27 -0700 (PDT)
        (envelope-from [EMAIL PROTECTED])
Received: from kraai by localhost.localdomain with local (Exim 4.52)
        id 1DyWdS-00011H-2O
        for [EMAIL PROTECTED]; Fri, 29 Jul 2005 08:18:54 -0700
Date: Fri, 29 Jul 2005 08:18:53 -0700
From: Matt Kraai <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: FTBFS: Does not forward declare classes
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="aVD9QWMuhilNxW9f"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on 
zoot.lafn.org
X-Virus-Status: Clean
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02


--aVD9QWMuhilNxW9f
Content-Type: multipart/mixed; boundary="k1lZvvs/B4yU6o8G"
Content-Disposition: inline


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

Package: gpdf
Version: 2.8.2-1.2
Severity: serious
Tags: patch

gpdf fails to build because it does not forward declare some classes:

> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../goo -I../lib/ggv-sidebar -I=
=2E./fofi -I../splash -DDATADIR=3D\""/usr/share"\" -DGNOMELOCALEDIR=3D\""/u=
sr/share/locale"\" -DGNOMEICONDIR=3D\""/usr/share/pixmaps"\" -DXTHREADS -DO=
RBIT2=3D1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr=
/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/inclu=
de/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/inc=
lude/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanv=
as-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libb=
onoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/in=
clude/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-=
activation-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-module-2.0 -=
I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/i=
nclude/libglade-2.0   -I/usr/include/libgnomeprint-2.2/libgnomeprint/privat=
e      -g -Wall -O2 -g -Wall -O2 -Wall -Wno-unused -Wshadow -Woverloaded-vi=
rtual  -MT TextOutputDev.o -MD -MP -MF ".deps/TextOutputDev.Tpo" \
>   -c -o TextOutputDev.o `test -f 'TextOutputDev.cc' || echo './'`TextOutp=
utDev.cc; \
> then mv -f ".deps/TextOutputDev.Tpo" ".deps/TextOutputDev.Po"; \
> else rm -f ".deps/TextOutputDev.Tpo"; exit 1; \
> fi
> TextOutputDev.h:172: error: expected `)' before '*' token
> TextOutputDev.h:198: error: ISO C++ forbids declaration of 'TextBlock' wi=
th no type
> TextOutputDev.h:198: error: expected ';' before '*' token
> TextOutputDev.h:229: error: expected `)' before '*' token
> TextOutputDev.h:253: error: ISO C++ forbids declaration of 'TextPage' wit=
h no type
> TextOutputDev.h:253: error: expected ';' before '*' token
> TextOutputDev.h:285: error: expected `)' before '*' token
> TextOutputDev.h:299: error: ISO C++ forbids declaration of 'TextPage' wit=
h no type
> TextOutputDev.h:299: error: expected ';' before '*' token
> TextOutputDev.h:324: error: expected `)' before '*' token
> TextOutputDev.h:419: error: 'TextLineFrag' has not been declared
> TextOutputDev.cc:480: error: prototype for 'TextLine::TextLine(TextBlock*=
, int, double)' does not match any in class 'TextLine'
> TextOutputDev.h:169: error: candidates are: TextLine::TextLine(const Text=
Line&)
> TextOutputDev.h:169: error:                 TextLine::TextLine()
> TextOutputDev.cc: In constructor 'TextLine::TextLine(TextBlock*, int, dou=
ble)':
> TextOutputDev.cc:481: error: 'blk' was not declared in this scope
> TextOutputDev.cc: In member function 'void TextLineFrag::computeCoords(GB=
ool)':
> TextOutputDev.cc:771: error: 'class TextLine' has no member named 'blk'
> TextOutputDev.cc:781: error: 'class TextLine' has no member named 'blk'
> TextOutputDev.cc:829: error: 'class TextLine' has no member named 'blk'
> TextOutputDev.cc: In static member function 'static int TextLineFrag::cmp=
YXPrimaryRot(const void*, const void*)':
> TextOutputDev.cc:870: error: 'class TextLine' has no member named 'blk'
> TextOutputDev.cc: At global scope:
> TextOutputDev.cc:961: error: prototype for 'TextBlock::TextBlock(TextPage=
*, int)' does not match any in class 'TextBlock'
> TextOutputDev.h:226: error: candidates are: TextBlock::TextBlock(const Te=
xtBlock&)
> TextOutputDev.h:226: error:                 TextBlock::TextBlock()
> TextOutputDev.cc: In constructor 'TextBlock::TextBlock(TextPage*, int)':
> TextOutputDev.cc:962: error: 'page' was not declared in this scope
> TextOutputDev.cc: In member function 'void TextBlock::coalesce(UnicodeMap=
*)':
> TextOutputDev.cc:1118: error: new initializer expression list treated as =
compound expression
> TextOutputDev.cc:1118: error: no matching function for call to 'TextLine:=
:TextLine(double&)'
> TextOutputDev.h:169: note: candidates are: TextLine::TextLine()
> TextOutputDev.h:169: note:                 TextLine::TextLine(const TextL=
ine&)
> TextOutputDev.cc: In member function 'void TextBlock::updatePriMinMax(Tex=
tBlock*)':
> TextOutputDev.cc:1258: error: 'page' was not declared in this scope
> TextOutputDev.cc: In static member function 'static int TextBlock::cmpXYP=
rimaryRot(const void*, const void*)':
> TextOutputDev.cc:1310: error: 'class TextBlock' has no member named 'page'
> TextOutputDev.cc: In static member function 'static int TextBlock::cmpYXP=
rimaryRot(const void*, const void*)':
> TextOutputDev.cc:1341: error: 'class TextBlock' has no member named 'page'
> TextOutputDev.cc: In member function 'GBool TextBlock::isBelow(TextBlock*=
)':
> TextOutputDev.cc:1412: error: 'page' was not declared in this scope
> TextOutputDev.cc: At global scope:
> TextOutputDev.cc:1438: error: prototype for 'TextFlow::TextFlow(TextPage*=
, TextBlock*)' does not match any in class 'TextFlow'
> TextOutputDev.h:282: error: candidates are: TextFlow::TextFlow(const Text=
Flow&)
> TextOutputDev.h:282: error:                 TextFlow::TextFlow()
> TextOutputDev.cc: In constructor 'TextFlow::TextFlow(TextPage*, TextBlock=
*)':
> TextOutputDev.cc:1439: error: 'page' was not declared in this scope
> TextOutputDev.cc: In member function 'GBool TextFlow::blockFits(TextBlock=
*, TextBlock*)':
> TextOutputDev.cc:1490: error: 'page' was not declared in this scope
> TextOutputDev.cc: At global scope:
> TextOutputDev.cc:1513: error: prototype for 'TextWordList::TextWordList(T=
extPage*, GBool)' does not match any in class 'TextWordList'
> TextOutputDev.h:317: error: candidates are: TextWordList::TextWordList(co=
nst TextWordList&)
> TextOutputDev.h:317: error:                 TextWordList::TextWordList()
> TextOutputDev.cc: In member function 'void TextPage::coalesce(GBool)':
> TextOutputDev.cc:2038: error: new initializer expression list treated as =
compound expression
> TextOutputDev.cc:2038: error: no matching function for call to 'TextBlock=
::TextBlock(int&)'
> TextOutputDev.h:226: note: candidates are: TextBlock::TextBlock()
> TextOutputDev.h:226: note:                 TextBlock::TextBlock(const Tex=
tBlock&)
> TextOutputDev.cc:2523: error: new initializer expression list treated as =
compound expression
> TextOutputDev.cc:2523: error: no matching function for call to 'TextFlow:=
:TextFlow(TextBlock*&)'
> TextOutputDev.h:282: note: candidates are: TextFlow::TextFlow()
> TextOutputDev.h:282: note:                 TextFlow::TextFlow(const TextF=
low&)
> TextOutputDev.cc: In member function 'GString* TextPage::getText(double, =
double, double, double)':
> TextOutputDev.cc:2931: error: no matching function for call to 'TextPage:=
:assignColumns(TextLineFrag*&, int&, GBool&)'
> TextOutputDev.h:419: note: candidates are: void TextPage::assignColumns(i=
nt*, int, int)
> TextOutputDev.cc: At global scope:
> TextOutputDev.cc:3230: error: prototype for 'void TextPage::assignColumns=
(TextLineFrag*, int, GBool)' does not match any in class 'TextPage'
> TextOutputDev.h:419: error: candidate is: void TextPage::assignColumns(in=
t*, int, int)
> TextOutputDev.cc: In member function 'TextWordList* TextPage::makeWordLis=
t(GBool)':
> TextOutputDev.cc:3409: error: new initializer expression list treated as =
compound expression
> TextOutputDev.cc:3409: error: no matching function for call to 'TextWordL=
ist::TextWordList(GBool&)'
> TextOutputDev.h:317: note: candidates are: TextWordList::TextWordList()
> TextOutputDev.h:317: note:                 TextWordList::TextWordList(con=
st TextWordList&)

The attached patch adds the necessary forward class declarations.

--=20
Matt

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch
Content-Transfer-Encoding: quoted-printable

only in patch2:
unchanged:
--- gpdf-2.8.2.orig/xpdf/TextOutputDev.h
+++ gpdf-2.8.2/xpdf/TextOutputDev.h
@@ -166,6 +166,8 @@
 // TextLine
 //------------------------------------------------------------------------
=20
+class TextBlock;
+
 class TextLine {
 public:
=20
@@ -223,6 +225,8 @@
 // TextBlock
 //------------------------------------------------------------------------
=20
+class TextPage;
+
 class TextBlock {
 public:
=20
@@ -342,6 +346,8 @@
 // TextPage
 //------------------------------------------------------------------------
=20
+class TextLineFrag;
+
 class TextPage {
 public:
=20

--k1lZvvs/B4yU6o8G--

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

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

iD8DBQFC6kjdfNdgYxVXvBARAoiUAKC0EIqdR9c2RPUb7EmnMzDaZcDcNgCeLOyH
mc+dIKSLQ4sPTYdx4T8XetY=
=2MBQ
-----END PGP SIGNATURE-----

--aVD9QWMuhilNxW9f--

---------------------------------------
Received: (at 320521-done) by bugs.debian.org; 29 Dec 2005 11:00:27 +0000
>From [EMAIL PROTECTED] Thu Dec 29 03:00:27 2005
Return-path: <[EMAIL PROTECTED]>
Received: from slider2.rack66.net ([212.3.252.150] helo=slider2.rack66.com)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1ErvWF-0007f2-HE
        for [EMAIL PROTECTED]; Thu, 29 Dec 2005 03:00:27 -0800
Received: by slider2.rack66.com (Postfix, from userid 1005)
        id 6636B73CE8; Thu, 29 Dec 2005 12:00:26 +0100 (CET)
Date: Thu, 29 Dec 2005 12:00:26 +0100
From: Filip Van Raemdonck <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: closing
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Was accepted in the latest upload.

-- 
Welcome to CML2 Adventure, version 1.6.1.
You are in a maze of twisty little Linux kernel options menus, all different.
The main room.  A sign reads `Linux Kernel Configuration System'.
        -- CML2 Linux kernel Configuration system, the adventure frontend


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to