Bug#1082135: sumo: FTBFS randomly due to dh_installdocs misbehavior (?)

Santiago Vila sanvila at debian.org
Mon Oct 28 13:36:07 GMT 2024


El 28/10/24 a las 13:36, Niels Thykier escribió:
> In my view, the underlying problem is that the sumo build ends up running:
> 
>   `... && doxygen ... &> file.log`

Big oops, thanks for spotting it!
  
> Under `bash`, this causes a redirect of stderr + stdout. Under `dash` (`/bin/sh` on Debian systems), this only redirects stdout *AND* backgrounds the process.
> 
> As a basic premise of all `debhelper` tools is that no other process is running in parallel that can affect the outcome (such as changing files in directories being operated on by said dh-tool). With `doxygen` potentially running in the background while `dh_installdocs` is running, I am writing this off as a bug in `sumo` until someone can reliably reproduce this happens for `sumo` without `doxygen` (or any sumo build tool) running in parallel that *could* affect what `dh_installdocs` should be operating on.

Makes sense. I fully agree, we can't expect debhelper tools to act on directory trees which are
still being written to.

I'll prepare a fix, will test it, and will take care of making a team upload.

Thanks a lot!



More information about the debian-science-maintainers mailing list