Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407483 - app-i18n/ibus-pinyin with dev-lang/lua-5.2.0 - ./.libs/libpylua.a(libpylua_la-lua-plugin.o): In function `ibus_engine_plugin_init': lua-plugin.c:(.text+0x312): undefined reference to `lua_open'
Summary: app-i18n/ibus-pinyin with dev-lang/lua-5.2.0 - ./.libs/libpylua.a(libpylua_la...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lua-5.2
  Show dependency tree
 
Reported: 2012-03-08 22:32 UTC by Mathieu Z
Modified: 2014-06-10 08:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Z 2012-03-08 22:32:38 UTC
After upgrading to lua-5.2.0, one can no longer switch to ibus-pinyin input method under ibus. This can be fixed by either disabling lua in USE or downgrading lua. Also, rebuilding ibus-pinyin against new version also fail:

Reproducible: Always

Steps to Reproduce:
1. upgrade to dev-lang/lua-5.2.0
2. Try to use ibus-pinyin input method
3.



Rebuild app-i18n/ibus-pinyin also fails:
Making all in lua
make[2]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110706/work/ibus-pinyin-1.3.99.20110706/lua'
  CC     libpylua_la-lua-plugin.lo
  CC     libpylua_la-lua-plugin-init.lo
  CC     lua_ext_console-lua-ext-console.o
  CC     libpylua_la-lmyoslib.lo
  CC     test_lua_plugin-test-lua-plugin.o
lua-plugin.c: In function ‘lua_plugin_init’:
lua-plugin.c:57:13: warning: assignment makes pointer from integer without a cast
  CCLD   libpylua.la
  CCLD   lua-ext-console
  CCLD   test-lua-plugin
./.libs/libpylua.a(libpylua_la-lua-plugin.o): In function `ibus_engine_plugin_init':
lua-plugin.c:(.text+0x312): undefined reference to `lua_open'
./.libs/libpylua.a(libpylua_la-lua-plugin.o): In function `ibus_engine_plugin_get_retvals':
lua-plugin.c:(.text+0x86a): undefined reference to `lua_objlen'
./.libs/libpylua.a(libpylua_la-lua-plugin.o): In function `ibus_engine_plugin_call':
lua-plugin.c:(.text+0x6f4): undefined reference to `lua_objlen'
./.libs/libpylua.a(libpylua_la-lua-plugin-init.o): In function `luaopen_ime':
lua-plugin-init.c:(.text+0x15): undefined reference to `luaL_register'
./.libs/libpylua.a(libpylua_la-lua-plugin-init.o): In function `ime_register_trigger':
lua-plugin-init.c:(.text+0x3bc): undefined reference to `lua_objlen'
lua-plugin-init.c:(.text+0x453): undefined reference to `lua_objlen'
./.libs/libpylua.a(libpylua_la-lua-plugin-init.o): In function `ime_join_string':
lua-plugin-init.c:(.text+0x77e): undefined reference to `lua_objlen'
./.libs/libpylua.a(libpylua_la-lmyoslib.o): In function `luaopen_myos':
lmyoslib.c:(.text+0x595): undefined reference to `luaL_register'
collect2: ld returned 1 exit status
make[2]: *** [lua-ext-console] Error 1
make[2]: *** Waiting for unfinished jobs....
./.libs/libpylua.a(libpylua_la-lua-plugin.o): In function `ibus_engine_plugin_init':
lua-plugin.c:(.text+0x312): undefined reference to `lua_open'
./.libs/libpylua.a(libpylua_la-lua-plugin.o): In function `ibus_engine_plugin_get_retvals':
lua-plugin.c:(.text+0x86a): undefined reference to `lua_objlen'
./.libs/libpylua.a(libpylua_la-lua-plugin.o): In function `ibus_engine_plugin_call':
lua-plugin.c:(.text+0x6f4): undefined reference to `lua_objlen'
./.libs/libpylua.a(libpylua_la-lua-plugin-init.o): In function `luaopen_ime':
lua-plugin-init.c:(.text+0x15): undefined reference to `luaL_register'
./.libs/libpylua.a(libpylua_la-lua-plugin-init.o): In function `ime_register_trigger':
lua-plugin-init.c:(.text+0x3bc): undefined reference to `lua_objlen'
lua-plugin-init.c:(.text+0x453): undefined reference to `lua_objlen'
./.libs/libpylua.a(libpylua_la-lua-plugin-init.o): In function `ime_join_string':
lua-plugin-init.c:(.text+0x77e): undefined reference to `lua_objlen'
./.libs/libpylua.a(libpylua_la-lmyoslib.o): In function `luaopen_myos':
lmyoslib.c:(.text+0x595): undefined reference to `luaL_register'
collect2: ld returned 1 exit status
make[2]: *** [test-lua-plugin] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110706/work/ibus-pinyin-1.3.99.20110706/lua'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110706/work/ibus-pinyin-1.3.99.20110706'
make: *** [all] Error 2
emake failed
 * ERROR: app-i18n/ibus-pinyin-1.3.99.20110706 failed (compile phase):
 *   emake failed
Comment 1 Mathieu Z 2012-03-08 22:33:33 UTC
$ emerge --info ibus-pinyin
Portage 2.2.0_alpha89 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-ck x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.6-ck-x86_64-Intel-R-_Core-TM-_i7_CPU_L_620_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Mon, 05 Mar 2012 04:00:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: x11 lisp science desktop-effects gentoo-zh gentoo-haskell sunrise java-overlay cj-overlay mz-overlay gentoo
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build n"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fail-clean fixlafiles metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--hash-style=both"
LINGUAS="en ja zh zh_CN zh_TW en_US en_GB"
MAKEOPTS="-j4 --load-average"
PKGDIR="/usr/portage//packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/lisp /var/lib/layman/science /var/lib/layman/desktop-effects /var/lib/layman/gentoo-zh /var/lib/layman/haskell /var/lib/layman/sunrise /var/lib/layman/java-overlay /var/lib/layman/cj-overlay /usr/local/portage /usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi aim alsa amd64 apache2 audiofile avahi bash-completion bcmath berkdb bidi bittorrent blas bluetooth branding btrfs bzip2 c++0x cairo calendar caps ccache cdaudio cdda chm cjk cleartype cli clisp consolekit cracklib crypt cscope css ctype cups curl curlwrappers cxx dbus dbx dga dhcpcd directfb djvu dri dts dv dvd dvdread dvi ebook eds emacs emacs-w3 encode enscript evo exif expat faac fam fastcgi fbcon ffmpeg fftw flac flash fontconfig foomaticdb fortran freetds ftp fuse gallium gcl gconf gd gdbm ginac git glib glitz glut gmp gnome gnome-keyring gnuplot gnutls gpg gphoto2 gpm gps gs gsl gstreamer gtk gtk3 gtkhtml gzip hdaps highlight httpd iconv icq icu idn ieee1394 imagemagick imap imlib innodb inotify introspection ipod ipv6 jabber java javascript joystick jpeg jpeg2k kpathsea lame lapack laptop latex latex3 lcms libcaca libnotify llvm lm_sensors lua luatex lzma m17n-lib mad matroska mercurial mime mmx mmxext mng modplug modules mp3 mp4 mpeg mpi mplayer msn mtp mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses netboot networkmanager nis nls nntp nptl nptlonly nsplugin nss ntp odbc ogg openal openexr opengl openmp openntpd openssl osc oscar pae pam pch pcre pda pdf plotutils png policykit posix postgres ppds pppd pulseaudio qq qt3support qt4 quicktime rar rcs readline recode resolvconf rss rtmp samba sasl scanner sdl session simplexml slang sndfile snmp sockets socks5 speex spell sql sqlite sqlite3 sse sse2 sse3 ssl ssse3 subversion svg sysfs system-sqlite t1lib taglib tcpd theora threads tidy tiff timidity tk truetype tta udev unicode upnp usb v4l v4l2 vaapi vcd vdpau vhosts vim vim-syntax vorbis wav wavepack wicd wifi wma wmf wmp wxwidgets wxwindows x264 x86emu xattr xcb xcomposite xetex xforms xfs xft xine xinerama xml xmmp xorg xosd xrandr xsl xv xvid yahoo zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy_http proxy" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth lvm gensplash crypt syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja zh zh_CN zh_TW en_US en_GB" NETBEANS_MODULES="cnd php mobility websvccommon apisupport java ide harness nb dlight enterprise profiler" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel i965 vesa vga fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-i18n/ibus-pinyin-1.3.99.20110706 was built with the following:
USE="lua (multilib) nls opencc -boost"
Comment 2 Naohiro Aota gentoo-dev 2014-06-10 08:45:42 UTC
+  10 Jun 2014; Naohiro Aota <naota@gentoo.org> ibus-pinyin-1.4.0.ebuild,
+  ibus-pinyin-1.5.0.ebuild:
+  Add upper limit of lua dependency. #407483