pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46667: poppler upgrade breaks print/xournal build
>Number: 46667
>Category: pkg
>Synopsis: xournal link fails to find poppler_page_render_to_pixbuf
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 06 22:10:00 +0000 2012
>Originator: Jim Bernard
>Release: NetBSD 6.99.7
>Organization:
self
>Environment:
System: NetBSD 6.99.7 #0: Wed Jun 13 19:59:26 MDT 2012 i386
Architecture: i386
Machine: i386
>Description:
Since poppler was upgraded to 0.20.1, print/xournal fails to link.
gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include
-I/usr/X11R7/include/freetype2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib
-Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -o xournal main.o
xo-misc.o xo-file.o xo-paint.o xo-print.o xo-support.o xo-interface.o
xo-callbacks.o xo-shapes.o ttsubset/libttsubset.a -Wl,-R/usr/pkg/lib
-Wl,-rpath,/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -lgnomecanvas-2
-lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext
-lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage
-lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lX11 -lpango-1.0 -lm
-lfreetype -lz -lfontconfig -lpoppler-glib -lgobject-2.0 -lcairo -lglib-2.0
-lintl -lintl
xo-file.o: In function `bgpdf_scheduler_callback':
xo-file.c:(.text+0x329e): undefined reference to `poppler_page_render_to_pixbuf'
xo-print.o: In function `pdf_draw_bitmap_background':
xo-print.c:(.text+0x20d1): undefined reference to
`poppler_page_render_to_pixbuf'
*** Error code 1
Stop.
make: stopped in /tmp/pkgsrc-work/editors/xournal/work.nool/xournal-0.4.5/src
*** Error code 1
Stop.
make: stopped in /tmp/pkgsrc-work/editors/xournal/work.nool/xournal-0.4.5/src
*** Error code 1
Stop.
make: stopped in /tmp/pkgsrc-work/editors/xournal/work.nool/xournal-0.4.5
*** Error code 1
Stop.
make: stopped in /tmp/pkgsrc-work/editors/xournal/work.nool/xournal-0.4.5
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/editors/xournal
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/editors/xournal
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/editors/xournal
>How-To-Repeat:
Indeed, the function poppler_page_render_to_pixbuf is not included in
libpoppler-glib in the poppler-glib-0.20.1 package:
% nm libpoppler-glib.a | grep poppler_page_render
000005c7 t
_ZL20_poppler_page_renderP12_PopplerPageP6_cairob17PopplerPrintFlags
000005c0 r _ZZ19poppler_page_renderE19__PRETTY_FUNCTION__
00000280 r _ZZ25poppler_page_render_to_psE19__PRETTY_FUNCTION__
000004c0 r _ZZ32poppler_page_render_for_printingE19__PRETTY_FUNCTION__
00000560 r
_ZZ45poppler_page_render_for_printing_with_optionsE19__PRETTY_FUNCTION__
00000500 r
_ZZL20_poppler_page_renderP12_PopplerPageP6_cairob17PopplerPrintFlagsE19__PRETTY_FUNCTION__
00000aaf T poppler_page_render
00000bb7 T poppler_page_render_for_printing
00000b49 T poppler_page_render_for_printing_with_options
00000d68 T poppler_page_render_selection
000013cc T poppler_page_render_to_ps
However, it is included in libpoppler-glib in the
poppler-glib-0.16.7nb3 package:
% nm libpoppler-glib.a | grep poppler_page_render
000006ab t
_ZL20_poppler_page_renderP12_PopplerPageP6_cairob17PopplerPrintFlags
00000d31 t
_ZL30_poppler_page_render_to_pixbufP12_PopplerPageiiiidibP10_GdkPixbuf
000006a0 r _ZZ19poppler_page_renderE19__PRETTY_FUNCTION__
00000240 r _ZZ25poppler_page_render_to_psE19__PRETTY_FUNCTION__
00000500 r _ZZ29poppler_page_render_to_pixbufE19__PRETTY_FUNCTION__
000005a0 r _ZZ32poppler_page_render_for_printingE19__PRETTY_FUNCTION__
00000480 r
_ZZ42poppler_page_render_to_pixbuf_for_printingE19__PRETTY_FUNCTION__
00000640 r
_ZZ45poppler_page_render_for_printing_with_optionsE19__PRETTY_FUNCTION__
000005e0 r
_ZZL20_poppler_page_renderP12_PopplerPageP6_cairob17PopplerPrintFlagsE19__PRETTY_FUNCTION__
00000bbb T poppler_page_render
00000cc2 T poppler_page_render_for_printing
00000c54 T poppler_page_render_for_printing_with_options
0000102b T poppler_page_render_selection
000013a9 T poppler_page_render_selection_to_pixbuf
0000113d T poppler_page_render_to_pixbuf
0000120b T poppler_page_render_to_pixbuf_for_printing
00001b46 T poppler_page_render_to_ps
>Fix:
Unknown. Perhaps some other function is intended to replace
poppler_page_render_to_pixbuf? It would seem odd just to remove
it without providing similar support in another function.
Home |
Main Index |
Thread Index |
Old Index