[Freeciv-Dev] [bug #21399] luac.c main() built to lua library
Follow-up Comment #3, bug #21399 (project freeciv): It seems your rebuild has not been complete, as it still finds that library dependencies/lua-5.1/src/.libs/liblua.a contains the string. Maybe your Makefile is not getting regenerated from Makefile.in, or Makefile.in is not getting regenerated from Makefile.am ___ Reply to this item at: http://gna.org/bugs/?21399 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21399] luac.c main() built to lua library
Follow-up Comment #4, bug #21399 (project freeciv): Maybe your Makefile is not getting regenerated from Makefile.in, or Makefile.in is not getting regenerated from Makefile.am Well, your latter listing doesn't show luac.c remaining in any of the Makefiles, so it's more likely that liblua.a has simply not been rebuilt at all. Anyway, I'm committing this patch as it obviously fixes one bug even if your case proves to be something else in the end (liblua.a getting the string from outside the freeciv source tree) ___ Reply to this item at: http://gna.org/bugs/?21399 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21399] luac.c main() built to lua library
Update of bug #21399 (project freeciv): Status: Ready For Test = Fixed Assigned to:None = cazfi Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/bugs/?21399 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21399] luac.c main() built to lua library
Follow-up Comment #2, bug #21399 (project freeciv): Thank you for looking into this issue. I applied the LuacRm-S2_4.patch to the sources fetched using MacPorts (so got rid of the luac.c entries in the lua-5.1/src Makefiles) and rebuilt, but unfortunately still the same behavior when running freeciv-sdl. grep -r 'no input files given' * dependencies/lua-5.1/src/.libs/liblua.a dependencies/lua-5.1/src/luac.o dependencies/lua-5.1/src/luac.c client/freeciv-sdl grep -r luac.c ChangeLog: M /branches/S2_2/dependencies/lua-5.1/src/luac.c ChangeLog: A /trunk/dependencies/lua-5.1/src/luac.c ChangeLog: D /trunk/dependencies/lua/src/luac.c ChangeLog: M /trunk/dependencies/lua/src/luac.c ChangeLog: A /trunk/dependencies/lua/src/luac.c dependencies/lua-5.1/src/.deps/luac.Plo:luac.lo luac.o: luac.c /usr/include/errno.h /usr/include/sys/errno.h dependencies/lua-5.1/src/luac.c:** $Id: luac.c,v 1.54 2006/06/02 17:37:11 lhf Exp $ dependencies/lua-5.1/src/luac.c:#define luac_c dependencies/lua-5.1/src/lundump.h:#ifdef luac_c dependencies/lua-5.1/src/print.c:#define luac_c Devander ___ Reply to this item at: http://gna.org/bugs/?21399 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21399] luac.c main() built to lua library
URL: http://gna.org/bugs/?21399 Summary: luac.c main() built to lua library Project: Freeciv Submitted by: cazfi Submitted on: Mon 30 Dec 2013 12:46:56 AM EET Category: general Severity: 3 - Normal Priority: 5 - Normal Status: In Progress Assigned to: None Originator Email: Open/Closed: Open Release: 2.4.1 Discussion Lock: Any Operating System: None Planned Release: ___ Details: This originates from Devander's forum post: http://forum.freeciv.org/f/viewtopic.php?f=8t=211 When lua library is built from sources included in freeciv tree, luac.c gets built in. It has function main(). In Devender's case at least that leads to *that* main() getting called when freeciv-sdl is launched. Conclusion drawn from the fact that Devander got output like no input files given and grepping our sources for that string occurs only in the said main(). ___ Reply to this item at: http://gna.org/bugs/?21399 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21399] luac.c main() built to lua library
Update of bug #21399 (project freeciv): Planned Release: = 2.3.5, 2.4.2, 2.5.0, 2.6.0 ___ Reply to this item at: http://gna.org/bugs/?21399 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21399] luac.c main() built to lua library
Update of bug #21399 (project freeciv): Status: In Progress = Ready For Test ___ Follow-up Comment #1: Patches to simply remove luac.c from the list of source files for the lib. When committing this, I'm about to also 'svn rm' luac.c completely from our version control. (file #19560, file #19561) ___ Additional Item Attachment: File name: LuacRm.patch Size:0 KB File name: LuacRm-S2_4.patch Size:0 KB ___ Reply to this item at: http://gna.org/bugs/?21399 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev