[Pkg-pascal-devel] Bug#826300: Bug#826300: Share knowledge on fpc and powerpc issue

Gianfranco Costamagna locutusofborg at debian.org
Sat Aug 27 14:50:10 UTC 2016

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?


(please don't look at the dh_strip comment, it was a typo, thanks Graham for noticing)



More information about the Pkg-pascal-devel mailing list