Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2012 13:12:40 +1000
From:      Robert Backhaus <robbak@gmail.com>
To:        Joerg Surmann <joerg_surmann@snafu.de>
Cc:        Olivier Smedts <olivier@gid0.org>, office@freebsd.org, Freebsd_mailinglist_PORTS <freebsd-ports@freebsd.org>
Subject:   Re: libreoffice fails to build
Message-ID:  <CABG_4j=LJAgSc4kqUACFrNBxybVUcM=X_9RG35ZqFR_YpXdZUg@mail.gmail.com>
In-Reply-To: <5009C326.1060306@snafu.de>
References:  <20486.55903.34769.952614@jerusalem.litteratus.org> <500729B3.1050208@FreeBSD.org> <20487.20506.88401.623249@jerusalem.litteratus.org> <CADLo83-0gak%2B8kBpmg6jUdeHcrYC65CEqCg1SciFe5TXiceM6g@mail.gmail.com> <CAN6yY1sPkuPTt0BtWNoavA-o2FRbEPjwRL88bzR_pC5qyNJenw@mail.gmail.com> <20488.23232.578561.75939@jerusalem.litteratus.org> <CABzXLYM9HUbaXqhjgW4-G9eq9JQA4Fny83Hg3U3j06otoSRDtA@mail.gmail.com> <5009C326.1060306@snafu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 21, 2012 at 6:44 AM, Joerg Surmann <joerg_surmann@snafu.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi,
>
> update libreoffice faild.
> internal build errors.
>
> ERROR: error 65280 ocurred while making
> /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vlc/prj
>
> it seems that the error is inside 'vlc' , please re-run buld
> inside this module to isolate the error and/or test your fix
>
> Any suggestions??
>
> Thanks
> Suri
>

Yes, this is my problem too. Are you using the KDE option?
All build errors listed below. Seems it isn't pulling in some needed
Qt libraries.

gmake -r
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/StaticLibrary_vclmain.mk:49:
[ WARN   ] !!!
[ WARN   ] !!! vcl/source/salmain/salmain is linked in by
Library/libvcllo.so StaticLibrary/libvclmain.a
[ WARN   ] !!!
[ build CXX ] vcl/unx/kde4/KDEData
R=/home/obj/ports/usr/ports/editors/libreoffice/work &&
S=$R/libreoffice-core-3.5.5.3 && O=$S/solver/unxfbsd.pro &&
W=$S/workdir/unxfbsd.pro &&  mkdir -p $W/CxxObject/vcl/unx/kde4/
$W/Dep/CxxObject/vcl/unx/kde4/ && /usr/bin/clang++ -DCPPU_ENV=gcc3
-DENABLE_GRAPHITE -DENABLE_KDE4 -DFREEBSD -DGCC
-DGXX_INCLUDE_PATH=/usr/include/c++/4.2 -DNDEBUG -DOPTIMIZE
-DOSL_DEBUG_LEVEL=0 -DPRODUCT -DSUPD=350 -DUNIX -DUNX -DVCL -DX86_64
-D_PTHREADS -D_REENTRANT   -DVCLPLUG_KDE4_IMPLEMENTATION   -Wall
-Wendif-labels -Wextra -fmessage-length=0 -fno-common -pipe  -fPIC
-Wsign-promo -Woverloaded-virtual -Wno-non-virtual-dtor
-Wno-unused-parameter  -fno-strict-aliasing -std=gnu++0x
-Wno-deprecated-declarations -Wno-deprecated   -DEXCEPTIONS_ON
-fexceptions -O2 -c $S/vcl/unx/kde4/KDEData.cxx -o
$W/CxxObject/vcl/unx/kde4/KDEData.o -MMD -MT
$W/CxxObject/vcl/unx/kde4/KDEData.o -MP -MF
$W/Dep/CxxObject/vcl/unx/kde4/KDEData.d -I$S/vcl/unx/kde4/
-I$O/inc/stl -I$O/inc/external -I$O/inc -I$S/solenv/inc/unxfbsd
-I$S/solenv/inc -I$S/res -I/usr/local/include -I$S/vcl/inc
-I$S/solenv/inc -I$O/inc -I$W/CustomTarget/vcl/unx/kde4  -DQT_SHARED
-I/usr/local/include/qt4 -I/usr/local/include/qt4/QtCore   -DQT_SHARED
-I/usr/local/include/qt4 -I/usr/local/include/qt4/QtGui
-I/usr/local/include/qt4/QtCore   -I/usr/local/kde4/include
-DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT  -I$O/inc/offapi
-I$O/inc/udkapi
In file included from
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4/KDEData.cxx:31:
In file included from
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4//KDEXLib.hxx:36:
/usr/local/include/qsocketnotifier.h:46:16: error: variable has
incomplete type 'class Q_EXPORT'
class Q_EXPORT QSocketNotifier : public QObject
               ^
