Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
the sieve test fail because math.mod seems to be depreciate : in src/luaconf.h : /* @@ LUA_COMPAT_MOD controls compatibility with old math.mod function. ** CHANGE it to undefined as soon as your programs use 'math.fmod' or ** the new '%' operator instead of 'math.mod'. */ #undef LUA_COMPAT_MOD So I replace math.mod with math.fmod in the test.
Created an attachment (id=144135) [details] replace math.mod with math.fmod in test/sieve.lua
Created an attachment (id=144136) [details] ebuild's diff
Created an attachment (id=144257) [details] lua.ebuild.patch In fact we need to patch only if use=deprecated is not enable.
It would also be nice if we got rid of the ridiculous &> /dev/null in src_test(). If anything you'd want to _keep_ the output of a test, especially if it fails. Frankly, why anyone would ever put &> /dev/null in an ebuild is beyond me. Changing the summary as this hasn't been fixed in -r2.
Probably the &> /dev/null was introduced so the output looked nicer or whatever. I agree with you that it's silly, i removed it and included the patch for the test. Thanks Oliver!