Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2010 01:06:29 -0700
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        David DEMELIER <demelier.david@gmail.com>, bug-followup@freebsd.org, Jung-uk Kim <jkim@freebsd.org>, freebsd-java@freebsd.org
Subject:   Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap
Message-ID:  <AANLkTi=TQn2ihZ8c5bdBkmhcM_FtGPTSD-AZJczV9y%2BF@mail.gmail.com>
In-Reply-To: <AANLkTimXSDb4bBWAV3kLsCdyMMVz6k4Vzx5nrnGa5HkN@mail.gmail.com>
References:  <201011032110.oA3LABd5097970@freefall.freebsd.org> <201011031751.47171.jkim@FreeBSD.org> <AANLkTim%2BxOQQ9ujHcF%2B-YTzX9_SXBkRXu_vQnNV_A7=-@mail.gmail.com> <201011031934.17767.jkim@FreeBSD.org> <AANLkTimXSDb4bBWAV3kLsCdyMMVz6k4Vzx5nrnGa5HkN@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 4, 2010 at 00:35, Baptiste Daroussin <bapt@freebsd.org> wrote:
> Bootstrapping jdk has always been an issue because it depends on
> non-free binary packages. Try to setup a package build cluster from
> scratch it won't work =A0because of openjdk.
>
> This solution is the easiest way to get openjdk6 without too much pain
> for the user. he will just have to portmaster java/openjdk6 or the way
> they usually install ports on there systems without being forced to
> install prebuilt dependencies or install non free software.

Indeed - that's what I like about this - you can do everything within
the normal ports work-flow - no using packages or dealing with the
diablo distfiles. It would be much more seamless for users. In the
suggested alternative, I would need to:
1) pkg_add openjdk
2) build openjdk from ports
3) uninstall openjdk from the package
4) install openjdk from the port

portmaster/upgrade can help with 2-4 but it still need manual
intervention beyond normal "make install clean."

And of course it assumes I know this situation exists - if I don't,
then I end up with an error related to fetching diablo distfiles that
doesn't present a way forward, other than install diablo as a build
dependency.

Also, what about using the official packages from the cluster as the
bootstrap instead? That would solve the problem of manually built
packages getting behind.

--=20
Rob Farmer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=TQn2ihZ8c5bdBkmhcM_FtGPTSD-AZJczV9y%2BF>