Date: Sat, 3 Dec 2016 16:21:51 +0800 From: Julian Elischer <julian@freebsd.org> To: Ruslan Makhmatkhanov <cvs-src@yandex.ru>, Ruslan Makhmatkhanov <rm@FreeBSD.org>, "ports@FreeBSD.org" <ports@freebsd.org> Subject: Re: jython on FreeBSD 10 ports Message-ID: <f6af9d0c-e601-cb44-59fe-9405eac88d8c@freebsd.org> In-Reply-To: <4ccdece8-3308-f72b-ffc9-b135bc7e96e5@yandex.ru> References: <e2300443-42a7-c065-9c80-e75eed1e9c9c@freebsd.org> <5ecef8c4-cf1c-7184-5b6e-0cc903d2e113@FreeBSD.org> <91383314-6bea-76e5-7f5d-fdd8c7ff4e38@freebsd.org> <ddf61c5c-99a8-f88c-d898-2d37b6fcccbc@freebsd.org> <fbf8d791-b3c5-5d15-d9e6-bd1833a3e083@yandex.ru> <4f0416af-83dc-639d-8922-7836ce724d2e@freebsd.org> <4ccdece8-3308-f72b-ffc9-b135bc7e96e5@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/12/2016 12:46 AM, Ruslan Makhmatkhanov wrote: > Julian Elischer wrote on 12/02/2016 17:19: >> On 29/11/2016 1:57 PM, Ruslan Makhmatkhanov wrote: >>> Julian Elischer wrote on 11/29/2016 08:34: >>>> Ruslan, I'm just wondering if the 404 is supposed to be removed >>>> from the >>>> email address.... >>> >> >> I have it running but it insists on installing the entire JDK. Is it >> possible to use just the JRE? > > If I understand correctly there is no way to depend just upon JRE in > Mk/bsd.java.mk, so this is the reason why it depends upon the whole > JDK. But you may try something like that would seem odd there must be hundreds of packages that just want the runtime. Maybe someone in ports@ can comment? (CC'd) > > -USE_JAVA= yes > -JAVA_VERSION= 1.7+ > +JAVA=/usr/local/openjdk7/bin/java > +BUILD_DEPENDS+=java/openjdk7-jre > +RUN_DEPENDS+=java/openjdk7-jre > > to build a local package that only depends upon JRE 1.7. also the 1.7+ in effect means 1.8. even if 1.7 is installed the pkg will force an install of 1.8. > >>> Afaik the address is correct. I was able to google some of his >>> mailing >>> list submissions from that email: >>> https://marc.info/?a=137339713800014&r=1&w=4 >>> >>> If there would be no response from Sergey till the end of the week, >>> I'll try to answer myself. Maybe jython port just needs some >>> actualization in respect of JRE version. As far I understand, the >>> problem you are expecting was introduced into ports infrastructure at >>> some point after the jython update. >>> >>> Btw, has you tried to just build the port itself with enforcing >>> version 1.7? I'm not yet sure, but it looks like java 1.8 is now >>> default java version in ports tree. This is why pkg insisting on >>> installation of 1.8 >>> >>> >>>> >>>> On 29/11/2016 1:24 AM, Julian Elischer wrote: >>>>> On 23/11/2016 5:32 AM, Ruslan Makhmatkhanov wrote: >>>>>> Hi Julian, >>>>>> >>>>>> Julian Elischer wrote on 11/22/2016 09:46: >>>>>>> Firstly thanks for having done hte last jython update >>>>>>> you say in the notes that it should work with the 1.7 java. >>>>>>> but hte >>>>>>> pkg wants the openJDK8.0 as a dependency. >>>>>>> >>>>>>> so a couple of questions: >>>>>>> Firstly do we need the entire JDK? is the JRE not enough? >>>>>>> Secondly, how do we make it use the openJDK7-JRE that is already >>>>>>> installed on the machine? >>>>>>> >>>>>>> we don't have the room for the full JDK, and certainly not for >>>>>>> two >>>>>>> whole >>>>>>> copies (7 and 8). >>>>>>> >>>>>>> thanks >>>>>>> >>>>>>> Julian julian@freebsd.org with $JOB hat on. >>>>>> >>>>>> while I committed the update, the patch wasn't mine: I just >>>>>> checked >>>>>> the build etc. I added original submitter to cc in hope he'll >>>>>> be able >>>>>> to clarify the situation. >>>>>> >>>>>> Sergey, would you elaborate on JDK/JRE and 1.7/1.8 questions? >>>>>> Thank >>>>>> you! >>>>>> >>>>> Hi Sergey, >>>>> >>>>> thanks.. >>>>> I guess my question is: will pkg complain if 7 is installed and not >>>>> 8? (or do I need both?) and do I need to do anything special to >>>>> make >>>>> it work with 7? >>>>> >>>>> Julian > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f6af9d0c-e601-cb44-59fe-9405eac88d8c>