You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/11/07 22:34:23 UTC

[GitHub] ccollins476ad opened a new issue #236: Conflicting dependencies yields inconsistent dependency graph

ccollins476ad opened a new issue #236: Conflicting dependencies yields inconsistent dependency graph
URL: https://github.com/apache/mynewt-newt/issues/236
 
 
   ```
   syscfg.vals:
       FOO: 1
   
   syscfg.vals.BAR:
       FOO: 1
   ```
   
   These two `syscfg.vals` mappings are in conflict.  The first enables `FOO` unconditionally; the second only enables `FOO` if bar is set.  When newt encounters a conflict like this, it accepts the first override it sees and discards the others.  Since these overrides are not processed in a consistent order, the result varies from build to build.
   
   Newt should not allow such conflicting overrides.  Initially, we can make newt emit a warning when it encounters this.  Later, we can change it to an error.
      

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services