Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172546 - app-misc/alexandria fails to load - cannot find gettext
Summary: app-misc/alexandria fails to load - cannot find gettext
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Michael Kohl (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-28 11:12 UTC by Philip Belemezov
Modified: 2007-03-28 13:58 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 Philip Belemezov 2007-03-28 11:12:05 UTC
I emerged alexandria 0.6.1 (latest version in portage, masked unstable) on a fresh Gentoo (4-5 days). When I run it from the menu, nothing happens. When run from a terminal, it fails to load with the following message:
/usr/bin/alexandria:6:in `require': no such file to load -- gettext (LoadError)
        from /usr/bin/alexandria:6
Here's an excerpt from "/usr/bin/alexandria":
1: #!/usr/bin/ruby18 -Ku
2: #
3: # This file is automatically generated by the installer.
4: # Do not edit by hands.
5: 
6: require 'gettext'
7: require 'alexandria'
...
ruby-gettext is installed:
$ equery list ruby-gettext
[ Searching for package 'ruby-gettext' in all categories among: ]
 * installed packages
[I--] [  ] dev-ruby/ruby-gettext-1.8.0 (0)

$ equery files ruby-gettext 
[ Searching for packages matching ruby-gettext... ]
* Contents of dev-ruby/ruby-gettext-1.8.0:
/usr
/usr/bin
/usr/bin/rgettext
/usr/bin/rmsgfmt
/usr/bin/rmsgmerge
/usr/lib64
/usr/lib64/ruby
/usr/lib64/ruby/gems
/usr/lib64/ruby/gems/1.8
/usr/lib64/ruby/gems/1.8/bin
/usr/lib64/ruby/gems/1.8/bin/rgettext
/usr/lib64/ruby/gems/1.8/bin/rmsgfmt
/usr/lib64/ruby/gems/1.8/bin/rmsgmerge
/usr/lib64/ruby/gems/1.8/cache
/usr/lib64/ruby/gems/1.8/cache/gettext-1.8.0.gem
...



Reproducible: Always

Steps to Reproduce:
1. Install alexandria.
2. Try to run it from the terminal.

Actual Results:  
alexandria does not start and an error message is printed.

Expected Results:  
alexandria starts.

Here's the output from `emerge --info':

Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 27 Mar 2007 20:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS=" http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.intergenia.de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aiglx alsa amd64 amr avahi berkdb bitmap-fonts bogofilter bzip2 cairo cdr cli cracklib crypt cups dbus djvu dri dts dvd dvdr dvdread dvi eds emacs encode esd expat ffmpeg firefox flac fontconfig gd gdbm gnome gpm graphviz gs gstreamer gtk gtkhtml hal hfs iconv isdnlog jpeg kerberos ldap libg++ libnotify lua mad matroska midi mng mp3 mpeg ncurses nfs nls nptl nptlonly nsplugin ogg openal openexr opengl pam pcre pdf perl png ppds pppd python readline reflection ruby sdl session sound speex spell spl sqlite ssl svg tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis wmf wxwindows x264 xml xorg xv xvid zlib zsh zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia radion v4l vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Philip Belemezov 2007-03-28 13:51:03 UTC
It's kind of resolved:
After I rebooted, alexandria starts fine (except for several GTK warnings).
It seems that some ruby paths are not updated.
Comment 2 Richard Brown (RETIRED) gentoo-dev 2007-03-28 13:58:32 UTC
If this was the first time you installed ruby gems then your environment was
probably out of date. We add a file in /etc/env.d to automatically call
'require "gems"' for you