Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boost >= v1.72.0 breaks with ICU_LINK specified #1192

Closed
evoskuil opened this issue Mar 6, 2021 · 3 comments
Closed

Boost >= v1.72.0 breaks with ICU_LINK specified #1192

evoskuil opened this issue Mar 6, 2021 · 3 comments
Assignees
Labels

Comments

@evoskuil
Copy link
Member

evoskuil commented Mar 6, 2021

Boost applied a breaking change to their build process.

As of boost 1.72.0 the ICU_LINK symbol is no longer supported and produces a hard stop. See tags here: boostorg/regex@fc4dc17 and discussion here boostorg/regex#89

@evoskuil
Copy link
Member Author

evoskuil commented Mar 6, 2021

This job succeeded, with no difference in ICU_LINK config, all others failed (1 failed due to non-preinstall and non-discovery).

The difference appears to be that in this boost build, WITH_ICU is not set.

      <job system="linux" compiler="gcc" link="dynamic" version="4.8" sudo="false" >
        <option value="--disable-static" />
        <option value="--build-boost" />
        <option value="--prefix=$TRAVIS_BUILD_DIR/my-prefix" />
        <option value="CFLAGS='-Os -s'" />
        <option value="CXXFLAGS='-Os -s'" />
        <!--
        https://travis-ci.org/github/libbitcoin/libbitcoin-system/jobs/761563137
        gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
        --------------------------------------------------------------------
        OS                    : Linux
        PARALLEL              : 2
        CC                    : gcc-4.8
        CXX                   : g++-4.8
        CPPFLAGS              : 
        CFLAGS                : 
        CXXFLAGS              : 
        LDFLAGS               : 
        LDLIBS                : 
        WITH_ICU              : 
        WITH_PNG              : 
        WITH_QRENCODE         : 
        BUILD_ICU             : 
        BUILD_ZLIB            : 
        BUILD_PNG             : 
        BUILD_QRENCODE        : 
        BUILD_BOOST           : yes (clean 1.72.0)
        BUILD_DIR             : build-libbitcoin-system
        PREFIX                : /home/travis/build/libbitcoin/libbitcoin-system/my-prefix
        DISABLE_SHARED        : 
        DISABLE_STATIC        : yes
        with_boost            : --with-boost=/home/travis/build/libbitcoin/libbitcoin-system/my-prefix
        with_pkgconfigdir     : --with-pkgconfigdir=/home/travis/build/libbitcoin/libbitcoin-system/my-prefix/lib/pkgconfig
        --------------------------------------------------------------------
        Libbitcoin boost configuration.
        --------------------------------------------------------------------
        variant               : release
        threading             : multi
        toolset               : gcc-4.8
        cxxflags              : 
        linkflags             : 
        link                  : shared
        boost.locale.iconv    : on
        boost.locale.posix    : on
        -sNO_BZIP2            : 1
        -sICU_PATH            : 
        -sICU_LINK            : 
        -sZLIB_LIBPATH        : /home/travis/build/libbitcoin/libbitcoin-system/my-prefix/lib
        -sZLIB_INCLUDE        : /home/travis/build/libbitcoin/libbitcoin-system/my-prefix/include
        -j                    : 2
        -d0                   : [supress informational messages]
        -q                    : [stop at the first error]
        --reconfigure         : [ignore cached configuration]
        --prefix              : /home/travis/build/libbitcoin/libbitcoin-system/my-prefix
        BOOST_OPTIONS         : --with-atomic --with-chrono --with-date_time --with-filesystem --with-iostreams --with-locale --with-log --with-program_options --with-regex --with-system --with-thread --with-test
        --------------------------------------------------------------------
        Clean libbitcoin and test builds.
        -->
      </job>

@evoskuil
Copy link
Member Author

evoskuil commented Mar 6, 2021

Summary matrix for travis at https://travis-ci.org/github/libbitcoin/libbitcoin-system/builds/761563132

clang static   failure (WITH_ICU)
clang dynamic  failure (WITH_ICU)
gcc   static   failure (WITH_ICU)
gcc   dynamic  success
osx   static   failure (WITH_ICU)
osx   dynamic  undetected

@evoskuil
Copy link
Member Author

evoskuil commented Mar 6, 2021

Resolved in gsl.install.sh in libbitcoin-build by removal of the ICU_LINK flag definition.

@evoskuil evoskuil closed this as completed Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant