Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE66C8D90 for ; Wed, 7 Sep 2011 18:58:49 +0000 (UTC) Received: (qmail 88631 invoked by uid 500); 7 Sep 2011 18:58:49 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 88561 invoked by uid 500); 7 Sep 2011 18:58:48 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 88544 invoked by uid 99); 7 Sep 2011 18:58:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 18:58:48 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Mathias_Bauer@gmx.net designates 213.165.64.23 as permitted sender) Received: from [213.165.64.23] (HELO mailout-de.gmx.net) (213.165.64.23) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 07 Sep 2011 18:58:39 +0000 Received: (qmail invoked by alias); 07 Sep 2011 18:58:18 -0000 Received: from d188172.adsl.hansenet.de (EHLO [192.168.1.250]) [80.171.188.172] by mail.gmx.net (mp017) with SMTP; 07 Sep 2011 20:58:18 +0200 X-Authenticated: #17242763 X-Provags-ID: V01U2FsdGVkX18cC5QIsWQcbzH+jUCA9CfJmYaxdKswTdC/o9lVG4 hSjKqoO1JbvO3m Message-ID: <4E67BECA.1010906@gmx.net> Date: Wed, 07 Sep 2011 20:58:18 +0200 From: Mathias Bauer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: [LINUX-BUILD] Developer Education -- Building on Linux event starts now References: <4E674BB2.1060107@sb-software.de> <4E677093.4060309@sb-software.de> In-Reply-To: <4E677093.4060309@sb-software.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Oliver, the smoketest fails because we don't allow assertions in it. Unfortunately debug builds trigger some additional assertions that usually don't happen. OTOH this particular one is dispensable. It's possible that I already turned it into a "trace" in the cws mba34issues01, I don't remember exactly. In case it's in your way, just do this (or at least make it a DBG_WARNING). If integration of said cws gives a conflict, it will be easy to resolve. Regards, Mathias Am 07.09.2011 15:24, schrieb Marc-Oliver Straub: > Also tried the --enable-debug switch on a clean directory. > > Build succeeds. > > Smoketest fails (full output see attachment). > Excerpt: > ... > Error: File > /tmp/apache_oo/copy/ooo/main/filter/source/config/cache/filtercache.cxx, > Line 227: Who disturb our "fill cache on demand" feature and force > loading of ALL data during office startup? Please optimize > your code, so a full filled filter cache is not realy needed here! > Backtrace: [0] > /tmp/apache_oo/copy/ooo/main/solver/340/unxlngx6.pro/installation/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3: > osl_assertFailedLine+0x17c > ... > Test name: (anonymous namespace)::Test::test > tearDown() failed > - uncaught exception of type com.sun.star.lang.DisposedException > - Binary URP bridge already disposed > > Failures !!! > Run: 1 Failure total: 2 Failures: 0 Errors: 2 > ... > > On 9/7/2011 12:47 PM, Marc-Oliver Straub wrote: >> Build succeeded. >> >> RedHat Enterprise Linux 5.6 x86_64 with gcc 4.1.2 >> Configure switches: --disable-randr --without-junit --disable-mozilla >> >> smoketestoo_native: OK (1) >> >> Problems encountered: >> 1) configure detects a X11 randr problem and aborts. Need to set >> --disable-randr manually. >> 2) system-provided gcc slist header file is buggy: need to add the >> following lines to >> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/slist: >> using std::__true_type; using std::__false_type; >> >> Randr problem details: >> checking whether to enable RandR support... checking for XRANDR... no >> checking X11/extensions/Xrandr.h usability... no >> checking X11/extensions/Xrandr.h presence... yes >> configure: WARNING: X11/extensions/Xrandr.h: present but cannot be >> compiled >> configure: WARNING: X11/extensions/Xrandr.h: check for missing >> prerequisite headers? >> configure: WARNING: X11/extensions/Xrandr.h: see the Autoconf >> documentation >> configure: WARNING: X11/extensions/Xrandr.h: section "Present But >> Cannot Be Compiled" >> configure: WARNING: X11/extensions/Xrandr.h: proceeding with the >> compiler's result >> checking for X11/extensions/Xrandr.h... no >> configure: error: X11/extensions/Xrandr.h could not be found. X11 dev >> missing? >> >> config.log: >> configure:17552: checking whether to link to Xrender >> configure:17560: result: no, dynamically open it >> configure:17564: checking which Xrender headers to use >> configure:17580: result: internal >> configure:17637: checking whether to enable RandR support >> configure:17648: checking for XRANDR >> configure:17655: $PKG_CONFIG --exists --print-errors "xrandr >= 1.2" >> Requested 'xrandr >= 1.2' but version of Xrandr is 1.1.1 >> configure:17658: $? = 1 >> configure:17671: $PKG_CONFIG --exists --print-errors "xrandr >= 1.2" >> Requested 'xrandr >= 1.2' but version of Xrandr is 1.1.1 >> configure:17674: $? = 1 >> configure:17687: result: no >> Requested 'xrandr >= 1.2' but version of Xrandr is 1.1.1 >> configure:17716: checking X11/extensions/Xrandr.h usability >> configure:17716: gcc -c conftest.c >&5 >> In file included from conftest.c:56: >> /usr/include/X11/extensions/Xrandr.h:49: error: expected >> specifier-qualifier-list before 'Bool' >> /usr/include/X11/extensions/Xrandr.h:68: error: expected '=', ',', >> ';', 'asm' or '__attribute__' before 'XRRQueryExtension' >> /usr/include/X11/extensions/Xrandr.h:69: error: expected '=', ',', >> ';', 'asm' or '__attribute__' before 'XRRQueryVersion' >> /usr/include/X11/extensions/Xrandr.h:73: error: expected ')' before >> '*' token >> /usr/include/X11/extensions/Xrandr.h:85: error: expected '=', ',', >> ';', 'asm' or '__attribute__' before 'XRRSetScreenConfig' >> /usr/include/X11/extensions/Xrandr.h:93: error: expected '=', ',', >> ';', 'asm' or '__attribute__' before 'XRRSetScreenConfigAndRate' >> /usr/include/X11/extensions/Xrandr.h:104: error: expected '=', ',', >> ';', 'asm' or '__attribute__' before 'XRRConfigTimes' >> /usr/include/X11/extensions/Xrandr.h:115: error: expected ')' before >> '*' token >> /usr/include/X11/extensions/Xrandr.h:126: error: expected ')' before >> '*' token >> /usr/include/X11/extensions/Xrandr.h:127: error: expected ')' before >> '*' token >> /usr/include/X11/extensions/Xrandr.h:128: error: expected ')' before >> '*' token >> /usr/include/X11/extensions/Xrandr.h:136: error: expected ')' before >> '*' token >> /usr/include/X11/extensions/Xrandr.h:137: error: expected ')' before >> '*' token >> /usr/include/X11/extensions/Xrandr.h:138: error: expected ')' before >> '*' token >> /usr/include/X11/extensions/Xrandr.h:139: error: expected '=', ',', >> ';', 'asm' or '__attribute__' before 'XRRTimes' >> /usr/include/X11/extensions/Xrandr.h:147: error: expected ')' before >> '*' token >> configure:17716: $? = 1 >> configure: failed program was: >> | /* confdefs.h */ >> | #define PACKAGE_NAME "" >> | #define PACKAGE_TARNAME "" >> | #define PACKAGE_VERSION "" >> | #define PACKAGE_STRING "" >> | #define PACKAGE_BUGREPORT "" >> | #define PACKAGE_URL "" >> | #define STDC_HEADERS 1 >> | #define HAVE_SYS_TYPES_H 1 >> | #define HAVE_SYS_STAT_H 1 >> | #define HAVE_STDLIB_H 1 >> | #define HAVE_STRING_H 1 >> | #define HAVE_MEMORY_H 1 >> | #define HAVE_STRINGS_H 1 >> | #define HAVE_INTTYPES_H 1 >> | #define HAVE_STDINT_H 1 >> | #define HAVE_UNISTD_H 1 >> | #define SIZEOF_LONG 8 >> | #define HAVE_LIBCRYPT 1 >> | #define HAVE_X11_XAW_LABEL_H 1 >> | #define HAVE_LIBXAW 1 >> | /* end confdefs.h. */ >> | #include >> | #ifdef HAVE_SYS_TYPES_H >> | # include >> | #endif >> | #ifdef HAVE_SYS_STAT_H >> | # include >> | #endif >> | #ifdef STDC_HEADERS >> | # include >> | # include >> | #else >> | # ifdef HAVE_STDLIB_H >> | # include >> | # endif >> | #endif >> | #ifdef HAVE_STRING_H >> | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H >> | # include >> | # endif >> | # include >> | #endif >> | #ifdef HAVE_STRINGS_H >> | # include >> | #endif >> | #ifdef HAVE_INTTYPES_H >> | # include >> | #endif >> | #ifdef HAVE_STDINT_H >> | # include >> | #endif >> | #ifdef HAVE_UNISTD_H >> | # include >> | #endif >> | #include >> configure:17716: result: no >> configure:17716: checking X11/extensions/Xrandr.h presence >> configure:17716: gcc -E conftest.c >> configure:17716: $? = 0 >> configure:17716: result: yes >> configure:17716: WARNING: X11/extensions/Xrandr.h: present but cannot >> be compiled >> configure:17716: WARNING: X11/extensions/Xrandr.h: check for >> missing prerequisite headers? >> configure:17716: WARNING: X11/extensions/Xrandr.h: see the Autoconf >> documentation >> configure:17716: WARNING: X11/extensions/Xrandr.h: section >> "Present But Cannot Be Compiled" >> configure:17716: WARNING: X11/extensions/Xrandr.h: proceeding with the >> compiler's result >> configure:17716: checking for X11/extensions/Xrandr.h >> configure:17716: result: no >> configure:17720: error: X11/extensions/Xrandr.h could not be found. >> X11 dev missing? >> >> >> On 9/6/2011 8:21 PM, Rob Weir wrote: >>> As a reminder, the blog post on this event is here: >>> >>> https://blogs.apache.org/OOo/entry/apache_openoffice_org_developer_education >>> >>> >>> By my calculations it is already tomorrow in Asia, albeit very early. >>> But it is a good idea to started with the thread. >>> >>> Those who can help are encouraged to monitor the list as well as >>> #dev.openoffice.org on freenode. As we get reports of issues, respond >>> with them on this thread. We can then go back through the read at a >>> later date to pull out issues we can address in the documentation >>> and/or the build scripts. >>> >>> What are we looking for? >>> >>> 1) Errors in the build instructions >>> >>> 2) Errors in the build system that broke due to migration to SVN >>> >>> 3) Encouraging new developers to start hacking with the code, to grow >>> the community >>> >>> Have fun! >>> >>> -Rob >>> >> >> >