After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 447252 - evince-0.9.0 won't build: compile error in ev-poppler:1632
evince-0.9.0 won't build: compile error in ev-poppler:1632
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
0.9.x
Other All
: Normal critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-13 17:57 UTC by David Ronis
Modified: 2007-06-13 21:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description David Ronis 2007-06-13 17:57:35 UTC
Steps to reproduce:
configure
make



Stack trace:
Not relevant (yet).

Other information:
I've tried to build garnome's evince  (svn-trunk) on an i686 using gcc-4.2.0.

The build dies as logged below.  For what it's worth, I've got poppler-0.5.9, poppler-data-0.1 and glib-2.13.4 installed.

Here's the log:

 /usr/bin/g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libdocument -pthread -DORBIT2=1 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/garnome-svn/include/gtk-2.0 -I/opt/garnome-svn/lib/gtk-2.0/include -I/opt/garnome-svn/include/atk-1.0 -I/opt/garnome-svn/include/cairo -I/opt/garnome-svn/include/pango-1.0 -I/opt/garnome-svn/include -I/usr/X11R6/include -I/opt/garnome-svn/include/glib-2.0 -I/opt/garnome-svn/lib/glib-2.0/include -I/opt/garnome-svn/include/freetype2 -I/opt/garnome-svn/include/gnome-vfs-2.0 -I/opt/garnome-svn/lib/gnome-vfs-2.0/include -I/opt/garnome-svn/include/gconf/2 -I/opt/garnome-svn/include/orbit-2.0 -I/usr/include/libpng12 -DORBIT2=1 -pthread -I/opt/garnome-svn/include/libgnome-2.0 -I/opt/garnome-svn/include/orbit-2.0 -I/opt/garnome-svn/include/gconf/2 -I/opt/garnome-svn/include/gnome-vfs-2.0 -I/opt/garnome-svn/lib/gnome-vfs-2.0/include -I/opt/garnome-svn/include/glib-2.0 -I/opt/garnome-svn/lib/glib-2.0/include -I/opt/garnome-svn/include/libbonobo-2.0 -I/opt/garnome-svn/include/bonobo-activation-2.0 -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/garnome-svn/include/poppler/glib -I/opt/garnome-svn/include/poppler -I/opt/garnome-svn/include/gtk-2.0 -I/opt/garnome-svn/lib/gtk-2.0/include -I/opt/garnome-svn/include/cairo -I/opt/garnome-svn/include/glib-2.0 -I/opt/garnome-svn/lib/glib-2.0/include -I/opt/garnome-svn/include/pango-1.0 -I/opt/garnome-svn/include -I/usr/X11R6/include -I/opt/garnome-svn/include/freetype2 -I/usr/include/libpng12 -I/opt/garnome-svn/include -L/opt/garnome-svn/lib -O2 -g -pipe -Wall -Wno-unused -I/opt/garnome-svn/include -I/opt/garnome-svn/include -L/opt/garnome-svn/lib -O2 -g -pipe -MT ev-poppler.lo -MD -MP -MF .deps/ev-poppler.Tpo -c ev-poppler.cc  -fPIC -DPIC -o .libs/ev-poppler.o
ev-poppler.cc: In function 'void pdf_selection_render_selection(EvSelection*, EvRenderContext*, GdkPixbuf**, EvRectangle*, EvRectangle*, GdkColor*, GdkColor*)':
ev-poppler.cc:1632: error: cannot convert 'gdouble' to 'cairo_t*' for argument '2' to 'void poppler_page_render_selection(PopplerPage*, cairo_t*, PopplerRectangle*, PopplerRectangle*, PopplerSelectionStyle, GdkColor*, GdkColor*)'
make[4]: *** [ev-poppler.lo] Error 1
make[4]: Leaving directory `/home/ronis/Project/notar/GNOME/garnome/desktop/evince/work/main.d/evince-0.9.0/backend/pdf'
Comment 1 Carlos Garcia Campos 2007-06-13 20:46:58 UTC
Are you compiling evince 0.9 or svn trunk? evince 0.9 won't compile against poppler 0.5.9 because poppler API has changed. If you are compiling svn trunk, make sure to run autogen.sh script before. 
Comment 2 David Ronis 2007-06-13 21:26:55 UTC
I'm compiling 0.9 which is currently part of garnome's svn trunk.

Hopefully this can be changed.

Comment 3 Karsten Bräckelmann 2007-06-13 21:32:04 UTC
Any chance of a new unstable evince release, so both code-bases (evince and poppler) that are supposed to go into GNOME 2.20 get some testing?

This is important for both, GARNOME and the official 2.19 release sets, which depend on tarball releases.

(FWIW, tarballs for 2.19.4 are due Monday.)
Comment 4 Nickolay V. Shmyrev 2007-06-13 21:36:15 UTC
Sure there will be release, why are you worrying?
Comment 5 Carlos Garcia Campos 2007-06-13 21:38:03 UTC
(In reply to comment #3)
> Any chance of a new unstable evince release, so both code-bases (evince and
> poppler) that are supposed to go into GNOME 2.20 get some testing?

yes, sure

> This is important for both, GARNOME and the official 2.19 release sets, which
> depend on tarball releases.
> 
> (FWIW, tarballs for 2.19.4 are due Monday.)
> 

Exactly, we have planned to release for GNOME 2.19.4. 
Comment 6 Joseph Sacco 2007-06-13 21:39:29 UTC
Great!!! GARNOME likes to smoke test the bleeding edge.

-Joseph
Comment 7 Karsten Bräckelmann 2007-06-13 21:45:14 UTC
(In reply to comment #4)
> Sure there will be release, why are you worrying?

Nickolay, I'm not worrying. :)  I just asked, because I don't know about your schedule. In any case, the reason is given in comment 3.


(In reply to comment #5)
> Exactly, we have planned to release for GNOME 2.19.4. 

Great, thanks!


According to comment 1, this is fixed in SVN, thus closing RESOLVED FIXED. Tarballs expected soon.

Thanks for your fast response, guys. :)
Comment 8 Nickolay V. Shmyrev 2007-06-13 21:49:41 UTC
Ups, sorry. We'll try to do all the best. Thanks again for your wonderful support.
Comment 9 Karsten Bräckelmann 2007-06-13 21:58:34 UTC
Don't worry, Nickolay. This is unstable, and occasional breakage is to be expected. ;)

Also, you're welcome. GARNOME is dedicated to serve the GNOME community, and constantly smoke-testing to get smooth releases -- even unstable ones.

(with my Bugsquad and GARNOME maintainer hat on)