[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#211288: [PATCH] Build without JDK (updated)



Hi Josh,

Josh Triplett wrote:
> Package: openoffice.org
> Version: 1.0.99+1.1rc3-1.2pre1
> Severity: wishlist
> Tags: patch
> 
> With the attached patches, OpenOffice.org will build without a JDK
> installed.  These patches add checks for SOLAR_JAVA to various
> makefiles, source files, and setup lists.  They use xsltproc to replace
> the java xml manipulations in readlicense_oo and officecfg.  The patches
> apply to the latest CVS versions of the debian and ooo-build directories
> based on version 1.1rc3.

Thanks.

You said you tested it? After applying the patch OOo didn't build
anmore here:

=============
Building project soltools
=============
/home/rene/Debian/Pakete/OpenOffice.org/Hauptpakete/openoffice.org-1.0.99+1.1rc3/soltools/mkdepend
mkout -- version: 1.3
------------------------------
Making: ../unxlngi4.pro/misc/make_makedepend.dpc
NOT-Making: Depend-Lists
------------------------------
Making: ../unxlngi4.pro/obj/cppsetup.obj
ccache gcc -fmessage-length=0 -c -I.  -I. -I../inc -I../inc -I../unx/inc -I../unxlngi4.pro/inc -I. -I/home/rene/Debian/Pakete/OpenOffice.org/Hauptpakete/openoffice.org
-1.0.99+1.1rc3/solver/645/unxlngi4.pro/inc/dont_use_stl -I/home/rene/Debian/Pakete/OpenOffice.org/Hauptpakete/openoffice.org-1.0.99+1.1rc3/solver/645/unxlngi4.pro/inc/
external -I/home/rene/Debian/Pakete/OpenOffice.org/Hauptpakete/openoffice.org-1.0.99+1.1rc3/solver/645/unxlngi4.pro/inc -I/home/rene/Debian/Pakete/OpenOffice.org/Haupt
pakete/openoffice.org-1.0.99+1.1rc3/solenv/unxlngi4/inc -I/home/rene/Debian/Pakete/OpenOffice.org/Hauptpakete/openoffice.org-1.0.99+1.1rc3/solenv/inc -I/home/rene/Debi
an/Pakete/OpenOffice.org/Hauptpakete/openoffice.org-1.0.99+1.1rc3/res -I/home/rene/Debian/Pakete/OpenOffice.org/Hauptpakete/openoffice.org-1.0.99+1.1rc3/solver/645/unx
lngi4.pro/inc/dont_use_stl -I/home/rene/Debian/Pakete/OpenOffice.org/Hauptpakete/openoffice.org-1.0.99+1.1rc3/solenv/inc/Xp31 -I/usr/include -I/usr/include/linux -I/us
r/include/native_threads/include -I/usr/X11R6/include     -I. -I../res -I. -g1 -O1   -pipe -mcpu=pentiumpro   -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300 -D_U
SE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DPRODUCT -DNDEB
UG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSRX645  -DNO_X11 -DXP_PC -DHW_THREADS -DINCLUDEDIR=\".\" -DSINGLETHREAD   -o ../unxlngi4.pro/
obj/cppsetup.o cppsetup.c
In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/gconv.h:72: error: Syntaxfehler before "size_t"
/usr/include/gconv.h:88: error: Syntaxfehler before "size_t"
/usr/include/gconv.h:97: error: Syntaxfehler before "size_t"
/usr/include/gconv.h:174: error: Syntaxfehler before "size_t"
/usr/include/gconv.h:177: error: Syntaxfehler before '}' token
In file included from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/_G_config.h:47: error: field `__cd' has incomplete type
/usr/include/_G_config.h:50: error: field `__cd' has incomplete type
In file included from /usr/include/stdio.h:72,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/libio.h:350: error: Syntaxfehler before "size_t"
/usr/include/libio.h:359: error: Syntaxfehler before "size_t"
/usr/include/libio.h:467: error: Syntaxfehler before "_IO_sgetn"
/usr/include/libio.h:467: error: Syntaxfehler before "size_t"
In file included from def.h:39,
                 from cppsetup.c:29:
/usr/include/stdio.h:302: error: Syntaxfehler before "size_t"
/usr/include/stdio.h:309: error: Syntaxfehler before "size_t"
/usr/include/stdio.h:351: error: Syntaxfehler before "size_t"
/usr/include/stdio.h:355: error: Syntaxfehler before "size_t"
/usr/include/stdio.h:600: error: Syntaxfehler before "fread"
/usr/include/stdio.h:600: error: Syntaxfehler before "size_t"
/usr/include/stdio.h:606: error: Syntaxfehler before "fwrite"
/usr/include/stdio.h:606: error: Syntaxfehler before "size_t"
/usr/include/stdio.h:628: error: Syntaxfehler before "fread_unlocked"
/usr/include/stdio.h:628: error: Syntaxfehler before "size_t"
/usr/include/stdio.h:630: error: Syntaxfehler before "fwrite_unlocked"
/usr/include/stdio.h:630: error: Syntaxfehler before "size_t"
In file included from def.h:40,
                 from cppsetup.c:29:
/usr/include/stdlib.h:137: error: Syntaxfehler before "__ctype_get_mb_cur_max"
In file included from /usr/include/sys/types.h:133,
                 from /usr/include/stdlib.h:416,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/linux/time.h:10: error: Syntaxfehler before "time_t"
/usr/include/linux/time.h:12: error: Syntaxfehler before '}' token
/usr/include/linux/time.h:89: error: Syntaxfehler before "time_t"
/usr/include/linux/time.h:120: error: field `it_interval' has incomplete type
/usr/include/linux/time.h:121: error: field `it_value' has incomplete type
/usr/include/linux/time.h:125: error: field `it_interval' has incomplete type
/usr/include/linux/time.h:126: error: field `it_value' has incomplete type
In file included from /usr/include/sys/types.h:266,
                 from /usr/include/stdlib.h:416,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/bits/pthreadtypes.h:50: error: Syntaxfehler before "size_t"
/usr/include/bits/pthreadtypes.h:53: error: Syntaxfehler before "__stacksize"
In file included from def.h:40,
                 from cppsetup.c:29:
/usr/include/stdlib.h:433: error: Syntaxfehler before "size_t"
/usr/include/stdlib.h:462: error: Syntaxfehler before "size_t"
/usr/include/stdlib.h:556: error: Syntaxfehler before "__size"
/usr/include/stdlib.h:558: error: Syntaxfehler before "__nmemb"
/usr/include/stdlib.h:567: error: Syntaxfehler before "size_t"
In file included from /usr/include/stdlib.h:578,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/alloca.h:33: error: Syntaxfehler before "__size"
In file included from def.h:40,
                 from cppsetup.c:29:
/usr/include/stdlib.h:583: error: Syntaxfehler before "__size"
/usr/include/stdlib.h:739: error: Syntaxfehler before "size_t"
/usr/include/stdlib.h:743: error: Syntaxfehler before "size_t"
/usr/include/stdlib.h:812: error: Syntaxfehler before "size_t"
/usr/include/stdlib.h:815: error: Syntaxfehler before "size_t"
/usr/include/stdlib.h:819: error: Syntaxfehler before "size_t"
/usr/include/stdlib.h:822: error: Syntaxfehler before "size_t"
/usr/include/stdlib.h:830: error: Syntaxfehler before "size_t"
/usr/include/stdlib.h:833: error: Syntaxfehler before '*' token
/usr/include/stdlib.h:837: error: Syntaxfehler before "wchar_t"
/usr/include/stdlib.h:841: error: Syntaxfehler before "mbstowcs"
/usr/include/stdlib.h:841: error: Syntaxfehler before '*' token
/usr/include/stdlib.h:844: error: Syntaxfehler before "wcstombs"
/usr/include/stdlib.h:845: error: Syntaxfehler before '*' token
In file included from /usr/include/sys/stat.h:105,
                 from def.h:50,
                 from cppsetup.c:29:
/usr/include/bits/stat.h:70: error: field `st_atim' has incomplete type
/usr/include/bits/stat.h:71: error: field `st_mtim' has incomplete type
/usr/include/bits/stat.h:72: error: field `st_ctim' has incomplete type
/usr/include/gconv.h:176: Warnung: array `__data' assumed to have one element
dmake:  Error code 1, while making '../unxlngi4.pro/obj/cppsetup.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /home/rene/Debian/Pakete/OpenOffice.org/Hauptpakete/openoffice.org-1.0.99+1.1rc3/soltools/mkdepend
make: *** [debian/stampdir/solver] Fehler 1

sorry, this is german locale; Syntaxfehler = syntax error.

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73
      

Attachment: signature.asc
Description: Digital signature


Reply to: