Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330227 - net-irc/rbot-0.9.15 - rake aborted! undefined method `size' for nil:NilClass
Summary: net-irc/rbot-0.9.15 - rake aborted! undefined method `size' for nil:NilClass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Alex Legler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-28 14:26 UTC by Willard Dawson
Modified: 2011-04-10 22:14 UTC (History)
2 users (show)

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


Attachments
Build log (build.log,4.72 KB, text/plain)
2010-07-28 14:28 UTC, Willard Dawson
Details
Emerge -pqv (emerge-pqv,226 bytes, text/plain)
2010-07-28 14:28 UTC, Willard Dawson
Details
Emerge environment (environment,97.95 KB, text/plain)
2010-07-28 14:28 UTC, Willard Dawson
Details
Emerge info (emerge-info,4.85 KB, text/plain)
2010-09-03 14:38 UTC, Willard Dawson
Details
Build log (build.log,11.85 KB, text/plain)
2010-09-03 14:39 UTC, Willard Dawson
Details
Emerge -pqv (emerge-pqv,226 bytes, text/plain)
2010-09-03 14:39 UTC, Willard Dawson
Details
Emerge environment (environment,96.79 KB, text/plain)
2010-09-03 14:39 UTC, Willard Dawson
Details
Build.log for rbot 0.9.15 (build.log,28.39 KB, text/plain)
2011-04-10 16:17 UTC, Awad Mackie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willard Dawson 2010-07-28 14:26:23 UTC
net-irc/rbot fails to merge

Reproducible: Always

Actual Results:  
po/en_US/rbot.po => data/locale/en_US/LC_MESSAGES/rbot.mo
rake aborted!
undefined method `size' for nil:NilClass
/var/tmp/portage/net-irc/rbot-0.9.15/work/all/rbot-0.9.15/Rakefile:124
(See full trace by running task with --trace)



# emerge --info =net-irc/rbot-0.9.15
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 28 Jul 2010 13:30:18 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Nessus-EULA sun-bcla-java-vm AdobeFlash-10 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/sectools"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa amd64 amr apache2 apm arts ati audiofile autoipd avahi avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo caps cardbus cdio cdr cli consolekit cracklib crypt ctype cups cxx dba dbtool dbus dcc_video digitalradio diskio djvu dri dts dvd dvdread dynamicplugin eds emboss encode esd ethereal exif expat extras fastbuild fax ffmpeg fftw fglrx flac foomaticdb force-cgi-redirect fortran ftp fuse gamin gd gdbm gif glib glitz glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 ithreads jack java java-nsplugin jpeg kde kerberos kqemu laptop lcms ldap libclamav libg++ libwww lirc live lm_sensors lua mad madwifi matroska mdnsresponder-compat memlimit mhash mikmod mmx mmxext mng modules mono motif mozilla mp3 mpeg mssql mudflap multilib mysql ncurses netboot netjack networking nforce2 nls nptl nptlonly nsplugin nvidia ocaml odbc ogg oggvorbis opencore-amr opengl openmp oss pam pango pch pcmcia pcre pdf pdflib pear perl php pmu png policykit portaudio posix pppd python qt qt3support qt4 qtmt quicktime readline reflection ruby samba sasl scanner sdl semantic-desktop session simplexml slang sndfile snmp soap sockets spell spl sql sqlite sse sse2 ssl svg sysfs tcl tcltk tcpd theora threads threadsafe tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode usb utempter vorbis wddx webkit wifi xanim xinerama xml xmlrpc xorg xscreensaver xsl xulrunner xv zeroconf 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Willard Dawson 2010-07-28 14:28:06 UTC
Created attachment 240447 [details]
Build log
Comment 2 Willard Dawson 2010-07-28 14:28:27 UTC
Created attachment 240449 [details]
Emerge -pqv
Comment 3 Willard Dawson 2010-07-28 14:28:39 UTC
Created attachment 240451 [details]
Emerge environment
Comment 4 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-07-28 15:43:48 UTC
What version of dev-ruby/ruby-gettext is installed?
Does the earlier version 0.9.15 work?
Comment 5 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-07-28 15:45:03 UTC
(In reply to comment #4)
> What version of dev-ruby/ruby-gettext is installed?
> Does the earlier version 0.9.15 work?
> 

.14 that is
Comment 6 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-08-01 14:15:17 UTC
I cannot reproduce the issue. Once you have provided the requested information, please reopen the bug.
Comment 7 Willard Dawson 2010-08-03 14:49:13 UTC
(In reply to comment #6)
> I cannot reproduce the issue. Once you have provided the requested information,
> please reopen the bug.
> 

Sorry for the delay in responding.  On the flip side, that was a bit quick to close the ticket as needinfo, don't you think?

Currently, I have dev-ruby/ruby-gettext-2.1.0-r1 with the emerge failure. Forcing the net-irc/rbot build to 0.9.14 also builds the dependency dev-ruby/ruby-gettext-1.93.0.  With the lower version of ruby-gettext, the lower version of net-irc/rbot merges successfully.

`emerge -pu net-irc/rbot` shows:

[ebuild     U ] dev-ruby/ruby-gettext-2.1.0_p20100728-r1 [1.93.0] USE="-test%" RUBY_TARGETS="jruby%* ruby18%* -ree18% (-ruby19)" 
[ebuild     U ] net-irc/rbot-0.9.15 [0.9.14] USE="-test%" LINGUAS="-fi%" RUBY_TARGETS="ruby18%*" 

If I mask >=dev-ruby/ruby-gettext-2.1.0-r1 locally I next see:

emerge: there are no ebuilds built with USE flags to satisfy ">=dev-ruby/ruby-gettext-2[ruby_targets_ruby18]".                                                  
!!! One of the following packages is required to complete your request:
- dev-ruby/ruby-gettext-2.1.0 (Missing IUSE: ruby_targets_ruby18)
(dependency required by "net-irc/rbot-0.9.15" [ebuild])
(dependency required by "net-irc/rbot" [argument])

Adding ruby_targets_ruby18 to my global USE variable does not help, as the warning/error persists.

Masking locally:

>=dev-ruby/ruby-gettext-2.1.0-r1
=net-irc/rbot-0.9.15

Gets successful emerges to here:

dev-ruby/ruby-gettext-1.93.0
net-irc/rbot-0.9.14


Comment 8 gusejnov pavel 2010-08-04 19:37:31 UTC
I have same bug.

I solved it by installing ruby-gettext-1.93.0 and rbot-0.9.15 with ignoring dependence.
emerge =ruby-gettext-1.93.0
emerge rbot -O

So mabe it be "nls? ( =dev-ruby/ruby-gettext-1.* )" in ebuild?
Comment 9 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-08-06 19:10:00 UTC
(In reply to comment #8)
> So mabe it be "nls? ( =dev-ruby/ruby-gettext-1.* )" in ebuild?
> 

Not the right solution to use a deprecated version.

I enabled Rake traces in the ebuild in the tree. Please sync your tree, emerge rbot again and attach the new build log. The more verbose output should give some insight to the cause of the issue. Be sure to remove all masks you have put.
Comment 10 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-08-21 08:49:28 UTC
And again, reopen if you have provided the info.
Comment 11 Willard Dawson 2010-09-03 14:38:49 UTC
Created attachment 245870 [details]
Emerge info
Comment 12 Willard Dawson 2010-09-03 14:39:22 UTC
Created attachment 245871 [details]
Build log
Comment 13 Willard Dawson 2010-09-03 14:39:40 UTC
Created attachment 245873 [details]
Emerge -pqv
Comment 14 Willard Dawson 2010-09-03 14:39:57 UTC
Created attachment 245875 [details]
Emerge environment
Comment 15 Willard Dawson 2010-09-03 14:45:03 UTC
(In reply to comment #10)
> And again, reopen if you have provided the info.
> 

As requested.
Comment 16 Willard Dawson 2010-10-24 15:37:17 UTC
(In reply to comment #15)
> (In reply to comment #10)
> > And again, reopen if you have provided the info.
> > 
> 
> As requested.
> 

After some time, I am revisiting my open bugs.  This issue persists, with the same error as logged in my most recently attached build.log.
Comment 17 Awad Mackie 2011-04-10 16:17:01 UTC
Created attachment 269315 [details]
Build.log for rbot 0.9.15

Ran across this error on a recent update, and ruby-gettext-1* is no longer in the tree. Got around by setting USE="-nls" for now.

I've attached my build.log as well.
Comment 18 Alex Legler (RETIRED) archtester gentoo-dev Security 2011-04-10 21:04:14 UTC
You guys use KDE, right?
Please try again, I fixed some issues in dev-ruby/locale and made rbot depend on that fixed version. Reopen if the issue persists. Thanks
Comment 19 Awad Mackie 2011-04-10 22:14:10 UTC
(In reply to comment #18)
> You guys use KDE, right?
> Please try again, I fixed some issues in dev-ruby/locale and made rbot depend
> on that fixed version. Reopen if the issue persists. Thanks

Yes.

Thanks, works perfectly!