Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589948 - app-office/libreoffice-5.1.4.2 fails to build with clang-3.8.1
Summary: app-office/libreoffice-5.1.4.2 fails to build with clang-3.8.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2016-07-29 00:01 UTC by Lori
Modified: 2016-09-20 09:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lori 2016-07-29 00:01:51 UTC
[CXX] sdext/source/presenter/PresenterScrollBar.cxx
S=/var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/sdext/source/presenter/ $W/
Dep/CxxObject/sdext/source/presenter/ && cd /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2 &&   clang++ -DBOOST_ERROR_CODE_HEADER_ONLY
 -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT    -DHAVE_GCC_VISIB
ILITY_FEATURE -fvisibility=hidden   -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -
pipe  -fvisibility-inlines-hidden -fstack-protector-strong -fPIC -Wshadow -Woverloaded-virtual -std=gnu++14   -DEXCEPTIONS_ON -fexceptions -march=native -O2 -pi
pe -fomit-frame-pointer  -DLIBO_INTERNAL_ONLY  -c $S/sdext/source/presenter/PresenterScrollBar.cxx -o $W/CxxObject/sdext/source/presenter/PresenterScrollBar.o
-I$S/sdext/source/presenter/  -I$S/include  -I/opt/oracle-jdk-bin-1.8.0.102/include -I/opt/oracle-jdk-bin-1.8.0.102/include/linux -I$S/config_host  -I/usr/inclu
de  -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal
[CXX] sdext/source/presenter/PresenterSlidePreview.cxx
S=/var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/sdext/source/presenter/ $W/
Dep/CxxObject/sdext/source/presenter/ && cd /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2 &&   clang++ -DBOOST_ERROR_CODE_HEADER_ONLY
 -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT    -DHAVE_GCC_VISIB
ILITY_FEATURE -fvisibility=hidden   -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -
pipe  -fvisibility-inlines-hidden -fstack-protector-strong -fPIC -Wshadow -Woverloaded-virtual -std=gnu++14   -DEXCEPTIONS_ON -fexceptions -march=native -O2 -pi
pe -fomit-frame-pointer  -DLIBO_INTERNAL_ONLY  -c $S/sdext/source/presenter/PresenterSlidePreview.cxx -o $W/CxxObject/sdext/source/presenter/PresenterSlidePrevi
ew.o  -I$S/sdext/source/presenter/  -I$S/include  -I/opt/oracle-jdk-bin-1.8.0.102/include -I/opt/oracle-jdk-bin-1.8.0.102/include/linux -I$S/config_host  -I/usr
/include  -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal
[CXX] sdext/source/presenter/PresenterSlideShowView.cxx
In file included from /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/sdext/source/presenter/PresenterScrollBar.cxx:34:
In file included from /usr/include/boost/bind.hpp:22:
In file included from /usr/include/boost/bind/bind.hpp:26:
In file included from /usr/include/boost/mem_fn.hpp:22:
In file included from /usr/include/boost/bind/mem_fn.hpp:215:
/usr/include/boost/bind/mem_fn_template.hpp:156:30: error: no matching function for call to 'get_pointer'
        BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)(b1);
                             ^~~~~~~~~~~
/usr/include/boost/bind/mem_fn_template.hpp:171:29: note: in instantiation of function template specialization 'boost::_mfi::mf1<void, sdext::presenter::Present
erScrollBar::MousePressRepeater, const TimeValue &>::call<std::shared_ptr<sdext::presenter::PresenterScrollBar::MousePressRepeater>, const TimeValue>' requested
 here
        BOOST_MEM_FN_RETURN call(u, p, a1);
                            ^
/usr/include/boost/bind/bind.hpp:313:9: note: in instantiation of function template specialization 'boost::_mfi::mf1<void, sdext::presenter::PresenterScrollBar:
:MousePressRepeater, const TimeValue &>::operator()<std::shared_ptr<sdext::presenter::PresenterScrollBar::MousePressRepeater> >' requested here
        unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]);
        ^
/usr/include/boost/bind/bind_template.hpp:47:27: note: in instantiation of function template specialization 'boost::_bi::list2<boost::_bi::value<std::shared_ptr
<sdext::presenter::PresenterScrollBar::MousePressRepeater> >, boost::arg<1> >::operator()<boost::_mfi::mf1<void, sdext::presenter::PresenterScrollBar::MousePres
sRepeater, const TimeValue &>, boost::_bi::list1<const TimeValue &> >' requested here
        BOOST_BIND_RETURN l_(type<result_type>(), f_, a, 0);
                          ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/functional:2039:2: note: in instantiation of function template specialization 'boost::_bi::bind_t<void, boost::_mfi::mf1<void, sdext::presenter::PresenterScrollBar::MousePressRepeater, const TimeValue &>, boost::_bi::list2<boost::_bi::value<std::shared_ptr<sdext::presenter::PresenterScrollBar::MousePressRepeater> >, boost::arg<1> > >::operator()<TimeValue>' requested here
        (*_Base::_M_get_pointer(__functor))(
        ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/functional:2427:33: note: in instantiation of member function 'std::_Function_handler<void (const TimeValue &), boost::_bi::bind_t<void, boost::_mfi::mf1<void, sdext::presenter::PresenterScrollBar::MousePressRepeater, const TimeValue &>, boost::_bi::list2<boost::_bi::value<std::shared_ptr<sdext::presenter::PresenterScrollBar::MousePressRepeater> >, boost::arg<1> > > >::_M_invoke' requested here
            _M_invoker = &_My_handler::_M_invoke;
                                       ^
/var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/sdext/source/presenter/PresenterScrollBar.cxx:829:13: note: in instantiation of function template specialization 'std::function<void (const TimeValue &)>::function<boost::_bi::bind_t<void, boost::_mfi::mf1<void, sdext::presenter::PresenterScrollBar::MousePressRepeater, const TimeValue &>, boost::_bi::list2<boost::_bi::value<std::shared_ptr<sdext::presenter::PresenterScrollBar::MousePressRepeater> >, boost::arg<1> > >, void>' requested here
            ::boost::bind(&PresenterScrollBar::MousePressRepeater::Callback, shared_from_this(), _1),
            ^
/usr/include/boost/core/ref.hpp:291:40: note: candidate template ignored: could not match 'reference_wrapper' against 'shared_ptr'
template<class T> BOOST_FORCEINLINE T* get_pointer( reference_wrapper<T> const & r )
                                       ^
/usr/include/boost/get_pointer.hpp:20:23: note: candidate template ignored: could not match 'T *' against 'std::shared_ptr<sdext::presenter::PresenterScrollBar::MousePressRepeater>'
template<class T> T * get_pointer(T * p)
                      ^
/usr/include/boost/get_pointer.hpp:27:23: note: candidate template ignored: could not match 'auto_ptr' against 'shared_ptr'
template<class T> T * get_pointer(std::auto_ptr<T> const& p)
                      ^
1 error generated.
/var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/solenv/gbuild/LinkTarget.mk:189: recipe for target '/var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CxxObject/sdext/source/presenter/PresenterScrollBar.o' failed
make[1]: *** [/var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CxxObject/sdext/source/presenter/PresenterScrollBar.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/char_in.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/sent.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/line.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/count_word.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/char.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/count_word.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/char_in.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/line.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/dict_word.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/edit_word.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/sent.brk /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/char.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.txt /var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk
make[1]: Leaving directory '/var/tmp/portage/app-office/libreoffice-5.1.4.2/work/libreoffice-5.1.4.2'
Makefile:244: recipe for target 'build' failed
make: *** [build] Error 2
 * ERROR: app-office/libreoffice-5.1.4.2::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 133:  Called src_compile
 *   environment, line 7505:  Called die
 * The specific snippet of code:
 *       make ${target} || die
 *
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-5.1.4.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-5.1.4.2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.8  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.102"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
Comment 1 Jason Schulz 2016-08-25 19:14:08 UTC
I added a pull request for this (https://github.com/gentoo/gentoo/pull/2145).
Comment 2 Andreas Sturmlechner gentoo-dev 2016-09-20 09:33:01 UTC
CommitDate: Sat Sep 17 21:32:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34bdd64b

app-office/libreoffice: Really exclude clang from GCC version check