Re: [E-devel] EWL: Wrong make deps?
It appears that make may also be touching the output files during parallel builds, probably as some kind of locking or synchronization mechanism. So the actual compilation phase was finding existing files of size zero, which eet was treating as an invalid file. On Nov 30, 2007 2:25 PM, Sebastian Dransfeld <[EMAIL PROTECTED]> wrote: > Nathan Ingersoll wrote: > > You're probably right that a dep could fix the build failure, but it > > would be better if we could determine why edje_cc is failing and fix > > that. These really are independent directories with no shared files, > > especially on the output. > > Doesn't make just check whether the outfile exists? So if edje_cc > creates the out file at the beginning of the compile, make will only try > to make the file once? > > Sebastian > > > - > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EWL: Wrong make deps?
Nathan Ingersoll wrote: > You're probably right that a dep could fix the build failure, but it > would be better if we could determine why edje_cc is failing and fix > that. These really are independent directories with no shared files, > especially on the output. Doesn't make just check whether the outfile exists? So if edje_cc creates the out file at the beginning of the compile, make will only try to make the file once? Sebastian - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EWL: Wrong make deps?
You're probably right that a dep could fix the build failure, but it would be better if we could determine why edje_cc is failing and fix that. These really are independent directories with no shared files, especially on the output. On 11/30/07, Martin Zwickel <[EMAIL PROTECTED]> wrote: > On Fri, 30 Nov 2007 09:03:40 -0500 > Will Keaney <[EMAIL PROTECTED]> bubbled: > > > FWIW, I've noticed that when building with -j > 1, if I retry the make > > twice it works (so, three 'make' commands in all). So rather than a > > dep, I suspect a race condition between the threads. > > That's what I meant. A missing dep leads to a race condition :) > Because "make" then builds two targets at the same time or in the wrong order > -> > make fails. > > I still think a dep could fix this issue... > > Regards, > Martin > > > -- > MyExcuse: > Forced to support NT servers; sysadmins quit. > > Martin Zwickel <[EMAIL PROTECTED]> > Research & Development > > - > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EWL: Wrong make deps?
The e17 theme and the ewl_embed_test theme are totally independent. There is no shared code, or anything else, between them. dan On 30-Nov-07, at 10:25 AM, Martin Zwickel wrote: > On Fri, 30 Nov 2007 09:03:40 -0500 > Will Keaney <[EMAIL PROTECTED]> bubbled: > >> FWIW, I've noticed that when building with -j > 1, if I retry the >> make >> twice it works (so, three 'make' commands in all). So rather than a >> dep, I suspect a race condition between the threads. > > That's what I meant. A missing dep leads to a race condition :) > Because "make" then builds two targets at the same time or in the > wrong order -> > make fails. > > I still think a dep could fix this issue... > > Regards, > Martin > > > -- > MyExcuse: > Forced to support NT servers; sysadmins quit. > > Martin Zwickel <[EMAIL PROTECTED]> > Research & Development > - > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EWL: Wrong make deps?
On Fri, 30 Nov 2007 09:03:40 -0500 Will Keaney <[EMAIL PROTECTED]> bubbled: > FWIW, I've noticed that when building with -j > 1, if I retry the make > twice it works (so, three 'make' commands in all). So rather than a > dep, I suspect a race condition between the threads. That's what I meant. A missing dep leads to a race condition :) Because "make" then builds two targets at the same time or in the wrong order -> make fails. I still think a dep could fix this issue... Regards, Martin -- MyExcuse: Forced to support NT servers; sysadmins quit. Martin Zwickel <[EMAIL PROTECTED]> Research & Development signature.asc Description: PGP signature - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EWL: Wrong make deps?
This appears to be a problem with multiple simultaneous executions of edje_cc, as it always fails the build during that phase. I have not tracked it past that point yet. On Nov 30, 2007 8:03 AM, Will Keaney <[EMAIL PROTECTED]> wrote: > > Martin Zwickel wrote: > > Hi there, > > > > If I try to build ewl with 4 jobs, the make returns with an error. Seems > > like > > there is a missing dependency? Build with 1 job works ok. > > > > Regards, > > Martin > > > > > > > > [output] > > # make -j4 > > > > ... > > > > Making all in images > > make[5]: Entering directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' > > make[5]: Nothing to be done for `all'. > > make[5]: Leaving directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' > > make[5]: Entering directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > > edje_cc -v -id ../../../data/themes/e17/images -fd ../../../data/themes/e17 > > ../../../data/themes/e17/e17.edc ../../../data/themes/e17/e17.edj > > edje_cc: Opening "/tmp/edje_cc.edc-tmp-Jxa5vz" for input > > edje_cc: Parsing input file > > edje_cc: Parsing done > > edje_cc: Wrote 3473 bytes ( 3Kb) for "edje_file" header > > edje_cc: Parsing done > > edje_cc: Error. unable to open "../../../data/themes/e17/e17.edj" for > > writing output > > make[5]: *** [e17.edj] Error 255 > > make[5]: Leaving directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > > make[4]: *** [all-recursive] Error 1 > > make[4]: *** Waiting for unfinished jobs > > edje_cc: Wrote115253 bytes ( 113Kb) for "fonts/ewl/default" font entry > > "fonts/DejaVuSerif.ttf" compress: [real: 45.1%] > > edje_cc: Wrote107692 bytes ( 105Kb) for "fonts/ewl/default/bold" font > > entry "fonts/DejaVuSerif-Bold.ttf" compress: [real: 45.4%] > > > > ... > > > > edje_cc: Wrote 948 bytes ( 1Kb) for "collections/58" collection > > entry > > Summary: > > Wrote 59 collections > > Wrote 74 images > > Wrote 8 fonts > > Wrote 8324 bytes (8Kb) of original source data > > Wrote 240 bytes (0Kb) of original source font map > > Conservative compression summary: > > Wrote total 682 bytes (1086Kb) from 1620661 (1583Kb) input data > > Output file is 68.6% the size of the input data > > Saved 508979 bytes (497Kb) > > Raw compression summary: > > Wrote total 682 bytes (1086Kb) from 3824664 (3735Kb) raw input data > > Output file is 29.1% the size of the raw input data > > Saved 2712982 bytes (2649Kb) > > make[4]: Leaving directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl' > > make: *** [all] Error 2 > > [/output] > > > > > > > > > > > > > > rebuild with make -j4 after error still bails out. > > > > [output] > > # make -j4 > > > > ... > > > > Making all in images > > make[5]: Entering directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' > > make[5]: Nothing to be done for `all'. > > make[5]: Leaving directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' > > make[5]: Entering directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > > make[5]: Nothing to be done for `all-am'. > > make[5]: Leaving directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > > make[4]: Leaving directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > > Making all in ewl_embed_test > > make[4]: Entering directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test' > > edje_cc -v -id ../../../data/themes/ewl_embed_test/images > > ../../../data/themes/ewl_embed_test/ewl_embed_test.edc > > ../../../data/themes/ewl_embed_test/ewl_embed_test.edj > > Making all in images > > make[5]: Entering directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test/images' > > make[5]: Nothing to be done for `all'. > > make[5]: Leaving directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test/images' > > make[5]: Entering directory > > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test' > > edje_cc -v -id ../../../data/themes/ewl_embed_test/images > > ../../../data/themes/ewl_embed_test/ewl_embed_test.edc > > ../../../data/themes/ewl_embed_test/ewl_embed_test.edj > > edje_cc: Opening "/tmp/edje_cc.edc-tmp-55EsxC" for input > > edje_cc: Parsing input file > > edje_cc: Opening "/
Re: [E-devel] EWL: Wrong make deps?
Martin Zwickel wrote: > Hi there, > > If I try to build ewl with 4 jobs, the make returns with an error. Seems like > there is a missing dependency? Build with 1 job works ok. > > Regards, > Martin > > > > [output] > # make -j4 > > ... > > Making all in images > make[5]: Entering directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' > make[5]: Nothing to be done for `all'. > make[5]: Leaving directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' > make[5]: Entering directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > edje_cc -v -id ../../../data/themes/e17/images -fd ../../../data/themes/e17 > ../../../data/themes/e17/e17.edc ../../../data/themes/e17/e17.edj > edje_cc: Opening "/tmp/edje_cc.edc-tmp-Jxa5vz" for input > edje_cc: Parsing input file > edje_cc: Parsing done > edje_cc: Wrote 3473 bytes ( 3Kb) for "edje_file" header > edje_cc: Parsing done > edje_cc: Error. unable to open "../../../data/themes/e17/e17.edj" for writing > output > make[5]: *** [e17.edj] Error 255 > make[5]: Leaving directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > make[4]: *** [all-recursive] Error 1 > make[4]: *** Waiting for unfinished jobs > edje_cc: Wrote115253 bytes ( 113Kb) for "fonts/ewl/default" font entry > "fonts/DejaVuSerif.ttf" compress: [real: 45.1%] > edje_cc: Wrote107692 bytes ( 105Kb) for "fonts/ewl/default/bold" font > entry "fonts/DejaVuSerif-Bold.ttf" compress: [real: 45.4%] > > ... > > edje_cc: Wrote 948 bytes ( 1Kb) for "collections/58" collection entry > Summary: > Wrote 59 collections > Wrote 74 images > Wrote 8 fonts > Wrote 8324 bytes (8Kb) of original source data > Wrote 240 bytes (0Kb) of original source font map > Conservative compression summary: > Wrote total 682 bytes (1086Kb) from 1620661 (1583Kb) input data > Output file is 68.6% the size of the input data > Saved 508979 bytes (497Kb) > Raw compression summary: > Wrote total 682 bytes (1086Kb) from 3824664 (3735Kb) raw input data > Output file is 29.1% the size of the raw input data > Saved 2712982 bytes (2649Kb) > make[4]: Leaving directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl' > make: *** [all] Error 2 > [/output] > > > > > > > rebuild with make -j4 after error still bails out. > > [output] > # make -j4 > > ... > > Making all in images > make[5]: Entering directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' > make[5]: Nothing to be done for `all'. > make[5]: Leaving directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' > make[5]: Entering directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > make[5]: Nothing to be done for `all-am'. > make[5]: Leaving directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > make[4]: Leaving directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' > Making all in ewl_embed_test > make[4]: Entering directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test' > edje_cc -v -id ../../../data/themes/ewl_embed_test/images > ../../../data/themes/ewl_embed_test/ewl_embed_test.edc > ../../../data/themes/ewl_embed_test/ewl_embed_test.edj > Making all in images > make[5]: Entering directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test/images' > make[5]: Nothing to be done for `all'. > make[5]: Leaving directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test/images' > make[5]: Entering directory > `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test' > edje_cc -v -id ../../../data/themes/ewl_embed_test/images > ../../../data/themes/ewl_embed_test/ewl_embed_test.edc > ../../../data/themes/ewl_embed_test/ewl_embed_test.edj > edje_cc: Opening "/tmp/edje_cc.edc-tmp-55EsxC" for input > edje_cc: Parsing input file > edje_cc: Opening "/tmp/edje_cc.edc-tmp-IGdPxC" for input > edje_cc: Parsing input file > edje_cc: Parsing done > edje_cc: Wrote 283 bytes ( 0Kb) for "edje_file" header > edje_cc: Parsing done > edje_cc: Error. unable to open > "../../../data/themes/ewl_embed_test/ewl_embed_test.edj" for writing output > make[4]: *** [ewl_embed_test.edj] Error 255 > make[4]: *** Waiting for unfinished jobs > edje_cc: Wrote 5408 bytes ( 5Kb) for "images/0" image entry > "e17_gadman_overlay_left.pn
[E-devel] EWL: Wrong make deps?
Hi there, If I try to build ewl with 4 jobs, the make returns with an error. Seems like there is a missing dependency? Build with 1 job works ok. Regards, Martin [output] # make -j4 ... Making all in images make[5]: Entering directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' make[5]: Entering directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' edje_cc -v -id ../../../data/themes/e17/images -fd ../../../data/themes/e17 ../../../data/themes/e17/e17.edc ../../../data/themes/e17/e17.edj edje_cc: Opening "/tmp/edje_cc.edc-tmp-Jxa5vz" for input edje_cc: Parsing input file edje_cc: Parsing done edje_cc: Wrote 3473 bytes ( 3Kb) for "edje_file" header edje_cc: Parsing done edje_cc: Error. unable to open "../../../data/themes/e17/e17.edj" for writing output make[5]: *** [e17.edj] Error 255 make[5]: Leaving directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' make[4]: *** [all-recursive] Error 1 make[4]: *** Waiting for unfinished jobs edje_cc: Wrote115253 bytes ( 113Kb) for "fonts/ewl/default" font entry "fonts/DejaVuSerif.ttf" compress: [real: 45.1%] edje_cc: Wrote107692 bytes ( 105Kb) for "fonts/ewl/default/bold" font entry "fonts/DejaVuSerif-Bold.ttf" compress: [real: 45.4%] ... edje_cc: Wrote 948 bytes ( 1Kb) for "collections/58" collection entry Summary: Wrote 59 collections Wrote 74 images Wrote 8 fonts Wrote 8324 bytes (8Kb) of original source data Wrote 240 bytes (0Kb) of original source font map Conservative compression summary: Wrote total 682 bytes (1086Kb) from 1620661 (1583Kb) input data Output file is 68.6% the size of the input data Saved 508979 bytes (497Kb) Raw compression summary: Wrote total 682 bytes (1086Kb) from 3824664 (3735Kb) raw input data Output file is 29.1% the size of the raw input data Saved 2712982 bytes (2649Kb) make[4]: Leaving directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl' make: *** [all] Error 2 [/output] rebuild with make -j4 after error still bails out. [output] # make -j4 ... Making all in images make[5]: Entering directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17/images' make[5]: Entering directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' make[4]: Leaving directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/e17' Making all in ewl_embed_test make[4]: Entering directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test' edje_cc -v -id ../../../data/themes/ewl_embed_test/images ../../../data/themes/ewl_embed_test/ewl_embed_test.edc ../../../data/themes/ewl_embed_test/ewl_embed_test.edj Making all in images make[5]: Entering directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test/images' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test/images' make[5]: Entering directory `/var/tmp/portage/x11-libs/ewl-/work/e17/libs/ewl/data/themes/ewl_embed_test' edje_cc -v -id ../../../data/themes/ewl_embed_test/images ../../../data/themes/ewl_embed_test/ewl_embed_test.edc ../../../data/themes/ewl_embed_test/ewl_embed_test.edj edje_cc: Opening "/tmp/edje_cc.edc-tmp-55EsxC" for input edje_cc: Parsing input file edje_cc: Opening "/tmp/edje_cc.edc-tmp-IGdPxC" for input edje_cc: Parsing input file edje_cc: Parsing done edje_cc: Wrote 283 bytes ( 0Kb) for "edje_file" header edje_cc: Parsing done edje_cc: Error. unable to open "../../../data/themes/ewl_embed_test/ewl_embed_test.edj" for writing output make[4]: *** [ewl_embed_test.edj] Error 255 make[4]: *** Waiting for unfinished jobs edje_cc: Wrote 5408 bytes ( 5Kb) for "images/0" image entry "e17_gadman_overlay_left.png" compress: [raw: 90.6%] [real: -104.1%] edje_cc: Wrote 5741 bytes ( 6Kb) for "images/1" image entry "e17_gadman_overlay_right.png" compress: [raw: 90.1%] [real: -109.0%] edje_cc: Wrote 660 bytes ( 1Kb) for "images/2" image entry "e17_menu_bg