Bug#793062: human-icon-theme: debian/clean-up.sh runs processes in background

Andreas Beckmann anbe at debian.org
Mon Jul 20 23:48:44 UTC 2015


Package: human-icon-theme
Version: 0.28.debian-3.3
Severity: serious

This script is run during the build and buggy:

===== debian/clean-up.sh =====
#!/bin/sh

# Manually clean-up 
find ./ -name Makefile.in* | xargs rm -f &>/dev/null
rm -f ./po/Makefile.in.in &>/dev/null
rm -f ./configure &>/dev/null
rm -f ./intltool-update.in &>/dev/null
rm -f ./intltool-merge.in &>/dev/null
rm -r ./intltool-extract.in &>/dev/null
rm -f ./config.guess &>/dev/null
rm -f ./config.sub &>/dev/null
rm -f ./install-sh &>/dev/null
rm -f ./missing &>/dev/null
rm -f ./aclocal.m4 &>/dev/null
===== =====

All processes are run in the background s.t. it is possible for the
build process to have finished and the pbuilder chroot to have been
cleaned up before these background processes are finished:

>From todays's tests with human-icon-theme:
1234     10988  0.0  0.0  11668   740 pts/85   S    12:27   0:00 find ./ -name Makefile.in*
1234     10989  0.0  0.0   8536   724 pts/85   S    12:27   0:00 xargs rm -f
1234     12374  0.0  0.0   2040   264 pts/73   S    16:35   0:00 rm -r ./intltool-extract.in
1234      4436  0.0  0.0  11668  1088 pts/85   S+   17:48   0:00 find ./ -name Makefile.in*
1234      4437  0.0  0.0   8536   796 pts/85   S+   17:48   0:00 xargs rm -f
1234      4442  0.0  0.0   8416   728 pts/85   S+   17:48   0:00 rm -r ./intltool-extract.in
1234      9708  0.0  0.0  11668   992 pts/73   S    17:56   0:00 find ./ -name Makefile.in*
1234      9709  0.0  0.0   8536   740 pts/73   S    17:56   0:00 xargs rm -f
1234     31377  0.0  0.0  11668   984 pts/73   S    18:01   0:00 find ./ -name Makefile.in*
1234     31378  0.0  0.0   8536   704 pts/73   S    18:01   0:00 xargs rm -f
1234     30223  0.0  0.0  11668  1104 pts/73   S    18:38   0:00 find ./ -name Makefile.in*
1234     30224  0.0  0.0   8536   796 pts/73   S    18:38   0:00 xargs rm -f

For some reason some of these processes get stuck (and they also block
a wrapper script around pbuilder to terminate since the tty is still
in use). 

I could reproduce this in wheezy, jessie, stretch, and sid pbuilder chroots.


Andreas




More information about the pkg-gnome-maintainers mailing list