Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372659 - dev-lang/io-2009.01.02-r1: add support for the 'Random' Addon
Summary: dev-lang/io-2009.01.02-r1: add support for the 'Random' Addon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Luis Araujo (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-23 07:51 UTC by Andy Dalton
Modified: 2012-04-29 16:56 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 Andy Dalton 2011-06-23 07:51:40 UTC
When trying to use 'Random value' with dev-lang/io-2009.01.02-r1, I get the following message:

Exception: Failed to load Addon Random - it appears that the addon exists but was not compiled. You might try running 'make Random' in the Io source folder.

If I copy the ebuild to a local overlay and modify it by adding "make Random" to the end of src_compile it works as expected:

...
    useq lzo && make LZO
    make Random
}

There may be other Addons that would be reasonable to include by default (or provide some mechanism to enable them)


Reproducible: Always

Steps to Reproduce:
1. echo "Random value" | io

Actual Results:  
Io 20080120
Io> Random value

  Exception: Failed to load Addon Random - it appears that the addon exists but was not compiled. You might try running 'make Random' in the Io source folder.
  ---------
  Object Random                        Command Line 1

Io>

Expected Results:  
Io 20080120
Io> Random value
==> 0.6076572695747018 /* This value would be different each time */
Io>
Comment 1 SpanKY gentoo-dev 2011-07-01 01:35:12 UTC
the ebuild is broken wrt to make ... it needs to use `emake` everywhere
Comment 2 Luis Araujo (RETIRED) gentoo-dev 2012-04-29 16:56:37 UTC
Fixed with latest io-2011.09.12 version.

Random module is compiled and installed by default.