Red Hat Bugzilla – Bug 249080
Build failure due to poppler build problems
Last modified: 2013-01-09 21:36:56 EST
Rebuilds of ruby-gnome2 for new firefox error during building of poppler stuff:
gcc -I. -I/builddir/build/BUILD/ruby-gnome2-all-0.16.0/glib/src -I.
-I/usr/lib64/ruby/1.8/x86_64-linux -I.././poppler -DHAVE_RB_DEFINE_ALLOC_FUNC
-DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN
-DRUBY_POPPLER_COMPILATION -I/usr/lib64/ruby/site_ruby/1.8/x86_64-linux -fPIC
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -fPIC -Wall
-I/usr/include/poppler/glib -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/cairo -c rbpoppler-page.c
rbpoppler-page.c: In function 'page_render_selection':
rbpoppler-page.c:149: error: incompatible type for argument 5 of
rbpoppler-page.c:149: error: too few arguments to function
rbpoppler-page.c: In function 'page_render_selection_to_pixbuf':
rbpoppler-page.c:174: error: incompatible type for argument 7 of
rbpoppler-page.c:174: error: too few arguments to function
make: *** [rbpoppler-page.o] Error 1
make: Leaving directory
make: *** [all] Error 2
make: Leaving directory `/builddir/build/BUILD/ruby-gnome2-all-0.16.0/poppler'
For full build log see
Fedora 8 Test1 freeze is very soon, please correct this to fix the broken deps.
This is a strange error, maybe gcc bug, the same spec run in F-7 branch:
Actually I think gcc is being more strict about coding language. Please look at
the line it is complaining about and see if perhaps you have an open that is
Well, I applied patches extracted from CVS.
This is due that ABI change occured at poppler 0.5.9.
Also gtk glib won't be rebuilt due to prototype mismatch.
Now I am rebuilding:
On x86_64 it succeeded. On the rest arch, it is now rebuilding
(perhaps they will succeed)
Rebuild succeeded on all arch, dist-f8.
(Note: my rebuild is scratch build, so the fixes I applied is
not yet applied to Fedora CVS. I don't have right to
access ruby-gnome2 Fedora CVS.
Please apply my fixes on CVS and rebuild on koji)
Mamoru, your scratch build don't generate .src.rpm output, please release your
(In reply to comment #6)
> Mamoru, your scratch build don't generate .src.rpm output, please release your
Oops, sorry. Available on
Build OK, http://koji.fedoraproject.org/koji/taskinfo?taskID=88131