Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 212339

Summary: xmoto 0.3.4 fail to compile
Product: Gentoo Linux Reporter: Zhang Weiwu <zhangweiwu>
Component: [OLD] GamesAssignee: Stefan Schweizer (RETIRED) <genstef>
Status: RESOLVED NEEDINFO    
Severity: normal CC: games
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log on iBook (ppc)
emerge --info
build.log with lua 5.1.2
diff on 0.3.4 version
fix for nls and new liblua

Description Zhang Weiwu 2008-03-05 01:22:28 UTC
xmoto 0.3.4 fail to compile with or without nls.

Reproducible: Always
Comment 1 Zhang Weiwu 2008-03-05 01:22:58 UTC
Created attachment 145326 [details]
build.log on iBook (ppc)
Comment 2 Zhang Weiwu 2008-03-05 01:23:35 UTC
Created attachment 145327 [details]
emerge --info
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-03-05 01:43:37 UTC
It'd probably help if you compiled dev-lang/lua w/ USE=deprecated
Comment 4 Zhang Weiwu 2008-03-05 01:48:16 UTC
Sorry I am noob: I didn't find "depreciated" use flag in dev-lang/lua. I now will try to switch to another version (from 5.1.3 to 5.1.2) to test it again, with "readline" on and with "static" off (that's the default).
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-03-05 01:49:46 UTC
(In reply to comment #4)
> Sorry I am noob: I didn't find "depreciated" use flag in dev-lang/lua.

It's USE=deprecated, not USE=depreciated
Comment 6 Zhang Weiwu 2008-03-05 01:59:12 UTC
Created attachment 145329 [details]
build.log with lua 5.1.2

build.log with lua 5.1.2, the version of lua that doesn't have 'deprecated' USE flag.

Now I try lua 5.1.3 again with deprecated use flag
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-03-05 02:12:09 UTC
Comment on attachment 145329 [details]
build.log with lua 5.1.2

The segfault has nothing to do with the original bug.
Comment 8 Zhang Weiwu 2008-03-05 02:44:01 UTC
Now it worked by using lua 5.1.3 with depracted use flag.

Please update the ebuild to refuse to build if lua < 5.1.3 is there or was not compiled with deprecated use flag. ^_^
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2008-03-05 16:20:43 UTC
Created attachment 145354 [details, diff]
diff on 0.3.4 version


Fixed problem with depercated flag, but it should compile with old lua, because i use it and it compile, problem could be elsewhere...
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2008-03-05 22:09:07 UTC
Created attachment 145388 [details, diff]
fix for nls and new liblua

hell i posted wrong diff
Comment 11 Stefan Schweizer (RETIRED) gentoo-dev 2008-03-11 20:09:13 UTC
does this work in 0.4.1?
Comment 12 Zhang Weiwu 2008-03-12 05:36:35 UTC
0.4.1 built with lua 5.1.2 was successfully built and runs just fine. on ppc32