no 'object' file generated ?

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Jan 19 11:06:58 PST 2015


Hey,

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

> Hey Markus,
>
> On Mon, Jan 19, 2015 at 10:54 AM, Markus Mohrhard
> <markus.mohrhard at googlemail.com> wrote:
> > Hey,
> >
> > On Mon, Jan 19, 2015 at 4:33 PM, Ashod Nakashian <ashnakash at 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 at XZ (public: __thiscall SwForm::~SwForm(void)) imported
> in function "public: void __thiscall
>
> ToxTextGeneratorTest::ChapterNumberWithTitleIsGeneratedForNumberNoPrepst(void)"
> (?ChapterNumberWithTitleIsGeneratedForNumberNoPrepst at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150119/14e65103/attachment.html>


More information about the LibreOffice mailing list