Re: Trying to build on Windows, multiple target patterns

2012-10-24 Thread Michael Stahl
On 17/10/12 14:14, Jeremy Brown wrote:
 OK, thanks everyone for the various suggestions.
 
 (I was already using the patched LibreOffice make but it was worth checking..)
 
 I'm attaching the contents of iacc.lib.d:948
 I was also sometimes getting the same error for ianimcore.lib.d:1:


problem should be fixed now, please rm -rf workdir/*/Dep/LinkTarget
workdir/*/Dep/UnoApiTarget and git pull and try again.

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


Re: Trying to build on Windows, multiple target patterns

2012-10-17 Thread Jeremy Brown
OK, thanks everyone for the various suggestions.

(I was already using the patched LibreOffice make but it was worth checking.)

I'm attaching the contents of iacc.lib.d:948
I was also sometimes getting the same error for ianimcore.lib.d:1:


I enabled the --disable-dependency-tracking option, and running make
again I then got error dialogs stating:

Microsoft Visual C++ Runtime Library
Runtime Error!
Program: D:\Dev\l...
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.

The errors in the build were:
Failed to load dynamic library: ...

for the following tests
workdir/wntmsci12.pro/LinkTarget/CppunitTest/test_i18npool_test_languagetag.dll
workdir/wntmsci12.pro/LinkTarget/CppunitTest/test_tools_test.dll
workdir/wntmsci12.pro/LinkTarget/CppunitTest/test_sot_test_sot.dll
workdir/wntmsci12.pro/LinkTarget/CppunitTest/test_svl_lngmisc.dll
workdir/wntmsci12.pro/LinkTarget/CppunitTest/test_basic_scanner.dll

The make process recommends:
Error: a unit test failed, please do one of:
export DEBUGCPPUNIT=TRUE# for exception catching
export GDBCPPUNITTRACE=gdb --args # for interactive debugging
export VALGRIND=memcheck# for memory checking

Are there any recommendations on which one I should try?

Is there anything else I should try to resolve the errors about dlls
failing to load?

(I'm also going through the wiki page Flavio linked to and trying to
make sure my Cygwin environment matches what he has, but I haven't
finished going through the list yet. I was using a Cygwin package set
based on what is at
http://wiki.documentfoundation.org/Development/Windows_Build_Dependencies,
but that has less packages that Flavio listed.)

Thanks,

Jeremy

On Tue, Oct 16, 2012 at 7:48 AM, Matúš Kukan matus.ku...@gmail.com wrote:
 My current problem is that I run make and it runs for a while and then
 dies in tail_build with an error like this:
 D:/Dev/libo/libo/workdir/wntmsci12.pro/Dep/LinkTarget/Library/iacc.lib.d:948:
 *** multiple target patterns. Stop.

 Oh, this one is probably new, related to
 changes in solenv/bin/concat-deps.c :
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=140281898f21f707582f395918e5234bdb67e435
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=d0bf1510632801e15f1f498320c90efb6d773d6e
 What is in 
 D:/Dev/libo/libo/workdir/wntmsci12.pro/Dep/LinkTarget/Library/iacc.lib.d
 ?


iacc.lib.d
Description: Binary data


ianimcore.lib.d
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Trying to build on Windows, multiple target patterns

2012-10-16 Thread David Ostrovsky

Hi,

Am 16.10.2012 07:57, schrieb Noel Grandin:


On 2012-10-15 20:40, Jeremy Brown wrote:


#1
My current problem is that I run make and it runs for a while and then
dies in tail_build with an error like this:
D:/Dev/libo/libo/workdir/wntmsci12.pro/Dep/LinkTarget/Library/iacc.lib.d:948: 


*** multiple target patterns. Stop.

You need the LO-specific gmake.
http://wiki.documentfoundation.org/Development/Windows_Build_Dependencies 

$ which make
/opt/lo/bin/make

$ make -version
GNU Make 3.82
[...]
LibreOffice patched version

and still:

