[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#916021: lintian: Please check for references to build directory



Hi Dmitry,

>  $ cd /home/iu/devel/salsa/ucspi-tcp
>  $ dpkg-buildpackage -us -uc
>  $ lintian
> 
> And here lintian could check, that generated binary packages does not
> contains references to /home/iu/devel/salsa/ucspi-tcp.

Alas, I don't think the output of Lintian should ever change depending
on what directory you run it from!

Not only would this be highly misleading as a user-interface it would
also have false positives if you ran it on a previously built package
or — just being silly for a second — from "/".

However, we could trust the "Build-Path" field in a .buildinfo if it
exists? Would that work for you? I assume yours contains:

  Build-Path: /home/iu/devel/salsa/ucscpi-tcp"?
  
(You may need to pass --buildinfo-option=--always-include-path to
dpkg-buildpackage.)


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: