Your message dated Wed, 16 Sep 2009 14:52:12 -0400
with message-id <[email protected]>
and subject line Re: Bug#544581: libtolua-dev: tolua generated code doesn't
anymore build for modules (like it did for To/Lua v4)
has caused the Debian Bug report #544581,
regarding libtolua-dev: tolua generated code doesn't anymore build for modules
(like it did for To/Lua v4)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
544581: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544581
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libtolua-dev
Version: 5.1b-3
Severity: normal
If "tolua" is given a cleaned up header file for a module which
contains multiple "typedef struct..." declarations that have members
with same names, like this:
module test {
typedef struct {
int x;
int y;
int w;
int h;
int color;
} box_t;
extern void draw_box(box_t *box);
typedef struct {
int x;
int y;
int r;
int color;
} circle_t;
extern void draw_circle(circle_t *circle);
}
...the compilation of the generated code will fail. Tolua doesn't
give wrappers for these members different names, either by using
a running index for them, or by adding the structure name to
the wrapper name.
Note1: If one doesn't put these structures within the same module,
then tolua adds the type name to the function names and everything
is "fine" (but then results these are global and not within module).
Note2: Compiling the code generated by tolua for Lua v4 worked fine,
so this seems like regression (I didn't test whether the result
worked OK though, as I'm unfamiliar with Lua).
-- System Information:
Debian Release: 5.0.2
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libtolua-dev depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii liblua5.1-0 5.1.3-1 Simple, extensible, embeddable pro
ii liblua5.1-0-dev 5.1.3-1 Simple, extensible, embeddable pro
libtolua-dev recommends no packages.
libtolua-dev suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 5.1.2-1
On Wed, Sep 16, 2009 at 09:00:20PM +0300, Eero Tamminen wrote:
> > Can you try your test case with the current testing/unstable version
> > 5.1.2-1?
> > This involves a new minor upstream release.
>
> That seems to work, i.e. the bug is specific to Debian stable.
Great, thanks for testing. This email should close the bug correctly, marking
it as fixed in the testing/unstable version. An update to stable to fix this
severity level of bug would be unlikely to be accepted, but feel free to
continue using version 5.1.2-1 on stable.
- Jimmy Kaplowitz
[email protected]
--- End Message ---