Hi Paul, >Using buildid for compat level >= 9
>dpkg-gencontrol: warning: Built-Using field of package >lazarus-ide-1.6: unknown substitution variable ${bu:version} >dpkg-gencontrol: warning: can't parse dependency fpc (= ) >dpkg-gencontrol: error: error occurred while parsing Built-Using field: fpc (= >) >Error: parsed ddeb section or priority is empty >debian/rules:401: recipe for target 'binary-arch' failed for some reasons, having fpc and (= variable) is not well understood by debhelper in Ubuntu. After lots of debug, I found a fix, that is: having a variable with "fpc (= version)" content so, the control is: Built-Using: ${Built-Using} and Built-Using is: fpc (= foo) instead of a control Built-Using: fpc (= variable) and variable being "foo" probably some missing escape in some debhelper script was splitting the field because of the space, and missing quotes, or whatever. The Ubuntu patch looks sane and... works... do you mind double checking it and applying on Debian too? http://launchpadlibrarian.net/281289320/lazarus_1.6+dfsg-4_1.6+dfsg-4ubuntu1.diff.gz (please don't look at the dh_strip comment, it was a typo, thanks Graham for noticing) thanks, G.