You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Rob Weir <ro...@apache.org> on 2011/09/06 20:21:45 UTC
[LINUX-BUILD] Developer Education -- Building on Linux event starts now
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
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Marc-Oliver Straub <st...@sb-software.de>.
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 <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <X11/extensions/Xrandr.h>
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
>
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Mathias Bauer <Ma...@gmx.net>.
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 <stdio.h>
>> | #ifdef HAVE_SYS_TYPES_H
>> | # include <sys/types.h>
>> | #endif
>> | #ifdef HAVE_SYS_STAT_H
>> | # include <sys/stat.h>
>> | #endif
>> | #ifdef STDC_HEADERS
>> | # include <stdlib.h>
>> | # include <stddef.h>
>> | #else
>> | # ifdef HAVE_STDLIB_H
>> | # include <stdlib.h>
>> | # endif
>> | #endif
>> | #ifdef HAVE_STRING_H
>> | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
>> | # include <memory.h>
>> | # endif
>> | # include <string.h>
>> | #endif
>> | #ifdef HAVE_STRINGS_H
>> | # include <strings.h>
>> | #endif
>> | #ifdef HAVE_INTTYPES_H
>> | # include <inttypes.h>
>> | #endif
>> | #ifdef HAVE_STDINT_H
>> | # include <stdint.h>
>> | #endif
>> | #ifdef HAVE_UNISTD_H
>> | # include <unistd.h>
>> | #endif
>> | #include <X11/extensions/Xrandr.h>
>> 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
>>>
>>
>>
>
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Marc-Oliver Straub <op...@sb-software.de>.
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 <stdio.h>
> | #ifdef HAVE_SYS_TYPES_H
> | # include <sys/types.h>
> | #endif
> | #ifdef HAVE_SYS_STAT_H
> | # include <sys/stat.h>
> | #endif
> | #ifdef STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # ifdef HAVE_STDLIB_H
> | # include <stdlib.h>
> | # endif
> | #endif
> | #ifdef HAVE_STRING_H
> | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
> | # include <memory.h>
> | # endif
> | # include <string.h>
> | #endif
> | #ifdef HAVE_STRINGS_H
> | # include <strings.h>
> | #endif
> | #ifdef HAVE_INTTYPES_H
> | # include <inttypes.h>
> | #endif
> | #ifdef HAVE_STDINT_H
> | # include <stdint.h>
> | #endif
> | #ifdef HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | #include <X11/extensions/Xrandr.h>
> 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
>>
>
>
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Marc-Oliver Straub <op...@sb-software.de>.
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 <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <X11/extensions/Xrandr.h>
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
>
[repo] extras/l10n, build.pl, source_config and gb_REPOS (was:
[LINUX-BUILD] Developer Education -- Building on Linux event starts now)
Posted by Eike Rathke <oo...@erack.de>.
Hi Pavel,
On Thursday, 2011-09-08 11:22:16 +0200, Pavel Janík wrote:
> Hmm, I forgot to send this yesterday.
>
> I "modified" build.pl to automatically add extras repository:
>
> --- /Users/pavel/.ooo/ooo/trunk/main/solenv/bin/build.pl 2011-08-28 20:19:41.000000000 +0200
> +++ solenv/bin/build.pl 2011-09-07 22:22:48.000000000 +0200
> @@ -1617,6 +1617,13 @@
>
> sub get_module_and_buildlist_paths {
> if ($build_all_parents || $checkparents) {
> +
> + # Perl Hackery: add repo extras explicitly
> + my $extras;
> + $extras = $source_config->get_module_path('vcl');
> + $extras =~ s|vcl|../extras|g;
> + $source_config->add_repository($extras);
> +
That works only for the "standard" (usual) layout though, moving
extras/l10n to another location would fail. I think what needs to be
done there is to evaluate the gb_REPOS environment variable and set its
contents as repositories instead of obtaining them from the
source_config file.
> This change is incorrect, should not be integrated. But shows what is
> needed to be changed somewhere. I can only read Perl, so do not ask me
> why I used this approach...
You perfectly explained why ;-)
Eike
--
PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Mathias Bauer <Ma...@gmx.net>.
Am 08.09.2011 20:53, schrieb Pavel Janík:
>> OK, sorry, I misunderstood your "this change is incorrect". So I
>> will try a new clean build with "--with-lang" from head. Eike is
>> right with his reservation, but I don't think that we need a
>> general patch here, your "hack" should be enough.
>
> The place where we hardcode extras repository is already in
> set_soenv.in. in build.pl, we should use gb_REPOS from the
> environment and add all not-yet-added repositories at the same place
> I hacked up.
Sounds good. I didn't see the change in set_soenv.in - too much mails
and not enough time. :-)
Regards,
Mathias
Re: [LINUX-BUILD] Developer Education -- Building on Linux event starts now
Posted by Pavel Janík <Pa...@Janik.cz>.
> OK, sorry, I misunderstood your "this change is incorrect". So I will
> try a new clean build with "--with-lang" from head. Eike is right with
> his reservation, but I don't think that we need a general patch here,
> your "hack" should be enough.
The place where we hardcode extras repository is already in set_soenv.in. in build.pl, we should use gb_REPOS from the environment and add all not-yet-added repositories at the same place I hacked up.
--
Pavel Janík
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Mathias Bauer <Ma...@gmx.net>.
Am 08.09.2011 20:13, schrieb Pavel Janík:
> Hi,
>
> On Sep 8, 2011, at 7:46 PM, Mathias Bauer wrote:
>
>> Thanks for the heads-up, I already discovered that the build doesn't
>> work.
>
> excuse me, but what doesn't work for you now?
>
> With the current tree (revision 1166829 now), without --with-lang, the build should work.
Yes.
> With --with-lang, it only works with proper source_config. The patch sent should workaround it (by brutal perl hack).
I couldn't build with --with-lang and source_config. Maybe the reason is
that I didn't do a clean build after the latest updates (I did a
autoconf and configure though).
>> What's the status with "source_config"? Do we still need it, do we
>> *want* to use it? The new build system doesn't need it, so probably
>> ditching source_config and hard coding "main" and "extras" somewhere in
>> the perl ball of mud would be an option.
>
> The patch sent does exactly that. It gets the repo (it is main) path by requesting the path to module vcl, and hardcodes ../extras as another repository.
OK, sorry, I misunderstood your "this change is incorrect". So I will
try a new clean build with "--with-lang" from head. Eike is right with
his reservation, but I don't think that we need a general patch here,
your "hack" should be enough. In the worst case (we finally move l10n
somewhere else) we would need a one-shot fix. As I wrote, source_config
should be considered as doomed (and so the need to specify repositories
here).
Besides that: I don't see a reason to change the structure of "main" and
"extras" anytime soon.
Regards,
Mathias
Re: [LINUX-BUILD] Developer Education -- Building on Linux event starts now
Posted by Pavel Janík <Pa...@Janik.cz>.
Hi,
On Sep 8, 2011, at 7:46 PM, Mathias Bauer wrote:
> Thanks for the heads-up, I already discovered that the build doesn't
> work.
excuse me, but what doesn't work for you now?
With the current tree (revision 1166829 now), without --with-lang, the build should work.
With --with-lang, it only works with proper source_config. The patch sent should workaround it (by brutal perl hack).
> What's the status with "source_config"? Do we still need it, do we
> *want* to use it? The new build system doesn't need it, so probably
> ditching source_config and hard coding "main" and "extras" somewhere in
> the perl ball of mud would be an option.
The patch sent does exactly that. It gets the repo (it is main) path by requesting the path to module vcl, and hardcodes ../extras as another repository.
--
Pavel Janík
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Mathias Bauer <Ma...@gmx.net>.
Am 08.09.2011 11:22, schrieb Pavel Janík:
>
> On Sep 7, 2011, at 9:32 PM, Pavel Janík wrote:
>
>>> AFAIK source_config is the only way to get build.pl to look outside the
>>> "main" repository/directory, so it is necessary.
>>>
>>> given that we now have a more fixed directory layout with the SVN repo,
>>> i guess it should be possible to hardcode the path to the "extras"
>>> directory and have configure put something in the environment or just
>>> make build.pl respect gb_REPOS which already exists, then we can finally
>>> get rid of this source_config nonsense.
>>
>> Yes, this is my goal after the clean build is finished.
>
>
> Hmm, I forgot to send this yesterday.
>
> I "modified" build.pl to automatically add extras repository:
>
> --- /Users/pavel/.ooo/ooo/trunk/main/solenv/bin/build.pl 2011-08-28 20:19:41.000000000 +0200
> +++ solenv/bin/build.pl 2011-09-07 22:22:48.000000000 +0200
> @@ -1617,6 +1617,13 @@
>
> sub get_module_and_buildlist_paths {
> if ($build_all_parents || $checkparents) {
> +
> + # Perl Hackery: add repo extras explicitly
> + my $extras;
> + $extras = $source_config->get_module_path('vcl');
> + $extras =~ s|vcl|../extras|g;
> + $source_config->add_repository($extras);
> +
> $source_config_file = $source_config->get_config_file_path();
> $active_modules{$_}++ foreach ($source_config->get_active_modules());
> my %active_modules_copy = %active_modules;
>
>
> This change is incorrect, should not be integrated. But shows what is needed to be changed somewhere. I can only read Perl, so do not ask me why I used this approach...
>
> With this change, you do not need source_config with localized builds.
Thanks for the heads-up, I already discovered that the build doesn't
work. Does that mean that we should just revert that change or does
somebody already have a better idea? For me perl also is a "read-only"
language (better: read only if I can't avoid it ;-)).
What's the status with "source_config"? Do we still need it, do we
*want* to use it? The new build system doesn't need it, so probably
ditching source_config and hard coding "main" and "extras" somewhere in
the perl ball of mud would be an option.
Regards,
Mathias
Re: [LINUX-BUILD] Developer Education -- Building on Linux event starts now
Posted by Pavel Janík <Pa...@Janik.cz>.
On Sep 7, 2011, at 9:32 PM, Pavel Janík wrote:
>> AFAIK source_config is the only way to get build.pl to look outside the
>> "main" repository/directory, so it is necessary.
>>
>> given that we now have a more fixed directory layout with the SVN repo,
>> i guess it should be possible to hardcode the path to the "extras"
>> directory and have configure put something in the environment or just
>> make build.pl respect gb_REPOS which already exists, then we can finally
>> get rid of this source_config nonsense.
>
> Yes, this is my goal after the clean build is finished.
Hmm, I forgot to send this yesterday.
I "modified" build.pl to automatically add extras repository:
--- /Users/pavel/.ooo/ooo/trunk/main/solenv/bin/build.pl 2011-08-28 20:19:41.000000000 +0200
+++ solenv/bin/build.pl 2011-09-07 22:22:48.000000000 +0200
@@ -1617,6 +1617,13 @@
sub get_module_and_buildlist_paths {
if ($build_all_parents || $checkparents) {
+
+ # Perl Hackery: add repo extras explicitly
+ my $extras;
+ $extras = $source_config->get_module_path('vcl');
+ $extras =~ s|vcl|../extras|g;
+ $source_config->add_repository($extras);
+
$source_config_file = $source_config->get_config_file_path();
$active_modules{$_}++ foreach ($source_config->get_active_modules());
my %active_modules_copy = %active_modules;
This change is incorrect, should not be integrated. But shows what is needed to be changed somewhere. I can only read Perl, so do not ask me why I used this approach...
With this change, you do not need source_config with localized builds.
--
Pavel Janík
Re: [LINUX-BUILD] Developer Education -- Building on Linux event starts now
Posted by Pavel Janík <Pa...@Janik.cz>.
> AFAIK source_config is the only way to get build.pl to look outside the
> "main" repository/directory, so it is necessary.
>
> given that we now have a more fixed directory layout with the SVN repo,
> i guess it should be possible to hardcode the path to the "extras"
> directory and have configure put something in the environment or just
> make build.pl respect gb_REPOS which already exists, then we can finally
> get rid of this source_config nonsense.
Yes, this is my goal after the clean build is finished.
Join us on IRC!
--
Pavel Janík
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Michael Stahl <ms...@openoffice.org>.
On 07.09.2011 21:08, Pavel Janík wrote:
>> it seems Eike has already committed your suggestion :)
>>
>> well, i don't care that much either way... as long as we can get a
>> working --with-lang build :)
>
> Yup. And that should be done now.
>
> Right now, we have to test if need source_config file and then we should be done with the first step.
AFAIK source_config is the only way to get build.pl to look outside the
"main" repository/directory, so it is necessary.
given that we now have a more fixed directory layout with the SVN repo,
i guess it should be possible to hardcode the path to the "extras"
directory and have configure put something in the environment or just
make build.pl respect gb_REPOS which already exists, then we can finally
get rid of this source_config nonsense.
Re: [LINUX-BUILD] Developer Education -- Building on Linux event starts now
Posted by Pavel Janík <Pa...@Janik.cz>.
> it seems Eike has already committed your suggestion :)
>
> well, i don't care that much either way... as long as we can get a
> working --with-lang build :)
Yup. And that should be done now.
Right now, we have to test if need source_config file and then we should be done with the first step.
--
Pavel Janík
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Michael Stahl <ms...@openoffice.org>.
On 07.09.2011 20:49, Michael Stahl wrote:
> On 07.09.2011 20:19, Pavel Janík wrote:
> now, which way do you prefer?
it seems Eike has already committed your suggestion :)
well, i don't care that much either way... as long as we can get a
working --with-lang build :)
> regards,
> michael
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Michael Stahl <ms...@openoffice.org>.
On 07.09.2011 20:19, Pavel Janík wrote:
> Hi,
>
>> sorry, apparently i was writing in too much of a hurry earlier today to
>> mention that i had already committed my (partial) fix to SVN.
>>
>> it's almost the same as yours, except i've taught gbuild to live without
>> RepositoryFixes.mk (empty one is kind of pointless), and the
>> Repository.mk is in extras/l10n.
>
> Repo*mk should be in extras because extras is a repository holding only one module - l10n. This repository is needed only when --with-lang is specified.
is extras a repository?
i thought extras was supposed to be a container for repositories, each
of which is optional (independent of other ones), and l10n is the only
such repository currently existing.
vaguely remember some mails about this, e.g.:
http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201108.mbox/%3C4E4AA8F9.3040502@gmx-topmail.de%3E
only problem is that build.pl/source_config may be too inflexible to do
it this way, but gbuild can :)
so what we have currently is that build.pl thinks that extras is a
repository, while gbuild thinks that extras/l10n is a repository.
> - Repository.mk file should be moved level up from l10n to extras
>
> - your change reverted (../l10n.. brought back, *Fixes* removal is OK)
>
> - this patch applied:
>
> Index: trunk/main/solenv/inc/settings.mk
> ===================================================================
> --- trunk/main/solenv/inc/settings.mk (revision 1166296)
> +++ trunk/main/solenv/inc/settings.mk (working copy)
> @@ -810,7 +810,7 @@
>
> .EXPORT : SOLARBINDIR
>
> -L10N_MODULE*=$(SOURCE_ROOT_DIR)/l10n/l10n
> +L10N_MODULE*=$(SOURCE_ROOT_DIR)/extras/l10n
> ALT_L10N_MODULE*=$(SOLARSRC)$/l10n_so
>
> .IF "$(WITH_LANG)"!=""
> Index: trunk/main/set_soenv.in
> ===================================================================
> --- trunk/main/set_soenv.in (revision 1166296)
> +++ trunk/main/set_soenv.in (working copy)
> @@ -1502,7 +1502,7 @@
>
> if ('@WITH_LANG@' ne "")
> {
> - $gb_REPOS .= " ".$SOURCE_ROOT_DIR."/extras/l10n";
> + $gb_REPOS .= " ".$SOURCE_ROOT_DIR."/extras";
> $BUILD_TYPE = "@BUILD_TYPE@ L10N";
> }
that would work as well of course :)
now, which way do you prefer?
regards,
michael
Re: [LINUX-BUILD] Developer Education -- Building on Linux event starts now
Posted by Pavel Janík <Pa...@Janik.cz>.
Hi,
> sorry, apparently i was writing in too much of a hurry earlier today to
> mention that i had already committed my (partial) fix to SVN.
>
> it's almost the same as yours, except i've taught gbuild to live without
> RepositoryFixes.mk (empty one is kind of pointless), and the
> Repository.mk is in extras/l10n.
Repo*mk should be in extras because extras is a repository holding only one module - l10n. This repository is needed only when --with-lang is specified.
- Repository.mk file should be moved level up from l10n to extras
- your change reverted (../l10n.. brought back, *Fixes* removal is OK)
- this patch applied:
Index: trunk/main/solenv/inc/settings.mk
===================================================================
--- trunk/main/solenv/inc/settings.mk (revision 1166296)
+++ trunk/main/solenv/inc/settings.mk (working copy)
@@ -810,7 +810,7 @@
.EXPORT : SOLARBINDIR
-L10N_MODULE*=$(SOURCE_ROOT_DIR)/l10n/l10n
+L10N_MODULE*=$(SOURCE_ROOT_DIR)/extras/l10n
ALT_L10N_MODULE*=$(SOLARSRC)$/l10n_so
.IF "$(WITH_LANG)"!=""
Index: trunk/main/set_soenv.in
===================================================================
--- trunk/main/set_soenv.in (revision 1166296)
+++ trunk/main/set_soenv.in (working copy)
@@ -1502,7 +1502,7 @@
if ('@WITH_LANG@' ne "")
{
- $gb_REPOS .= " ".$SOURCE_ROOT_DIR."/extras/l10n";
+ $gb_REPOS .= " ".$SOURCE_ROOT_DIR."/extras";
$BUILD_TYPE = "@BUILD_TYPE@ L10N";
}
--
Pavel Janík
Re: [LINUX-BUILD] Developer Education -- Building on Linux event starts now
Posted by eric b <er...@free.fr>.
Le 7 sept. 11 à 19:10, Michael Stahl a écrit :
> On 07.09.2011 13:49, eric b wrote:
>> Hi Michael,
>>
>>
>> thanks for your feedback :)
>
> hi Eric,
>
> sorry, apparently i was writing in too much of a hurry earlier
> today to mention that i had already committed my (partial) fix to SVN.
>
Ok.
> it's almost the same as yours, except i've taught gbuild to live
> without RepositoryFixes.mk (empty one is kind of pointless), and the
> Repository.mk is in extras/l10n.
>
You're right :-)
>> On my side, I'm testing something who seems to work, but I need
>> confirmation (build in progress on Windows). The idea was triggered
>> by Fabien Dobat remark (a student trying to build with me), because
>> of a bad gb_REPOS
>>
>> then I found two issues, one in set_soenv.in and one in solenv/inc/
>> settings.mk
>
> and i've completely overlooked settings.mk; guess my build will be
> only partially localized then :)
>
>> If I add the files and the instructions Pavel Janik told me, I got a
>> build who started, and a l10n directory found (remains a strange
>> issue in comphelper though).
>>
>>
>> See: http://ftp.educoo.org/home/ericb/patches/apache_ooo/
>> sources_trunk/
>
> are you a Committer?
Yes, I am.
>
> if yes. please commit the following from your patch (the rest
> should be in SVN already):
>
Just back, I see Pavel and Eike commited something, and I'll test it
tonight, or tomorrow (I'd like to see a fr build on Windows ^^ )
> Index: main/solenv/inc/settings.mk
> ===================================================================
> --- main/solenv/inc/settings.mk (revision 1166043)
> +++ main/solenv/inc/settings.mk (working copy)
> @@ -810,7 +810,7 @@
>
> .EXPORT : SOLARBINDIR
>
> -L10N_MODULE*=$(SOURCE_ROOT_DIR)/l10n/l10n
> +L10N_MODULE*=$(SOURCE_ROOT_DIR)/extras/l10n
> ALT_L10N_MODULE*=$(SOLARSRC)$/l10n_so
>
> .IF "$(WITH_LANG)"!=""
>
>
>> 1) put and apply the patch from the same location (as the same level
>> as main and extras
>> 2) copy source_config
>> 3) copy the Repository*.mk inside extras
>>
>> Thanks to Pavel Janik for his help and his patience :-)
>
> sorry for having duplicated your work :)
>
No problem, really : the essential is to see --with-lang= usable, and
glad to see things progress. The only remaining issue for me is that
I need source_config, but maybe a Windows specific issue.
Regards,
Eric
--
qɔᴉɹə
Education Project:
http://wiki.services.openoffice.org/wiki/Education_Project
Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.org/news
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Michael Stahl <ms...@openoffice.org>.
On 07.09.2011 13:49, eric b wrote:
> Hi Michael,
>
>
> thanks for your feedback :)
hi Eric,
sorry, apparently i was writing in too much of a hurry earlier today to
mention that i had already committed my (partial) fix to SVN.
it's almost the same as yours, except i've taught gbuild to live without
RepositoryFixes.mk (empty one is kind of pointless), and the
Repository.mk is in extras/l10n.
> On my side, I'm testing something who seems to work, but I need
> confirmation (build in progress on Windows). The idea was triggered
> by Fabien Dobat remark (a student trying to build with me), because
> of a bad gb_REPOS
>
> then I found two issues, one in set_soenv.in and one in solenv/inc/
> settings.mk
and i've completely overlooked settings.mk; guess my build will be only
partially localized then :)
> If I add the files and the instructions Pavel Janik told me, I got a
> build who started, and a l10n directory found (remains a strange
> issue in comphelper though).
>
>
> See: http://ftp.educoo.org/home/ericb/patches/apache_ooo/sources_trunk/
are you a Committer?
if yes. please commit the following from your patch (the rest should be
in SVN already):
Index: main/solenv/inc/settings.mk
===================================================================
--- main/solenv/inc/settings.mk (revision 1166043)
+++ main/solenv/inc/settings.mk (working copy)
@@ -810,7 +810,7 @@
.EXPORT : SOLARBINDIR
-L10N_MODULE*=$(SOURCE_ROOT_DIR)/l10n/l10n
+L10N_MODULE*=$(SOURCE_ROOT_DIR)/extras/l10n
ALT_L10N_MODULE*=$(SOLARSRC)$/l10n_so
.IF "$(WITH_LANG)"!=""
> 1) put and apply the patch from the same location (as the same level
> as main and extras
> 2) copy source_config
> 3) copy the Repository*.mk inside extras
>
> Thanks to Pavel Janik for his help and his patience :-)
sorry for having duplicated your work :)
> Eric
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Fabien DOBAT <fa...@gmail.com>.
Hello world
I am currently in training with OpenOffice.org and I'm trying to compile
Apache OpenOffice.org.
I try the first time since
http://svn-master.apache.org/repos/test/joes/ooo/trunk/main without success
Even after adding l10n and add most of the missing files.
So I recently downloaded the new link from AOOO (
http://incubator.apache.org/openofficeorg/source.html)
So I creat a source_config a the racine of AOOo and enter (before main and
extras):
[repositories]
extras=active
main=active
extras/l10n=active
Then, I copy the Repository.mk and RepositoryFixes.mk to my extras/l10n :
http://tmp.janik.cz/RepositoryFixes.mk
http://tmp.janik.cz/Repository.mk
And i do :
./configure --disable-gtk --disable-odk --with-lang=fr
./bootstrap
source LinuxX86Env.Set.sh
dmake (in the root folder)
And all this is being compiled, no errors this time.
Thank you to Erib and paveljanik for helping me to understand some errors
when compiling.
Hoping myself clearly expressed, I wish you a good day and keep you informed
of any errors.
2011/9/7 eric b <er...@free.fr>
> Hi Michael,
>
>
> thanks for your feedback :)
>
> On my side, I'm testing something who seems to work, but I need
> confirmation (build in progress on Windows). The idea was triggered by
> Fabien Dobat remark (a student trying to build with me), because of a bad
> gb_REPOS
>
> then I found two issues, one in set_soenv.in and one in solenv/inc/
> settings.mk
>
> If I add the files and the instructions Pavel Janik told me, I got a build
> who started, and a l10n directory found (remains a strange issue in
> comphelper though).
>
>
> See: http://ftp.educoo.org/home/**ericb/patches/apache_ooo/**
> sources_trunk/<http://ftp.educoo.org/home/ericb/patches/apache_ooo/sources_trunk/>
>
>
> 1) put and apply the patch from the same location (as the same level as
> main and extras
> 2) copy source_config
> 3) copy the Repository*.mk inside extras
>
> Thanks to Pavel Janik for his help and his patience :-)
>
>
> Eric
>
>
>
> Le 7 sept. 11 à 13:33, Michael Stahl a écrit :
>
>
> On 07.09.2011 09:13, eric b wrote:
>>
>> B) More important :
>>>
>>> * l10n causes a big breakage, and you must avoid using --with-lang= ....
>>>
>>> If ever a workaround exists, we should put it online, urgently.
>>>
>>> Have people building Apache OpenOffice.org is extremely important,
>>> and I'm ready to help the one interested.
>>>
>>
>> tried to fix this now, please try if you can get a --with-lang build.
>>
>> (haven't tested myself, my build will take some hours and i'll be away
>> now...)
>>
>> oh, guess you need a "source_config" in the "ooo" directory (which
>> contains "main"/"extras") containing:
>>
>>
>> [repositories]
>> main=active
>> extras=active
>>
>>
>> (btw, if only somebody please removed this source_config nonsense...)
>>
>> C) Design issue :
>>>
>>> Last but not least, we have Oracle logo at launch, in the
>>> splashscreen, and I'd like to know whether there is a plan for a new
>>> Design ? Ben Bois, our Designer (he did OOo4Kids and OOoLight
>>> design), is ok to help for new colors, and so on.
>>>
>>
>> of course the Oracle branding will have to be removed.
>>
>> On my side, I know well this part of code, and I could even replace
>>> the .bmp with a .png file at launch in the splashscreen. Better : we
>>> (including me) could mentor a student to make it ?
>>>
>>
>> any efforts in this direction are appreciated, so go for it :)
>>
>> regards,
>> michael
>>
>>
> --
> qɔᴉɹə
> Education Project:
> http://wiki.services.**openoffice.org/wiki/Education_**Project<http://wiki.services.openoffice.org/wiki/Education_Project>
> Projet OOo4Kids : http://wiki.ooo4kids.org/**index.php/Main_Page<http://wiki.ooo4kids.org/index.php/Main_Page>
> L'association EducOOo : http://www.educoo.org
> Blog : http://eric.bachard.org/news
>
>
>
>
>
>
--
Cordialement,
Fabien DOBAT.
Re: [LINUX-BUILD] Developer Education -- Building on Linux event starts now
Posted by eric b <er...@free.fr>.
Little upgrade: thanks again to Pavel Janik, who found that one path
was wrong.
A new patch replaces the previous one, but this is not fixed : remove
source_config and things no longer work :/
Thanks,
Eric
Le 7 sept. 11 à 13:49, eric b a écrit :
>
> See: http://ftp.educoo.org/home/ericb/patches/apache_ooo/
> sources_trunk/
--
qɔᴉɹə
Education Project:
http://wiki.services.openoffice.org/wiki/Education_Project
Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.org/news
[LINUX-BUILD] Developer Education -- Building on Linux event starts now
Posted by eric b <er...@free.fr>.
Hi Michael,
thanks for your feedback :)
On my side, I'm testing something who seems to work, but I need
confirmation (build in progress on Windows). The idea was triggered
by Fabien Dobat remark (a student trying to build with me), because
of a bad gb_REPOS
then I found two issues, one in set_soenv.in and one in solenv/inc/
settings.mk
If I add the files and the instructions Pavel Janik told me, I got a
build who started, and a l10n directory found (remains a strange
issue in comphelper though).
See: http://ftp.educoo.org/home/ericb/patches/apache_ooo/sources_trunk/
1) put and apply the patch from the same location (as the same level
as main and extras
2) copy source_config
3) copy the Repository*.mk inside extras
Thanks to Pavel Janik for his help and his patience :-)
Eric
Le 7 sept. 11 à 13:33, Michael Stahl a écrit :
> On 07.09.2011 09:13, eric b wrote:
>
>> B) More important :
>>
>> * l10n causes a big breakage, and you must avoid using --with-
>> lang= ....
>>
>> If ever a workaround exists, we should put it online, urgently.
>>
>> Have people building Apache OpenOffice.org is extremely important,
>> and I'm ready to help the one interested.
>
> tried to fix this now, please try if you can get a --with-lang build.
>
> (haven't tested myself, my build will take some hours and i'll be away
> now...)
>
> oh, guess you need a "source_config" in the "ooo" directory (which
> contains "main"/"extras") containing:
>
>
> [repositories]
> main=active
> extras=active
>
>
> (btw, if only somebody please removed this source_config nonsense...)
>
>> C) Design issue :
>>
>> Last but not least, we have Oracle logo at launch, in the
>> splashscreen, and I'd like to know whether there is a plan for a new
>> Design ? Ben Bois, our Designer (he did OOo4Kids and OOoLight
>> design), is ok to help for new colors, and so on.
>
> of course the Oracle branding will have to be removed.
>
>> On my side, I know well this part of code, and I could even replace
>> the .bmp with a .png file at launch in the splashscreen. Better : we
>> (including me) could mentor a student to make it ?
>
> any efforts in this direction are appreciated, so go for it :)
>
> regards,
> michael
>
--
qɔᴉɹə
Education Project:
http://wiki.services.openoffice.org/wiki/Education_Project
Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.org/news
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Michael Stahl <ms...@openoffice.org>.
On 07.09.2011 09:13, eric b wrote:
> B) More important :
>
> * l10n causes a big breakage, and you must avoid using --with-lang= ....
>
> If ever a workaround exists, we should put it online, urgently.
>
> Have people building Apache OpenOffice.org is extremely important,
> and I'm ready to help the one interested.
tried to fix this now, please try if you can get a --with-lang build.
(haven't tested myself, my build will take some hours and i'll be away
now...)
oh, guess you need a "source_config" in the "ooo" directory (which
contains "main"/"extras") containing:
[repositories]
main=active
extras=active
(btw, if only somebody please removed this source_config nonsense...)
> C) Design issue :
>
> Last but not least, we have Oracle logo at launch, in the
> splashscreen, and I'd like to know whether there is a plan for a new
> Design ? Ben Bois, our Designer (he did OOo4Kids and OOoLight
> design), is ok to help for new colors, and so on.
of course the Oracle branding will have to be removed.
> On my side, I know well this part of code, and I could even replace
> the .bmp with a .png file at launch in the splashscreen. Better : we
> (including me) could mentor a student to make it ?
any efforts in this direction are appreciated, so go for it :)
regards,
michael
Re: [LINUX-BUILD] Developer Education -- Building on Linux event
starts now
Posted by Rob Weir <ro...@apache.org>.
On Wed, Sep 7, 2011 at 3:13 AM, eric b <er...@free.fr> wrote:
> Hi,
>
>
> Le 6 sept. 11 à 20:21, Rob Weir a écrit :
>
>> As a reminder, the blog post on this event is here:
>>
>>
>> https://blogs.apache.org/OOo/entry/apache_openoffice_org_developer_education
>>
>
>
> Can we aggregate with another blog (.e.g mine ?) ? I'd like to explain what
> we currently do with the students from Epitech Paris, I'm mentoring, or what
> is scheduled with the 2 other who'll join us soon (from Ecole Centrale
> Nantes, France)
>
Hi Eric,
There is an Apache-wide blog aggregator for Committers. Instructions
for how to add your blog to the list is here:
http://planet.apache.org/
I don't think the AOOo project blog can aggregate other blogs.
That reminds me, we should probably look at migrating the Planet
OpenOffice.org aggregation as well. I will start a separate thread on
this.
-Rob
>
>
>> 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 documentationand/or the build
>> scripts.
>>
>> What are we looking for?
>>
>> 1) Errors in the build instructions
>>
>
>
> I didn't use it, but after some little cleanup, it should be ok.
>
>
>> 2) Errors in the build system that broke due to migration to SVN
>>
>
> A) Known issues (verified on Mac, Windows and Linux) :
>
> * some missing files, causing breakages :
> http://ftp.educoo.org/home/ericb/patches/apache_ooo/apache_ooo_missing.tar.gz
>
> Once fixed the missing files above, the en-US set can be built everywhere.
>
> B) More important :
>
> * l10n causes a big breakage, and you must avoid using --with-lang= ...
>
> If ever a workaround exists, we should put it online, urgently.
>
> Have people building Apache OpenOffice.org is extremely important, and I'm
> ready to help the one interested.
>
>
> C) Design issue :
>
> Last but not least, we have Oracle logo at launch, in the splashscreen, and
> I'd like to know whether there is a plan for a new Design ? Ben Bois, our
> Designer (he did OOo4Kids and OOoLight design), is ok to help for new
> colors, and so on.
>
> On my side, I know well this part of code, and I could even replace the .bmp
> with a .png file at launch in the splashscreen. Better : we (including me)
> could mentor a student to make it ?
>
>
>
>
>
>> 3) Encouraging new developers to start hacking with the code, to grow the
>> community
>>
>
> FYI, I'm mentoring several students (4, from Epitech Paris, and soon 2 from
> Ecole Centrale Nantes), around OpenOffice.org source code. they started with
> OOo4Kids, and are now building OpenOffice.org
>
>
>
> That's what we do, but to achieve that, we must have a way to communicate.
> Is there someone able to help us, on the coomunication side ?
>
>
> Regards,
> Eric
>>
>
> --
> qɔᴉɹə
> Education Project:
> http://wiki.services.openoffice.org/wiki/Education_Project
> Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
> L'association EducOOo : http://www.educoo.org
> Blog : http://eric.bachard.org/news
>
>
>
>
>
>
[LINUX-BUILD] Developer Education -- Building on Linux event starts now
Posted by eric b <er...@free.fr>.
A quick upgrade :
When downloading the sources from the Apache repository (see : http://
incubator.apache.org/openofficeorg/source.html ), it seems all files
are there. It means, the build should no longer break (at least en-
US). I'll restart a build on Windows in 5 minutes.
Thanks to the one who fixed the issue !
Eric
--
qɔᴉɹə
Education Project:
http://wiki.services.openoffice.org/wiki/Education_Project
Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.org/news
Re: [LINUX-BUILD] Developer Education -- Building on Linux event starts now
Posted by eric b <er...@free.fr>.
Hi,
Le 6 sept. 11 à 20:21, Rob Weir a écrit :
> As a reminder, the blog post on this event is here:
>
> https://blogs.apache.org/OOo/entry/
> apache_openoffice_org_developer_education
>
Can we aggregate with another blog (.e.g mine ?) ? I'd like to
explain what we currently do with the students from Epitech Paris,
I'm mentoring, or what is scheduled with the 2 other who'll join us
soon (from Ecole Centrale Nantes, France)
> 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
> documentationand/or the build scripts.
>
> What are we looking for?
>
> 1) Errors in the build instructions
>
I didn't use it, but after some little cleanup, it should be ok.
> 2) Errors in the build system that broke due to migration to SVN
>
A) Known issues (verified on Mac, Windows and Linux) :
* some missing files, causing breakages : http://ftp.educoo.org/home/
ericb/patches/apache_ooo/apache_ooo_missing.tar.gz
Once fixed the missing files above, the en-US set can be built
everywhere.
B) More important :
* l10n causes a big breakage, and you must avoid using --with-lang= ...
If ever a workaround exists, we should put it online, urgently.
Have people building Apache OpenOffice.org is extremely important,
and I'm ready to help the one interested.
C) Design issue :
Last but not least, we have Oracle logo at launch, in the
splashscreen, and I'd like to know whether there is a plan for a new
Design ? Ben Bois, our Designer (he did OOo4Kids and OOoLight
design), is ok to help for new colors, and so on.
On my side, I know well this part of code, and I could even replace
the .bmp with a .png file at launch in the splashscreen. Better : we
(including me) could mentor a student to make it ?
> 3) Encouraging new developers to start hacking with the code, to
> grow the community
>
FYI, I'm mentoring several students (4, from Epitech Paris, and soon
2 from Ecole Centrale Nantes), around OpenOffice.org source code.
they started with OOo4Kids, and are now building OpenOffice.org
That's what we do, but to achieve that, we must have a way to
communicate. Is there someone able to help us, on the coomunication
side ?
Regards,
Eric
>
--
qɔᴉɹə
Education Project:
http://wiki.services.openoffice.org/wiki/Education_Project
Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.org/news