Your message dated Sat, 18 Feb 2012 18:32:21 +0000
with message-id <e1ryp53-0007kx...@franck.debian.org>
and subject line Bug#652081: fixed in derivations 0.52.20100310-1.1
has caused the Debian Bug report #652081,
regarding derivations: FTBFS: error: 'class XRef' has no member named 
'getLastXRefPos'
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
652081: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652081
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: derivations
Version: 0.52.20100310-1
Severity: serious
Justification: fails to build from source

After fixing incompatibility with GCC 4.5 (see bug #615671), derivations still FTBFS:
| /usr/bin/make -C PDF PDF.o
| make[4]: Entering directory 
`/build/derivations-j8_fZI/derivations-0.52.20100310/btool/PDF'
| g++ -Wall -Wextra   -O2 -c PDF.cc -o PDF.o
| PDF.cc: In function 'int PDF::offset_last_xref_table(const PDF::PDF&)':
| PDF.cc:11:25: error: 'class XRef' has no member named 'getLastXRefPos'
| PDF.cc:12:1: warning: control reaches end of non-void function [-Wreturn-type]
| make[4]: *** [PDF.o] Error 1
| make[4]: Leaving directory 
`/build/derivations-j8_fZI/derivations-0.52.20100310/btool/PDF'
| make[3]: *** [PDF/PDF.o] Error 2
| make[3]: Leaving directory 
`/build/derivations-j8_fZI/derivations-0.52.20100310/btool'
| make[2]: *** [../btool/complete-pdf] Error 2
| make[1]: *** [tex/derivations.pdf] Error 2
| make: *** [build-stamp] Error 2
| dpkg-buildpackage: error: debian/rules build gave error exit status 2
| make[2]: Leaving directory 
`/build/derivations-j8_fZI/derivations-0.52.20100310/tex'
| make[1]: Leaving directory 
`/build/derivations-j8_fZI/derivations-0.52.20100310'

The attached patch fixed this. (Albeit, in order to access a method that is declared as private, it resorts to an ugly hack.)

--
Jakub Wilk
--- derivations-0.52.20100310.orig/btool/PDF/PDF.cc
+++ derivations-0.52.20100310/btool/PDF/PDF.cc
@@ -1,14 +1,17 @@
+#define private public
 
 #include "PDF.h"
 #include <sys/stat.h>
 #include "PDF_rep.h"
 
+#undef private
+
 int PDF::file_length( const PDF &pdf ) {
   return pdf.rep->file_length1;
 }
 
 int PDF::offset_last_xref_table( const PDF &pdf ) {
-  return pdf.rep->xref->getLastXRefPos();
+  return pdf.rep->pdfdoc->getStartXRef();
 }
 
 PDF::Iref PDF::iref_catalog( const PDF &pdf ) {

--- End Message ---
--- Begin Message ---
Source: derivations
Source-Version: 0.52.20100310-1.1

We believe that the bug you reported is fixed in the latest version of
derivations, which is due to be installed in the Debian FTP archive:

derivations_0.52.20100310-1.1.debian.tar.gz
  to main/d/derivations/derivations_0.52.20100310-1.1.debian.tar.gz
derivations_0.52.20100310-1.1.dsc
  to main/d/derivations/derivations_0.52.20100310-1.1.dsc
derivations_0.52.20100310-1.1_all.deb
  to main/d/derivations/derivations_0.52.20100310-1.1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 652...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Dequènes (Duck) <d...@duckcorp.org> (supplier of updated derivations 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 18 Feb 2012 15:52:03 +0100
Source: derivations
Binary: derivations
Architecture: source all
Version: 0.52.20100310-1.1
Distribution: unstable
Urgency: low
Maintainer: Thaddeus H. Black <t...@debian.org>
Changed-By: Marc Dequènes (Duck) <d...@duckcorp.org>
Description: 
 derivations - book: Derivations of Applied Mathematics
Closes: 566340 615671 652081
Changes: 
 derivations (0.52.20100310-1.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Switched to dpkg-source 3.0 (quilt) format.
   * Moved helper development files out of the Debian diff in
     'upstream_helper' patch.
   * Applied patch from Matthias Klose <d...@ubuntu.com> as
     'build_fixes' patch (Closes: #615671):
     + Fix FTBFS with g++-4.5.
     + Fix FTBFS with ld --as-needed.
     + Don't build with -Werror.
   * Added'poppler_api_change' patch to solve a libpoppler API
     change (Closes: #652081).
   * Use 'dh_prep' instead of the deprecated 'dh_clean -k'.
   * Simplified build dependencies, as suggested by Frank Küster (Closes:
     #566340).
Checksums-Sha1: 
 6cd8a8bc7dcd2796752b9189ce3545d364582a25 1257 derivations_0.52.20100310-1.1.dsc
 01989f9ac0a6c8df1c43489f9f58b875cbd6386f 25475 
derivations_0.52.20100310-1.1.debian.tar.gz
 69adaa09c20b3a1ad0bde3263b17739f9f434812 4044572 
derivations_0.52.20100310-1.1_all.deb
Checksums-Sha256: 
 44cd6acb429d75466db25f02badbc1e5f3c6747f93c7dd1244f084d35a2f9a99 1257 
derivations_0.52.20100310-1.1.dsc
 b010000501a31e9ec3ce83032eefc6e21932995b33f6aeed67a79c9c9a37ab79 25475 
derivations_0.52.20100310-1.1.debian.tar.gz
 b7ce6803602cee1fb3c4e1ebc6dece28789e89edb3a6e8d446c0fcf9a38f2bd4 4044572 
derivations_0.52.20100310-1.1_all.deb
Files: 
 8f5931a46ea08454485100bb71a49680 1257 doc optional 
derivations_0.52.20100310-1.1.dsc
 1e6bf64481f9c77f63670e090ebe6c32 25475 doc optional 
derivations_0.52.20100310-1.1.debian.tar.gz
 8818416320ff063b7d3806ab02d94a4f 4044572 doc optional 
derivations_0.52.20100310-1.1_all.deb

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

iEYEARECAAYFAk8/668ACgkQsczZcpAmcIZonACgjILnzWEsXwKW3ebDLVrl6Xx/
7PsAoKbxiP/Yv3bSi2qnLmJXFnMITkTy
=xOXP
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to