[ooo-build] Compile error with ooo-build 3.2.0.7

Sasa Ostrouska casaxa at gmail.com
Wed Mar 10 02:18:09 PST 2010


On Wed, Mar 10, 2010 at 10:30 AM, Noel Power <nopower at novell.com> wrote:
> Sasa Ostrouska wrote:
>>
>> Hi !
>>
>> I'm trying to get ooo built with the 3.2.0.7 version of ooo-build. It
>> starts, creates all of the needed
>> stuff and after few hours I end up with this error:
>>
>> Entering
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/pyprov
>> cp pythonscript.py ../../unxlngi6.pro/lib/pythonscript.py
>> cp officehelper.py ../../unxlngi6.pro/lib/officehelper.py
>> cp mailmerge.py ../../unxlngi6.pro/lib/mailmerge.py
>>
>> Entering
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/stringresource
>> Compiling: scripting/unxlngi6/misc/stringresource_dflt.uno_version.c
>> Compiling: scripting/source/stringresource/stringresource.cxx
>> Making:    stringresource.lib
>> Making:    stringresourceli.uno.so
>>
>> Entering
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents
>> dmake:
>>  /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/solenv/inc/target.mk:
>>  line 247:  Warning: -- Macro `SLOTARGET' redefined after use
>> Compiling: vbaevents/unxlngi6/misc/vbaevents_dflt.uno_version.c
>> : &&
>> LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/solver/320/unxlngi6.pro/lib
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/solver/320/unxlngi6.pro/bin/cppumaker
>> -O../../unxlngi6.pro/inc -BUCR
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/solver/320/unxlngi6.pro/bin/oovbaapi.rdb
>>
>> -X/home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/solver/320/unxlngi6.pro/bin/types.rdb
>> && echo > ../../unxlngi6.pro/misc/vbaevents.don
>> echo ../../unxlngi6.pro/misc/vbaevents.don
>> Compiling: vbaevents/source/vbaevents/service.cxx
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/service.cxx:75:
>> warning: unused parameter 'ppEnv'
>> Compiling: vbaevents/source/vbaevents/eventhelper.cxx
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:40:37:
>> error: msforms/ReturnInteger.hpp: No such file or directory
>> In file included from
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/solver/320/unxlngi6.pro/inc/comphelper/propertycontainer.hxx:34,
>>                 from
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:4:
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/solver/320/unxlngi6.pro/inc/comphelper/propertycontainerhelper.hxx:88:
>> warning: 'comphelper::OPropertyContainerHelper' declared with greater
>> visibility than the type of its field
>> 'comphelper::OPropertyContainerHelper::m_aProperties'
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:
>> In function 'com::sun::star::uno::Sequence<com::sun::star::uno::Any>
>> ooKeyPressedToVBAKeyPressed(const
>> com::sun::star::uno::Sequence<com::sun::star::uno::Any>&)':
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:214:
>> error: 'msforms' has not been declared
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:214:
>> error: expected `;' before 'keyCode'
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:215:
>> error: 'keyCode' was not declared in this scope
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:
>> In function 'com::sun::star::uno::Sequence<com::sun::star::uno::Any>
>> ooKeyPressedToVBAKeyUpDown(const
>> com::sun::star::uno::Sequence<com::sun::star::uno::Any>&)':
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:230:
>> error: 'msforms' has not been declared
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:230:
>> error: expected `;' before 'keyCode'
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:234:
>> error: 'keyCode' was not declared in this scope
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:
>> In constructor 'EventListener::EventListener(const
>> com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>&)':
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:697:
>> warning: 'EventListener::m_bDocClosed' will be initialized after
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:696:
>> warning:   'SfxObjectShell* EventListener::mpShell'
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:701:
>> warning:   when initialized here
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:
>> At global scope:
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:780:
>> warning: unused parameter 'Source'
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:780:
>> warning: unused parameter 'GetsOwnership'
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:786:
>> warning: unused parameter 'Source'
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:841:
>> warning: unused parameter 'evt'
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:841:
>> warning: unused parameter 'pPara'
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:884:
>> warning: unused parameter 'pPara'
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:
>> In member function 'void EventListener::firing_Impl(const
>> com::sun::star::script::ScriptEvent&, com::sun::star::uno::Any*)':
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:938:
>> warning: declaration of 'xCntrlShape' shadows a previous local
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:929:
>> warning: shadowed declaration is here
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents/eventhelper.cxx:976:
>> warning: unused variable 'pBasic'
>> dmake:  Error code 1, while making
>> '../../unxlngi6.pro/slo/eventhelper.obj'
>>
>> ERROR: Error 65280 occurred while making
>>
>> /home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG/WORK/openoffice-3.2.1-1/ooo-build-3.2.0.7/build/ooo320-m12/scripting/source/vbaevents
>> rmdir /tmp/cWjSVZCZ0y
>> make: *** [stamp/build] Error 1
>> Error!  make exited with status: 2
>> Failed package openoffice
>>
>>
>> root at rc-samsung:/home/sasa/DEVELOPMENT/DROPLINE_GNOME/DBS/DLG_2_26/dropline-build-system#
>>
>>
>> It seems that the problem is this line:
>> m12/scripting/source/vbaevents/eventhelper.cxx:40:37: error:
>> msforms/ReturnInteger.hpp: No such file or directory
>>
>
> looks suspicously like some dependency problem that is exposed by a parallel
>  build ( I presume this is a  parallel / multi-proc build right? the error
> imo doesn't make sense otherwise ) funny we don't see that normally ( or at
> least I don't and I build with -P7 -- -P7 quite a bit ) Of course that said
> I am sure the problem is genuine :-/ I will try to see if I see something
> funny with the dependencies, no guarantees though
>
> Noel
>

Hi Noel, thanks for your answer, I can confirm you that this is done
on my 2 core processor, and I saw it uses
make -j2 so 2 jobs are done in paralel.
I happened to me also with versions 3.2.0.5 and 3.2.0.6 of ooo-build.
Another thing make me think of paralel build problem is that if I
restart make manually from ooo-build directory it
builds up to the end, at least with 3.2.0.5 and 3.2.0.6 this happened.

Rgds
Saxa


More information about the ooo-build mailing list