Opened 15 years ago

Closed 15 years ago

#983 closed Bugs (fixed)

Building of libs/python/example/quickstart fails.

Reported by: René Rivera Owned by: René Rivera
Milestone: Boost 1.34.1 Component: python USE GITHUB
Version: Boost 1.34.0 Severity: Showstopper
Keywords: python, build Cc: ghost@…, witt@…

Description

When following the instructions for BPL and trying to build the quickstart example *outside of the Boost tree*, the build fails with:

/DevRoots/Boost/boost_1_34/tools/build/v2/build\type.jam:137: in type.validate from module type
error: Unknown target type EXE
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel\modules.jam:66: in modules.call-in from module object(installed-exe-generator)@3
/DevRoots/Boost/boost_1_34/tools/build/v2/util\sequence.jam:44: in sequence.transform from module sequence
/DevRoots/Boost/boost_1_34/tools/build/v2/build\generators.jam:155: in generator.__init__ from module object(installed-exe-generator)@3
/DevRoots/Boost/boost_1_34/tools/build/v2/tools\stage.jam:349: in object(installed-exe-generator)@3.__init__ from module object(installed-exe-generator)@3
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel\class.jam:93: in new from module class
/DevRoots/Boost/boost_1_34/tools/build/v2/tools\stage.jam:368: in load from module stage
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel\modules.jam:261: in import from module modules
/DevRoots/Boost/boost_1_34/tools/build/v2/tools\builtin.jam:377: in load from module builtin
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel\modules.jam:261: in import from module modules
/DevRoots/Boost/boost_1_34/tools/build/v2\build-system.jam:28: in load from module build-system
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel\modules.jam:261: in import from module modules
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel/bootstrap.jam:132: in boost-build from module
C:\DevRoots\Boost\b134_python_quickstart\boost-build.jam:7: in module scope from module

To replicate copy the quickstart directory and repoint the paths in boost-build.jam and Jamroot. Than run bjam in the directory.

Change History (6)

comment:1 by Thomas Witt, 15 years ago

Milestone: Boost 1.34.1

comment:2 by Thomas Witt, 15 years ago

Cc: witt@… added

in reply to:  description comment:3 by banslug@…, 15 years ago

Replying to grafik:

When following the instructions for BPL and trying to build the quickstart example *outside of the Boost tree*, the build fails with:

/DevRoots/Boost/boost_1_34/tools/build/v2/build\type.jam:137: in type.validate from module type
error: Unknown target type EXE
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel\modules.jam:66: in modules.call-in from module object(installed-exe-generator)@3
/DevRoots/Boost/boost_1_34/tools/build/v2/util\sequence.jam:44: in sequence.transform from module sequence
/DevRoots/Boost/boost_1_34/tools/build/v2/build\generators.jam:155: in generator.__init__ from module object(installed-exe-generator)@3
/DevRoots/Boost/boost_1_34/tools/build/v2/tools\stage.jam:349: in object(installed-exe-generator)@3.__init__ from module object(installed-exe-generator)@3
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel\class.jam:93: in new from module class
/DevRoots/Boost/boost_1_34/tools/build/v2/tools\stage.jam:368: in load from module stage
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel\modules.jam:261: in import from module modules
/DevRoots/Boost/boost_1_34/tools/build/v2/tools\builtin.jam:377: in load from module builtin
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel\modules.jam:261: in import from module modules
/DevRoots/Boost/boost_1_34/tools/build/v2\build-system.jam:28: in load from module build-system
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel\modules.jam:261: in import from module modules
/DevRoots/Boost/boost_1_34/tools/build/v2/kernel/bootstrap.jam:132: in boost-build from module
C:\DevRoots\Boost\b134_python_quickstart\boost-build.jam:7: in module scope from module

To replicate copy the quickstart directory and repoint the paths in boost-build.jam and Jamroot. Than run bjam in the directory.

I also had problems with libs/python/example

Jamroot:18: in modules.load rule python-extension unknown in module Jamfile</Users/arthurcoleman/ Boost/boost_1_34_0/libs/python/example>. /Users/arthurcoleman/Boost/boost_1_34_0/tools/build/v2/build/ project.jam:312: in load-jamfile /Users/arthurcoleman/Boost/boost_1_34_0/tools/build/v2/build/ project.jam:68: in load /Users/arthurcoleman/Boost/boost_1_34_0/tools/build/v2/build/ project.jam:170: in project.find /Users/arthurcoleman/Boost/boost_1_34_0/tools/build/v2/build- system.jam:237: in load /Users/arthurcoleman/Boost/boost_1_34_0/libs/python/example/../../../ tools/build/v2/kernel/modules.jam:261: in import /Users/arthurcoleman/Boost/boost_1_34_0/libs/python/example/../../../ tools/build/v2/kernel/bootstrap.jam:132: in boost-build /Users/arthurcoleman/Boost/boost_1_34_0/libs/python/example/boost- build.jam:7: in module scope

Arthur

comment:4 by Dave Abrahams, 15 years ago

Owner: changed from Dave Abrahams to René Rivera

This is mostly fixed now in the RC branch, except that auto-linking isn't working. For some reason auto-linking is requesting a library with -mt in its name, but Boost.Build is generating one without it. Assigning this back to Rene because I think he understands auto-link.

comment:5 by René Rivera, 15 years ago

I had already tried fixing this, in bug #986 which has output of the consequent errors.

comment:6 by René Rivera, 15 years ago

Resolution: fixed
Status: newclosed

Closing this as fixed, as I've now confirmed it's no longer a build problem. So following up at issue #986.

Note: See TracTickets for help on using tickets.