Public bug reported:

When source code changes have been made to the vala compiler, it will
fail to build in a clean (pbuilder) environment because a pre-existing
valac is not available. Trying to resolve this using the existing method
of including the generated C files and relying on timestamps to avoid
rebuilds is very cumbersome to workaround (and requires a nasty hack in
debian/rules because the patch process updates timestamps anyway - I
found 'find . -name "*.vala.stamp" -exec touch "{}" \;' was needed).

I've resolved the problem by applying the attached patch
(02_fix_vapi_dirs), and adding valac (>= 0.7.0) to Build-Depends. The
cyclical reference appears to be Ok with the build environment.

This patch was applied against vala-0.8.0-0ubuntu1 on Lucid.

** Affects: vala (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Unable to build for PPA when there are patches to vala source
https://bugs.launchpad.net/bugs/570908
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to