Boost logo

Boost Testing :

Subject: Re: [Boost-testing] [EXTERNAL] Re: error encountered running
From: Aparna Kumta (aparna.kumta_at_[hidden])
Date: 2014-11-11 19:28:08

> ----- Original Message -----
> From: li51ckf02_at_[hidden]
> To: boost-testing_at_[hidden]
> Sent: Friday, November 7, 2014 4:20:18 PM GMT -08:00 US/Canada Pacific
> Subject: Re: [Boost-testing] [EXTERNAL] Re: error encountered running

> "Aparna Kumta" <aparna.kumta_at_[hidden]> wrote:
>> I am able to start downloading the files, however, I see the following
>> git error.
>> # Executing GIT command: /home/akumta/BOOST_REGRESSION/boost_root> git
>> checkout "develop"
>> Already on 'develop'
>> Your branch is up-to-date with 'origin/develop'.
>> # Executing GIT command: /home/akumta/BOOST_REGRESSION/boost_root> git
>> submodule foreach "git reset --quiet --hard; git clean -fxd"
>> Entering 'libs/accumulators'
>> error: unknown option `hard;'
>> usage: git reset [--mixed | --soft | --hard | --merge | --keep] [-q]
>> [<commit>]
>> or: git reset [-q] <tree-ish> [--] <paths>...
>> or: git reset --patch [<tree-ish>] [--] [<paths>...]
>> -q, --quiet be quiet, only report errors
>> --mixed reset HEAD and index
>> --soft reset only HEAD
>> --hard reset HEAD, index and working tree
>> --merge reset HEAD, index and working tree
>> --keep reset HEAD but keep local changes
>> -p, --patch select hunks interactively
>> Stopping at 'libs/accumulators'; script returned non-zero status.
>> Traceback (most recent call last):
>> File "/home/akumta/BOOST_REGRESSION/tools_regression_src/",
>> line 917, in git_checkout
>> self.git_command( 'submodule foreach', 'git reset --quiet --hard ; git
>> clean -fxd')
>> File "/home/akumta/BOOST_REGRESSION/tools_regression_src/",
>> line 899, in git_command
>> raise Exception( 'GIT command "%s" failed with code %d' % (git_cli,
>> rc) )
>> Exception: GIT command "git submodule foreach "git reset --quiet --hard;
>> git clean -fxd"" failed with code 256
>> %
>> The git version I am using is 1.8.5.

> The semicolon after --hard is being interpreted incorrectly for some reason.
> git should be passing the command line "git reset --quiet --hard; git
> clean -fxd" to the shell, which in turn should interpret it as two commands
> "git reset --quiet --hard" and "git clean -fxd".
> Try running the following command manually in the boost_root directory:
> git submodule foreach "git reset --quiet --hard; git clean -fxd"
> Experiment with changes to the command to get it to work. Does your shell
> handle semicolon? Could it be a quoting problem? Does replacing " with ' fix
> it?

Thanks, this helped resolve the issue.
As I proceed along, I see an issue with building process_jam_log.
    "CC" -library=stlport4 -xO4 -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1
-D_CRT_SECURE_NO_WARNINGS -I"../../.." -c -o
"bin/sun-5.13/release/process_jam_log.o" "../src/process_jam_log.cpp"

"../src/process_jam_log.cpp", line 356: Error: The function "system"
must have a prototype.
1 Error(s) detected.
...failed sun.compile.c++ bin/sun-5.13/release/process_jam_log.o...

Looks like I would need to patch process_jam_log.cpp by qualifying
system as std::system.

I see that I can create patch_boost script to locally modify the sources before testing.
I'm not sure what patch_boost should contain.
Is there an example(for patch_boost) that I could look into?



> Regards,
> Niklas Angare

Boost-Testing mailing list

Boost-testing list run by mbergal at