pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51747: misc/libreoffice4 build fails on netbsd-7/amd64



>Number:         51747
>Category:       pkg
>Synopsis:       misc/libreoffice4 build fails on netbsd-7/amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 26 22:00:02 +0000 2016
>Originator:     John D. Baker
>Release:        NetBSD/amd64-7.0_STABLE, pkgsrc-HEAD (pre-pkgsrc-2016Q4)
>Organization:
>Environment:
NetBSD brenowin.reltuk.net 7.0_STABLE NetBSD 7.0_STABLE (KEPLER) #14: Fri Dec 23 21:11:48 CST 2016  sysop%brenowin.reltuk.net@localhost:/d0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/KEPLER amd64

>Description:
Building "misc/libreoffice4" (libreoffice-4.4.7.2) fails on an netbsd-7
amd64 host as follows:

[...]
[build CXX] i18npool/source/breakiterator/breakiterator_unicode.cxx
S=/d0/build/pkgsrc/misc/libreoffice4/work/libreoffice-4.4.7.2 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/i18npool/source/breakiterator/ $W/Dep/CxxObject/i18npool/source/breakiterator/ && cd /d0/build/pkgsrc/misc/libreoffice4/work/libreoffice-4.4.7.2 &&   c++ -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLIBO_INTERNAL_ONLY -DNDEBUG -DNETBSD -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -pthread  -DRTL_USING -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DLDAP_DEPRECATED -I/usr/pkg/include/cppunit -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -I/usr/include/krb5   -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden   -Wall -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe  -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=gnu++11   -DEXCEPTIONS_
 ON -fexceptions -fno-enforce-eh-specs -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DLDAP_DEPRECATED -I/usr/pkg/include/cppunit -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nspr -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -I/usr/include/krb5  -c $S/i18npool/source/breakiterator/breakiterator_unicode.cxx -o $W/CxxObject/i18npool/source/breakiterator/breakiterator_unicode.o -MMD -MT $W/CxxObject/i18npool/source/breakiterator/breakiterator_unicode.o -MP -MF $W/Dep/CxxObject/i18npool/source/breakiterator/breakiterator_unicode.d_ -I$S/i18npool/source/breakiterator/  -I$S/include  -I/usr/pkg/java/openjdk8/include -I/usr/pkg/java/openjdk8/include/netbsd -I$S/config_host  -I$S/i18npool/inc  -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal    && mv $W/Dep/CxxObject/i18npool/source/breakiterator/breakiterator_unicode.d_ $W/Dep/CxxObject/i18npool/source/breakiterator/breakiterator_unicode.d 
In file included from /d0/build/pkgsrc/misc/libreoffice4/work/libreoffice-4.4.7.2/i18npool/source/breakiterator/breakiterator_unicode.cxx:27:0:
/d0/build/pkgsrc/misc/libreoffice4/work/.buildlink/include/unicode/rbbi.h: In member function 'void com::sun::star::i18n::OOoRuleBasedBreakIterator::publicSetBreakType(__int32_t)':
/d0/build/pkgsrc/misc/libreoffice4/work/.buildlink/include/unicode/rbbi.h:657:10: error: 'void icu_58::RuleBasedBreakIterator::setBreakType(__int32_t)' is private
     void setBreakType(int32_t type);
          ^
/d0/build/pkgsrc/misc/libreoffice4/work/libreoffice-4.4.7.2/i18npool/source/breakiterator/breakiterator_unicode.cxx:69:13: error: within this context
             setBreakType(type);
             ^
In file included from /d0/build/pkgsrc/misc/libreoffice4/work/libreoffice-4.4.7.2/i18npool/source/breakiterator/breakiterator_unicode.cxx:27:0:
/d0/build/pkgsrc/misc/libreoffice4/work/.buildlink/include/unicode/rbbi.h:657:10: error: 'void icu_58::RuleBasedBreakIterator::setBreakType(__int32_t)' is private
     void setBreakType(int32_t type);
          ^
/d0/build/pkgsrc/misc/libreoffice4/work/libreoffice-4.4.7.2/i18npool/source/breakiterator/breakiterator_unicode.cxx:69:30: error: within this context
             setBreakType(type);
                              ^
/d0/build/pkgsrc/misc/libreoffice4/work/libreoffice-4.4.7.2/solenv/gbuild/LinkTarget.mk:189: recipe for target '/d0/build/pkgsrc/misc/libreoffice4/work/libreoffice-4.4.7.2/workdir/CxxObject/i18npool/source/breakiterator/breakiterator_unicode.o' failed
gmake[1]: *** [/d0/build/pkgsrc/misc/libreoffice4/work/libreoffice-4.4.7.2/workdir/CxxObject/i18npool/source/breakiterator/breakiterator_unicode.o] Error 1
gmake[1]: Leaving directory '/d0/build/pkgsrc/misc/libreoffice4/work/libreoffice-4.4.7.2'
Makefile:237: recipe for target 'build' failed
gmake: *** [build] Error 2
*** Error code 2

Stop.
make[1]: stopped in /d0/nbsd/pkgsrc/misc/libreoffice4
*** Error code 1

Stop.
make: stopped in /d0/nbsd/pkgsrc/misc/libreoffice4

>How-To-Repeat:
See above.  A friend using libreoffice-4.4.7.2 reported the failure to
me and I successfully duplicated it.

If, as per this thread:

  http://mail-index.netbsd.org/pkgsrc-users/2016/12/19/msg024123.html

"misc/libreoffice4" is due for removal after the branch has been tagged,
this PR is mainly pro-forma and may be closed as out of scope once the
package has been removed.
>Fix:
Replace with up-to-date "misc/libreoffice" (libreoffice-5.2.4.2).



Home | Main Index | Thread Index | Old Index