Opened 13 years ago

Closed 13 years ago

#4118 closed Bugs (fixed)

./bjam fails: in load rule type unknown in module types/cpp

Reported by: g_sauthoff@… Owned by: René Rivera
Milestone: Boost 1.43.0 Component: build
Version: Boost Development Trunk Severity: Showstopper
Keywords: Cc:

Description

after a fresh checkout of the boost-trunk (rev 61387):

$ ./bootstrap.sh --prefix=$HOME/local/boost-trunk --with-libraries=regex $ ./bjam $HOME/src/boost/boost-trunk/tools/build/v2/tools/types/cpp.jam:72: in load rule type unknown in module types/cpp. $HOME/src/boost/boost-trunk/tools/build/v2/kernel/modules.jam:283: in import $HOME/src/boost/boost-trunk/tools/build/v2/tools/types/objc.jam:6: in load $HOME/src/boost/boost-trunk/tools/build/v2/kernel/modules.jam:283: in import $HOME/src/boost/boost-trunk/tools/build/v2/tools/types/register.jam:36: in load $HOME/src/boost/boost-trunk/tools/build/v2/kernel/modules.jam:283: in import $HOME/src/boost/boost-trunk/tools/build/v2/tools/stage.jam:19: in load $HOME/src/boost/boost-trunk/tools/build/v2/kernel/modules.jam:283: in import $HOME/src/boost/boost-trunk/tools/build/v2/tools/builtin.jam:25: in load $HOME/src/boost/boost-trunk/tools/build/v2/kernel/modules.jam:283: in import $HOME/src/boost/boost-trunk/tools/build/v2/build-system.jam:11: in load $HOME/src/boost/boost-trunk/tools/build/v2/kernel/modules.jam:283: in import $HOME/src/boost/boost-trunk/tools/build/v2/kernel/bootstrap.jam:142: in boost-build $HOME/src/boost/boost-trunk/boost-build.jam:17: in module scope

$ cat /etc/issue Ubuntu 9.10 $ uname -m x86_64

Building the last 1.42 release using the same steps worked.

Change History (2)

comment:1 by René Rivera, 13 years ago

Component: Building Boostbuild
Owner: set to René Rivera
Severity: ProblemShowstopper
Summary: ./bjam fails: in load rule type unknown in module types/cpp./bjam fails: in load rule type unknown in module types/cpp

I can see what the problem might be.. But not sure why it works/doesn't for me.

comment:2 by René Rivera, 13 years ago

Resolution: fixed
Status: newclosed

(In [61393]) Call explicit type register rule to avoid errors when the type file is imported from another type file. (Fixes #4118).

Note: See TracTickets for help on using tickets.