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

ant and environment variables apparently broken with gcj (was: ant and environment variables broken on kFreeBSD?)



[ -bsd can be dropped I guess, but CC'ing now again to clean
thi sup, ad it's not BSD-specific ]

Hi,

On Thu, Jun 16, 2011 at 09:15:19PM +0200, Rene Engelhard wrote:
> libreoffice 3.3.3-1 fails to build on kfreebsd-* with the following
> (see https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=kfreebsd-amd64&ver=1%3A3.3.3-1&stamp=1308240320 and https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=kfreebsd-i386&ver=1%3A3.3.3-1&stamp=1308246204, searc
> for swing-ex:
> 
> --- snip ---
> get-swing-ex:
> 
> BUILD FAILED
> /build/buildd-libreoffice_3.3.3-1-kfreebsd-amd64-091elA/libreoffice-3.3.3/libreoffice-build/build/libreoffice-3.3.3.1/rhino/unxkfgx6.pro/misc/build/rhino1_5R5/build.xml:51: The following error occurred while executing this line:
> /build/buildd-libreoffice_3.3.3-1-kfreebsd-amd64-091elA/libreoffice-3.3.3/libreoffice-build/build/libreoffice-3.3.3.1/rhino/unxkfgx6.pro/misc/build/rhino1_5R5/toolsrc/build.xml:43: src '/build/buildd-libreoffice_3.3.3-1-kfreebsd-amd64-091elA/libreoffice-3.3.3/libreoffice-build/build/libreoffice-3.3.3.1/rhino/unxkfgx6.pro/misc/build/rhino1_5R5/toolsrc/${solenv.TARFILE_LOCATION}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip' doesn't exist.
> 
> Total time: 5 seconds
> dmake:  Error code 1, while making './unxkfgx6.pro/misc/build/so_built_ooo_rhino'
> --- snip ---

Which now happened also on ia64.

> somehow it looks for /35c94d2df8893241173de1d16b6034c0-swingExSrc.zip in a
> weird location. Compare this with Linux:
> 
> --- snip ---
> get-swing-ex:
>     [unzip] Expanding: /build/buildd-libreoffice_3.3.3-1-i386-DUALGN/libreoffice-3.3.3/ext-sources/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip into /build/buildd-libreoffice_3.3.3-1-i386-DUALGN/libreoffice-3.3.3/libreoffice-build/build/libreoffice-3.3.3.1/rhino/unxlngi6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger
> --- snip ---
> 
> which is expected. $TARFILE_LOCATION is exported to "<source dir>/ext-sources/"
> in debian/rules, and the build.xml is supposed to pick it up - which it doesn't
> on kFreeBSD. Other (non-Java, non-inside ant) stuff fetch stuff from

s/on kfreeBSD/with gcj/

> $TARFILE_LOCATION just fine, so it seems to me that ant 1.8.2-2 doesn't
> pass the envvar properly.
> 
> The last build before this uploaded worked fine:
> https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=kfreebsd-i386&ver=1%3A3.3.2-4&stamp=1304680853, with ant 1.8.1-2...

Seems it happens on all the archs where gcj is used for the build, this
should then affect those archs:

OOO_GCJ_JDK_ARCHS := hppa ia64 kfreebsd-i386 kfreebsd-amd64 mips mipsel

Grüße/Regards,

René


Reply to: