Bug#398638: w3c-markup-validator: postinst fails

2006-11-19 Thread Frederic Schutz
Hi Lucas, I have prepared a new revision (0.7.4-1) of the w3c-markup-validator package, which is available at http://www.mathgen.ch/debian/sib/ I reported a bug against wwwconfig-common (#399115), and a new version has been uploaded which allowed me to (hopefully) correct this bug. On my

Bug#398638: w3c-markup-validator: postinst fails

2006-11-17 Thread Frederic Schutz
Steve Langasek wrote: Your postinst runs under set -e, as it should, and then it sources /usr/share/wwwconfig-common/restart.sh (it does *not* execute it). That means any non-zero exit codes from restart.sh are going to propagate and result in the shell (i.e., the postinst) exiting non-zero.

Bug#398638: w3c-markup-validator: postinst fails

2006-11-16 Thread Frederic Schutz
Here is where I am with this bug. postinst calls /usr/share/wwwconfig-common/restart.sh, which itself calls /etc/init.d/apache2 restart. If the restart fails with exit value != 0, the execution of the scripts stops, thus making postinst fail. If I replace /usr/share/wwwconfig-common/restart.sh

Bug#398638: w3c-markup-validator: postinst fails

2006-11-16 Thread Steve Langasek
On Fri, Nov 17, 2006 at 01:21:39AM +0100, Frederic Schutz wrote: Here is where I am with this bug. postinst calls /usr/share/wwwconfig-common/restart.sh, which itself calls /etc/init.d/apache2 restart. If the restart fails with exit value != 0, the execution of the scripts stops, thus

Bug#398638: w3c-markup-validator: postinst fails

2006-11-15 Thread Frederic Schutz
So I have installed piuparts and have done several attempts at testing the package with a bit of debugging. I got two kind of failures. One of them seems to happen if postinst is not able to restart the web server; in this case, the script . /usr/share/wwwconfig-common/restart.sh is called

Bug#398638: w3c-markup-validator: postinst fails

2006-11-15 Thread Lucas Nussbaum
On 15/11/06 at 09:03 +0100, Frederic Schutz wrote: So I have installed piuparts and have done several attempts at testing the package with a bit of debugging. I got two kind of failures. One of them seems to happen if postinst is not able to restart the web server; in this case, the script

Bug#398638: w3c-markup-validator: postinst fails

2006-11-15 Thread Frederic Schutz
Lucas Nussbaum wrote: Have you been able to reproduce this outside of piuparts ? I tried to, but I really can't :-( I don't know what goes wrong inside piuparts. Yes: for example, if I stop apache2, and start another process that binds to port 80 (thus preventing the start of apache2), then

Bug#398638: w3c-markup-validator: postinst fails

2006-11-14 Thread Lucas Nussbaum
Package: w3c-markup-validator Version: 0.7.3-1 Severity: serious Usertags: grid5000 Hi, During a piuparts run over all the packages in etch, I ran into a problem with your package: Setting up w3c-markup-validator (0.7.3-1) ... dpkg: error processing w3c-markup-validator (--configure):

Bug#398638: w3c-markup-validator: postinst fails

2006-11-14 Thread Lucas Nussbaum
On 14/11/06 at 18:53 +0100, Frederic Schutz wrote: Lucas Nussbaum wrote: Hi, During a piuparts run over all the packages in etch, I ran into a problem with your package: Setting up w3c-markup-validator (0.7.3-1) ... dpkg: error processing w3c-markup-validator (--configure):

Bug#398638: w3c-markup-validator: postinst fails

2006-11-14 Thread Frederic Schutz
Lucas Nussbaum wrote: Hi, During a piuparts run over all the packages in etch, I ran into a problem with your package: Setting up w3c-markup-validator (0.7.3-1) ... dpkg: error processing w3c-markup-validator (--configure): subprocess post-installation script returned error exit status

Bug#398638: w3c-markup-validator: postinst fails

2006-11-14 Thread Frederic Schutz
Lucas Nussbaum wrote: Please note that piuparts tests packages installation, not building. Sorry, I knew that but completely mixed everything. The bug is likely to be caused by a missing depend/pre-depend. I'll try to investigate it: please don't lower the priority for now, since it's

Bug#398638: w3c-markup-validator: postinst fails

2006-11-14 Thread Frederic Schutz
Lucas Nussbaum wrote: The bug is likely to be caused by a missing depend/pre-depend. I'll try to investigate it: please don't lower the priority for now, since it's likely that somebody else will find some time to work on it. I am installing piuparts and will look into it. Thanks, Frederic