Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2010 09:31:07 +0300
From:      Ion-Mihai Tetcu <itetcu@FreeBSD.org>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        Rob Farmer <rfarmer@predatorlabs.net>, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org, "Philip M. Gollucci" <pgollucci@p6m7g8.com>, cvs-ports@FreeBSD.org, glewis@FreeBSD.org
Subject:   Re: cvs commit: ports/java/jdk16 Makefile
Message-ID:  <20100609093107.382ed67b@it.buh.tecnik93.com>
In-Reply-To: <20100609035149.GA94751@misty.eyesbeyond.com>
References:  <201006082017.o58KHb1o039986@repoman.freebsd.org> <AANLkTik3R8LnuLk9NgrPHWkjntu_ufRaSkkdw5AzG--z@mail.gmail.com> <4C0EB5E8.5040009@p6m7g8.com> <20100609004757.7a61d6f6@it.buh.tecnik93.com> <20100609035149.GA94751@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/Gc2tGahM.FMwd/.o3La1/X=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Tue, 8 Jun 2010 20:51:49 -0700
Greg Lewis <glewis@eyesbeyond.com> wrote:

> On Wed, Jun 09, 2010 at 12:47:57AM +0300, Ion-Mihai Tetcu wrote:
> > On Tue, 8 Jun 2010 17:28:08 -0400
> > "Philip M. Gollucci" <pgollucci@p6m7g8.com> wrote:
> > > On 6/8/2010 4:34 PM, Rob Farmer wrote:
> > > > On Tue, Jun 8, 2010 at 1:17 PM, Ion-Mihai Tetcu
> > > > <itetcu@freebsd.org> wrote:
> > > >> itetcu      2010-06-08 20:17:37 UTC
> > > >>
> > > >>  FreeBSD ports repository
> > > >>
> > > >>  Modified files:
> > > >>    java/jdk16           Makefile
> > > >>  Log:
> > > >>  Mark BROKEN, I'm tired to see QAT loosing time trying to
> > > >> build it.
> > > >=20
> > > > Could you move this inside an .if defined(PACKAGE_BUILDING) or
> > > > something? It seems a little extreme (a lot of stuff has a jdk
> > > > dependency)
> >=20
> > I know, believe me:
> >  > ./QAT_getFailledDepends.sh -d java/jdk16
> > +--------------------------------------------+
> > | No. of failed ports becasue of java/jdk16: |
> > +--------------------------------------------+
> > |                                        145 |
> > +--------------------------------------------+
> >=20
> > > and I just built this yesterday on amd64 current with no issues.
> > > >=20
> > > Yeah I've built it too and recently (as much as I despise java)
> > > http://people.freebsd.org/~pgollucci/FreeBSD/logs/9-CURRENT-amd64-rub=
ygems18/jdk-1.6.0.3p4_15.log
> > >=20
> > > nothing against glewis, he's doing great work.
> >=20
> > It's been failing each time on QAT since 15.02, and for others since
> > January. I don't see what it has to do with package building.
> >=20
> > I guess it would nor err like this after:=20
> >  r200039/_FreeBSD_version 900003 for HEAD  and  r203299/800502
> > (QAT's base OS is a 8.0-RELEASE-p2)
> >=20
> > However it's failing for me on an other 8-STABLE tinderbox also,
> > which has a much newer base OS  kernel, but in a different way.
> >=20
> > I will invetigate more tomorrow, time permitting.
>=20
> Please revert your commit.  Its building fine for myself and many
> other users.

Done.

> I cannot reproduce the QAT failure and there are no PRs about it.

=46rom the point of view of something being reported as being broken,
please consider QATMail as having at least the same relevance as a PR.

> QAT complains thusly:
>=20
> ../../../../src/solaris/hpi/native_threads/src/interrupt_md.c:115:
> error: static declaration of 'sigignore' follows non-static
> declaration /usr/include/signal.h:103: error: previous declaration of
> 'sigignore' was here
>=20
> The build uses the following logic to detect the presence of
> sigignore:
>=20
> ifeq ($(OS_VENDOR),FreeBSD)
> OS_RELDATE :=3D $(shell sysctl kern.osreldate | cut -d' ' -f2)
> HAS_SIGIGNORE :=3D $(shell if [ $(OS_RELDATE) -ge 800502 -a
> $(OS_RELDATE) -lt 900000 -o $(OS_RELDATE) -ge 900003 ]; then echo
> "1"; fi) ifeq ($(HAS_SIGIGNORE),1) override HAVE_SIGIGNORE          =3D
> true endif
> endif
>=20
> I suspect that works for 99.9% of users but may fail for jailed=20
> applications like QAT where syctl outputs a kern.osreldate that
> doesn't match the userland headers.  I'm open to suggestions on
> different logic, but I don't feel the narrow failure mode justifies
> your change.=20

Philip's suggestion looks right to me.

> If you don't want QAT to build the port then modify QAT to be able to
> exclude ports rather than hurting the vast majority of users for whom
> this port does build.

That would be a two-liner (and would save some 6 minutes out of 10
spent on trying to build it), but no, I do want QAT and Pointy to be
able to buid it :)

> FWIW the port builds without problem on my 8.0-RELEASE-p2 amd64 box.

Well, while here, I also have trouble building it on an other
tinderbox, with the host OS (world and kernel) is May  2 20:17:59 EEST
2010, and the jails src from:

System	FreeBSD 8 (RELENG_8)	2010-01-10 21:57:10
http://t64.tecnik93.com//errors/8-STABLE-amd64/jdk-1.6.0.3p4_15.log

System	FreeBSD 7 (RELENG_7)	2009-12-13 03:47:54
http://t64.tecnik93.com//errors/7-STABLE-amd64/jdk-1.6.0.3p4_15.log


>>>Recursively making javac all @ Sun Jun  6 09:05:07 UTC 2010 ...
gmake[5]: Entering directory `/work/a/ports/java/jdk16/work/j2se/make/sun/j=
avac/javac'
/work/a/ports/java/jdk16/work/control/build/bsd-amd64/bin/java  -Xmx512m -X=
ms256m -classpath ../../../../make/tools/CompileProperties CompilePropertie=
s ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.prop=
erties /work/a/ports/java/jdk16/work/control/build/bsd-amd64/gensrc/com/sun=
/tools/javac/resources/compiler.java=20
There was an error trying to initialize the HPI library.
Could not create the Java virtual machine.
gmake[5]: *** [/work/a/ports/java/jdk16/work/control/build/bsd-amd64/gensrc=
/com/sun/tools/javac/resources/compiler.java] Error 1


--=20
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B

--Sig_/Gc2tGahM.FMwd/.o3La1/X=
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkwPNSwACgkQJ7GIuiH/oeWqxACfSs1dULXptWbL7uCI8K7pUSzC
P08An3QjpgLf3aEjlL8X4aeI9ydAX5Xn
=dfIo
-----END PGP SIGNATURE-----

--Sig_/Gc2tGahM.FMwd/.o3La1/X=--



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