Re: master build fails in Chart2

2014-05-22 Thread Jean-Baptiste Faure
Hi,

Le 20/05/2014 12:22, Christian Lohmaier a écrit :
> [...]
> git clean -dxn
> 
> will show you all the stuff you have in your tree that's not managed
> by git (and thus probably shouldn't be there when you do the build in
> a separate directory). with -f instead of -n, git will remove those
> obsolete files for you.

Oh, thank you. That did a big clean up !

Best regards.
JBF
-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: master build fails in Chart2

2014-05-22 Thread Jean-Baptiste Faure
Le 20/05/2014 10:08, Stephan Bergmann a écrit :
> [...]
> Do you have a leftover
> chart2/source/controller/dialogs/res_LegendPosition.hxx that should have
> been removed long ago by
> 
> "remove unnecessary empty dtor, etc."?

Removing this file fixed the problem. Thank you very much.

Best regards.
JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: master build fails in Chart2

2014-05-20 Thread Jean-Baptiste Faure
Le 20/05/2014 10:08, Stephan Bergmann a écrit :
> On 05/20/2014 08:24 AM, Jean-Baptiste Faure wrote:
>>> [build CXX] chart2/source/controller/dialogs/dlg_NumberFormat.cxx
>>> In file included from
>>> .../chart2/source/controller/dialogs/dlg_InsertLegend.cxx:21:0:
>>> .../chart2/source/controller/dialogs/res_LegendPosition.hxx:32:7:
>>> error: redefinition of ‘class chart::LegendPositionResources’
>>>   class LegendPositionResources
>>> ^
>>> In file included from
>>> .../chart2/source/controller/inc/dlg_InsertLegend.hxx:29:0,
>>>   from
>>> .../chart2/source/controller/dialogs/dlg_InsertLegend.cxx:20:
>>> .../chart2/source/controller/inc/res_LegendPosition.hxx:32:7: error:
>>> previous definition of ‘class chart::LegendPositionResources’
>>>   class LegendPositionResources
>>> ^
>>> make[1]: ***
>>> [.../workdir/CxxObject/chart2/source/controller/dialogs/dlg_InsertLegend.o]
>>> Erreur 1
>>> make[1]: *** Attente des tâches non terminées
>>> make: *** [build] Erreur 2
> 
> Do you have a leftover
> chart2/source/controller/dialogs/res_LegendPosition.hxx that should have
> been removed long ago by
> 
> "remove unnecessary empty dtor, etc."?

Indeed I still have this file. I wonder why that worked until now.

I removed the file and updated my local copy. Build in progress.

Thank you very much.
JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: master build fails in Chart2

2014-05-20 Thread Christian Lohmaier
Hi *,

On Tue, May 20, 2014 at 10:08 AM, Stephan Bergmann  wrote:
> On 05/20/2014 08:24 AM, Jean-Baptiste Faure wrote:
>>> .../chart2/source/controller/dialogs/res_LegendPosition.hxx:32:7: error:
>>> redefinition of ‘class chart::LegendPositionResources’
>>> [...]
>
> Do you have a leftover
> chart2/source/controller/dialogs/res_LegendPosition.hxx that should have
> been removed long ago by
> 
> "remove unnecessary empty dtor, etc."?

git clean -dxn

will show you all the stuff you have in your tree that's not managed
by git (and thus probably shouldn't be there when you do the build in
a separate directory). with -f instead of -n, git will remove those
obsolete files for you.

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: master build fails in Chart2

2014-05-20 Thread Stephan Bergmann

On 05/20/2014 08:24 AM, Jean-Baptiste Faure wrote:

[build CXX] chart2/source/controller/dialogs/dlg_NumberFormat.cxx
In file included from 
.../chart2/source/controller/dialogs/dlg_InsertLegend.cxx:21:0:
.../chart2/source/controller/dialogs/res_LegendPosition.hxx:32:7: error: 
redefinition of ‘class chart::LegendPositionResources’
  class LegendPositionResources
^
In file included from 
.../chart2/source/controller/inc/dlg_InsertLegend.hxx:29:0,
  from 
.../chart2/source/controller/dialogs/dlg_InsertLegend.cxx:20:
.../chart2/source/controller/inc/res_LegendPosition.hxx:32:7: error: previous 
definition of ‘class chart::LegendPositionResources’
  class LegendPositionResources
^
make[1]: *** 
[.../workdir/CxxObject/chart2/source/controller/dialogs/dlg_InsertLegend.o] 
Erreur 1
make[1]: *** Attente des tâches non terminées
make: *** [build] Erreur 2


Do you have a leftover 
chart2/source/controller/dialogs/res_LegendPosition.hxx that should have 
been removed long ago by 
 
"remove unnecessary empty dtor, etc."?


Stephan

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


master build fails in Chart2

2014-05-20 Thread Jean-Baptiste Faure
Hi,

Since several days my master build fails with the same error :

> [build CXX] chart2/source/controller/dialogs/dlg_NumberFormat.cxx
> In file included from 
> .../chart2/source/controller/dialogs/dlg_InsertLegend.cxx:21:0:
> .../chart2/source/controller/dialogs/res_LegendPosition.hxx:32:7: error: 
> redefinition of ‘class chart::LegendPositionResources’
>  class LegendPositionResources
>^
> In file included from 
> .../chart2/source/controller/inc/dlg_InsertLegend.hxx:29:0,
>  from 
> .../chart2/source/controller/dialogs/dlg_InsertLegend.cxx:20:
> .../chart2/source/controller/inc/res_LegendPosition.hxx:32:7: error: previous 
> definition of ‘class chart::LegendPositionResources’
>  class LegendPositionResources
>^
> make[1]: *** 
> [.../workdir/CxxObject/chart2/source/controller/dialogs/dlg_InsertLegend.o] 
> Erreur 1
> make[1]: *** Attente des tâches non terminées
> make: *** [build] Erreur 2

Each time I build the master, I do a complete rebuild (make disclean ->
./autogen.sh > make). As the Linux TB seem to not have the same problem,
I guess it is on my side, but I do not know how to fix that.

I build the master on Ubuntu 14.04 x86-64 with gcc 4.8. No problem when
building LO 4.2.5.0.0+.

Any advice is welcome. :-)

Best regards.
JBF
-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice