Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 224883
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Loren Bandiera <lorenb@lbtechservices.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
inkscape-build.log.gz build log application/octet-stream Loren Bandiera 2008-06-04 12:44 0000 22.33 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 224883 depends on: Show dependency tree
Bug 224883 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-04 12:42 0000
After upgrading my system, poppler and poppler-bindings were upgraded to 0.8.3.
I did a revdep-rebuild and inkscape was one of the affected packages. It
wouldn't compile and instead gave various errors.

Reproducible: Always

Steps to Reproduce:
1. emerge poppler poppler-bindings
2. emerge inkscape


Actual Results:  
depbase=`echo extension/db.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE   -I/usr/include/freetype2  -pthread
-DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include     -I/usr/include/freetype2  
-I/usr/include/poppler   -I/usr/include/poppler/glib -I/usr/include/poppler
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1  
-DPOTRACE=\"potrace\" -pthread -I/usr/include/gdkmm-2.4
-I/usr/lib64/gdkmm-2.4/include -I/usr/include/glibmm-2.4
-I/usr/lib64/glibmm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairomm-1.0
-I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0
-I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pixman-1 -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include
-I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2
-I/usr/include/gtkspell-2.0   -I../cxxtest    -Wall -Wformat-security -W
-Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch
-D_FORTIFY_SOURCE=2 -Wno-unused-parameter -march=nocona -O2 -pipe -ggdb -MT
extension/db.o -MD -MP -MF $depbase.Tpo -c -o extension/db.o extension/db.cpp
&&\
        mv -f $depbase.Tpo $depbase.Po
extension/internal/pdfinput/svg-builder.cpp: In member function 'void
Inkscape::Extension::Internal::SvgBuilder::_addStopToGradient(Inkscape::XML::Node*,
double, GfxRGB*, double)':
extension/internal/pdfinput/svg-builder.cpp:762: warning: deprecated conversion
from string constant to 'gchar*'
extension/internal/pdfinput/svg-builder.cpp: At global scope:
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'
extension/internal/pdfinput/svg-builder.cpp:873: warning: deprecated conversion
from string constant to 'char*'

Expected Results:  
inkscape to compile/install as normal

Portage 2.1.5.3 (default-linux/amd64/2007.0/desktop, gcc-4.2.4, glibc-2.7-r2,
2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
Timestamp of tree: Wed, 04 Jun 2008 11:36:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms splitdebug strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.lorenb.net/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb cairo cdr cli cracklib crypt cups dbus dri
dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome
gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg ldap mad midi mikmod mmx mp3 mpeg
mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png
pppd python qt3support quicktime readline reflection sdl session spell spl sse
sse2 ssl svg tcpd tiff truetype unicode vorbis xml xorg xv zlib"
ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
filter headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir usertrack
vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="vesa i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Loren Bandiera 2008-06-04 12:44:18 0000 -------
Created an attachment (id=155491) [details]
build log

------- Comment #2 From Vasileios P. Lourdas 2008-06-04 16:59:41 0000 -------
I confirm this, although the error message seems to be different.


mv -f $depbase.Tpo $depbase.Po
extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void
PdfParser::go(GBool)’:
extension/internal/pdfinput/pdf-parser.cpp:390: warning: unused variable
‘lastAbortCheck’
extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void
PdfParser::doShowText(GooString*)’:
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*, Unicode**, int*, double*, double*,
double*, double*)
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*, Unicode**, int*, double*, double*,
double*, double*)
extension/internal/pdfinput/pdf-parser.cpp:2200: warning: unused variable
‘dx2’
extension/internal/pdfinput/pdf-parser.cpp:2200: warning: unused variable
‘dy2’
extension/internal/pdfinput/pdf-parser.cpp:2208: warning: unused variable
‘nChars’
extension/internal/pdfinput/pdf-parser.cpp:2208: warning: unused variable
‘nSpaces’
make[2]: *** [extension/internal/pdfinput/pdf-parser.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/media-gfx/inkscape-0.46-r2/work/inkscape-0.46/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-gfx/inkscape-0.46-r2/work/inkscape-0.46'
make: *** [all] Error 2


emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @
3.00GHz
Timestamp of tree: Wed, 04 Jun 2008 14:35:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://files.gentoo.org
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.uoi.gr/mirror/OS/gentoo/
http://mirror.ovh.net/gentoo-distfiles/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 artswrappersuid asf bash-completion
berkdb bluetooth branding bzip2 bzlib cairo caps charconv chm cli cracklib
crypt css ctype cups curl dba dbus device-mapper dmi dri dts dvd dvdr dvdread
effects encode exif expat fat fbcon ffmpeg fftw flac flatfile fontconfig
foomaticdb ftp gcj gd gdbm gif gimp gimpprint glib glx gmp gnomedb gnutls gocr
gphoto2 gpm gtk hal hddtemp howl iconv icu id3tag imagemagick imap imlib innodb
isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal
kdehiddenvisibility lcms libsamplerate libwww lm_sensors maildir mailwrapper
mhash midi mime mmx mmxext motif mozbranding mozdevelop mozilla mozsvg mp3 mpeg
mplayer mpm-worker mudflap multiuser mysql mysqli ncurses newspr nls
no-old-linux nodrm nomalloccheck nptl nptlonly nsplugin ntfs nvidia objc odbc
offensive ogg opengl openmp pam pcmcia pcntl pcre pdf pear perl php pmu png
posix pppd python qt3 qt3support qt4 quicktime rar rdesktop readline reflection
reiserfs ruby sasl scanner server session sharedext simplexml slang smp sndfile
soap sockets speex spell spl spreadsheet sqlite sqlite3 srt sse sse2 ssl ssse3
subtitles subversion svg symlink sysfs syslog tcltk tcpd tetex threads tidy
tiff tokenizer tordns truetype unicode usb userlocales vda vnc vncviewer vorbis
wmf wv wxgtk1 x264 xfs xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint
xscreensaver xsl xvid xvmc xvnc zip zlib" ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias
authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock deflate dir disk_cache env expires ext_filter file_cache filter
headers include info log_config logio mem_cache mime mime_magic negotiation
rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Auke Booij (tulcod) 2008-06-04 22:00:57 0000 -------
bandiera, is there a chance this might be related to your gcc 4.2? because it
seems like some C functionality was disabled:
http://gcc.gnu.org/ml/gcc-help/2006-07/msg00082.html

------- Comment #4 From Peter Alfredsen 2008-06-04 23:31:11 0000 -------
I have confirmed this with gcc-4.3. The culprit is
http://gitweb.freedesktop.org/?p=poppler/poppler.git;a=commitdiff;h=1614ab3036cf25c9b94967163996678d386ce0ac;hp=bf95c6970dacaa62512de858cf60ff6cf0c1bf7c
I of course counted on there being no API breakage when I had tested all
poppler-apps with 0.8.0 and discovered 0.8.3, thinking 'oooh, shiny'.
I should have a fix for y'all within a couple of hours (old hardware to test
with). If noone objects, I'll just go ahead and put it in CVS.

------- Comment #5 From Peter Alfredsen 2008-06-04 23:52:17 0000 -------
Fix committed in inkscape-0.46-r3. Wait a bit then sync and this will all be a
bad dream. 

------- Comment #6 From Carsten Lohrke 2008-06-06 01:02:52 0000 -------
*** Bug 225013 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug