Build Problem with Lode

Jason Marshall j_k_marshall_2004 at live.com
Sun Dec 11 21:30:54 UTC 2016


Hi Noel

Noel Grandin wrote:

> Jason what kind of Windows is this? Because it seems like some part of the Windows jscript runtime is not properly installed. Did you remove any Windows components perhaps?

My Windows set-up is described as follows:

  *   Windows 7 Home Premium
  *   Service Pack 1
  *   32-bit

I can also confirm that the 'Programs and Features' part of Control Panel identifies that 'Microsoft Visual Studio Community 2013 with Update 5' is installed.

I have tried to get some understanding of JScript and have inferred that for the purpose of building LibreOffice that it would require 'JScript .NET' as opposed to simply 'JScript', where the latter is for hosting JScript inside a webpage.  I have therefore checked the installation status of '.NET Framework' and can report that the following items are installed:

  *   Microsoft .NET Framework 4.5 Multi-Targeting Pack
  *   Microsoft .NET Framework 4.5 SDK
  *   Microsoft .NET Framework 4.5.1 Multi-Targeting Pack
  *   Microsoft .NET Framework 4.5.1 Multi-Targeting Pack (ENU)
  *   Microsoft .NET Framework 4.5.1 SDK
  *   Microsoft .NET Framework 4.6.1

I have also checked in the 'Services' section of the 'Administrative Tools' section of Control Panel and have identified that the following entries are apparent with the associated 'Status' and 'Startup Type':

  *   Microsoft .NET Framework NGEN v2.0.50727_X86
     *   Status: null
     *   Startup Type: Disabled
  *   Microsoft .NET Framework NGEN v4.0.30319_X86
     *   Status: null
     *   Startup Type: Automatic (Delayed Start)

Assuming there is nothing untoward about the JScript set-up as described above and that I am not 'barking up the wrong tree' in making reference to the .NET Framework, is there any way to more generally confirm that my JScript set-up in Windows is okay?

Thanks

Jason
On 11/12/2016 17:42, Noel Grandin wrote:
Jason what kind of Windows is this? Because it seems like some part of the Windows jscript runtime is not properly installed. Did you remove any Windows components perhaps?
On Sun, 11 Dec 2016 at 19:39, Oliver Brinzing <Oliver.Brinzing at gmx.de<mailto:Oliver.Brinzing at gmx.de>> wrote:

Hi Jason,

 >> C:\cygwin\lode\dev\core\workdir\UnpackedTarball\xml2\win32\configure.js(181, 2) Microsoft
JScript > runtime error: Automation server can't create object

i cannot confirm your build problems, but building current master with a fresh lode setup (win 10
64bit, vs2013) fails for me too.



Regards
Oliver


[SLC] sw
warn:sal.rtl:9680:14236:sal/rtl/bootstrap.cxx:379: couldn't open file:
file:///D:/lo_sources/lode/dev/core/workdir/LinkTarget/Executable/cppunittester.ini
warn:vcl.pdfwriter:9680:14236:vcl/source/gdi/pdfwriter_impl.cxx:6844:
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der private Schlüssel für die
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign:
PDFWriter::Sign() failed
D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testPDFAdd
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testPDFAdd finished in: 172ms
warn:vcl.pdfwriter:9680:14236:vcl/source/gdi/pdfwriter_impl.cxx:6844:
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der private Schlüssel für die
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign:
PDFWriter::Sign() failed
D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testPDFAdd2
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testPDFAdd2 finished in: 23ms
PDFSigningTest::testPDFRemove finished in: 28ms
PDFSigningTest::testPDFRemoveAll finished in: 48ms
PDFSigningTest::testPDF14Adobe finished in: 27ms
PDFSigningTest::testPDF16Adobe finished in: 18ms
func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

warn:vcl.pdfwriter:9680:14236:vcl/source/gdi/pdfwriter_impl.cxx:6844:
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der private Schlüssel für die
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign:
PDFWriter::Sign() failed
D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testPDF16Add
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testPDF16Add finished in: 28ms
PDFSigningTest::testPDF14LOWin finished in: 14ms
PDFSigningTest::testPDFPAdESGood finished in: 12ms
PDFSigningTest::testPartial finished in: 10ms
warn:vcl.pdfwriter:9680:14236:vcl/source/gdi/pdfwriter_impl.cxx:6844:
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der private Schlüssel für die
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign:
PDFWriter::Sign() failed
D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testSigningCertificateAttribute
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testSigningCertificateAttribute finished in: 20ms
PDFSigningTest::testGood finished in: 52ms
PDFSigningTest::testTokenize finished in: 44ms
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:2237:
PDFDocument::ValidateSignature: unsupported sub-filter: 'ETSI.RFC3161'
warn:xmlsecurity.helper:9680:14236:xmlsecurity/source/helper/pdfsignaturehelper.cxx:59: failed to
determine digest match
PDFSigningTest::testUnknownSubFilter finished in: 146ms
func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
;last error=0 (0x00000000);last error msg=Der Vorgang wurde erfolgreich beendet.

D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx(172) : error : Assertion
Test name: PDFSigningTest::testPDFAdd
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx(172) : error : Assertion
Test name: PDFSigningTest::testPDFAdd2
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx(172) : error : Assertion
Test name: PDFSigningTest::testPDF16Add
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx(172) : error : Assertion
Test name: PDFSigningTest::testSigningCertificateAttribute
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

Failures !!!
Run: 14   Failure total: 4   Failures: 4   Errors: 0
warn:fwk:9680:14236:framework/source/services/desktop.cxx:1050: Desktop disposed before terminating it
warn:fwk:9680:14236:framework/source/services/desktop.cxx:189: Desktop not terminated before being
destructed

Error: a unit test failed, please do one of:
make CppunitTest_xmlsecurity_pdfsigning CPPUNITTRACE=TRUE # which is a shortcut for the following line
make CppunitTest_xmlsecurity_pdfsigning
CPPUNITTRACE="'C:/PROGRA~2/MICROS~2.0/VC//../Common7/IDE/devenv.exe' /debugexe" # for interactive
debugging in Visual Studio
make CppunitTest_xmlsecurity_pdfsigning CPPUNITTRACE="drmemory -free_max_frames 20" # for memory
checking (install Dr.Memory first, and put it to your PATH)

make[1]: *** [D:/lo_sources/lode/dev/core/solenv/gbuild/CppunitTest.mk:107:
D:/lo_sources/lode/dev/core/workdir/CppunitTest/xmlsecurity_pdfsigning.test] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:258: build] Error 2


_______________________________________________
LibreOffice mailing list
LibreOffice at lists.freedesktop.org<mailto:LibreOffice at lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/libreoffice



_______________________________________________
LibreOffice mailing list
LibreOffice at lists.freedesktop.org<mailto:LibreOffice at lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/libreoffice


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20161211/cefc0730/attachment.html>


More information about the LibreOffice mailing list