/usr/local/include/qsocketnotifier.h:46:7: note: forward declaration
of 'Q_EXPORT'
class Q_EXPORT QSocketNotifier : public QObject
      ^
/usr/local/include/qsocketnotifier.h:46:32: error: expected ';' after
top level declarator
class Q_EXPORT QSocketNotifier : public QObject
                               ^
                               ;
/usr/local/include/qsocketnotifier.h:46:34: error: expected unqualified-id
class Q_EXPORT QSocketNotifier : public QObject
                                 ^
/usr/local/include/qsocketnotifier.h:80:12: error: expected a class or namespace
inline int QSocketNotifier::socket() const
           ^
In file included from
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4/KDEData.cxx:31:
In file included from
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4//KDEXLib.hxx:37:
/usr/local/include/qtimer.h:82:13: error: use of undeclared identifier
'QTimer'; did you mean 'Timer'?
inline bool QTimer::isActive() const
            ^~~~~~
            Timer
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/inc/svdata.hxx:89:7:
note: 'Timer' declared here
class Timer;
      ^
In file included from
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4/KDEData.cxx:31:
In file included from
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4//KDEXLib.hxx:37:
/usr/local/include/qtimer.h:82:13: error: incomplete type 'Timer'
named in nested name specifier
inline bool QTimer::isActive() const
            ^~~~~~~~
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/inc/svdata.hxx:89:7:
note: forward declaration of 'Timer'
class Timer;
      ^
In file included from
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4/KDEData.cxx:31:
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4//KDEXLib.hxx:46:9:
error: unknown type name 'VCLKDEApplication'
        VCLKDEApplication* m_pApplication;
        ^
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4//KDEXLib.hxx:56:13:
error: unknown type name 'QSocketNotifier'
            QSocketNotifier* notifier;
            ^
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4//KDEXLib.hxx:59:9:
error: unknown type name 'QTimer'; did you mean 'Timer'?
        QTimer timeoutTimer;
        ^~~~~~
        Timer
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/inc/svdata.hxx:89:7:
note: 'Timer' declared here
class Timer;
      ^
In file included from
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4/KDEData.cxx:31:
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4//KDEXLib.hxx:59:16:
error: field has incomplete type 'Timer'
        QTimer timeoutTimer;
               ^
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/inc/svdata.hxx:89:7:
note: forward declaration of 'Timer'
class Timer;
      ^
In file included from
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4/KDEData.cxx:31:
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4//KDEXLib.hxx:60:9:
error: unknown type name 'QTimer'; did you mean 'Timer'?
        QTimer userEventTimer;
        ^~~~~~
        Timer
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/inc/svdata.hxx:89:7:
note: 'Timer' declared here
class Timer;
      ^
In file included from
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4/KDEData.cxx:31:
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/unx/kde4//KDEXLib.hxx:60:16:
error: field has incomplete type 'Timer'
        QTimer userEventTimer;
               ^
/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/vcl/inc/svdata.hxx:89:7:
note: forward declaration of 'Timer'
class Timer;
      ^
12 errors generated.
gmake: *** [/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/workdir/unxfbsd.pro/CxxObject/vcl/unx/kde4/KDEData.o]
Error 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABG_4j=LJAgSc4kqUACFrNBxybVUcM=X_9RG35ZqFR_YpXdZUg>