Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129438 - mlterm fails with as-needed
Summary: mlterm fails with as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2006-04-10 00:42 UTC by Patrizio Bassi
Modified: 2006-11-05 08:01 UTC (History)
1 user (show)

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


Attachments
patch for as-needed (mlterm-2.9.3-as-needed.patch,655 bytes, patch)
2006-11-02 20:38 UTC, Shunichi Fuji
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-04-10 00:42:53 UTC
gcc -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort -Wl,-z -Wl,now -DUSE_TYPE_XFT -I/usr/include/freetype2 -DUSE_TYPE_XCORE -I../kiklib/include -I../mkf/include -I/usr/include -DUSE_FRIBIDI -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DUSE_GDK_PIXBUF -DHAVE_XUTF8_LOOKUP_STRING -DUSE_KBD -DUSE_IM_PLUGIN -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -DLIBDIR=\"/usr/lib\" -DSYSCONFDIR=\"/etc\" -DLIBEXECDIR=\"/usr/libexec\" -DDATADIR=\"/usr/share\" -I../mlterm -I../xwindow -I/usr/local/include -o .libs/mlterm x_window_manager.o x_window.o x_screen.o x_xim.o x_xic.o x_color_manager.o x_font_manager.o x_scrollbar.o x_sb_screen.o x_picture.o x_font.o x_sb_view_factory.o x_simple_sb_view.o x_color.o x_decsp_font.o x_imagelib_gdk.o x_selection.o x_font_config.o x_color_config.o x_shortcut.o x_bel_mode.o x_sb_mode.o x_mod_meta_mode.o main.o x_term_manager.o x_termcap.o x_display.o x_dnd.o x_font_cache.o x_main_config.o x_draw_str.o x_im.o x_im_candidate_screen.o x_im_status_screen.o  -L/usr/lib /usr/lib/libfribidi.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libXft.so /usr/lib/libXrender.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so -lz /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so ../mlterm/libmlterm.a ../mkf/lib/.libs/libmkf.so ../kiklib/src/.libs/libkik.so -ldl -lutil -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
../mlterm/libmlterm.a(ml_bidi.o): In function `ml_bidi':ml_bidi.c:(.text+0x10d): undefined reference to `fribidi_get_type'
:ml_bidi.c:(.text+0x15c): undefined reference to `fribidi_log2vis'
collect2: ld returned 1 exit status
make[1]: *** [mlterm] Error 1
make[1]: Leaving directory `/var/tmp/portage/mlterm-2.9.2/work/mlterm-2.9.2/xwindow'
make: *** [all] Error 2

!!! ERROR: x11-terms/mlterm-2.9.2 failed.
Comment 1 hiyuh 2006-06-25 22:31:40 UTC
emerge --info missing...
maybe, it cuz dev-libs/fribidi issue, but I'm not sure...
Comment 2 Shunichi Fuji 2006-11-02 20:38:35 UTC
Created attachment 101123 [details, diff]
patch for as-needed

add epatch to end of src_unpack()
>epatch "${FILESDIR}/mlterm-2.9.3-as-needed.patch"

it only test follow use flags.
>USE="gtk nls scim truetype -bidi -imlib -uim"
>USE="gtk nls scim truetype bidi -imlib -uim"
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2006-11-05 08:01:41 UTC
Thanks for digging up the problem and making a patch.
I've just applied the patch in CVS.