Introduction of reproducible builds causes Lintian to throw package-contains-ancient-file
errors for directories
#757
Labels
bug
Something isn't working
What happened?
In v2.35.0, the introduction of reproducible builds appears to cause Lintian to throw
package-contains-ancient-file
errors for directories created by nfpm, due to it defaulting to zero (epoch).I thought I could get around this by specifying the
mtime
in the nfpm configuration, but this doesn't seem to work. I see that themtime
appears hardcoded in some places that may be related to this.I could ignore this error in
.lintian-overrides
, but this wasn't an issue before.How can we reproduce this?
Define an nfpm config with something along the following:
Install Lintian per the nfpm docs' recommendation (I'm on
Lintian v2.114.0ubuntu1.3
), and run:Observe
package-contains-ancient-file
errors, like this:nfpm version
Search
Code of Conduct
Additional context
This issue seems related: #750
The text was updated successfully, but these errors were encountered: