Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349979 - app-text/apvlv-0.0.9.8 + app-text/poppler-0.16.0 - ApvlvFile.cpp:278:70: error: too many arguments to function ‘char* poppler_page_get_text(PopplerPage*)’
Summary: app-text/apvlv-0.0.9.8 + app-text/poppler-0.16.0 - ApvlvFile.cpp:278:70: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tim Harder
URL: http://code.google.com/p/apvlv/issues...
Whiteboard:
Keywords:
Depends on:
Blocks: poppler-0.16
  Show dependency tree
 
Reported: 2010-12-28 18:33 UTC by Till Matthiesen
Modified: 2011-01-17 23:49 UTC (History)
1 user (show)

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


Attachments
build log (app-text:apvlv-0.0.9.8:20101228-213303.log,14.04 KB, text/plain)
2010-12-28 21:39 UTC, Till Matthiesen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Till Matthiesen 2010-12-28 18:33:19 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.  -Wall -D_GNU_SOURCE -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/pango-1.0    -march=amdfam10 -msse3 -O2 -pipe -c -o ApvlvCmds.o ApvlvCmds.cpp
ApvlvFile.cpp: In member function ‘virtual bool apvlv::ApvlvPDF::pagetext(int, int, int, int, int, char**)’:
ApvlvFile.cpp:278:70: error: too many arguments to function ‘char* poppler_page_get_text(PopplerPage*)’
/usr/include/poppler/glib/poppler-page.h:101:24: note: declared here
make[2]: *** [ApvlvFile.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/app-text/apvlv-0.0.9.8/work/apvlv-0.0.9.8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-text/apvlv-0.0.9.8/work/apvlv-0.0.9.8/src'
make: *** [all-recursive] Error 1


emerge --info

Portage 2.1.9.26 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.11.2-r3, 2.6.36.2 x86_64)
=================================================================
System uname: Linux-2.6.36.2-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.0.1
Timestamp of tree: Tue, 28 Dec 2010 17:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.5-r3, 3.1.3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="rsync://ftp.join.uni-muenster.de/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/games /var/lib/layman/x11 /var/lib/layman/science /var/lib/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit 3dnow 3dnowext 7zip X a52 aac aalib accessibility acl acpi alsa amarok amarok2 amazon amd64 bash-completion berkdb bineditor blas blender-game bluetooth bogofilter branding bzip2 cairo caps cblas cdda cddax cddb cdinstall cdio cdparanoia cdr cdrom cdrtools cern chm cleartype cli colordiff consolekit corefonts cpudetection cracklib crypt cscope cups cxx dawn dbus dia dirac djvu dmi dri dts dvd dvdarchive dvdchapjump dvdnav dvdr dvdread dvi dvi2tty dvipdfm embedded emboss emerald encode exif extras fakevim fam firefox flac fluidsynth fortran gallium gdbm gdu geant4 gif gimp ginac git gnome gocr gpm graphite grub gs gtk hfs iconv id3 id3tag inkjar iphone ipod ipv6 jack jpeg kate kde lcms ldap libcaca libnotify lua mad matroska mikmod mmx mmxext mng modplug modules mp3 mp4 mpeg mudflap multilib musepack music musicbrainz nas ncurses nls nocd nptl nptlonly nsplugin ntfs ogg openal opengl openmp pam pango pcre pdf perl phonon png pnm policykit postscript ppds pppd pth python qml qt3support qt4 qtscript raytracerx readline rtsp schroedinger sdl session shout smp sms spell sqlite sqlite3 srt sse sse2 sse3 sse4a ssl startup-notification svg sysfs tcpd theora threads tiff truetype tunepimp udev unicode usb vaapi vcd vcdinfo vcdx vim vim-pager vim-syntax vim-with-x visualization vlm vorbis wma wma-fixed wmf wxwidgets x264 xcb xinerama xml xorg xosd xrandr xrender xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-28 21:13:22 UTC
Please attach the entire build log to this bug report.
Comment 2 Till Matthiesen 2010-12-28 21:39:24 UTC
Created attachment 258285 [details]
build log
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-12-29 08:33:30 UTC
upstream: http://code.google.com/p/apvlv/issues/detail?id=110
Comment 4 Tim Harder gentoo-dev 2011-01-17 23:49:12 UTC
I've applied a temporary fix to apvlv-0.1.0 that was just added to the tree. 

Upstream will have to do a better job in a future release since I think text selection is somewhat broken.