VAPI build fails on older versions of valac in 10.04 and 10.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Fix Released
|
Medium
|
dobey |
Bug Description
The nightlies are currently failing on Lucid and Maverick with the following error:
/usr/bin/valac --pkg gobject-2.0 --pkg glib-2.0 -C libsyncdaemon-
test-libsyncdae
using Syncdaemon;
^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make[3]: *** [test_libsyncda
This is because the older versions of valac on those Ubuntu versions do not support passing the .vapi in as a source file. Instead, to support building here, we must depend on the .vapi being built explicitly, and pass --vapidir=
Related branches
- Roberto Alsina (community): Approve
- Roman Yepishev (community): Approve (fieldtest)
-
Diff: 44 lines (+10/-10)1 file modifiedlibsyncdaemon/Makefile.am (+10/-10)
Changed in ubuntuone-client: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-client: | |
status: | Fix Committed → Fix Released |
Rather, the error was somewhat misleading. The real problem was that the gir file has not been built properly, and so the build failed on older versions, where g-ir-scanner did not support the --identifier-prefix option.