Unable to build for PPA when there are patches to vala source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Vala |
Fix Released
|
Medium
|
|||
vala (Ubuntu) |
Fix Released
|
Wishlist
|
Vibhav Pant |
Bug Description
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.
tags: | added: patch |
Changed in vala (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in vala: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in vala (Ubuntu): | |
assignee: | nobody → Vibhav Pant (vibhavp) |
status: | Incomplete → Fix Released |
Thank you for your bug report. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https:/ /wiki.ubuntu. com/Bugs/ Upstream/ GNOME)