Opened 6 years ago

Last modified 6 years ago

#12173 new Bugs

error: Unable to load Jamfile.

Reported by: Nico Schlömer <nico.schloemer@…> Owned by: John Maddock
Milestone: To Be Determined Component: config
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

I'm trying to build boost from master, and on a clean checkout I'm getting ` $ ./bootstrap.sh [...] $ ./b2 /home/xxx/software/boost/source-upstream/tools/build/src/build/project.jam:262: in find-jamfile from module project error: Unable to load Jamfile. error: Could not find a Jamfile in directory 'libs/config/checks/architecture'. error: Attempted to find it with pattern '[Bb]uild.jam [Jj]amfile.v2 [Jj]amfile [Jj]amfile. [Jj]amfile.jam'. error: Please consult the documentation at 'http://www.boost.org'. /home/xxx/software/boost/source-upstream/tools/build/src/build/project.jam:280: in load-jamfile from module project /home/xxx/software/boost/source-upstream/tools/build/src/build/project.jam:64: in load from module project /home/xxx/software/boost/source-upstream/tools/build/src/build/project.jam:89: in load-used-projects from module project /home/xxx/software/boost/source-upstream/tools/build/src/build/project.jam:75: in load from module project /home/xxx/software/boost/source-upstream/tools/build/src/build/project.jam:145: in project.find from module project /home/xxx/software/boost/source-upstream/tools/build/src/build-system.jam:535: in load from module build-system /home/xxx/software/boost/source-upstream/tools/build/src/kernel/modules.jam:295: in import from module modules /home/xxx/software/boost/source-upstream/tools/build/src/kernel/bootstrap.jam:139: in boost-build from module /home/xxx/software/boost/source-upstream/boost-build.jam:17: in module scope from module ` Any hints?

Change History (5)

comment:1 by Steven Watanabe, 6 years ago

Did you get all the submodules? The error means that config is missing.

comment:2 by René Rivera, 6 years ago

Component: Noneconfig
Owner: set to John Maddock

comment:3 by René Rivera, 6 years ago

We now have an equivalent error report on StackOverflow http://stackoverflow.com/questions/38433638/missing-jam-file-in-fresh-download-of-boost

And, as far as I can tell, the error message looks correct as I don't see a Jamfile in that directory. I do see a Jamroot.jam file though. But of course it's weird as the CI tests show no problems with that exact invocations:

https://ci.appveyor.com/project/boostorg/boost/build/1.0.177

https://travis-ci.org/boostorg/boost/jobs/145379479

https://circleci.com/gh/boostorg/boost/1367

comment:4 by John Maddock, 6 years ago

There has never been a Jamfile in that directory, and frankly, why would there be (or at least why would we be looking for one)?

I confess I didn't add those tests though, so I don't pretend to understand the issue.

comment:5 by nico.schloemer@…, 6 years ago

Same issue here.

Note: See TracTickets for help on using tickets.