Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2007 14:32:10 +0100
From:      Stefan Walter <sw@gegenunendlich.de>
To:        Bill Smith <bill@rakupottery.org.uk>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Problems installing JDK 1.5
Message-ID:  <20070310133210.GA932@kyuzo.dunkelkammer.void>
In-Reply-To: <45EDA3F5.6070102@rakupottery.org.uk>
References:  <x74pp8y50g.fsf@wittduen.ni.w21.org> <45E45AD4.7040005@lumeta.com> <20070227124644.U34426@n.cwu.edu> <Prayer.1.0.16.0702281417020.54865@oland.ni.w21.org> <45E58C52.3090001@lumeta.com> <45EDA3F5.6070102@rakupottery.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--d6Gm4EdcadzBjdND
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

Bill Smith, 06.03.07, 18:25h CET:

> I have been having problems with this as well, I have the linprocfs=20
> mounted, but the buil is
>  dying with the following error:
>=20
> ../../../src/share/classes/sun/net/www/protocol/http/HttpURLConnection.ja=
va:1186=20
>             : warning: non-varargs call of varargs method with inexact ar=
gument type=20
> for las             t parameter;
> cast to java.lang.Object for a varargs call
> cast to java.lang.Object[] for a non-varargs call and to suppress this=20
> warning
>                             return (IOException)ctr.newInstance(args);
>                                                                 ^
> ../../../src/share/classes/com/sun/jmx/mbeanserver/StandardMetaDataImpl.j=
ava:637=20
>             : warning: non-varargs call of varargs method with inexact ar=
gument type=20
> for las             t parameter;
> cast to java.lang.Object for a varargs call
> cast to java.lang.Object[] for a non-varargs call and to suppress this=20
> warning
>             result =3D meth.invoke(instance,null);
>                                           ^
> ../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl.=
java:16=20
>             2: warning: non-varargs call of varargs method with inexact a=
rgument type=20
> for la             st parameter;
> cast to java.lang.Object for a varargs call
> cast to java.lang.Object[] for a non-varargs call and to suppress this=20
> warning
>             moi=3D cons.newInstance(null);
>                                   ^
> Note: * uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 21 errors
> 12 warnings
> gmake[3]: *** [.compile.classlist] Error 1
> gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/ja=
va'
> gmake[2]: *** [all] Error 1
> gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java'
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
> gmake: *** [j2se-build] Error 2
> *** Error code 2
>=20
> Stop in /usr/ports/java/jdk15.

The warnings about varargs are harmless. The errors causing the build to
fail seem to have happened earlier and are not listed here.

It might be easier for you to just use the java/diablo-jdk15 port, which
installs precompiled binaries.

Regards,
Stefan

--d6Gm4EdcadzBjdND
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iQGVAwUBRfKzWlaRERsSueCzAQJXJQwAtCQacKeKhNOdBQEH9dzYJdMyYUsgRBki
eSF0mmkLv8YYh8l7IkDkeesp0Vay0K3DiQws/0sW6rDCIuCCc1OwtQHml8SWK1oO
CGAmyiiaQ3iN2kDPJ3eDaM1XA+TN8tJ/dGzEjXP8f8wtfMEMh7Kv+kse8zNYWWSD
5CJT4oA3mwd3iML0wOLqNaKyAZLQ8FcHRVOpo9igJKEMWR2TeesrELeGG128FfGb
yB7NPN8EaKiv3NYacGqYtvCDv+yJPx0Tysm+fuxZfA/SFiaSdobdSLB6OL2pcsMd
y0nriGz1oAo289+mFG9NR16JYF0yewLibU4v5ia7Kq2tfSr0kpXK+EwfanKdPVNJ
z54gkisSv5OL+rTGJDSdjmdOC0zzSa6TvhS/fq9vYgvVpH29D1gat1lPNdbtftEo
HVlwTKMHErQdV1fGXKmr8vRTqw1K9o2I6UkmksWpKpiitep3rLM8fKyhPNKBv3Yq
dzMVuliQIY8jTiURNTDDeCtdFaSzmXeE
=8EQi
-----END PGP SIGNATURE-----

--d6Gm4EdcadzBjdND--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070310133210.GA932>