Summary: | =sys-process/audit-1.7.3 intermittent failure to emerge (missing .h, make exits with jobserver tokens available) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Israel G. Lugo <israel.lugo> |
Component: | [OLD] Core system | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info =sys-process/audit-1.7.3
build.log of the first failure (gcc-4.3.4) build.log of the second failure (gcc-4.4.4) |
Description
Israel G. Lugo
2011-01-20 02:36:59 UTC
Created attachment 260324 [details]
emerge --info =sys-process/audit-1.7.3
Attaching system info from the last time the emerge failed.
Created attachment 260326 [details]
build.log of the first failure (gcc-4.3.4)
Attaching build.log of the first failure. I can produce the .tgz of this build directory if necessary.
Created attachment 260328 [details]
build.log of the second failure (gcc-4.4.4)
Attaching build.log of the second failure. I can also produce a .tgz of this build directory.
So, then test, if '-j1' helps. (In reply to comment #4) > So, then test, if '-j1' helps. > I have been unable to reproduce the problem by emerging the ebuild individually, even with the current -j setting. I tried "emerge -va1 =sys-process/audit-1.7.3" 5 times since, and it always succeeded. It may be purely random, or it may be related to other ebuilds building at the same time. Unfortunately, this is a production server and I need to resume my normal work on it as there are still several changes that need to be made. I shall try a new emerge -ve world to see if it fails again. Yes, it does look like a parallel build bug. The problem is in the Makefile -- audit_logging.c doesn't list private.h as a dependency, so for parallel builds it is not guaranteed to have been copied into the src/mt directory in time for the compile to succeed. Having other builds going at the same time (emerge world) changes the timing and must make you run into this race more easily. Fixed in 2.0.5 and backported to other versions. |