boost_1_73_0/tools/build/src/kernel/class.jam:90: in new
*** argument error
* rule class@searched-lib-target.__init__ ( name : project : shared ? : search * : action )
* called with: ( foobar foobar123 : object(project-target)@209 : true : : object(null-action)@228 : : : : : : : : : : : : : : )
* extra argument foobar123
boost_1_73_0/tools/build/src/tools/generators/searched-lib-generator.jam:70:see definition of rule 'class@searched-lib-target.__init__' being called
boost_1_73_0/tools/build/src/tools/generators/searched-lib-generator.jam:48: in searched-lib-generator.run
boost_1_73_0/tools/build/src/tools/unix.jam:113: in class@unix-searched-lib-generator.run
boost_1_73_0/tools/build/src/build/generators.jam:1019: in try-one-generator-really
boost_1_73_0/tools/build/src/build/generators.jam:1081: in try-one-generator
boost_1_73_0/tools/build/src/build/generators.jam:1319: in construct-really
boost_1_73_0/tools/build/src/build/generators.jam:1405: in generators.construct
boost_1_73_0/tools/build/src/tools/generators/lib-generator.jam:59: in class@lib-generator.run
boost_1_73_0/tools/build/src/build/generators.jam:1019: in try-one-generator-really
boost_1_73_0/tools/build/src/build/generators.jam:1081: in try-one-generator
boost_1_73_0/tools/build/src/build/generators.jam:1319: in construct-really
boost_1_73_0/tools/build/src/build/generators.jam:1405: in generators.construct
boost_1_73_0/tools/build/src/build/targets.jam:1615: in construct
boost_1_73_0/tools/build/src/build/targets.jam:1364: in class@basic-target.generate
boost_1_73_0/tools/build/src/build/targets.jam:812: in generate-really
boost_1_73_0/tools/build/src/build/targets.jam:784: in class@main-target.generate
boost_1_73_0/tools/build/src/build/targets.jam:273: in class@project-target.generate
boost_1_73_0/tools/build/src/build-system.jam:797: in load
boost_1_73_0/tools/build/src/kernel/modules.jam:295: in import
boost_1_73_0/tools/build/src/kernel/bootstrap.jam:139: in boost-build
boost_1_73_0/tools/build/boost-build.jam:8: in module scope
It's as if the <name> feature somehow is interpreted as the name of the lib rule, rather than a feature that's part of its properties.
--