Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212339 - xmoto 0.3.4 fail to compile
Summary: xmoto 0.3.4 fail to compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-05 01:22 UTC by Zhang Weiwu
Modified: 2008-03-12 05:36 UTC (History)
1 user (show)

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


Attachments
build.log on iBook (ppc) (build.log,165.99 KB, text/plain)
2008-03-05 01:22 UTC, Zhang Weiwu
Details
emerge --info (emerge.info,3.37 KB, text/plain)
2008-03-05 01:23 UTC, Zhang Weiwu
Details
build.log with lua 5.1.2 (build.log,154.77 KB, text/plain)
2008-03-05 01:59 UTC, Zhang Weiwu
Details
diff on 0.3.4 version (xmoto.diff,1.20 KB, patch)
2008-03-05 16:20 UTC, Tomáš Chvátal (RETIRED)
Details | Diff
fix for nls and new liblua (xmoto.diff,1.75 KB, patch)
2008-03-05 22:09 UTC, Tomáš Chvátal (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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