Bug 1640 - bake needs to test for g++
bake needs to test for g++
Status: RESOLVED FIXED
Product: bake
Classification: Unclassified
Component: bake
unspecified
All All
: P5 normal
Assigned To: Daniel Camara
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-22 13:53 UTC by Tom Henderson
Modified: 2013-04-24 20:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2013-04-22 13:53:18 UTC
Tried the release candidate on a new Ubuntu 13.04 (beta) system.  Installed the dependencies requested by bake.py check and bake.py show (for ns-3.17 configuration).

The build fails with this error:

 >> Building netanim-3.103 - Problem
   > Subprocess failed with error 2: ['make', '-j', '1']
 > Problem: Unmet dependency on module: netanim-3.103.
   Bake will continue since this module is not in the critical path. For more information call bake with -vv.

 >> Building ns-3.17 - Problem
   > Subprocess failed with error 1: ['/home/buildslave/scratch/ns-allinone-3.17.rc1/bake/source/ns-3.17/waf', 'configure', '--prefix=/home/buildslave/scratch/ns-allinone-3.17.rc1/bake/build', '--enable-examples', '--enable-tests']
 > Error:  Unmet critical dependency on module: ns-3.17 
   For more information call Bake with --debug and/or -vvv (bake --help)


The underlying problem is that gcc is present, but g++ is not.  Probably should check for "g++' in the list of required system dependencies (bake.py check)
Comment 1 Tom Henderson 2013-04-23 22:28:36 UTC
bake changeset:  867d988f97ce

If/when other compilers are supported, could migrate this check to a conf_check of general C++ compiler availability.
Comment 2 Daniel Camara 2013-04-24 20:39:05 UTC
Added a g++ system dependency to nsc. I guess it is better like that, it will stop the build of nsc if g++ is missing. 
changeset 221
Comment 3 Daniel Camara 2013-04-24 20:43:06 UTC
Sorry netanime
changeset 222