$ make verbose=true tail_build
make -r -f /cygdrive/c/libo/Makefile.top tail_build
make[1]: Entering directory `/cygdrive/c/libo'
cd tail_build  /opt/lo/bin/make -j 2 -r gb_PARTIALBUILD=T
make[2]: Entering directory `/cygdrive/c/libo/tail_build'
C:/libo/workdir/wntmsci12.pro/Dep/LinkTarget/Library/ivcl.lib.d:217: *** 
multiple target patterns.  Stop.

make[2]: Leaving directory `/cygdrive/c/libo/tail_build'
make[1]: *** [tail_build] Error 2
make[1]: Leaving directory `/cygdrive/c/libo'
make: *** [tail_build] Error 2

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


Re: Trying to build on Windows, multiple target patterns

2012-10-16 Thread Matúš Kukan
On 15 October 2012 20:40, Jeremy Brown jeremy.r.br...@gmail.com wrote:
 #1
 My current problem is that I run make and it runs for a while and then
 dies in tail_build with an error like this:
 D:/Dev/libo/libo/workdir/wntmsci12.pro/Dep/LinkTarget/Library/iacc.lib.d:948:
 *** multiple target patterns. Stop.

Oh, this one is probably new, related to
changes in solenv/bin/concat-deps.c :
http://cgit.freedesktop.org/libreoffice/core/commit/?id=140281898f21f707582f395918e5234bdb67e435
http://cgit.freedesktop.org/libreoffice/core/commit/?id=d0bf1510632801e15f1f498320c90efb6d773d6e
What is in 
D:/Dev/libo/libo/workdir/wntmsci12.pro/Dep/LinkTarget/Library/iacc.lib.d
?

Tinderboxes do not suffer because they use --disable-dependency-tracking
You can use it if you do not intend to do incremental re-builds later.
If you add it to autogen.lastrun, also remove workdir/*/Dep

 #2
 Another question: I'm looking at Tinderbox, and if I'm trying to tell
 when a good time to build is, which Windows column should I be looking

W2008R2_16-minimal_build and Win-x86_6.
if Win-x86_6 fails in smoketest, that's fine, you'll be able to build.

 at? Also, is there any way to find out what build options (e.g. in
 autogen.lastrun) those builds are using, so I could try to copy them?

in full log, search for: 'running ./configure with'

 #3
 or this line:
 error CS1548: Cryptographic failure while signing assembly
 'd:\Dev\libo\libo\workdir\wntmsci12.pro\CliLibraryTarget\cli_basetypes.dll'
 -- 'Error reading key file
 'D:\\Dev\\libo\\libo\\solver\\wntmsci12.pro\\bin\\cliuno.snk' -- The
 system cannot find the file specified. '

This is bad, missing dependency, but it may disappear on next make, or
make cli_ure

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


Re: Trying to build on Windows, multiple target patterns

2012-10-16 Thread Flavio Moringa
I,

I've done a sucessful build using this steps:

http://wiki.documentfoundation.org/User:Foral/Build_Win

Also had to apply this patch:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=6cfe3c93dc55264e57f1057a2911d54232353d13

Hope it helps.

Cheers

-- 
*Flávio Moringa*
Project Leader



Caixa Mágica Software
Energia Open Source
Rua Soeiro Pereira Gomes, Lote 1 - 4.º B,
Edifício Espanha, 1600-196 Lisboa - Portugal
Tel.: +351 217 921 260 Fax: +351 217 921 261
http://www.caixamagica.pt
https://twitter.com/flaviomoringa
https://www.facebook.com/flaviomoringahttps://www.facebook.com/flavio.moringa
http://pt.linkedin.com/in/flaviomoringa
http://people.caixamagica.pt/flaviomoringa



2012/10/15 Jeremy Brown jeremy.r.br...@gmail.com

 I'm trying to build LibreOffice on Windows. I tried about a year ago
 but gave up because I couldn't figure it out. In the meantime, I set
 up a VirtualBox Kubuntu install and was able to build LibreOffice
 there. No big deal, but it's the first time I've ever really make'd
 something on Linux with LibreOffice's level of complexity.

 Anyways, I'm back to trying to build on Windows because I realized
 that the thing I'm interested in trying to 'fix' works just fine on
 Linux, and the difficulty is Windows-specific, so I really need a
 Windows build to test if what I'm doing works or not.

 OK, so I've been trying to build LibreOffice on Windows from master
 following the directions in the wiki, but I'm having a lot of trouble.
 I've tried being as careful as I can getting it all configured right,
 but maybe I missed something.

 So here are 4 sort of related questions...


 #1
 My current problem is that I run make and it runs for a while and then
 dies in tail_build with an error like this:
 D:/Dev/libo/libo/workdir/
 wntmsci12.pro/Dep/LinkTarget/Library/iacc.lib.d:948:
 *** multiple target patterns. Stop.

 I saw this pop up a few times too when I was trying to make various
 modules independently.. They would die with:
 ../LinkTarget/[Static]Library/foobar.lib.d:123: *** multiple
 target patterns. Stop.

 Does anyone recognize what this could be caused by?


 #2
 Another question: I'm looking at Tinderbox, and if I'm trying to tell
 when a good time to build is, which Windows column should I be looking
 at? Also, is there any way to find out what build options (e.g. in
 autogen.lastrun) those builds are using, so I could try to copy them?


 #3
 In my failed build on Windows, can anyone tell me if I should be
 concerned about these types of messages which I'm receiving quite a
 few of
 LinkTarget Library/glib-2.0.lib not defined: Assuming headers to be there!
 D:/Dev/libo/libo/solenv/inc/shlinfo.rc(55) : warning RC4003: not
 enough actual parameters for macro 'PPSX'
 C:/PROGRA~2/MICROS~1.0/VC/include\stdlib.h(772) : warning C4068: unknown
 pragma
 Command line warning D9025 : overriding '/DNOMINMAX' with '/UNOMINMAX'

 or this line:
 error CS1548: Cryptographic failure while signing assembly
 'd:\Dev\libo\libo\workdir\wntmsci12.pro
 \CliLibraryTarget\cli_basetypes.dll'
 -- 'Error reading key file
 'D:\\Dev\\libo\\libo\\solver\\wntmsci12.pro\\bin\\cliuno.snk' -- The
 system cannot find the file specified. '

 #4
 Finally, in tandem, I'm looking into the idea of cross compiling a
 Windows binary from Kubuntu (or whatever) based on the information
 here: http://wiki.documentfoundation.org/User:Ploum

 Is this a valid route for hacking on and testing a Windows build? Can
 I build and then copy files over to a Windows machine and run
 LibreOffice there?


 Thanks for any pointers anyone could provide.

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

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


Re: Trying to build on Windows, multiple target patterns

2012-10-15 Thread Noel Grandin


On 2012-10-15 20:40, Jeremy Brown wrote:


#1
My current problem is that I run make and it runs for a while and then
dies in tail_build with an error like this:
D:/Dev/libo/libo/workdir/wntmsci12.pro/Dep/LinkTarget/Library/iacc.lib.d:948:
*** multiple target patterns. Stop.

You need the LO-specific gmake.
http://wiki.documentfoundation.org/Development/Windows_Build_Dependencies





#3
In my failed build on Windows, can anyone tell me if I should be
concerned about these types of messages which I'm receiving quite a
few of
LinkTarget Library/glib-2.0.lib not defined: Assuming headers to be there!
D:/Dev/libo/libo/solenv/inc/shlinfo.rc(55) : warning RC4003: not
enough actual parameters for macro 'PPSX'
C:/PROGRA~2/MICROS~1.0/VC/include\stdlib.h(772) : warning C4068: unknown pragma
Command line warning D9025 : overriding '/DNOMINMAX' with '/UNOMINMAX'



You can ignore those.

Disclaimer: http://www.peralex.com/disclaimer.html


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