Red Hat Bugzilla – Bug 62412
makefile generator does not detect duplicate headers
Last modified: 2007-04-18 12:41:29 EDT
Description of Problem:
Suppose two packages both try to supply a header file <machine/types.h>
The current makefile generator does not detect this, and it is not obvious
which header file will actually get used. The result is strange build failures.
Version-Release number of selected component (if applicable):
Probably depends in part on timestamps in the source tree.
Steps to Reproduce:
1. create a header <machine/types.h> in both CYGPKG_NET and
CYGPKG_NET_OPENBSD_STACK, where the former is blank
2. try to build a configuration using the net template
3. if the wrong header gets copied across, the build will fail with strange errors.
Strange build failures.
An error message from "ecosconfig tree" saying that the two packages conflict.
This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id=62412