Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109654 - ebview-0.3.6 fails to emerge with GTK+-2.8.x
Summary: ebview-0.3.6 fails to emerge with GTK+-2.8.x
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 18:12 UTC by Hiroyuki Ikezoe
Modified: 2007-07-19 18:58 UTC (History)
4 users (show)

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


Attachments
a patch to fix the error (ebview-0.3.6_pango_with_cairo.patch,925 bytes, patch)
2005-10-17 18:13 UTC, Hiroyuki Ikezoe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hiroyuki Ikezoe 2005-10-17 18:12:52 UTC
The error is the following:

gcc -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/glib-2.0 -I/usr/lib/glib-2.0/include      -Wall -g -O2
-o ebview  bmh.o cellrendererebook.o dialog.o dictbar.o dirtree.o dump.o
eb.o ebview.o external.o filter.o grep.o headword.o history.o hook.o
jcode.o link.o log.o mainmenu.o mainwindow.o menu.o misc.o multi.o
pixmap.o popup.o preference.o pref_color.o pref_dictgroup.o
pref_dirgroup.o pref_external.o pref_font.o pref_grep.o pref_gui.o
pref_io.o pref_search.o pref_selection.o pref_shortcut.o pref_stemming.o
pref_weblist.o reg.o render.o selection.o shortcut.o shortcutfunc.o
splash.o statusbar.o textview.o thread_search.o websearch.o xml.o
xmlinternal.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0   -lpthread -L/usr/lib -leb -lz
preference.o: In function `calculate_font_size':
/home/zoe/work/ebview-0.3.6_new/src/preference.c:432: undefined
reference to `pango_x_font_map_for_display'

I sent a patch to the author of ebview but I do not know when the fixed version
is released.

I post the patch here too.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Hiroyuki Ikezoe 2005-10-17 18:13:23 UTC
Created attachment 70897 [details, diff]
a patch to fix the error
Comment 2 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-28 10:36:18 UTC
same problem here.
x86_64-pc-linux-gnu-gcc -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/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -Wall -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow    -o ebview  bmh.o cellrendererebook.o dialog.o dictbar.o dirtree.o dump.o eb.o ebview.o external.o filter.o grep.o headword.o history.o hook.o jcode.o link.o log.o mainmenu.o mainwindow.o menu.o misc.o multi.o pixmap.o popup.o preference.o pref_color.o pref_dictgroup.o pref_dirgroup.o pref_external.o pref_font.o pref_grep.o pref_gui.o pref_io.o pref_search.o pref_selection.o pref_shortcut.o pref_stemming.o pref_weblist.o reg.o render.o selection.o shortcut.o shortcutfunc.o splash.o statusbar.o textview.o thread_search.o websearch.o xml.o xmlinternal.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lpthread -L/usr/lib64 -leb -lz    
preference.o: In function `calculate_font_size':
preference.c:(.text+0xa44): undefined reference to `pango_x_font_map_for_display'
collect2: ld returned 1 exit status
make[2]: *** [ebview] Error 1
make[2]: Leaving directory `/var/tmp/portage/ebview-0.3.6/work/ebview-0.3.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ebview-0.3.6/work/ebview-0.3.6'
make: *** [all] Error 2
Comment 3 Wulf Krueger (RETIRED) gentoo-dev 2006-08-04 12:08:53 UTC
(In reply to comment #1)
> Created an attachment (id=70897) [edit]
> a patch to fix the error

Works nicely for me. Could it get fixed in Portage?
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2006-11-04 08:54:35 UTC
Sorry for the delay. This is fixed in CVS tree. 
Thanks for the bug report.
Comment 5 Sandro Bonazzola (RETIRED) gentoo-dev 2006-11-07 11:51:36 UTC
Verified on ~amd64.