Boost logo

Boost :

From: Deniz Bahadir (dbahadir_at_[hidden])
Date: 2019-08-15 11:32:10


> As always, the release managers would appreciate it if you download
> the candidate of your choice and give building it a try. Please report
> both success and failure, and anything else that is noteworthy.

I tried to build it on Ubuntu 18.04 with GCC 8 and C++17, with support
for LibICU enabled, and got the following error:

```
  error: Name clash for
'<p/home/jenkins/workspace/Pipeline_Boost-1.71.0-rc2/gcc8/installed/opt/BENOCS/gcc8/lib/x86_64-linux-gnu>libboost_filesystem-gcc8-mt-x64-1_71.so.1.71.0'
  error:
  error: Tried to build the target twice, with property sets having
  error: these incompatible properties:
  error:
  error: - none
  error: - <dll-path>/opt/BENOCS/gcc8/bin
<linkflags>-L/opt/BENOCS/gcc8/lib/x86_64-linux-gnu <linkflags>-licudata
<linkflags>-licui18n <linkflags>-licuuc
  error:
  error: Please make sure to have consistent requirements for these
  error: properties everywhere in your project, especially for install
  error: targets.
```

My build-settings were the following:

```
CFLAGS = -m64 -fpic -fdiagnostics-color=always -O3 -g
CXXFLAGS = -m64 -fpic -fdiagnostics-color=always -O3 -g -std=c++17
LDFLAGS = -Wl,--as-needed

b2 -j4 -q \
 
--build-dir="/home/jenkins/workspace/Pipeline_Boost-1.71.0-rc2/gcc8/build/boost"
\
  --build-type=minimal \
  --layout=versioned \
  address-model=64 \
  install \
 
--prefix="/home/jenkins/workspace/Pipeline_Boost-1.71.0-rc2/gcc8/installed/opt/BENOCS/gcc8"
\
 
--libdir="/home/jenkins/workspace/Pipeline_Boost-1.71.0-rc2/gcc8/installed/opt/BENOCS/gcc8/lib/x86_64-linux-gnu"
\
  dll-path="/opt/BENOCS/gcc8/lib/x86_64-linux-gnu" \
  -sICU_PATH="/opt/BENOCS/gcc8" \
  -sICU_LINK="-L/opt/BENOCS/gcc8/lib/x86_64-linux-gnu -licuuc -licudata
-licui18n" \
  toolset=gcc-8 \
  cflags="${CFLAGS}" \
  cxxflags="${CXXFLAGS}" \
  linkflags="${LDFLAGS}"
```

The Boost configuration-checks resulted in:

```
  Performing configuration checks

      - default address-model : 64-bit
      - default architecture : x86
      - C++11 mutex : yes
      - lockfree boost::atomic_flag : yes
      - Boost.Config Feature Check: cxx11_auto_declarations : yes
      - Boost.Config Feature Check: cxx11_constexpr : yes
      - Boost.Config Feature Check: cxx11_defaulted_functions : yes
      - Boost.Config Feature Check: cxx11_final : yes
      - Boost.Config Feature Check: cxx11_hdr_mutex : yes
      - Boost.Config Feature Check: cxx11_hdr_tuple : yes
      - Boost.Config Feature Check: cxx11_lambdas : yes
      - Boost.Config Feature Check: cxx11_noexcept : yes
      - Boost.Config Feature Check: cxx11_nullptr : yes
      - Boost.Config Feature Check: cxx11_rvalue_references : yes
      - Boost.Config Feature Check: cxx11_template_aliases : yes
      - Boost.Config Feature Check: cxx11_thread_local : yes
      - Boost.Config Feature Check: cxx11_variadic_templates : yes
      - has_icu builds : yes
  warning: non-free usage requirements <runtime-link>shared ignored
  warning: in main-target icu_options at libs/regex/build/Jamfile.v2:97
  warning: Graph library does not contain MPI-based parallel components.
  note: to enable them, add "using mpi ;" to your user-config.jam.
  note: to suppress this message, pass "--without-graph_parallel" to bjam.
      - zlib : yes
      - bzip2 : yes
      - lzma : no
      - zstd : no
      - iconv (libc) : yes
      - icu : yes
      - native-atomic-int32-supported : yes
      - native-syslog-supported : yes
      - pthread-supports-robust-mutexes : yes
      - compiler-supports-ssse3 : yes
      - compiler-supports-avx2 : yes
      - gcc visibility : yes
      - long double support : yes
  warning: skipping optional Message Passing Interface (MPI) library.
  note: to enable MPI support, add "using mpi ;" to user-config.jam.
  note: to suppress this message, pass "--without-mpi" to bjam.
  note: otherwise, you can safely ignore this message.
      - libbacktrace builds : yes
      - addr2line builds : yes
      - WinDbg builds : no
      - WinDbgCached builds : no
      - BOOST_COMP_GNUC >= 4.3.0 : yes
      - zlib : yes
      - bzip2 : yes
      - lzma : no
      - zstd : no
```

Either I did something completely wrong or the configuration files of
Boost.FileSystem are inconsistent regarding some compiler-flags!?

Hope that is helpful,
Deniz


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk