Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134987 - net-irc/rbot looks in incorrect data directory
Summary: net-irc/rbot looks in incorrect data directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Diego Elio Pettenò (RETIRED)
URL: http://linuxbrit.co.uk/rbot/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-31 00:08 UTC by David Shakaryan (RETIRED)
Modified: 2006-09-23 05:42 UTC (History)
2 users (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 David Shakaryan (RETIRED) gentoo-dev 2006-05-31 00:08:45 UTC
rbot looks in the temporary portage directory for it's files, rather than the correct locations. It fails to find them and gives an error when executed. To reproduce, emerge =net-irc/rbot-0.9.9 and attempt to run /usr/bin/rbot

Actual Results:
data directory '/var/tmp/portage/rbot-0.9.9/image/usr/share/rbot' not found, did you install.rb?

Expected Results:
rbot looks in /usr/share/rbot and /usr/lib64/ruby/site_ruby/1.8/rbot for the data and is successfully able to find the files (s/lib64/lib/ if you are not an amd64 user)

I'm assuming this is a bug in the way rbot's setup.rb sets up the data. Normally, it would be expected to look in the directories where it was installed to find the data, but I'm guessing that since portage installs in a temporary directory before moving it over to the actual filesystem, it thinks it should be run from the temporary portage directory. If this is marked as an upstream bug, I would recommend you at least hardmask it for the time being.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-31 16:23:46 UTC
Can you please check if it's still a problem with 0.9.10_pre20060801?
Thanks.
Comment 2 David Shakaryan (RETIRED) gentoo-dev 2006-08-15 17:08:58 UTC
Sorry for the late reply. I'm out of town and I can't check it for another two weeks. However, I'll check it when I return.
Comment 3 David Shakaryan (RETIRED) gentoo-dev 2006-08-31 21:27:15 UTC
Okay, I tested net-irc/rbot-0.9.10_pre20060801, but it still doesn't work. I guess I'll just continue to use a manually-installed version. :)
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-23 05:42:17 UTC
Fixed as of 0.9.10-r1 (by using the gem packaging).