Boost logo

Boost-Build :

Subject: [Boost-build] Bjam Update error in actualize?
From: Kcarr (kcarr_at_[hidden])
Date: 2014-05-21 12:13:16


I am currently updating a very old project which use to use bjam 3.1.16 and
boost-build_2.0-m12. Those are now gone and bjam seems to be in
liboost-tools-dev debians. I installed the latest 1.55 version and am trying
to run our old build process which uses bjam.

We have our own generator class we created for some different file types
that needed special attention. I am getting the error in that. Here is the
command line output when i run bjam:

/usr/share/boost-build/tools/symlink.jam:115: in symlink.ln
*** argument error
* rule path.make ( native )
* called with: ( )
* missing argument native
/usr/share/boost-build/util/path.jam:508:see definition of rule 'path.make'
being called
/usr/share/boost-build/kernel/modules.jam:107: in modules.call-in
/usr/share/boost-build/util/indirect.jam:98: in indirect.call
/usr/share/boost-build/build/virtual-target.jam:794: in
class_at_action.actualize
/usr/share/boost-build/build/virtual-target.jam:311: in actualize-action
/usr/share/boost-build/build/virtual-target.jam:493: in actualize-no-scanner
/usr/share/boost-build/build/virtual-target.jam:134: in
class_at_virtual-target.actualize
*/home/camt/dev/glbranch/avionics/glsgen.jam:292: in
class_at_gls-generator.run*
/usr/share/boost-build/build/generators.jam:994: in try-one-generator-really
/usr/share/boost-build/build/generators.jam:1056: in try-one-generator
/usr/share/boost-build/build/generators.jam:1294: in construct-really
/usr/share/boost-build/build/generators.jam:1378: in construct
/usr/share/boost-build/build/generators.jam:1069: in
generators.construct-types
/usr/share/boost-build/build/generators.jam:609: in
convert-to-consumable-types
/usr/share/boost-build/build/generators.jam:405: in run-really
/usr/share/boost-build/build/generators.jam:386: in class_at_generator.run
/usr/share/boost-build/build/generators.jam:994: in try-one-generator-really
/usr/share/boost-build/build/generators.jam:1056: in try-one-generator
/usr/share/boost-build/build/generators.jam:1294: in construct-really
/usr/share/boost-build/build/generators.jam:1378: in construct
/usr/share/boost-build/build/generators.jam:1069: in
generators.construct-types
/usr/share/boost-build/build/generators.jam:652: in
convert-multiple-sources-to-consumable-types
/usr/share/boost-build/build/generators.jam:400: in run-really
/usr/share/boost-build/build/generators.jam:386: in generator.run
/usr/share/boost-build/tools/builtin.jam:798: in linking-generator.run
/usr/share/boost-build/tools/unix.jam:41: in unix-linking-generator.run
/usr/share/boost-build/tools/gcc.jam:689: in class_at_gcc-linking-generator.run
/usr/share/boost-build/build/generators.jam:994: in try-one-generator-really
/usr/share/boost-build/build/generators.jam:1056: in try-one-generator
/usr/share/boost-build/build/generators.jam:1294: in construct-really
/usr/share/boost-build/build/generators.jam:1378: in generators.construct
/usr/share/boost-build/tools/builtin.jam:482: in class_at_lib-generator.run
/usr/share/boost-build/build/generators.jam:994: in try-one-generator-really
/usr/share/boost-build/build/generators.jam:1056: in try-one-generator
/usr/share/boost-build/build/generators.jam:1294: in construct-really
/usr/share/boost-build/build/generators.jam:1378: in generators.construct
/usr/share/boost-build/build/targets.jam:1532: in construct
/usr/share/boost-build/build/targets.jam:1332: in
class_at_basic-target.generate
/usr/share/boost-build/build/targets.jam:757: in generate-really
/usr/share/boost-build/build/targets.jam:729: in class_at_main-target.generate
/usr/share/boost-build/build/targets.jam:272: in
class_at_project-target.generate
/usr/share/boost-build/build/targets.jam:874: in
targets.generate-from-reference
/usr/share/boost-build/build/targets.jam:1245: in generate-dependencies
/usr/share/boost-build/build/targets.jam:1299: in
class_at_basic-target.generate
/usr/share/boost-build/build/targets.jam:757: in generate-really
/usr/share/boost-build/build/targets.jam:729: in class_at_main-target.generate
/usr/share/boost-build/build/targets.jam:272: in
class_at_project-target.generate
/usr/share/boost-build/build/targets.jam:874: in
targets.generate-from-reference
/usr/share/boost-build/build/targets.jam:1245: in generate-dependencies
/usr/share/boost-build/build/targets.jam:1302: in
class_at_basic-target.generate
/usr/share/boost-build/build/targets.jam:757: in generate-really
/usr/share/boost-build/build/targets.jam:729: in class_at_main-target.generate
/usr/share/boost-build/build/targets.jam:272: in
class_at_project-target.generate
/usr/share/boost-build/build/targets.jam:874: in
targets.generate-from-reference
/usr/share/boost-build/build/targets.jam:1245: in generate-dependencies
/usr/share/boost-build/build/targets.jam:1302: in
class_at_basic-target.generate
/usr/share/boost-build/build/targets.jam:757: in generate-really
/usr/share/boost-build/build/targets.jam:729: in class_at_main-target.generate
/usr/share/boost-build/build/targets.jam:272: in
class_at_project-target.generate
/usr/share/boost-build/build-system.jam:707: in load
/usr/share/boost-build/kernel/modules.jam:289: in import
/usr/share/boost-build/kernel/bootstrap.jam:139: in boost-build
/usr/share/boost-build/boost-build.jam:8: in module scope

I bolded the only file that isnt in the boost-build set. This is the code
block around that line error:

for local force_gen_file in $(force_gen_files)
        {
            local vt = [ virtual-target.register $(force_gen_file) ] ;

            DEPENDS all : [ $(vt).actualize ] ;

            virtual_targets += $(vt) ;
        }

Since I am new at bjam and boost build I am unclear of everything we are
doing but at this point I think we are trying to force generated files to be
compiled. Any help onwhy this would no longer work would be great.

System info:
Ubuntu 14.04 64bit
libboost1.54-tools-dev

--
View this message in context: http://boost.2283326.n4.nabble.com/Bjam-Update-error-in-actualize-tp4662662.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk