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

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



tags 916021 + moreinfo
thanks

[Adding rb-general@lists.reproducible-builds.org to CC]

> please add check, that files in binary packages do not refer to build
> directory. See (#915511) for example.

This seems like it would have quite the overlap with reproducible
builds in that we are essentially checking for this already there.

Also related is the fairly new "uses-dpkg-database-directly" tag that
essentially looks for instances of "/var/lib/dpkg":

  https://lintian.debian.org/tags/uses-dpkg-database-directly.html
 
> I believe the following strings should raise warning:
> 
>  /build/{name}
>  /build/{name}-{version}

Unfortunately, these are surely buildd-specific and, for example,
would not catch problem on my local setup (/tmp/buildd as it
happens…).

I think a somewhat more reliable approach would be called for here.
Suggestions welcome.

>  $PWD

Do you mean the literal string "$PWD"? If so, there is surely nothing
errant with a script in /usr/bin along the lines of:

  #!/bin/sh
  
  echo "$PWD"


Regards,

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


Reply to: