Opened 2 years ago
Last modified 7 months ago
#65785 assigned defect
boost: install fails with +openmpi: bootstrap compilation fails for `b2`
Reported by: | Epoxid2 (Stephan Schmidt) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | monterey | Cc: | mascguy (Christopher Nielsen), cooljeanius (Eric Gallager) |
Port: | boost |
Description (last modified by mascguy (Christopher Nielsen))
The various Boost ports fail to install with +openmpi
, on Monterey 12.5.1.
Appears to be an issue with bootstrap compilation of b2
:
:info:configure Building B2 engine.. 1421 :info:configure > cpp -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp execnt.cpp execunix.cpp filesys.cpp filent.cpp fileunix.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam_strings.cpp jam.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathnt.cpp pathsys.cpp pathunix.cpp regexp.cpp rules.cpp scan.cpp search.cpp startup.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cpp -o b2 1422 :info:configure cpp: fatal error: too many input files 1423 :info:configure compilation terminated. 1424 :info:configure > cp b2 bjam 1425 :info:configure cp: b2: No such file or directory 1426 :info:configure Failed to build B2 build engine
Attachments (2)
Change History (6)
Changed 2 years ago by Epoxid2 (Stephan Schmidt)
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Cc: | mascguy added |
---|---|
Owner: | set to michaelld |
Port: | boost176 added |
Status: | new → assigned |
Summary: | Boost 176 does not build with +openmpi → boost176 @1.76.0_3 does not build with +openmpi |
comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)
Description: | modified (diff) |
---|---|
Keywords: | monterey added |
Port: | boost added; boost176 removed |
Summary: | boost176 @1.76.0_3 does not build with +openmpi → boost: install fails with +openmpi: bootstrap compilation fails for `b2` |
Version: | → 2.7.2 |
comment:3 Changed 2 years ago by ds283 (David Seery)
Changed 2 years ago by ds283 (David Seery)
Attachment: | main.2.log added |
---|
Build log with boost180 with failure caused by +openmpi
comment:4 Changed 7 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Note: See
TracTickets for help on using
tickets.
Wondering whether there was any outcome from this.
I'm not certain whether I should log this under a second ticket, but I am having a similar issue when trying to build at least
boost176
orboost180
with+openmpi
.boost171
andboost173
build and install correctly.The problem is again with building
b2
, but the cause of the error is different (or at least appears different to me):Moving into the build directly and trying to run
./bootstrap.sh
myself with a--with-toolset
argument does better, but thenbuild.sh
complains that the C compiler does not appear to undertstand C++11To be clear, this only happens with the
+openmpi
variant. Trying to build without+openmpi
works fine.