On Tue, Oct 30, 2018 at 08:57:04PM +0100, Stefan Bühler wrote: > > lighttpd fails to cross build from source. The first problem is > > satisfying Build-Depends. Two dependencies are problematic: perl and > > libcgi-pm-perl. Turns out the latter is unnecessary (removing it does > > not influence the build result). > > Did you even *try* to find out why it is there? See #789856.
Yes, I did. The bug said, it'll fail hard once we get perl 5.22. We're at 5.26 and it doesn't fail. This suggests that the reason is obsolete. I also tried to find uses of the module in the lighttpd source, but to no avail. In particular, the tests from #789856 no longer use it. Looks like an upstream change made the dependency obsolete and nobody noticed. Furthermore, since lighttpd is reproducible, one can see that dropping the dep does not influence the build. > In other words: bad idea. Maybe the idea isn't that bad after all. But if you insist, another option would be annotating it with "<!nocheck>" as cross builds usually set that profile. > Already fixed upstream (since 1.4.50), see > https://git.lighttpd.net/lighttpd/lighttpd1.4.git/commit/configure.ac?id=fefc82153a0260635807ae427943d6fed3238809 Sounds like someone should upload that. Helmut