Re: java/openjdk6 fails to build..
Hi all, i`m have the same problem, and I try to use MAKE_JOBS_NUMBER=1 in /etc/make.conf and it`s not work I put -DMAKES_JOBS_UNSAFE in make command line too make config-recursive fetch-recursive install clean -DMAKES_JOBS_UNSAFE and it`s not work too my box: Athlon 64 X2 4GB of RAM valvenda# uname -a FreeBSD valvenda 9.1-STABLE FreeBSD 9.1-STABLE #0 r247209: Sat Mar 2 12:56:12 BRT 2013 rizzo@valvenda:/usr/src/sys/amd64/compile/VALVENDA amd64 -- View this message in context: http://freebsd.1045724.n5.nabble.com/java-openjdk6-fails-to-build-tp5771110p5792045.html Sent from the freebsd-ports mailing list archive at Nabble.com. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
njrizzo ri...@i805.com.br writes: i`m have the same problem, and I try to use MAKE_JOBS_NUMBER=1 in /etc/make.conf and it`s not work That's not a good idea; it will apply to everything, not just this one port. I put -DMAKES_JOBS_UNSAFE in make command line too You have an extra 'S' in there; the variable should be MAKE_JOBS_UNSAFE. make config-recursive fetch-recursive install clean -DMAKES_JOBS_UNSAFE With default options and an up-to-date RELENG_9 and ports tree, that works fine for me (I tried it without the variable definition, but since the variable isn't used in any makefile, that shouldn't make any difference. Sorry, but since the problem seems to be on your end, we can't help you unless you show us enough detail to see what actually went wrong. Saying it doesn't work is not enough to figure out *how* it went wrong. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
On 12/01/2013 18:11, Stephen Montgomery-Smith wrote: On 12/21/2012 05:07 PM, Eitan Adler wrote: On 21 December 2012 13:49, Ronald Klop ronald-freeb...@klop.yi.org wrote: Try to set the environment variable MAKE_JOBS_NUMBER=1 before building. If this fixes it please let us know - its a bug in the makefile that needs to be fixed. Also try -DMAKES_JOBS_UNSAFE instead of MAKE_JOBS_NUMBER=1 the latter does -j1 which is subtly different than no -j at all. First, I wanted to correct a typo - it is -DMAKE_JOBS_UNSAFE (no S). Secondly, as of today, this bug must still be present, because I couldn't build devel/openjdk6 without the -DMAKE_JOBS_UNSAFE on my amd64 Intel i5 computer. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org Same for me, I can't build openjdk6 without the jobs setting. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
On 12/21/2012 05:07 PM, Eitan Adler wrote: On 21 December 2012 13:49, Ronald Klop ronald-freeb...@klop.yi.org wrote: Try to set the environment variable MAKE_JOBS_NUMBER=1 before building. If this fixes it please let us know - its a bug in the makefile that needs to be fixed. Also try -DMAKES_JOBS_UNSAFE instead of MAKE_JOBS_NUMBER=1 the latter does -j1 which is subtly different than no -j at all. First, I wanted to correct a typo - it is -DMAKE_JOBS_UNSAFE (no S). Secondly, as of today, this bug must still be present, because I couldn't build devel/openjdk6 without the -DMAKE_JOBS_UNSAFE on my amd64 Intel i5 computer. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
On Fri, Dec 21, 2012 at 07:27:22PM -0500, Eitan Adler wrote: On 21 December 2012 19:16, David Demelier demelier.da...@gmail.com wrote: Yes, I wanted to answser, but the man says that MAKE_JOBS are disabled by default, I tried to build with MAKE_JOBS=1 and it works, the problem did appear when MAKE_JOBS=6 was set. Can you reproduce the issue? I want to mark this MAKE_JOBS_UNSAFE=yes and remove the current hack Any objection from java@ ? I had MAKE_JOBS=6 in my /etc/make.conf instead of MAKE_JOBS_NUMBER though Exactly. MAKE_JOBS is not user-settable. MAKE_JOBS_NUMBER is. IMHO MAKE_JOBS should start with an _. I think that's right. I have no objection. I think whats in openjdk7 is closer to what it should be. -- Greg Lewis Email : gle...@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : gle...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
On 28 December 2012 15:24, Greg Lewis gle...@eyesbeyond.com wrote: On Fri, Dec 21, 2012 at 07:27:22PM -0500, Eitan Adler wrote: On 21 December 2012 19:16, David Demelier demelier.da...@gmail.com wrote: Yes, I wanted to answser, but the man says that MAKE_JOBS are disabled by default, I tried to build with MAKE_JOBS=1 and it works, the problem did appear when MAKE_JOBS=6 was set. Can you reproduce the issue? I want to mark this MAKE_JOBS_UNSAFE=yes and remove the current hack Any objection from java@ ? I had MAKE_JOBS=6 in my /etc/make.conf instead of MAKE_JOBS_NUMBER though Exactly. MAKE_JOBS is not user-settable. MAKE_JOBS_NUMBER is. IMHO MAKE_JOBS should start with an _. I think that's right. I have no objection. I think whats in openjdk7 is closer to what it should be. What is in openjdk7 seems bogus and it isn't clear why it is there: MAKE_JOBS_UNSAFE= yes is defined implying that MAKE_JOBS should always be 1 (and -j never set) but it does some weird things with the global variables MAKE_JOBS_NUMBER and DISABLE_MAKE_JOBS. Can the generic handling in b.p.m not work? IMHO MAKE_JOBS_SAFE=yes should be defined and either b.p.m or b.java.m should be handling the special build code. -- Eitan Adler ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
On Fri, Dec 28, 2012 at 03:49:56PM -0500, Eitan Adler wrote: On 28 December 2012 15:24, Greg Lewis gle...@eyesbeyond.com wrote: On Fri, Dec 21, 2012 at 07:27:22PM -0500, Eitan Adler wrote: On 21 December 2012 19:16, David Demelier demelier.da...@gmail.com wrote: Yes, I wanted to answser, but the man says that MAKE_JOBS are disabled by default, I tried to build with MAKE_JOBS=1 and it works, the problem did appear when MAKE_JOBS=6 was set. Can you reproduce the issue? I want to mark this MAKE_JOBS_UNSAFE=yes and remove the current hack Any objection from java@ ? I had MAKE_JOBS=6 in my /etc/make.conf instead of MAKE_JOBS_NUMBER though Exactly. MAKE_JOBS is not user-settable. MAKE_JOBS_NUMBER is. IMHO MAKE_JOBS should start with an _. I think that's right. I have no objection. I think whats in openjdk7 is closer to what it should be. What is in openjdk7 seems bogus and it isn't clear why it is there: MAKE_JOBS_UNSAFE= yes is defined implying that MAKE_JOBS should always be 1 (and -j never set) but it does some weird things with the global variables MAKE_JOBS_NUMBER and DISABLE_MAKE_JOBS. Can the generic handling in b.p.m not work? IMHO MAKE_JOBS_SAFE=yes should be defined and either b.p.m or b.java.m should be handling the special build code. MAKE_JOBS_SAFE=yes should not be defined since neither of the ports are safe for multiple make jobs. As an exception, the HotSpot portion of the build is and that is what the other portion handles. -- Greg Lewis Email : gle...@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : gle...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
On 22-12-2012 9:55, David Demelier wrote: Okay, thanks I remove it, i may avoid some compilation problems :) Did you get this working? I'm seeing the same build error on 9.1/amd64. I've tried different variations of the make vars mentioned in this thread, without much luck. -- Joel ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
Okay, thanks I remove it, i may avoid some compilation problems :) 2012/12/22 Eitan Adler li...@eitanadler.com On 21 December 2012 19:16, David Demelier demelier.da...@gmail.com wrote: Yes, I wanted to answser, but the man says that MAKE_JOBS are disabled by default, I tried to build with MAKE_JOBS=1 and it works, the problem did appear when MAKE_JOBS=6 was set. Can you reproduce the issue? I want to mark this MAKE_JOBS_UNSAFE=yes and remove the current hack Any objection from java@ ? I had MAKE_JOBS=6 in my /etc/make.conf instead of MAKE_JOBS_NUMBER though Exactly. MAKE_JOBS is not user-settable. MAKE_JOBS_NUMBER is. IMHO MAKE_JOBS should start with an _. -- Eitan Adler -- Demelier David ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
On Thu, 20 Dec 2012 22:58:48 +0100, David Demelier demelier.da...@gmail.com wrote: Hello, I have no luck tonight, openjdk6 fails to build too : c++ -m64 -Xlinker -O1 -m64 -export-dynamic -o ../generated/adfiles/adlc ../generated/adfiles/adlparse.o ../generated/adfiles/archDesc.o ../generated/adfiles/arena.o ../generated/adfiles/dfa.o ../generated/adfiles/dict2.o ../generated/adfiles/filebuff.o ../generated/adfiles/forms.o ../generated/adfiles/formsopt.o ../generated/adfiles/formssel.o ../generated/adfiles/main.o ../generated/adfiles/adlc-opcodes.o ../generated/adfiles/output_c.o ../generated/adfiles/output_h.o gmake[6]: *** No rule to make target `/usr/obj/usr/ports/java/openjdk6/work/hotspot/src/cpu/amd64/vm/x86_64.ad', needed by `../generated/adfiles/bsd_x86_64.ad'. Stop. gmake[6]: Leaving directory `/usr/obj/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product' gmake[5]: *** [ad_stuff] Error 2 gmake[5]: Leaving directory `/usr/obj/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product' gmake[4]: *** [product] Error 2 gmake[4]: Leaving directory `/usr/obj/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir' gmake[3]: *** [generic_build2] Error 2 gmake[3]: Leaving directory `/usr/obj/usr/ports/java/openjdk6/work/hotspot/make' gmake[2]: *** [product] Error 2 gmake[2]: Leaving directory `/usr/obj/usr/ports/java/openjdk6/work/hotspot/make' gmake[1]: *** [hotspot-build] Error 2 gmake[1]: Leaving directory `/usr/obj/usr/ports/java/openjdk6/work' gmake: *** [build_product_image] Error 2 *** [do-build] Error code 1 Try to set the environment variable MAKE_JOBS_NUMBER=1 before building. Ronald. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
On 21 December 2012 13:49, Ronald Klop ronald-freeb...@klop.yi.org wrote: Try to set the environment variable MAKE_JOBS_NUMBER=1 before building. If this fixes it please let us know - its a bug in the makefile that needs to be fixed. Also try -DMAKES_JOBS_UNSAFE instead of MAKE_JOBS_NUMBER=1 the latter does -j1 which is subtly different than no -j at all. -- Eitan Adler ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
Yes, I wanted to answser, but the man says that MAKE_JOBS are disabled by default, I tried to build with MAKE_JOBS=1 and it works, the problem did appear when MAKE_JOBS=6 was set. Can you reproduce the issue? I had MAKE_JOBS=6 in my /etc/make.conf instead of MAKE_JOBS_NUMBER though 2012/12/22 Eitan Adler li...@eitanadler.com On 21 December 2012 13:49, Ronald Klop ronald-freeb...@klop.yi.org wrote: Try to set the environment variable MAKE_JOBS_NUMBER=1 before building. If this fixes it please let us know - its a bug in the makefile that needs to be fixed. Also try -DMAKES_JOBS_UNSAFE instead of MAKE_JOBS_NUMBER=1 the latter does -j1 which is subtly different than no -j at all. -- Eitan Adler -- Demelier David ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: java/openjdk6 fails to build..
On 21 December 2012 19:16, David Demelier demelier.da...@gmail.com wrote: Yes, I wanted to answser, but the man says that MAKE_JOBS are disabled by default, I tried to build with MAKE_JOBS=1 and it works, the problem did appear when MAKE_JOBS=6 was set. Can you reproduce the issue? I want to mark this MAKE_JOBS_UNSAFE=yes and remove the current hack Any objection from java@ ? I had MAKE_JOBS=6 in my /etc/make.conf instead of MAKE_JOBS_NUMBER though Exactly. MAKE_JOBS is not user-settable. MAKE_JOBS_NUMBER is. IMHO MAKE_JOBS should start with an _. -- Eitan Adler ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org