Error building 6.0.7_4 port

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error building 6.0.7_4 port

Juan Diaz
Hi.  Building LibreOffice fails under 11.2-RELEASE-p5 FreeBSD
11.2-RELEASE-p5
amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64.

1) make install produces the following (hopefully relevant) output:

S=/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3 &&
I=$S/instdir && W=$S/workdir && mkdir -p
$W/CxxObject/sdext/source/pdfimport/xpdfwrapper/
$W/Dep/CxxObject/sdext/source/pdfimport/xpdfwrapper/ && cd
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3 &&
CCACHE_CPP2=1   c++ -DBOOST_ERROR_CODE_HEADER_ONLY
-DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DFREEBSD -DNDEBUG
-DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT
-isystem /usr/local/include -DSYSTEM_ZLIB -fvisibility=hidden    -Wall
-Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef
-Wunreachable-code -Wunused-macros -finput-charset=UTF-8
-fmessage-length=0 -fno-common -pipe  -Wimplicit-fallthrough
-fvisibility-inlines-hidden -fstack-protector-strong -fPIC
-Woverloaded-virtual -Wno-unused-parameter -Wno-unused-local-typedefs
-std=gnu++14   -DEXCEPTIONS_ON -fexceptions -O2 -pipe -fstack-protector
-DLDAP_DEPRECATED -fno-strict-aliasing     -DLIBO_INTERNAL_ONLY  -c
$S/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx -o
$W/CxxObject/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.o -isystem
/usr/local/include/poppler  -I$S/include -I/usr/local/openjdk8/include
-I/usr/local/openjdk8/include/freebsd -I/usr/local/openjdk8/include/bsd
-I/usr/local/openjdk8/include/linux -I$S/config_host
-I/usr/local/include    -I/usr/local/include -I/usr/local/include/freetype2
In file included from
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:20:
In file included from
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:24:
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22:
error: 'setDefaultCTM' marked 'override' but does not override any
member functions
         virtual void setDefaultCTM(const double *ctm) override;
                      ^
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22:
warning: 'pdfi::PDFOutDev::setDefaultCTM' hides overloaded virtual
function [-Woverloaded-virtual]
/usr/local/include/poppler/OutputDev.h:130:16: note: hidden overloaded
virtual function 'OutputDev::setDefaultCTM' declared here: type mismatch
at 1st parameter ('double *' vs 'const double *')
   virtual void setDefaultCTM(double *ctm);
                ^
In file included from
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:20:
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22:
error: 'setDefaultCTM' marked 'override' but does not override any
member functions
         virtual void setDefaultCTM(const double *ctm) override;
                      ^
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22:
warning: 'pdfi::PDFOutDev::setDefaultCTM' hides overloaded virtual
function [-Woverloaded-virtual]
/usr/local/include/poppler/OutputDev.h:130:16: note: hidden overloaded
virtual function 'OutputDev::setDefaultCTM' declared here: type mismatch
at 1st parameter ('double *' vs 'const double *')
   virtual void setDefaultCTM(double *ctm);
                ^
cp -P -f
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/dialogs/xpdfimport_err.pdf
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/instdir/share/xpdfimport/xpdfimport_err.pdf
&& /usr/bin/touch -hr
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/dialogs/xpdfimport_err.pdf
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/instdir/share/xpdfimport/xpdfimport_err.pdf
/usr/local/bin/perl -w
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/setup_native/source/packinfo/spellchecker_selection.pl
</usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/setup_native/source/packinfo/spellchecker_selection.txt
 >/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/workdir/CustomTarget/setup_native/spell/spellchecker_selection.hxx
In file included from
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:20:
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22:
error: 'setDefaultCTM' marked 'override' but does not override any
member functions
         virtual void setDefaultCTM(const double *ctm) override;
                      ^
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:168:22:
warning: 'pdfi::PDFOutDev::setDefaultCTM' hides overloaded virtual
function [-Woverloaded-virtual]
/usr/local/include/poppler/OutputDev.h:130:16: note: hidden overloaded
virtual function 'OutputDev::setDefaultCTM' declared here: type mismatch
at 1st parameter ('double *' vs 'const double *')
   virtual void setDefaultCTM(double *ctm);
                ^
cp -P -f
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/setup_native/source/packinfo/package.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/instdir/share/extensions/package.txt
&& /usr/bin/touch -hr
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/setup_native/source/packinfo/package.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/instdir/share/extensions/package.txt
[VAL] CustomTarget/sfx2/classification/example.validated
1 warning and 1 error generated.
S=/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3 &&
I=$S/instdir && W=$S/workdir && xmllint --noout --schema
$S/sfx2/classification/baf.xsd $S/sfx2/classification/example.xml >
$W/CustomTarget/sfx2/classification/example.validated 2>&1 || (cat
$W/CustomTarget/sfx2/classification/example.validated; false)
gmake[3]: ***
[/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/solenv/gbuild/LinkTarget.mk:293:
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.o]
Error 1
gmake[3]: *** Waiting for unfinished jobs....
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:572:70:
error: no member named 'c_str' in 'GooString'
         const char* pURI =
static_cast<LinkURI*>(pAction)->getURI()->c_str();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:599:30:
error: cannot initialize a parameter of type 'double *' with an lvalue
of type 'const double *'
     OutputDev::setDefaultCTM(pMat);
                              ^~~~
/usr/local/include/poppler/OutputDev.h:130:38: note: passing argument to
parameter 'ctm' here
   virtual void setDefaultCTM(double *ctm);
                                      ^
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:770:74:
error: no member named 'c_str' in 'GooString'
             std::vector<char> aEsc(
lcl_escapeLineFeeds(aFont.familyName.c_str()) );
~~~~~~~~~~~~~~~~ ^
1 warning and 1 error generated.
gmake[3]: ***
[/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/solenv/gbuild/LinkTarget.mk:293:
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pnghelper.o]
Error 1
1 warning and 4 errors generated.
gmake[3]: ***
[/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/solenv/gbuild/LinkTarget.mk:293:
/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o]
Error 1

2) Similar output is obtained with 'make MAKE_JOBS_UNSAFE=YES install'

We depend on building this port to enable Java in LibreOffice, thanks a
lot for your valuable time.

Regards.

Juan Díaz

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"