[function_types] [wave] Build problems (trac #1100)

I hit two difficulties when building Boost from SVN-trunk. They are related to trac ticket #1100, and I tried adding some comments to it, but my changes yielded Internal Error "Submission rejected as potential spam". Here's the issue and workarounds:
svn info Path: . URL: http://svn.boost.org/svn/boost/trunk Revision: 38337 ./configure ./tools/jam/src/bin.linuxx86/bjam --layout=system -q
MkDir1 bin.v2/libs/function_types MkDir1 bin.v2/libs/function_types/build MkDir1 bin.v2/libs/function_types/build/gcc-4.1.2 MkDir1 bin.v2/libs/function_types/build/gcc-4.1.2/release MkDir1 bin.v2/libs/function_types/build/gcc-4.1.2/release/threading-multi MkDir1 /svn/boost/libs/function_types/build/timestamps Jamfile</svn/boost/libs/function_types/build>.wave /svn/boost/libs/function_types/build/timestamps/arity_loops /bin/sh: line 1: chdir: command not found /bin/sh: line 2: /svn/boost/dist/bin/wave: No such file or directory chdir /svn/boost/libs/function_types/build /svn/boost/dist/bin/wave -S/svn/boost libs/function_types/build/preprocess_arity_loops.cpp -o /svn/boost/libs/function_types/build/timestamps/arity_loops ...failed Jamfile</svn/boost/libs/function_types/build>.wave /svn/boost/libs/function_types/build/timestamps/arity_loops... ----- The file <boost>/libs/function_types/build/Jamfile.v2, contains the offending 'chdir'. When 'chdir' is changed to 'cd', the build still fails on line 2. Things finally build correctly with a
bjam --layout=system --with-wave -q
Thanks, Daniel

On Wed, 1 Aug 2007, dherring@ll.mit.edu wrote:
I hit two difficulties when building Boost from SVN-trunk. They are related to trac ticket #1100, and I tried adding some comments to it, but my changes yielded Internal Error "Submission rejected as potential spam".
This trac error may have resulted from my not having properly configured my settings at http://svn.boost.org/trac/boost/settings - Daniel

dherring@ll.mit.edu wrote:
On Wed, 1 Aug 2007, dherring@ll.mit.edu wrote:
I hit two difficulties when building Boost from SVN-trunk. They are related to trac ticket #1100, and I tried adding some comments to it, but my changes yielded Internal Error "Submission rejected as potential spam".
This trac error may have resulted from my not having properly configured my settings at http://svn.boost.org/trac/boost/settings
I missed this thread. I've been trying to figure out how to configure the spam filters correctly and I made one change early today. Could my change have caused you problems? -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Hi, seems I need access to the SVN then (CCing the moderators)... dherring@ll.mit.edu wrote:
/bin/sh: line 1: chdir: command not found /bin/sh: line 2: /svn/boost/dist/bin/wave: No such file or directory
Thanks a lot for reporting - I wouldn't have noticed this Jamfile gets run for a full build (as I rarely build Boost as a whole - it rebuilds itself from dependent projects). That Jamfile builds pre-preprocessed headers with the default settings, where the target files are part of the library anyway, so I should $ cd /svn/boost/libs/function_types/build/timestamps $ touch arity_loops $ touch encoding $ touch cc_names $ svn commit so nothing needs to be done, unless the configuration changes (creating those files will do for a workaround).
The file <boost>/libs/function_types/build/Jamfile.v2, contains the offending 'chdir'. When 'chdir' is changed to 'cd', the build still fails on line 2.
It doesn't matter, as it seems we're already in the right directory on UNIX. Haven't checked on Windows yet.
Things finally build correctly with a
bjam --layout=system --with-wave -q
And there should be a <dependency> to build the Wave tool. Is there a way to *only* build the dependency if something needs to be done (IOW targets are outdated or do not exist)? Cross-posting to the Boost.Build list for this question. Thanks y'all, Tobias
participants (3)
-
dherring@ll.mit.edu
-
Rene Rivera
-
Tobias Schwinger