GNOME Bugzilla – Bug 625964
anjuta-tags does not build
Last modified: 2010-08-05 15:23:23 UTC
This is on Mandriva Cooker with vala 0.9.4 and anjuta 2.31.6.0: [goetz@n5 anjuta-tags]$ make V=1 make all-am make[1]: Entering directory `/home/goetz/svn/anjuta2/BUILD/anjuta-2.31.6.0/plugins/symbol-db/anjuta-tags' /bin/sh ../../../libtool --tag=CC --mode=link gcc -I../../../plugins/symbol-db/anjuta-tags/js-parser -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/unique-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libxml2 -I/usr/include/libgdl-1.0 -I/usr/include/libgda-4.0 -I/usr/include/libgda-4.0/libgda -pthread -I/usr/include/vala-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -o anjuta-tags main.o ant.o args.o asm.o asp.o awk.o basic.o beta.o c.o cobol.o debug.o dosbatch.o eiffel.o entry.o erlang.o flex.o fortran.o get.o gir.o html.o jscript.o keyword.o lisp.o lregex.o lua.o make.o matlab.o ocaml.o options.o parse.o pascal.o perl.o php.o python.o read.o rexx.o routines.o ruby.o scheme.o sh.o slang.o sml.o sort.o sql.o strlist.o tcl.o tex.o verilog.o vhdl.o vim.o vstring.o yacc.o js-parser-y-tab.o lex.yy.o jsparse.o js-context.o js-node.o ctags-utils.o vala.o ctags-visitor.o -pthread -lunique-1.0 -ldbus-glib-1 -ldbus-1 -lpthread -lgconf-2 -lvte -lX11 -lgdl-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpng12 -lpango-1.0 -lfreetype -lfontconfig -lgmodule-2.0 -lgda-4.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxslt -lz -lm -lxml2 -pthread -lvala -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lutil libtool: link: gcc -I../../../plugins/symbol-db/anjuta-tags/js-parser -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/unique-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libxml2 -I/usr/include/libgdl-1.0 -I/usr/include/libgda-4.0 -I/usr/include/libgda-4.0/libgda -pthread -I/usr/include/vala-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -o anjuta-tags main.o ant.o args.o asm.o asp.o awk.o basic.o beta.o c.o cobol.o debug.o dosbatch.o eiffel.o entry.o erlang.o flex.o fortran.o get.o gir.o html.o jscript.o keyword.o lisp.o lregex.o lua.o make.o matlab.o ocaml.o options.o parse.o pascal.o perl.o php.o python.o read.o rexx.o routines.o ruby.o scheme.o sh.o slang.o sml.o sort.o sql.o strlist.o tcl.o tex.o verilog.o vhdl.o vim.o vstring.o yacc.o js-parser-y-tab.o lex.yy.o jsparse.o js-context.o js-node.o ctags-utils.o vala.o ctags-visitor.o -pthread -pthread /usr/lib/libunique-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so -ldbus-glib-1 -ldbus-1 /usr/lib/libvte.so -lncurses /usr/lib/libgdl-1.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libcairo.so /usr/lib/libpixman-1.so /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -lpng12 /usr/lib/libpango-1.0.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libgda-4.0.so /usr/lib/libgio-2.0.so -lresolv /usr/lib/libgmodule-2.0.so /usr/lib/libxslt.so /usr/lib/libxml2.so -ldl -lz -lm /usr/lib/libvala.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lrt /usr/lib/libglib-2.0.so /usr/lib/libpcre.so -lutil -pthread ctags-visitor.o: In function `ctags_visitor_signature': /home/goetz/svn/anjuta2/BUILD/anjuta-2.31.6.0/plugins/symbol-db/anjuta-tags/ctags-visitor.vala:127: undefined reference to `vala_formal_parameter_get_parameter_type' ctags-visitor.o: In function `ctags_visitor_real_visit_field': /home/goetz/svn/anjuta2/BUILD/anjuta-2.31.6.0/plugins/symbol-db/anjuta-tags/ctags-visitor.vala:298: undefined reference to `vala_field_get_field_type' collect2: ld returned 1 exit status
Which version of vala do you have installed?
Sorry...found it...
Created attachment 167181 [details] [review] Update for new vala This patch makes it build, and it feels correct to me (the properties got removed in http://git.gnome.org/browse/vala/commit/?id=123f70495cedba1bfb3d7e96ee70b9196d95400f). This might mean that vala 0.9.4 should be required in configure.in, though.
Review of attachment 167181 [details] [review]: Please commit with changing the vala requirement in configure.ac. If you want to release a tarball, please also add the bug fixed in http://git.gnome.org/browse/anjuta/commit/?id=c2255d445440956aceed6c6d6f2fc7437c290566 to the NEWS file. Thanks a lot!
Created attachment 167190 [details] [review] Committed patch There were a few places where the same change was needed, so I committed this. For some reason, I can't completely build anjuta from git though. It currently fails when building the reference: .libs/libanjuta-scan.o: In function `get_object_types': /gnome/sources/current/anjuta/manuals/reference/libanjuta/libanjuta-scan.c:220: undefined reference to `ianjuta_language_support_get_type' I'm assuming this is a local issue. I'll ask someone else for help for a release, or wait for tonight, I guess;
Hi! > .libs/libanjuta-scan.o: In function `get_object_types': > /gnome/sources/current/anjuta/manuals/reference/libanjuta/libanjuta-scan.c:220: > undefined reference to `ianjuta_language_support_get_type' > > I'm assuming this is a local issue. I'll ask someone else for help for a > release, or wait for tonight, I guess; Try rm -rf libanjuta/interfaces/ianjuta-*.c Actually this is a leftover from a previous build.
Johannes: ah, well, I have this now: GICOMP IAnjuta-1.0.gir IAnjuta-1.0.gir: error: Type reference 'DebuggerGListCallback' not found I guess I'll just wait for you to have some time tonight :-)