Debian Bug report logs - #488170
inkscape: with libpoppler3 0.8.3-1: crashes when opening PDFs, FTBFS

version graph

Package: inkscape; Maintainer for inkscape is Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>; Source for inkscape is src:inkscape (PTS, buildd, popcon).

Reported by: Florian Kulzer <florian.kulzer+debian@icfo.es>

Date: Thu, 26 Jun 2008 19:48:01 UTC

Severity: serious

Tags: patch

Merged with 489083

Found in version inkscape/0.46-1

Fixed in version inkscape/0.46-2

Done: Wolfram Quester <wolfi@sigxcpu.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Wolfram Quester <wolfi@mittelerde.physik.uni-konstanz.de>:
Bug#488170; Package inkscape. (full text, mbox, link).


Acknowledgement sent to Florian Kulzer <florian.kulzer+debian@icfo.es>:
New Bug report received and forwarded. Copy sent to Wolfram Quester <wolfi@mittelerde.physik.uni-konstanz.de>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Florian Kulzer <florian.kulzer+debian@icfo.es>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: inkscape: with libpoppler3 0.8.3-1: crashes when opening PDFs, FTBFS
Date: Thu, 26 Jun 2008 21:44:50 +0200
Package: inkscape
Version: 0.46-1+b1
Severity: serious
Tags: patch
Justification: no longer builds from source

Hi,

I noticed that inkscape started crashing with PDFs after the recent
upgrade of libpoppler3; furthermore, it can no longer be built from the
Debian sources.

These are the show-stopping errors when running dpkg-buildpackage:

extension/internal/pdfinput/pdf-parser.cpp:2248: error: no matching function for call to ‘GfxFont::getNextChar(char*&,
int&, CharCode*, Unicode [8], int, int*, double*, double*, double*, double*)’
/usr/include/poppler/GfxFont.h:204: note: candidates are: virtual int GfxFont::getNextChar(char*, int, CharCode*, Unico
de**, int*, double*, double*, double*, double*)
extension/internal/pdfinput/pdf-parser.cpp:2270: warning: deprecated conversion from string constant to ‘char*’
extension/internal/pdfinput/pdf-parser.cpp:2297: error: no matching function for call to ‘GfxFont::getNextChar(char*&,
int&, CharCode*, Unicode [8], int, int*, double*, double*, double*, double*)’
/usr/include/poppler/GfxFont.h:204: note: candidates are: virtual int GfxFont::getNextChar(char*, int, CharCode*, Unico
de**, int*, double*, double*, double*, double*)

I found that this problem is known on Gentoo:
http://bugs.gentoo.org/show_bug.cgi?id=224883

They have a patch:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/inkscape/files/inkscape-0.46-poppler-0.8.3.patch?view=markup

I can build the Debian package after applying this patch and PDF import
works again.

Thank you for your time and for your work on the inkscape package.

- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-flo (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages inkscape depends on:
ii  libatk1.0-0         1.22.0-1             The ATK accessibility toolkit
ii  libc6               2.7-12               GNU C Library: Shared libraries
ii  libcairo2           1.6.4-6              The Cairo 2D vector graphics libra
ii  libcairomm-1.0-1    1.6.0-1              C++ wrappers for Cairo (shared lib
ii  libfontconfig1      2.6.0-1              generic font configuration library
ii  libfreetype6        2.3.6-1              FreeType 2 font engine, shared lib
ii  libgc1c2            1:6.8-1.1            conservative garbage collector for
ii  libgcc1             1:4.3.1-2            GCC support library
ii  libgconf2-4         2.22.0-1             GNOME configuration database syste
ii  libglib2.0-0        2.16.3-2             The GLib library of C routines
ii  libglibmm-2.4-1c2a  2.16.3-1             C++ wrapper for the GLib toolkit (
ii  libgnomevfs2-0      1:2.22.0-4           GNOME Virtual File System (runtime
ii  libgtk2.0-0         2.12.10-2            The GTK+ graphical user interface 
ii  libgtkmm-2.4-1c2a   1:2.12.7-1           C++ wrappers for GTK+ 2.4 (shared 
ii  libgtkspell0        2.0.13-1             a spell-checking addon for GTK's T
ii  liblcms1            1.16-10              Color management library
ii  libmagick++10       7:6.3.7.9.dfsg1-2+b2 C++ API to the ImageMagick library
ii  libmagick10         7:6.3.7.9.dfsg1-2+b2 image manipulation library
ii  libpango1.0-0       1.20.3-2             Layout and rendering of internatio
ii  libpng12-0          1.2.27-1             PNG library - runtime
ii  libpoppler-glib3    0.8.3-1              PDF rendering library (GLib-based 
ii  libpoppler3         0.8.3-1              PDF rendering library
ii  libpopt0            1.14-4               lib for parsing cmdline parameters
ii  libsigc++-2.0-0c2a  2.0.18-2             type-safe Signal Framework for C++
ii  libssl0.9.8         0.9.8g-10.1          SSL shared libraries
ii  libstdc++6          4.3.1-2              The GNU Standard C++ Library v3
ii  libwpd8c2a          0.8.14-1             Library for handling WordPerfect d
ii  libwpg-0.1-1        0.1.2-1              WordPerfect graphics import/conver
ii  libx11-6            2:1.1.4-2            X11 client-side library
ii  libxft2             2.1.12-3             FreeType-based font drawing librar
ii  libxml2             2.6.32.dfsg-2        GNOME XML library
ii  libxslt1.1          1.1.24-1             XSLT processing library - runtime 
ii  zlib1g              1:1.2.3.3.dfsg-12    compression library - runtime

Versions of packages inkscape recommends:
ii  imagemagick         7:6.3.7.9.dfsg1-2+b2 image manipulation programs
ii  libwmf-bin          0.2.8.4-6            Windows metafile conversion tools
ii  perlmagick          7:6.3.7.9.dfsg1-2+b2 Perl interface to the libMagick gr
ii  pstoedit            3.45-4               PostScript and PDF files to editab

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Wolfram Quester <wolfi@mittelerde.physik.uni-konstanz.de>:
Bug#488170; Package inkscape. (full text, mbox, link).


Acknowledgement sent to Soeren Sonnenburg <bugreports@nn7.de>:
Extra info received and forwarded to list. Copy sent to Wolfram Quester <wolfi@mittelerde.physik.uni-konstanz.de>. (full text, mbox, link).


Message #10 received at 488170@bugs.debian.org (full text, mbox, reply):

From: Soeren Sonnenburg <bugreports@nn7.de>
To: Debian Bug Tracking System <488170@bugs.debian.org>
Subject: the patch also fixes the problem for me
Date: Tue, 15 Jul 2008 20:16:13 +0200
Package: inkscape
Version: 0.46-1+b1
Followup-For: Bug #488170

so I am begging for a new upload

-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-sonne (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages inkscape depends on:
ii  libatk1.0-0         1.22.0-1             The ATK accessibility toolkit
ii  libc6               2.7-12               GNU C Library: Shared libraries
ii  libcairo2           1.6.4-6              The Cairo 2D vector graphics libra
ii  libcairomm-1.0-1    1.6.0-1              C++ wrappers for Cairo (shared lib
ii  libfontconfig1      2.6.0-1              generic font configuration library
ii  libfreetype6        2.3.7-1              FreeType 2 font engine, shared lib
ii  libgc1c2            1:6.8-1.1            conservative garbage collector for
ii  libgcc1             1:4.3.1-6            GCC support library
ii  libgconf2-4         2.22.0-1             GNOME configuration database syste
ii  libglib2.0-0        2.16.4-2             The GLib library of C routines
ii  libglibmm-2.4-1c2a  2.16.4-1             C++ wrapper for the GLib toolkit (
ii  libgnomevfs2-0      1:2.22.0-4           GNOME Virtual File System (runtime
ii  libgtk2.0-0         2.12.11-1            The GTK+ graphical user interface 
ii  libgtkmm-2.4-1c2a   1:2.12.7-1           C++ wrappers for GTK+ 2.4 (shared 
ii  libgtkspell0        2.0.13-1             a spell-checking addon for GTK's T
ii  liblcms1            1.17-1               Color management library
ii  libmagick++10       7:6.3.7.9.dfsg1-2+b2 C++ API to the ImageMagick library
ii  libmagick10         7:6.3.7.9.dfsg1-2+b2 image manipulation library
ii  libpango1.0-0       1.20.5-1             Layout and rendering of internatio
ii  libpng12-0          1.2.27-1             PNG library - runtime
ii  libpoppler-glib3    0.8.4-1.1            PDF rendering library (GLib-based 
ii  libpoppler3         0.8.4-1.1            PDF rendering library
ii  libpopt0            1.14-4               lib for parsing cmdline parameters
ii  libsigc++-2.0-0c2a  2.0.18-2             type-safe Signal Framework for C++
ii  libssl0.9.8         0.9.8g-10.1          SSL shared libraries
ii  libstdc++6          4.3.1-6              The GNU Standard C++ Library v3
ii  libwpd8c2a          0.8.14-1             Library for handling WordPerfect d
ii  libwpg-0.1-1        0.1.2-1              WordPerfect graphics import/conver
ii  libx11-6            2:1.1.4-2            X11 client-side library
ii  libxft2             2.1.12-3             FreeType-based font drawing librar
ii  libxml2             2.6.32.dfsg-2        GNOME XML library
ii  libxslt1.1          1.1.24-1             XSLT processing library - runtime 
ii  zlib1g              1:1.2.3.3.dfsg-12    compression library - runtime

Versions of packages inkscape recommends:
ii  imagemagick         7:6.3.7.9.dfsg1-2+b2 image manipulation programs
ii  libwmf-bin          0.2.8.4-6            Windows metafile conversion tools
ii  perlmagick          7:6.3.7.9.dfsg1-2+b2 Perl interface to the libMagick gr
ii  pstoedit            3.45-4               PostScript and PDF files to editab

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Wolfram Quester <wolfi@mittelerde.physik.uni-konstanz.de>:
Bug#488170; Package inkscape. (full text, mbox, link).


Acknowledgement sent to peter green <plugwash@p10link.net>:
Extra info received and forwarded to list. Copy sent to Wolfram Quester <wolfi@mittelerde.physik.uni-konstanz.de>. (full text, mbox, link).


Message #15 received at 488170@bugs.debian.org (full text, mbox, reply):

From: peter green <plugwash@p10link.net>
To: control@bugs.debian.org
Cc: 488170@bugs.debian.org, 489083@bugs.debian.org
Subject: inkscape FTBFS bugs
Date: Sun, 20 Jul 2008 00:48:18 +0100
forcemerge 488170 489083
thanks

489083 is a dupe of 488170

Some upstream discussion can be found at at 
http://www.nabble.com/Poppler-0.8.3-change-to-GfxFont-td17806656.html .




Forcibly Merged 488170 489083. Request was from peter green <plugwash@p10link.net> to control@bugs.debian.org. (Sat, 19 Jul 2008 23:51:05 GMT) (full text, mbox, link).


Reply sent to Wolfram Quester <wolfi@sigxcpu.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Florian Kulzer <florian.kulzer+debian@icfo.es>:
Bug acknowledged by developer. (full text, mbox, link).


Message #22 received at 488170-close@bugs.debian.org (full text, mbox, reply):

From: Wolfram Quester <wolfi@sigxcpu.org>
To: 488170-close@bugs.debian.org
Subject: Bug#488170: fixed in inkscape 0.46-2
Date: Fri, 25 Jul 2008 04:32:07 +0000
Source: inkscape
Source-Version: 0.46-2

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

inkscape_0.46-2.diff.gz
  to pool/main/i/inkscape/inkscape_0.46-2.diff.gz
inkscape_0.46-2.dsc
  to pool/main/i/inkscape/inkscape_0.46-2.dsc
inkscape_0.46-2_powerpc.deb
  to pool/main/i/inkscape/inkscape_0.46-2_powerpc.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 488170@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Wolfram Quester <wolfi@sigxcpu.org> (supplier of updated inkscape 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: Tue, 22 Jul 2008 17:48:18 +0200
Source: inkscape
Binary: inkscape
Architecture: source powerpc
Version: 0.46-2
Distribution: unstable
Urgency: low
Maintainer: Wolfram Quester <wolfi@sigxcpu.org>
Changed-By: Wolfram Quester <wolfi@sigxcpu.org>
Description: 
 inkscape   - vector-based drawing program
Closes: 488170 489083
Changes: 
 inkscape (0.46-2) unstable; urgency=low
 .
   * chmod a+x inkscape/extensions/xaml2svg/ during install in debian/rules
   * change my email address in debian/control
   * upload sponsored by Guido Guenther <agx@debian.org>
   * add patch from gentoo to make inkscape build with libpoppler 0.8.3
     http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/inkscape/files/inkscape-0.46-poppler-0.8.3.patch?view=markup
     (closes: #488170, #489083)
Checksums-Sha1: 
 2ebce96eee4cb902f60a5dfdc4d17810d1fddc31 1387 inkscape_0.46-2.dsc
 330e96d421d1837e95a6d539e12d7865f1a2b862 16443 inkscape_0.46-2.diff.gz
 005b00db269b97705ac55e5ef4d58a7b370e2e4a 18601206 inkscape_0.46-2_powerpc.deb
Checksums-Sha256: 
 ab671581cf010a18364f5a84d6fd9a4531cb1371d764754ce0a7e13776e0e9b7 1387 inkscape_0.46-2.dsc
 68ec1f3caade2740f3a9ae5007d6e7605785ae4390641aec51324bf0cfa7a634 16443 inkscape_0.46-2.diff.gz
 743aeaee9ba6ea27bc9c1417c9cc025e95a60f7e92f6f9d77a14c4c71b664d77 18601206 inkscape_0.46-2_powerpc.deb
Files: 
 ab2ceab1dbc439d664a88c6cca89bd70 1387 graphics optional inkscape_0.46-2.dsc
 6498d79c97500729ef994b6493947d23 16443 graphics optional inkscape_0.46-2.diff.gz
 f2f639733e821408f9750ab81a612eef 18601206 graphics optional inkscape_0.46-2_powerpc.deb

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

iD8DBQFIiT2in88szT8+ZCYRAqtjAJ9pI3kdFU2tVdnJHa/20U3tjZix/gCfbwWD
iCmJfDdw6KkMhlgaoi7RL/M=
=Ne3V
-----END PGP SIGNATURE-----





Reply sent to Wolfram Quester <wolfi@sigxcpu.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 28 Aug 2008 07:37:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 11 21:25:04 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.