[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#548878: marked as done (FTBFS texlive-bin won't compile against libpoppler >= 0.11)



Your message dated Wed, 21 Oct 2009 18:33:04 +0000
with message-id <E1N0fzc-0003Q8-Jd@ries.debian.org>
and subject line Bug#548878: fixed in texlive-bin 2007.dfsg.2-8
has caused the Debian Bug report #548878,
regarding FTBFS texlive-bin won't compile against libpoppler >= 0.11
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 owner@bugs.debian.org
immediately.)


-- 
548878: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548878
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texlive-bin
Version: 2007.dfsg.2-7
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

texlive-bin won't compile against libpoppler 0.11 or later, attached is 
a couple of patches (one for libpoppler >= 0.11, and the other is for 
libpoppler 0.12) to fix the issues.

Please note that libpoppler 0.12 is currently in experimental.

*** /tmp/tmpTsYyNF
In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/patches/ubuntu_libpoppler-0.11: fix a FTBFS because of unuseful
    call to GfxFont destructor (virtual and protected) (LP: #383825)
  * debian/patches/ubuntu_libpoppler-0.12: fix a FTBFS with libpoppler 0.12:
    use getPDFMinorVersion instead of getPDFVersion.

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic-proposed'), (500, 'karmic-backports'), (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u texlive-bin-2007.dfsg.2/debian/patches/series texlive-bin-2007.dfsg.2/debian/patches/series
--- texlive-bin-2007.dfsg.2/debian/patches/series
+++ texlive-bin-2007.dfsg.2/debian/patches/series
@@ -63,0 +65,2 @@
+ubuntu_libpoppler-0.11
+ubuntu_libpoppler-0.12
only in patch2:
unchanged:
--- texlive-bin-2007.dfsg.2.orig/debian/patches/ubuntu_libpoppler-0.11
+++ texlive-bin-2007.dfsg.2/debian/patches/ubuntu_libpoppler-0.11
@@ -0,0 +1,14 @@
+Fix a FTBFS with libpoppler 0.11: the destructor of GfxFont is virtual, and it doesn't make sense to call it.
+Index: texlive-bin-2007.dfsg.2/build/source/texk/web2c/pdftexdir/pdftoepdf.cc
+===================================================================
+--- texlive-bin-2007.dfsg.2.orig/build/source/texk/web2c/pdftexdir/pdftoepdf.cc	2009-09-28 08:44:25.000000000 +0000
++++ texlive-bin-2007.dfsg.2/build/source/texk/web2c/pdftexdir/pdftoepdf.cc	2009-09-28 09:25:56.000000000 +0000
+@@ -633,7 +633,7 @@
+     }
+     for (r = encodingList; r != 0; r = n) {
+         n = r->next;
+-        delete r->font;
++//        delete r->font;
+         delete r;
+     }
+ }
only in patch2:
unchanged:
--- texlive-bin-2007.dfsg.2.orig/debian/patches/ubuntu_libpoppler-0.12
+++ texlive-bin-2007.dfsg.2/debian/patches/ubuntu_libpoppler-0.12
@@ -0,0 +1,26 @@
+Fix a FTBFS with libpoppler 0.12: use getPDFMinorVersion instead of getPDFVersion
+Index: texlive-bin-2007.dfsg.2/build/source/texk/web2c/pdftexdir/pdftoepdf.cc
+===================================================================
+--- texlive-bin-2007.dfsg.2.orig/build/source/texk/web2c/pdftexdir/pdftoepdf.cc	2009-09-28 10:25:18.000000000 +0000
++++ texlive-bin-2007.dfsg.2/build/source/texk/web2c/pdftexdir/pdftoepdf.cc	2009-09-28 10:59:33.000000000 +0000
+@@ -673,6 +673,7 @@
+     Page *page;
+     int rotate;
+     PDFRectangle *pagebox;
++    int minor_pdf_version_found, major_pdf_version_found;
+     float pdf_version_found, pdf_version_wanted;
+     // initialize
+     if (!isInit) {
+@@ -688,8 +689,11 @@
+     // this works only for PDF 1.x -- but since any versions of PDF newer
+     // than 1.x will not be backwards compatible to PDF 1.x, pdfTeX will
+     // then have to changed drastically anyway.
+-    pdf_version_found = pdf_doc->doc->getPDFVersion();
++    minor_pdf_version_found = pdf_doc->doc->getPDFMinorVersion();
++    major_pdf_version_found = pdf_doc->doc->getPDFMajorVersion();
++    pdf_version_found = major_pdf_version_found + (minor_pdf_version_found * 0.1);
+     pdf_version_wanted = 1 + (minor_pdf_version_wanted * 0.1);
++
+     if (pdf_version_found > pdf_version_wanted) {
+         char msg[] =
+             "PDF inclusion: found PDF version <%.1f>, but at most version <%.1f> allowed";

--- End Message ---
--- Begin Message ---
Source: texlive-bin
Source-Version: 2007.dfsg.2-8

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

libkpathsea-dev_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/libkpathsea-dev_2007.dfsg.2-8_amd64.deb
libkpathsea4_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/libkpathsea4_2007.dfsg.2-8_amd64.deb
texlive-base-bin-doc_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/texlive-base-bin-doc_2007.dfsg.2-8_amd64.deb
texlive-base-bin_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/texlive-base-bin_2007.dfsg.2-8_amd64.deb
texlive-bin_2007.dfsg.2-8.diff.gz
  to pool/main/t/texlive-bin/texlive-bin_2007.dfsg.2-8.diff.gz
texlive-bin_2007.dfsg.2-8.dsc
  to pool/main/t/texlive-bin/texlive-bin_2007.dfsg.2-8.dsc
texlive-extra-utils_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/texlive-extra-utils_2007.dfsg.2-8_amd64.deb
texlive-font-utils_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/texlive-font-utils_2007.dfsg.2-8_amd64.deb
texlive-lang-indic_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/texlive-lang-indic_2007.dfsg.2-8_amd64.deb
texlive-metapost-doc_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/texlive-metapost-doc_2007.dfsg.2-8_amd64.deb
texlive-metapost_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/texlive-metapost_2007.dfsg.2-8_amd64.deb
texlive-music_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/texlive-music_2007.dfsg.2-8_amd64.deb
texlive-omega_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/texlive-omega_2007.dfsg.2-8_amd64.deb
texlive-xetex_2007.dfsg.2-8_amd64.deb
  to pool/main/t/texlive-bin/texlive-xetex_2007.dfsg.2-8_amd64.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 548878@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated texlive-bin 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Thu, 22 Oct 2009 01:42:18 +0900
Source: texlive-bin
Binary: texlive-base-bin texlive-extra-utils texlive-font-utils texlive-metapost texlive-omega texlive-xetex texlive-music texlive-lang-indic libkpathsea4 libkpathsea-dev texlive-metapost-doc texlive-base-bin-doc
Architecture: source amd64
Version: 2007.dfsg.2-8
Distribution: unstable
Urgency: low
Maintainer: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description: 
 libkpathsea-dev - TeX Live: path search library for TeX (development part)
 libkpathsea4 - TeX Live: path search library for TeX (runtime part)
 texlive-base-bin - TeX Live: Essential binaries
 texlive-base-bin-doc - TeX Live: Documentation files for texlive-base-bin
 texlive-extra-utils - TeX Live: TeX auxiliary programs
 texlive-font-utils - TeX Live: TeX font-related programs
 texlive-lang-indic - TeX Live: Indic
 texlive-metapost - TeX Live: MetaPost (and Metafont) drawing packages
 texlive-metapost-doc - TeX Live: Documentation files for texlive-metapost
 texlive-music - TeX Live: Music typesetting
 texlive-omega - TeX Live: Omega
 texlive-xetex - TeX Live: XeTeX macros
Closes: 548878
Changes: 
 texlive-bin (2007.dfsg.2-8) unstable; urgency=low
 .
   * Include patches from Ubuntu for libpoppler 0.0.12 support
     (Closes: #548878) (LP: #383825)
   * Add another patch fix-getline-libc10-horror that fixes another
     unreported FTBFS because libc now exports getline
Checksums-Sha1: 
 41c9ffd193810c02f33f712d2183f042cde59ce5 1705 texlive-bin_2007.dfsg.2-8.dsc
 29cb69519e058a8deed4b5bbfdd866bb2c44d9b2 369683 texlive-bin_2007.dfsg.2-8.diff.gz
 4fe6653203b3f58a2702b89642eff29add8526b4 2628296 texlive-base-bin_2007.dfsg.2-8_amd64.deb
 11d572d1756facc0b8dd4f12a97ecd566f413b97 690444 texlive-extra-utils_2007.dfsg.2-8_amd64.deb
 ace9f86f389493e25ae59d95d69bf521df3c292b 1306040 texlive-font-utils_2007.dfsg.2-8_amd64.deb
 195a04f5ee91557519e2e52e1f22bbc9ed11b0ce 644132 texlive-metapost_2007.dfsg.2-8_amd64.deb
 546d597e9feeaee42cca77f04abce4f9d69ac5e9 2842266 texlive-omega_2007.dfsg.2-8_amd64.deb
 38ed4cd14822847ab6e06e40b0532301420f069e 6413520 texlive-xetex_2007.dfsg.2-8_amd64.deb
 8dc80e29dc5119ebbad2775ce4305443f2f9bf08 1724132 texlive-music_2007.dfsg.2-8_amd64.deb
 66a4636a6e1c11e10b7cc191ff1b3a1218beaa91 6740320 texlive-lang-indic_2007.dfsg.2-8_amd64.deb
 3006ca68a5f73f47e4438281bd2d782309db037c 123890 libkpathsea4_2007.dfsg.2-8_amd64.deb
 a3dbffe5ff7ca29719cc456c743078a9d15bc1db 164962 libkpathsea-dev_2007.dfsg.2-8_amd64.deb
 c25355dcb7a06a65c4972837028d763f68dc9776 6805622 texlive-metapost-doc_2007.dfsg.2-8_amd64.deb
 4f02e23d14b615c643bf4a468d8b9a2547cab928 8608442 texlive-base-bin-doc_2007.dfsg.2-8_amd64.deb
Checksums-Sha256: 
 7754c03372317a7051bf0ab3ebb74946ea18f314a4ecd8142f981826e4b620e5 1705 texlive-bin_2007.dfsg.2-8.dsc
 047c49d7e7d1ab592827d82396839d452c36fb638cd1be11283c6124a5ec627e 369683 texlive-bin_2007.dfsg.2-8.diff.gz
 b28a3cdf49f3fd50f570a0075de98535b94133e90552d38f3e9f4ac71d589dff 2628296 texlive-base-bin_2007.dfsg.2-8_amd64.deb
 4c7e962dc785c61c985a09f0da43a5429d14d843d52ae84753a144f03e49bc6a 690444 texlive-extra-utils_2007.dfsg.2-8_amd64.deb
 89dd377deef8254be640b07cd1e662c9574dbfd34614095f57bda7d3c8530510 1306040 texlive-font-utils_2007.dfsg.2-8_amd64.deb
 22d5fe5862f5f683ac236f4a9598d5550e30000fc13be264c5a1ceb0da61749a 644132 texlive-metapost_2007.dfsg.2-8_amd64.deb
 95faad9f7469fcf3bb8f9bfd3fef374227b5ae0d54c1675a486ee28087ef8651 2842266 texlive-omega_2007.dfsg.2-8_amd64.deb
 94326dccc5cc28ef66aeded3afa7c82fdd40103ee2ab3f80371d371412d65eeb 6413520 texlive-xetex_2007.dfsg.2-8_amd64.deb
 aa36e58cc02f85b55cd02b4eb1594d20e2fc7e1d2c96fb354af3d9106f3e4956 1724132 texlive-music_2007.dfsg.2-8_amd64.deb
 89729f0228b2822990128d4b20c1fc675d6f98eee8ee52427509a7e4369e50e3 6740320 texlive-lang-indic_2007.dfsg.2-8_amd64.deb
 98b8e1d778710b4e2fa0832eac11652557fe5ff8488f9c3b3275a41619c993ec 123890 libkpathsea4_2007.dfsg.2-8_amd64.deb
 13500e0040eee61b1095c11978b7330858c7618665b5a7ad83485bfa81858d92 164962 libkpathsea-dev_2007.dfsg.2-8_amd64.deb
 b6fd21de2062dc983600bca2a5ec7f488b553fa0b74a8e532af86db1881a92ce 6805622 texlive-metapost-doc_2007.dfsg.2-8_amd64.deb
 a6b224083c59d34b8e397ce4dc65bea2a713e1782286d8ccdeacaf151db4a00a 8608442 texlive-base-bin-doc_2007.dfsg.2-8_amd64.deb
Files: 
 aec69856ec3257ef62cc6f91e2b65be6 1705 tex optional texlive-bin_2007.dfsg.2-8.dsc
 fa29bd2c3d1db6889e53e2e86422677d 369683 tex optional texlive-bin_2007.dfsg.2-8.diff.gz
 466c98d41723ea68df2c4432f75caa0d 2628296 tex optional texlive-base-bin_2007.dfsg.2-8_amd64.deb
 146e647b0a74eb84240775ae4b249946 690444 tex optional texlive-extra-utils_2007.dfsg.2-8_amd64.deb
 a62aa3da58583a0ff7214379868952f1 1306040 tex optional texlive-font-utils_2007.dfsg.2-8_amd64.deb
 3dd3e8461606d599fe9b4c78b0079d17 644132 tex optional texlive-metapost_2007.dfsg.2-8_amd64.deb
 f5ebc3ca5986e8569a156574538be008 2842266 tex optional texlive-omega_2007.dfsg.2-8_amd64.deb
 c5161055efd2f806fa5960284814c413 6413520 tex optional texlive-xetex_2007.dfsg.2-8_amd64.deb
 9171b7dcdf1bb47dc3a8431de32d0d8a 1724132 tex optional texlive-music_2007.dfsg.2-8_amd64.deb
 7bfbb759f2e8509d3cbcac038e50ac8a 6740320 tex optional texlive-lang-indic_2007.dfsg.2-8_amd64.deb
 03c3530adfc75632098f6201f7281f90 123890 libs optional libkpathsea4_2007.dfsg.2-8_amd64.deb
 3676ad0feca84638684a92bf6b428d97 164962 libdevel optional libkpathsea-dev_2007.dfsg.2-8_amd64.deb
 1a61c58e50c34525afcb8e1107a722df 6805622 doc optional texlive-metapost-doc_2007.dfsg.2-8_amd64.deb
 7ac98e538ff6290d3f40c051e1c9eae2 8608442 doc optional texlive-base-bin-doc_2007.dfsg.2-8_amd64.deb

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

iD8DBQFK3z2N0r9KownFsJQRAqwUAKCONyCE2QnKwORQgpnEmUNBsQvHTQCffOJt
E4LlLRT9QhN4DNhPU+KDLJg=
=mr3k
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: