Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hey,

On Mon, Jan 19, 2015 at 7:55 PM, Ashod Nakashian <ashnakash@gmail.com>
wrote:

Hey Markus,

On Mon, Jan 19, 2015 at 10:54 AM, Markus Mohrhard
<markus.mohrhard@googlemail.com> wrote:
Hey,

On Mon, Jan 19, 2015 at 4:33 PM, Ashod Nakashian <ashnakash@gmail.com>
wrote:

Anyone know why Jenkins sometimes throws this error?



C:/cygwin/home/tdf/lode/jenkins/workspace/lo_gerrit_master/Gerrit/Gerrit/Platform/Windows/shell/source/win32/shlxthandler/util/utilities.cxx(110)
: error C2220: warning treated as error - no 'object' file generated


If you would have quoted the whole text you would have seen the error
yourself:

Right, and I suspected that. But, as Michael noted, this is unrelated
to my patch. And I had seen it before, and it works in subsequent
build attempts.

Also odd was that I Gerrit wouldn't give me a rebase option, even
though I knew I was behind. I rebased manually, pushed and build
started.

Build failed on Windows at another point, while Linux passed.

[multiple import warnings]
test_ToxTextGenerator.o : warning LNK4217: locally defined symbol
??1SwForm@@QAE@XZ (public: __thiscall SwForm::~SwForm(void)) imported
in function "public: void __thiscall

ToxTextGeneratorTest::ChapterNumberWithTitleIsGeneratedForNumberNoPrepst(void)"
(?ChapterNumberWithTitleIsGeneratedForNumberNoPrepst@ToxTextGeneratorTest
@@QAEXXZ)
make[2]: Leaving directory

'C:/cygwin/home/tdf/lode/jenkins/workspace/lo_gerrit_master/Gerrit/Gerrit/Platform/Windows'
Makefile:246: recipe for target 'build' failed




Nah, that is about some of the unit test which do some stufffor which MSVC
issues a warning. If you go up in the log you find the test failure that
results in the build failure:

Test name: Test_TextEffects_InStyleXml::Import_Export_Import
An uncaught exception of type com.sun.star.task.ErrorCodeIOException
- SfxBaseModel::impl_store <file:///C:/cygwin/tmp/luhd0w7j.tmp> failed: 0x507

Failures !!!
Run: 18 Failure total: 1 Failures: 0 Errors: 1

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE # for exception catching
export CPPUNITTRACE=""[full path to devenv.exe]" /debugexe" # for
interactive debugging in Visual Studio
export VALGRIND=memcheck # for memory checking

and retry using: make CppunitTest_sw_ooxmlw14export

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.