On Sun, Jan 14, 2018 at 08:08:04PM +0100, Helmut Grohne wrote: > Package: mock [...] > /usr/lib/python3/dist-packages/mockbuild/util.py contains chattr. According > to file it is a C++ source, ASCII text [...]
https://sources.debian.org/src/mock/1.3.2-2/py/mockbuild/util.py/#L167 Interestingly the chattr system invokation seems to be used in an exception handler. There seems to be many other ways that may be used to deal with this. The overall function seems to be a helper to remove a directory tree. If chattr is not available this should not have a greater impact than the rmtree function simply not being able to do 'chattr -R -i ...' to try to get a file removed. Other methods should still be tried etc. It does thus not seem vital to have a e2fsprogs dependency. I have no idea how important the util.py file and the rmtree functionality is to mock, which might turn the expectation even lower. As it looks to me mock should at most Recommend e2fsprogs. Would be great to hear maintainers opinion about if this bug report should simply be closed without any action or if a Recommends sounds appropriate. Regards, Andreas Henriksson