Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183361 - app-office/abiword-plugins-2.4.6 USE="pdf" compile failure: ie_imp_PDF.cpp:66: error: no matching function for call to 'GlobalParams::GlobalParams(const char [1])'
Summary: app-office/abiword-plugins-2.4.6 USE="pdf" compile failure: ie_imp_PDF.cpp:66...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joe McCann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-27 05:34 UTC by Ed Catmur
Modified: 2007-10-06 06:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pdf-poppler-0.5.9.patch (pdf-poppler-0.5.9.patch,432 bytes, patch)
2007-06-27 05:39 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2007-06-27 05:34:22 UTC
i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"abiword-plugins\" -DPACKAGE_TARNAME=\"abiword-plugins\" -DPACKAGE_VERSION=\"2.4.6\" "-DPACKAGE_STRING=\"abiword-plugins 2.4.6\"" -DPACKAGE_BUGREPORT=\"http://bugzilla.abisource.com/\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DPACKAGE=\"abiword\" -DVERSION=\"2.4.6\" -DHAVE_DLFCN_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBBZ2=1 -DTIME_WITH_SYS_TIME=1 -I. -I. -DNDEBUG -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/af/util/xp -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/af/util/unix -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/af/xap/xp -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/af/ev/xp -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/af/gr/xp -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/text/fmt/xp -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/text/ptbl/xp -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/wp/impexp/xp -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/wp/ap/xp -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/other/spell/xp -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/other/fribidi/xp -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/other/ttftool/unix -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/af/xap/unix -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/af/ev/unix -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/af/gr/unix -I/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abi/src/wp/ap/unix -DABI_PLUGIN_VERSION=\"2.4.6\" -DABI_PLUGIN_MAJOR=2 -DABI_PLUGIN_MINOR=4 -DABI_PLUGIN_MICRO=6 -DABI_PLUGIN_SOURCE=1 -DPNG_NO_MMX_CODE -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/poppler -ggdb -O1 -O2 -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow -MT ie_imp_PDF.lo -MD -MP -MF .deps/ie_imp_PDF.Tpo -c ie_imp_PDF.cpp  -fPIC -DPIC -o .libs/ie_imp_PDF.o
ie_imp_PDF.cpp: In member function 'virtual UT_Error IE_Imp_PDF::importFile(const char*)':
ie_imp_PDF.cpp:66: error: no matching function for call to 'GlobalParams::GlobalParams(const char [1])'
/usr/include/poppler/GlobalParams.h:133: note: candidates are: GlobalParams::GlobalParams()
/usr/include/poppler/GlobalParams.h:128: note:                 GlobalParams::GlobalParams(const GlobalParams&)
distcc[29640] ERROR: compile ie_imp_PDF.cpp on localhost failed
make[4]: *** [ie_imp_PDF.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abiword-plugins/wp/impexp/pdf/xp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abiword-plugins/wp/impexp/pdf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abiword-plugins/wp/impexp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/abiword-plugins-2.4.6/work/abiword-2.4.6/abiword-plugins/wp'
make: *** [all-recursive] Error 1

!!! ERROR: app-office/abiword-plugins-2.4.6 failed.
Call stack:
  ebuild.sh, line 1637:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  abiword-plugins-2.4.6.ebuild, line 73:   Called die
Comment 1 Ed Catmur 2007-06-27 05:35:50 UTC
USE="pdf", app-text/poppler-0.5.9-r1.
Comment 2 Ed Catmur 2007-06-27 05:39:09 UTC
Created attachment 123177 [details, diff]
pdf-poppler-0.5.9.patch

Patch.
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-06-29 21:10:29 UTC
Unfortunately, that patch breaks building with poppler 0.5.4, so we can't apply it as is.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-07-01 11:16:59 UTC
as we discussed with Mart on irc, upstream fixed this by completely rewriting the incriminated plugin. So the most important question is "Will poppler-0.5.9 be ever stabilized before we get a newer abiword release ?" or "will poppler-0.5.9 be ever unmasked given that it's one of the latest rc before 0.6.0 which is the next stable branch ?".
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-10-06 06:51:07 UTC
this has been fixed in the tree a while ago.