Issue 114878 - "build --from" cannot be combined with selecting modules via source_config
Summary: "build --from" cannot be combined with selecting modules via source_config
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: build.pl (show other issues)
Version: DEV300m88
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 3.4.1
Assignee: vg
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-01 10:38 UTC by Frank Schönheit
Modified: 2017-05-20 10:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2010-10-01 10:38:16 UTC
imagine the following scenario:
- you make a change in module SVX
- you make depending changes in selected modules depending on SVX
- you add SVX and the selected modules to your source_config file
- you want to build SVX, and the selected modules, with a single command

Normally, I'd expect "build --from svx" to do this. However, if you attempt
that, then build.pl will complain, because there are modules depending on SVX
which are *not* part of source_config.

That's somewhat counter-intuitive, in my opinion. In other modes (e.g. build
--all), source_config is some kind of additional layer, which comes into play
right after build.pl calculated the modules to build. That is, *first* build.pl
determines the modules which it should build, *then* it consults source_config
to restrict this module list further.

So, the request would be to let "build --from" behave this way, too - use
source_config as final instance to limit the to-be-built modules, instead of
bailing out with an error.

Of course, the situation might still warrant a warning, issued by build.pl.
Comment 1 vg 2010-10-01 16:12:01 UTC
fixed in the CWS vgbugs12
Comment 2 vg 2010-10-26 16:37:26 UTC
.
Comment 3 ivo.hinkelmann 2010-10-26 16:49:42 UTC
verified in cws vgbugs12