Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222179 - media-sound/rubyripper-0.5.0: build error, gettext/utils (LoadError)
Summary: media-sound/rubyripper-0.5.0: build error, gettext/utils (LoadError)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-15 01:38 UTC by Brinn Joyce
Modified: 2008-08-07 00:34 UTC (History)
0 users

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


Attachments
adds "require 'rubygems'" to configure (rubyripper-build.patch,367 bytes, patch)
2008-05-15 01:41 UTC, Brinn Joyce
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brinn Joyce 2008-05-15 01:38:50 UTC
gettext/utils cannot be loaded during build, the included patch rubyripper-0.5.0-require-rubygems.patch is supposed to fix this with "require 'rubygems'" but "require 'gettext/utils'" is called in the configure script before rr_lib.rb (which is updated by the patch to include "require 'rubygems'")


Reproducible: Always

Steps to Reproduce:
1. Emerge rubyripper-0.5.0

Actual Results:  
Make fails with:
make -j2
`ruby configure --update-lang` #update the locale files
configure:52:in `require': no such file to load -- gettext/utils (LoadError)
	from configure:52:in `update_lang'
	from configure:105
	from configure:83:in `each'
	from configure:83
make: *** [all] Error 1


Expected Results:  
It should have first called 'require rubygems' so gettext/utils could be loaded, and continued with the build.

This can be fixed with a simple patch to add "require 'rubygems'" above the line "require 'gettext/utils'" in the configure script
I tested this and it now builds and runs.


Portage 2.1.5_rc10 (default/linux/amd64/2008.0, gcc-4.2.3, glibc-2.7-r2, 2.6.24-zen4 x86_64)
=================================================================
System uname: 2.6.24-zen4 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Wed, 14 May 2008 01:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9, 2.5.2-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo ftp://ftp.swin.edu.au/gentoo ftp://mirrors.64hosting.com/pub/mirrors/gentoo/ ftp://ftp.twaren.net/Linux/Gentoo/ "
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/gnash-cvs"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 ao audiofile bash-completion berkdb bzip2 cairo cddb cdio cdparanoia cjk cli cpufreq cracklib crypt cups dbus directfb dri dts dv dvd encode fbcon ffmpeg flac fontconfig fortran ftp gdbm gif glitz gpm gstreamer gtk hal iconv isdnlog java joystick jpeg libnotify libsamplerate livecd lm_sensors mad midi mmx mmxext mono mp2 mp3 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre perl png pppd python quicktime rar readline reflection rtc ruby samba session speex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 svg tcpd theora threads tiff truetype unicode vorbis x264 xml xorg xv xvid zlib" 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" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Brinn Joyce 2008-05-15 01:41:25 UTC
Created attachment 153183 [details, diff]
adds "require 'rubygems'" to configure
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2008-08-07 00:34:12 UTC
Was already fixed with applied patch