[Debian-in-workers] Lintian warning about excutable font

Vasudev Kamath kamathvasudev at gmail.com
Fri Jan 13 03:19:36 UTC 2012


On Fri, Jan 13, 2012 at 1:36 AM, Muneeb Shaikh <iammuneeb at gmail.com> wrote:
> I was stumbling with fonts-knda-extra package to remove
> "executable-not-elf-or-script" warning. I finally found that the tarball
> which is generated from deltas in pristine-tar branch is having
> executable permissions. And no matter how hard I tried, I wasn't able to
> get correct deltas in pristine tar branch. So I need help in fixing this
> pristine tar branch.
>
> Check the following output.
> ------------------------------------------------------------------------
>
> muneeb at nixlap $ pristine-tar checkout fonts-knda-extra_1.0.orig.tar.gz
> pristine-tar: successfully generated fonts-knda-extra_1.0.orig.tar.gz
>
> muneeb at nixlap $ tar -tvf fonts-knda-extra_1.0.orig.tar.gz
> drwxr-xr-x vasudev/vasudev   0 2011-12-03 22:10 ./
> -rwxr-xr-x vasudev/vasudev 95404 2011-12-03 21:59 ./Kedage-b.ttf
> -rwxr-xr-x vasudev/vasudev 108988 2011-12-03 21:59 ./Kedage-i.ttf
> -rwxr-xr-x vasudev/vasudev 105692 2011-12-03 21:59 ./Kedage-t.ttf
> -rwxr-xr-x vasudev/vasudev 104412 2011-12-03 22:10 ./Malige-b.ttf
> -rwxr-xr-x vasudev/vasudev 100056 2011-12-03 21:59 ./Kedage-n.ttf
> -rwxr-xr-x vasudev/vasudev 121500 2011-12-03 22:10 ./Malige-n.ttf
> -rwxr-xr-x vasudev/vasudev 116324 2011-12-03 22:10 ./Malige-t.ttf
> -rwxr-xr-x vasudev/vasudev 134288 2011-12-03 22:10 ./Malige-i.ttf
>
> ------------------------------------------------------------------------
>
> The *ttf files have executable bit set in upstream branch.
>
> So we have to 1) unset that bit in upstream branch, 2) generate new
> deltas in pristine-tar branch and 3) check if generated tarball have
> appropriate permissions. (I have heard that pristine-tar sometime fails)

I would suggest to copy out the debian directory and re do the package
any way we have *dh-make-font* so it will be done in no time then
replace the debian directory and build remove current repo then
reimport the stuff

I feel this is the most painless way than anything else


Best Regards



More information about the Debian-in-workers mailing list