[Libreoffice] build error in desktop no 'void desktop::Migration::migrateSettingsIfNecessary()'

2010-11-04 Thread Nadav Vinik
Making:all_mig.dpslo
Compiling: desktop/source/migration/migration.cxx
/home/projects/build/build/libreoffice-3.2.99.2/desktop/source/migration/migration.cxx:215:44:
error: no 'void desktop::Migration::migrateSettingsIfNecessary()'
member function declared in class 'desktop::Migration'
dmake:  Error code 1, while making '../../unxlngi6.pro/slo/migration.obj'

thanks
Nadav

-- 
הבלוג שלי:
http://nadavvin.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] build error in desktop no 'void desktop::Migration::migrateSettingsIfNecessary()'

2010-11-04 Thread Nadav Vinik
On Thu, Nov 4, 2010 at 12:22 PM, Caolán McNamara caol...@redhat.com wrote:
 On Thu, 2010-11-04 at 12:11 +0200, Nadav Vinik wrote:
 Making:    all_mig.dpslo
 Compiling: desktop/source/migration/migration.cxx
 /home/projects/build/build/libreoffice-3.2.99.2/desktop/source/migration/migration.cxx:215:44:
 error: no 'void desktop::Migration::migrateSettingsIfNecessary()'
 member function declared in class 'desktop::Migration'
 dmake:  Error code 1, while making '../../unxlngi6.pro/slo/migration.obj'

 I believe that the problem is that migration.hxx was moved, but the
 rsync process can't handle that.

 so you need to manually remove the additional migration.hxx

 i.e.

 find /home/projects/build/build/libreoffice-3.2.99.2/desktop -name
 migration.hxx

 the one that *should* be there is

 desktop/inc/migration.hxx

 you'll have another one listed, remove that extra one and then
 additionally
 rm -rf /home/projects/build/build/libreoffice-3.2.99.2/desktop/unxl*.pro

 and try again.

thanks
work



 Alternatively

 rm -rf /home/projects/build/build/libreoffice-3.2.99.2/desktop
 touch clone/repos_changed
 make

 to remove desktop entirely, and force it to be resynced from scratch
 again.

 C.





-- 
הבלוג שלי:
http://nadavvin.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] build error in desktop no 'void desktop::Migration::migrateSettingsIfNecessary()'

2010-11-04 Thread Nadav Vinik
LO compiled successfully but failed to install:

|  |   Congratulation ! You have successfully built
|  | (  )  (  )(  ,)(  ,) (  _)  /  \(  _)(  _)(  )/ _)(  _)
|  |  )(__  )(  ) ,\ )  \  ) _) ( () )) _) ) _) )(( (_  ) _)
|__| ()(__)(___/(_)\_)(___)  \__/(_)  (_)  (__)\__)(___)
touch stamp/build


$ bin/ooinstall -l /home/projects/install
Reading setup from bin/setup
Running OOo installer
Subroutine installer::epmfile::getcwd redefined at
/home/projects/build/build/libreoffice-3.2.99.2/solenv/bin/modules/installer/epmfile.pm
line 43
Digest::MD5 object version 2.39 does not match bootstrap parameter
2.51 at /usr/lib/perl/5.10/DynaLoader.pm line 215.
Compilation failed in require at
/home/projects/build/build/libreoffice-3.2.99.2/solenv/bin/modules/installer/packagepool.pm
line 30.
BEGIN failed--compilation aborted at
/home/projects/build/build/libreoffice-3.2.99.2/solenv/bin/modules/installer/packagepool.pm
line 30.
Compilation failed in require at
/home/projects/build/build/libreoffice-3.2.99.2/solenv/bin/make_installer.pl
line 53.
BEGIN failed--compilation aborted at
/home/projects/build/build/libreoffice-3.2.99.2/solenv/bin/make_installer.pl
line 53.
Failed to install:  at solenv/bin/ooinstall line 96.
Failed to ooinstall at bin/ooinstall line 72.
na...@nadav-desktop:/home/projects/build$ bin/ooinstall -l
/home/projects/install
Reading setup from bin/setup
Running OOo installer
Subroutine installer::epmfile::getcwd redefined at
/home/projects/build/build/libreoffice-3.2.99.2/solenv/bin/modules/installer/epmfile.pm
line 43
Digest::MD5 object version 2.39 does not match bootstrap parameter
2.51 at /usr/lib/perl/5.10/DynaLoader.pm line 215.
Compilation failed in require at
/home/projects/build/build/libreoffice-3.2.99.2/solenv/bin/modules/installer/packagepool.pm
line 30.
BEGIN failed--compilation aborted at
/home/projects/build/build/libreoffice-3.2.99.2/solenv/bin/modules/installer/packagepool.pm
line 30.
Compilation failed in require at
/home/projects/build/build/libreoffice-3.2.99.2/solenv/bin/make_installer.pl
line 53.
BEGIN failed--compilation aborted at
/home/projects/build/build/libreoffice-3.2.99.2/solenv/bin/make_installer.pl
line 53.
Failed to install:  at solenv/bin/ooinstall line 96.
Failed to ooinstall at bin/ooinstall line 72.


thanks
Nadav

On Thu, Nov 4, 2010 at 1:44 PM, Nadav Vinik em...@nadavvin.com wrote:
 On Thu, Nov 4, 2010 at 12:22 PM, Caolán McNamara caol...@redhat.com wrote:
 On Thu, 2010-11-04 at 12:11 +0200, Nadav Vinik wrote:
 Making:    all_mig.dpslo
 Compiling: desktop/source/migration/migration.cxx
 /home/projects/build/build/libreoffice-3.2.99.2/desktop/source/migration/migration.cxx:215:44:
 error: no 'void desktop::Migration::migrateSettingsIfNecessary()'
 member function declared in class 'desktop::Migration'
 dmake:  Error code 1, while making '../../unxlngi6.pro/slo/migration.obj'

 I believe that the problem is that migration.hxx was moved, but the
 rsync process can't handle that.

 so you need to manually remove the additional migration.hxx

 i.e.

 find /home/projects/build/build/libreoffice-3.2.99.2/desktop -name
 migration.hxx

 the one that *should* be there is

 desktop/inc/migration.hxx

 you'll have another one listed, remove that extra one and then
 additionally
 rm -rf /home/projects/build/build/libreoffice-3.2.99.2/desktop/unxl*.pro

 and try again.

 thanks
 work



 Alternatively

 rm -rf /home/projects/build/build/libreoffice-3.2.99.2/desktop
 touch clone/repos_changed
 make

 to remove desktop entirely, and force it to be resynced from scratch
 again.

 C.





 --
 הבלוג שלי:
 http://nadavvin.com




-- 
הבלוג שלי:
http://nadavvin.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] build error in desktop no 'void desktop::Migration::migrateSettingsIfNecessary()'

2010-11-04 Thread Michael Meeks

On Thu, 2010-11-04 at 12:11 +0200, Nadav Vinik wrote:
 Making:all_mig.dpslo
 Compiling: desktop/source/migration/migration.cxx
 /home/projects/build/build/libreoffice-3.2.99.2/desktop/source/migration/migration.cxx:215:44:
 error: no 'void desktop::Migration::migrateSettingsIfNecessary()'
 member function declared in class 'desktop::Migration'

As Caolan says I moved migration.hxx - unfortunately the dependency
generation is also broken; so it is best to remove the entirel
desktop/unxlngi6.pro (or equivalent) output directory, and re-build that
module.

HTH,

Michael.

-- 
 michael.me...@novell.com  , Pseudo Engineer, itinerant idiot


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


Re: [Libreoffice] build error in desktop no 'void desktop::Migration::migrateSettingsIfNecessary()'

2010-11-04 Thread Wols Lists
On 04/11/10 10:22, Caolán McNamara wrote:
 On Thu, 2010-11-04 at 12:11 +0200, Nadav Vinik wrote:
  Making:all_mig.dpslo
  Compiling: desktop/source/migration/migration.cxx
  /home/projects/build/build/libreoffice-3.2.99.2/desktop/source/migration/migration.cxx:215:44:
  error: no 'void desktop::Migration::migrateSettingsIfNecessary()'
  member function declared in class 'desktop::Migration'
  dmake:  Error code 1, while making '../../unxlngi6.pro/slo/migration.obj'
 I believe that the problem is that migration.hxx was moved, but the
 rsync process can't handle that. 

Any particular reason why? Is there a reason it can't use --delete?

Actually, I can guess ... if it's syncing more than the migration
directory, then that'll be it. But if that's the case, can we sync the
directory above without -r, then sync migration itself with --delete?

What file is the rsync in? If no-one looks at it, I will ... :-)

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


Re: [Libreoffice] build error in desktop no 'void desktop::Migration::migrateSettingsIfNecessary()'

2010-11-04 Thread Sebastian Spaeth
On Thu, 04 Nov 2010 12:45:25 +, Wols Lists wrote:
 Any particular reason why? Is there a reason it can't use --delete?

Without knowing anything specific I would say because --delete would
remove all compiled files (and the unx* directory). So you would need
some exclude files as well AFAIK. Wouldn't the time be better spend
making the build work in rawbuild by default?

Sebastian


pgpEGs9zd8fkL.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] build error in desktop no 'void desktop::Migration::migrateSettingsIfNecessary()'

2010-11-04 Thread Wols Lists
On 04/11/10 13:46, Sebastian Spaeth wrote:
 On Thu, 04 Nov 2010 12:45:25 +, Wols Lists wrote:
 Any particular reason why? Is there a reason it can't use --delete?
 Without knowing anything specific I would say because --delete would
 remove all compiled files (and the unx* directory). So you would need
 some exclude files as well AFAIK. Wouldn't the time be better spend
 making the build work in rawbuild by default?

 Sebastian
Okay, I'll investigate that too.

However, it did strike me that just running a *second* rsync with
--delete over the source subdirectory might be a good idea (or it might
not :-)

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