** Summary changed: - clamav 0.95(.1) build fails with fakeroot on Intrepid + clamav 0.95(.1) build fails with fakeroot on Intrepid due to race condition
** Description changed: Binary package hint: fakeroot clamav version: 0.95.1 fakeroot version: 1.9.5 clamav 0.95.1 is in Jaunty main. Tried to build the package for Intrepid backporting, uploaded to the ubuntu-clamav PPA, but it failed to build. Tried to build it locally with intrepid pbuilder (for i386) on an x86_64 intrepid install, but it failed. Specifically there are some stress tests for clamav, and the testing part for clamd just hangs forever (the launchpad build system had to kill the build after two hours). When building the package with debuild -rsudo, or './configure; make check' in the same environment, or disabling these tests, it's building OK. Only when there's fakeroot involved, it doesn't build, it hangs. Checked up with clamav guys on FreeNode#clamav, and it seems to be the bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499142 which got fixed in Jaunty (on Jaunty the package builds without problems). On Intrepid there's an older version, 1.9.5. Is there a way to backport fakeroot 1.12.1 from Jaunty to Intrepid (and possibly Hardy) too ? As far as I can tell, launchpad's build system is also using fakeroot 1.9.5 for Intrepid package builds (at least for PPA package building). See this buildlog, near the end, search for "test_connections": http://launchpadlibrarian.net/25273212/buildlog_ubuntu- intrepid-i386.clamav_0.95.1%2Bdfsg- 0ubuntu1~intrepid1~ppa1_FAILEDTOBUILD.txt.gz gdb 'thread apply all bt' output for one of the test processes that hangs. http://pastebin.ubuntu.com/149383/ + + TEST CASE: + Download clamav 0.95.1 source package from Jaunty, try building a package with pbuilder for Intrepid (which uses fakeroot 1.9.5). After compiling it moves on to do some stress testing of clamav, clamscan, clamd. At clamd it does all the tests, gives one error and hangs forever. Look for this output: + Running suite(s): clamd + 98%: Checks: 77, Failures: 0, Errors: 1 + check_clamd.c:205:E:clamd stress test:test_connections:0: (after this point) Test timeout expired + *** + *** Failed clamd protocol test! + *** + After this it just hangs and does not do anything. Look at the process list, there should be a clamd/clamdscan process, run a strace -p <pid>, it should be stuck at semop(...). The build process must be aborted with Ctrl+C. -- clamav 0.95(.1) build fails with fakeroot on Intrepid due to race condition https://bugs.launchpad.net/bugs/360122 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
