[Bug 589967] Re: produce uncompilable source file

LI Daobing lidaobing at gmail.com
Wed Jul 14 10:18:26 BST 2010


re-upload debdiff, change target from lucid to lucid-proposed.

** Patch added: "gob2_2.0.16-1ubuntu0.1.debdiff"
   http://launchpadlibrarian.net/51916652/gob2_2.0.16-1ubuntu0.1.debdiff

** Patch removed: "gob2_2.0.16-1ubuntu0.1.debdiff"
   http://launchpadlibrarian.net/51565485/gob2_2.0.16-1ubuntu0.1.debdiff

-- 
produce uncompilable source file
https://bugs.launchpad.net/bugs/589967
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “gob2” package in Ubuntu: Fix Released
Status in “gob2” source package in Lucid: New

Bug description:
impact:
generate uncompilable code under amd64

the development branch has ship 2.0.17, which has fixed this bug.

patch in attachment.

How to reproduce this bug (only can reproduced under amd64):

$ cat a-foo.gob
class A:Foo from G:Object {
}
$ gob2 a-foo.gob
$ gcc -c `pkg-config --cflags glib-2.0` a-foo.c
./a-foo.gob:0: error: expected ‘)’ before ‘*’ token
a-foo.c: In function ‘a_foo_get_type’:
a-foo.c:56: error: ‘a_foo_class_init’ undeclared (first use in this function)
a-foo.c:56: error: (Each undeclared identifier is reported only once
a-foo.c:56: error: for each function it appears in.)
a-foo.c: At top level:
a-foo.c:95: error: expected ‘)’ before ‘*’ token

this bug is cauded by misusing of strcpy, detail information in [1] (including a patch)

[1] http://permalink.gmane.org/gmane.comp.gnome.devtools.gob.general/119

the new upstream already fixed this problem.







More information about the Ubuntu-sponsors mailing list