Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85E2F1884E for ; Sun, 13 Mar 2016 18:16:49 +0000 (UTC) Received: (qmail 38905 invoked by uid 500); 13 Mar 2016 18:16:44 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 38824 invoked by uid 500); 13 Mar 2016 18:16:44 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 38813 invoked by uid 99); 13 Mar 2016 18:16:44 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Mar 2016 18:16:44 +0000 Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id E70C31A0040 for ; Sun, 13 Mar 2016 18:16:43 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id d205so118883488oia.0 for ; Sun, 13 Mar 2016 11:16:43 -0700 (PDT) X-Gm-Message-State: AD7BkJL55AFJmhGiyxYAOspSTbxbLwh4sLqLjsMQlI3roP4Xut6VKy84kkfRHk4J1bNyTYd9ZZ1zeV3GbOH+uQ== X-Received: by 10.202.177.3 with SMTP id a3mr11489558oif.2.1457893002840; Sun, 13 Mar 2016 11:16:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.38.168 with HTTP; Sun, 13 Mar 2016 11:16:23 -0700 (PDT) In-Reply-To: <56E5A833.3040604@acm.org> References: <56E57FC4.8050703@acm.org> <56E59300.90706@acm.org> <56E5A70D.5050807@acm.org> <56E5A833.3040604@acm.org> From: Damjan Jovanovic Date: Sun, 13 Mar 2016 20:16:23 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Build without doing any tests? To: Apache OO Content-Type: text/plain; charset=UTF-8 If it's OSL_ASSERT, it's probably the non product build story, though I am not sure why that's bringing up dialogs at compile time. Maybe the Google Tests are working too well: they initialize sal, so failures in OSL_ASSERT (as opposed to in the Google Test APIs) could be bringing up dialogs just like when AOO is running... If that's the case, you can disable the tests for now with --disable-unit-tests, but we should really fix that somehow: OSL_ASSERT failures in compile-time unit tests should not interact with the user. On Sun, Mar 13, 2016 at 7:49 PM, Patricia Shanahan wrote: > It looks as though the attached .pdf image did not get through. Here is the > data from it: > > The error was in main/sal/osl/w32/process.cxx, line 340, null message. The > assertion is "OSL_ASSERT(g_command_args.m_nCount > 0);" > > > On 3/13/2016 10:44 AM, Patricia Shanahan wrote: >> >> Hi Damjan, >> >> I got another one. This is a cygwin build on Windows 8.1. >> >> I'll leave it alone for a bit in case there is more information I should >> capture. It may be possible to attach a debugger to the process. >> >> Here are the last few lines from the build output: >> >> Creating library >> >> c:/OpenOfficeDev/Trunk/main/solver/420/wntmsci12/workdir/LinkTarget/Library/ivbaswobj.lib >> and object >> >> c:/OpenOfficeDev/Trunk/main/solver/420/wntmsci12/workdir/LinkTarget/Library/ivbaswobj.exp >> >> [ build CMP ] sw/util/vbaswobj >> [ build PKG ] sw_misc >> [ build PKG ] sw_uiconfig >> [ build PKG ] sw_xml >> [ build MOD ] sw >> [ build ALL ] top level modules: sw >> [ build ALL ] loaded modules: sw >> [ build CXX ] sw/qa/core/Test-BigPtrArray >> Test-BigPtrArray.cxx >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(86) : >> warning C4100: 'bparr' : unreferenced formal parameter >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(98) : >> warning C4018: '<' : signed/unsigned mismatch >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(102) : >> warning C4100: 'name' : unreferenced formal parameter >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(111) : >> warning C4018: '<' : signed/unsigned mismatch >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(113) : >> warning C4389: '!=' : signed/unsigned mismatch >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(121) : >> warning C4018: '<' : signed/unsigned mismatch >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(222) : >> warning C4389: '==' : signed/unsigned mismatch >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(224) : >> warning C4018: '<' : signed/unsigned mismatch >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(275) : >> warning C4018: '<' : signed/unsigned mismatch >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(305) : >> warning C4018: '<' : signed/unsigned mismatch >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(337) : >> warning C4018: '<' : signed/unsigned mismatch >> c:/OpenOfficeDev/Trunk/main/sw/qa/core/Test-BigPtrArray.cxx(363) : >> warning C4018: '<' : signed/unsigned mismatch >> [ build LNK ] GoogleTest/sw_bigpointerarray.exe >> Microsoft (R) Incremental Linker Version 9.00.30729.01 >> Copyright (C) Microsoft Corporation. All rights reserved. >> >> >> c:/OpenOfficeDev/Trunk/main/solver/420/wntmsci12/workdir/CxxObject/sw/qa/core/Test-BigPtrArray.o >> >> [ build CUT ] sw_bigpointerarray >> >> >> On 3/13/2016 10:01 AM, Damjan Jovanovic wrote: >>> >>> It is highly unusual to get a dialog during build. Please send a >>> screenshot next time. >>> >>> "./configure --help" is probably the best - I couldn't find anything >>> better so far. >>> >>> >>> On Sun, Mar 13, 2016 at 6:19 PM, Patricia Shanahan wrote: >>>> >>>> I also have no idea which tests - I just know I was greeted this >>>> morning by >>>> an incomplete build and the form of AOO dialog I only see from a debug >>>> build. The build resumed as soon as I answered the dialog. >>>> >>>> I'll try --disable-unit-tests next time I start a build. >>>> >>>> Is there a general document describing all the AOO configure >>>> parameters? If >>>> so, I should read it. >>>> >>>> Thanks, >>>> >>>> Patricia >>>> >>>> >>>> On 3/13/2016 9:11 AM, Damjan Jovanovic wrote: >>>>> >>>>> >>>>> I am not sure which tests you are talking about and at what stage of >>>>> the build process they occur. The Google Test unit tests don't bring >>>>> up dialogs AFAIK, but can be disabled by passing --disable-unit-tests >>>>> to ./configure. If this happens after starting AOO then see >>>>> https://wiki.openoffice.org/wiki/Non_Product_Build - in brief >>>>> Alt+Shift+Ctrl+D, set "Error" to something other than "MessageBox", >>>>> "OK", exit AOO, back up the .dbgsv.ini somewhere, and from then on >>>>> start AOO with the environment variable DBGSV_INIT set to the path of >>>>> that .dbgsv.ini you backed up. >>>>> >>>>> On Sun, Mar 13, 2016 at 4:57 PM, Patricia Shanahan >>>>> wrote: >>>>>> >>>>>> >>>>>> I am currently building a debug version of AOO, including using >>>>>> --enable-dbgutil. I lost a few hours overnight because it did a >>>>>> test that >>>>>> triggered an assertion dialog, and waited for me to wake up and click >>>>>> "No" >>>>>> to continue. >>>>>> >>>>>> I would prefer to separate building and the tests that are normally >>>>>> done >>>>>> during "build --all", so that I can build while I am away from the >>>>>> computer >>>>>> and test while I'm there to respond to any dialogs. >>>>>> >>>>>> Patricia >>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org >>>>> For additional commands, e-mail: dev-help@openoffice.apache.org >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org >>>> For additional commands, e-mail: dev-help@openoffice.apache.org >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org >>> For additional commands, e-mail: dev-help@openoffice.apache.org >>> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org >> For additional commands, e-mail: dev-help@openoffice.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org > For additional commands, e-mail: dev-help@openoffice.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org For additional commands, e-mail: dev-help@openoffice.apache.org