Boost logo

Boost-Build :

Subject: Re: [Boost-build] [build] Problems building release branch
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-10-23 13:39:49


On Saturday, October 23, 2010 19:16:28 you wrote:
> On Sat, 23 Oct 2010, Vladimir Prus wrote:
> > On Monday, October 04, 2010 22:34:48 Jeremiah Willcock wrote:
> >> On Mon, 4 Oct 2010, Jeremiah Willcock wrote:
> >>> When I run:
> >>>
> >>> ./bootstrap.sh
> >>> ./bjam libs/graph/test/
> >>
> >>> in a fresh checkout of the release branch, I get the error:
> >> (snip)
> >>
> >> It seems like the problem is somewhere in the ICU support in the
> >> libs/regex/build/ Jamfile.v2. For now, I just removed the delayimp
> >> line, but that is probably not the correct solution.
> >
> > Jeremiah,
> >
> > is this problem still present on release branch? It seems to not
> > reproduce for me.
>
> It is still broken for me. Here's the full transcript, but it's still
> basically the same as before:
>
> flowerpot.osl.iu.edu% cd release/
> flowerpot.osl.iu.edu% ./bootstrap.sh
> Building Boost.Jam with toolset gcc...
> tools/build/v2/engine/src/bin.linuxx86_64/bjam
> Detecting Python version... 2.4
> Detecting Python root... /usr
> Unicode/ICU support for Boost.Regex?... /usr
> Generating Boost.Build configuration in project-config.jam...
>
> Bootstrapping is done. To build, run:
>
> ./bjam
>
> To adjust configuration, edit 'project-config.jam'.
> Further information:
>
> - Command line help:
> ./bjam --help
>
> - Getting started guide:
> http://www.boost.org/more/getting_started/unix-variants.html
>
> - Boost.Build documentation:
> http://www.boost.org/boost-build2/doc/html/index.html
>
> flowerpot.osl.iu.edu% ./bjam libs/graph/test/
> THREAD JAMFILE libs/thread/build/Jamfile.v2 34

Could you please run:

        svn diff libs/thread/build/Jamfile.v2

? It seems like a local change in your tree.

> Jamfile</dev/shm/release/libs/thread/build>. modules.load
> /dev/shm/release/tools/build/v2/build/project.jam 310 project.
> load-jamfile /dev/shm/release/tools/build/v2/build/project.jam 62 project.
> project.load /dev/shm/release/tools/build/v2/build/project.jam 760
> project. project.use /dev/shm/release/tools/build/v2/build/project.jam 89
> project. load-used-projects
> /dev/shm/release/tools/build/v2/build/project.jam 73 project. load
> /dev/shm/release/tools/build/v2/build/project.jam 168 project.
> project.find /dev/shm/release/tools/build/v2/build-system.jam 569
> build-system. load /dev/shm/release/tools/build/v2/kernel/modules.jam 283
> modules. import /dev/shm/release/tools/build/v2/kernel/bootstrap.jam 142
> boost-build /dev/shm/release/boost-build.jam 17 module scope
> ...found 75 targets...
> ...updating 8 targets...
> common.mkdir bin.v2
> common.mkdir bin.v2/libs
> common.mkdir bin.v2/libs/regex
> common.mkdir bin.v2/libs/regex/build
> common.mkdir bin.v2/libs/regex/build/gcc-4.1.2
> common.mkdir bin.v2/libs/regex/build/gcc-4.1.2/debug
> gcc.compile.c++ bin.v2/libs/regex/build/gcc-4.1.2/debug/has_icu_test.o
> libs/regex/build/has_icu_test.cpp:26:2: warning: no newline at end of file
> libs/regex/build/has_icu_test.cpp: In function
> int main()
>
> libs/regex/build/has_icu_test.cpp:24: warning: unused variable
> c
>
> gcc.link bin.v2/libs/regex/build/gcc-4.1.2/debug/has_icu
> /usr/bin/ld: skipping incompatible /usr/lib/libicuuc.so when searching for
> -licuuc
> /usr/bin/ld: skipping incompatible /usr/lib/libicui18n.so when searching
> for -licui18n
> /usr/bin/ld: skipping incompatible /usr/lib/libicudata.so when searching
> for -licudata
> /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
> /usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
> /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
> /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
> ...updated 8 targets...
> Performing configuration checks
>
> - has_icu builds : yes
> /dev/shm/release/tools/build/v2/build/feature.jam:485: in
> validate-value-string from module feature
> error: "msvc:<linkflags>delayimp.lib" is not a known value of feature
> <toolset>

Hmm, I don't even have this string in my checkout:

ghost_at_thunder:~/Work/Boost/boost-svn-release$ grep -R delayimp.lib *
ghost_at_thunder:~/Work/Boost/boost-svn-release$ svn up
At revision 66153.

Could you do similar grep, report where this string occurs, what revision
of the file in question you have, and check whether there are any local
modifications.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk