clamav 0.95(.1) build fails with fakeroot on Intrepid due to race condition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fakeroot (Debian) |
Fix Released
|
Unknown
|
|||
fakeroot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Dapper |
Won't Fix
|
High
|
Unassigned | ||
Gutsy |
Won't Fix
|
High
|
Unassigned | ||
Hardy |
Fix Released
|
High
|
Unassigned | ||
Intrepid |
Fix Released
|
High
|
Unassigned |
Bug Description
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://
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":
gdb 'thread apply all bt' output for one of the test processes that hangs.
http://
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_
***
*** 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.
Changed in fakeroot (Ubuntu Hardy): | |
importance: | Undecided → High |
status: | New → Confirmed |
description: | updated |
summary: |
- clamav 0.95(.1) build fails with fakeroot on Intrepid + clamav 0.95(.1) build fails with fakeroot on Intrepid due to race + condition |
Changed in fakeroot (Debian): | |
status: | Unknown → Fix Released |
Already fixed in Jaunty