https://bugs.freedesktop.org/show_bug.cgi?id=55435

          Priority: medium
            Bug ID: 55435
          Assignee: [email protected]
           Summary: liborcus-0.2.a(liborcus_0.2_la-pstring.o): In function
                    `thread_exception':
                    /usr/include/boost/thread/exceptions.hpp:49: undefined
                    reference to `boost::system::system_category()'
          Severity: blocker
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86-64 (AMD64)
            Status: UNCONFIRMED
           Version: 3.7.0.0.alpha0+ Master
         Component: Libreoffice
           Product: LibreOffice

LO doesn't compile with boost 1.50.0.  Looks like boost_system isn't being
linked when --with-system-boost is passed to autogen.sh.

My build environment is using glibc 2.16.0, so
f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2 doesn't compile against
it, either (for the same reason described here:
https://bbs.archlinux.org/viewtopic.php?pid=1127280).

Build log:

[build CXX] CustomTarget/i18npool/indexentry/indexdata_zh_TW_radical.cxx
S=/home/max/aur/libreoffice-git/src/libreoffice-core-build &&
O=$S/solver/unxlngx6.pro && W=$S/workdir/unxlngx6.pro &&  mkdir -p
$W/GenCxxObject/CustomTarget/i18npool/indexentry/
$W/Dep/GenCxxObject/CustomTarget/i18npool/indexentry/ && cd
/home/max/aur/libreoffice-git/src/libreoffice-core-build && g++ -DCPPU_ENV=gcc3
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_KDE4 -DGCC
-DGXX_INCLUDE_PATH=/usr/include/c++/4.7.1 -DHAVE_GCC_BUILTIN_ATOMIC
-DHAVE_THREADSAFE_STATICS -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0
-DSOLAR_JAVA -DSUPD=370 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT 
-DRTL_USING    -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden  -Wall
-Wendif-labels -Wextra -fmessage-length=0 -fno-common -pipe 
-fvisibility-inlines-hidden -DLIBO_MERGELIBS -fPIC -Wshadow -Wsign-promo
-Woverloaded-virtual  -Wnon-virtual-dtor -std=gnu++0x  -DEXCEPTIONS_ON
-fexceptions -fno-enforce-eh-specs -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c
$W/CustomTarget/i18npool/indexentry/indexdata_zh_radical.cxx -o
$W/GenCxxObject/CustomTarget/i18npool/indexentry/indexdata_zh_radical.o -MMD
-MT $W/GenCxxObject/CustomTarget/i18npool/indexentry/indexdata_zh_radical.o -MP
-MF
$W/Dep/GenCxxObject/CustomTarget/i18npool/indexentry/indexdata_zh_radical.d_
-I$W/CustomTarget/i18npool/indexentry/  -I$O/inc/external -I$O/inc
-I$S/solenv/inc -I/usr/lib/jvm/java-7-openjdk/include
-I/usr/lib/jvm/java-7-openjdk/include/linux
-I/usr/lib/jvm/java-7-openjdk/include/native_threads/include && mv
$W/Dep/GenCxxObject/CustomTarget/i18npool/indexentry/indexdata_zh_radical.d_
$W/Dep/GenCxxObject/CustomTarget/i18npool/indexentry/indexdata_zh_radical.d 
liborcus/.libs/liborcus-0.2.a(liborcus_0.2_la-pstring.o): In function
`thread_exception':
/usr/include/boost/thread/exceptions.hpp:49: undefined reference to
`boost::system::system_category()'
/usr/include/boost/thread/exceptions.hpp:49: undefined reference to
`boost::system::system_category()'
liborcus/.libs/liborcus-0.2.a(liborcus_0.2_la-pstring.o): In function
`__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to
`boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to
`boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to
`boost::system::system_category()'
collect2: error: ld returned 1 exit status
make[6]: *** [orcus-format-xml] Error 1
make[6]: Leaving directory
`/home/max/aur/libreoffice-git/src/libreoffice-core-build/workdir/unxlngx6.pro/UnpackedTarball/orcus/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/max/aur/libreoffice-git/src/libreoffice-core-build/workdir/unxlngx6.pro/UnpackedTarball/orcus/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/max/aur/libreoffice-git/src/libreoffice-core-build/workdir/unxlngx6.pro/UnpackedTarball/orcus'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/max/aur/libreoffice-git/src/libreoffice-core-build/workdir/unxlngx6.pro/UnpackedTarball/orcus'
make[2]: ***
[/home/max/aur/libreoffice-git/src/libreoffice-core-build/workdir/unxlngx6.pro/ExternalProject/liborcus/build]
Error 2
make[2]: *** Waiting for unfinished jobs....

autogen.sh options:

    ./autogen.sh \
        --disable-ext-mysql-connector \
        --disable-fetch-external \
        --disable-gnome-vfs \
        --disable-kde \
        --disable-mozilla \
        --disable-verbose \
        --enable-crashdump \
        --enable-dbus \
        --enable-evolution2 \
        --enable-ext-nlpsolver \
        --enable-ext-scripting-beanshell \
        --enable-ext-scripting-javascript \
        --enable-ext-wiki-publisher \
        --enable-gio \
        --enable-gtk3 \
        --enable-kde4 \
        --enable-librsvg=system \
        --enable-lockdown \
        --enable-mergelibs \
        --enable-odk \
        --enable-opengl \
        --enable-split-app-modules \
        --exec-prefix=/usr \
        --libdir=/usr/lib \
        --mandir=/usr/share/man \
        --prefix=/usr \
        --sysconfdir=/etc \
        --with-alloc=system \
        --with-ant-home="/usr/share/apache-ant" \
        --with-build-version="GIT-$pkgver ArchLinux build-${pkgrel}" \
        --with-external-dict-dir=/usr/share/hunspell \
        --with-external-hyph-dir=/usr/share/hyphen \
        --with-external-tar="${srcdir}/ext_sources" \
        --with-external-thes-dir=/usr/share/mythes \
        --with-java-target-version=1.5 \
        --with-lang="" \
        --with-max-jobs=${MAKEFLAGS/-j/} \
        --with-num-cpus=${MAKEFLAGS/-j/} \
        --with-system-beanshell \
        --with-system-boost \
        --with-system-cairo \
        --with-system-clucene \
        --with-system-cppunit \
        --with-system-dicts \
        --with-system-graphite \
        --with-system-headers \
        --with-system-hsqldb \
        --with-system-libs \
        --with-system-libwpg \
        --with-system-mysql \
        --with-system-mythes \
        --with-system-redland \
        --with-unix-wrapper="libreoffice" \
        --with-vendor="ArchLinux" \
        --without-afms \
        --without-fonts \
        --without-myspell-dicts \
        --without-ppds \
        --without-system-apache-commons \
        --without-system-jfreereport \
        --without-system-libcdr \
        --without-system-libcmis \
        --without-system-libexttextcat \
        --without-system-liblangtag \
        --without-system-libmspub \
        --without-system-libvisio \
        --without-system-libwps \
        --without-system-mdds \
        --without-system-mozilla \
        --without-system-mozilla-headers \
        --without-system-orcus \
        --without-system-poppler \
        --without-system-saxon \
        --without-system-servlet-api

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to