make j12 broken - uniconv.h not created.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

make j12 broken - uniconv.h not created.

Thomas D. Dean-2
 > cd octave
 > hg update
 > cd ../octave-build
 > Rm -Rf *
 > ../octave/configure F77=gfortran
...
 > make -j12
...
   CC
liboctave/wrappers/liboctave_wrappers_libwrappers_la-wait-for-input.lo
   CC
liboctave/wrappers/liboctave_wrappers_libwrappers_la-wait-wrappers.lo
   CXX      src/src_mkoctfile-mkoctfile.o
   CC       src/src_octave-display-available.o
../octave/liboctave/wrappers/uniconv-wrappers.c:32:21: fatal error:
uniconv.h: No such file or directory
  #include "uniconv.h"
                      ^
compilation terminated.
   CXX      src/src_octave-main.o
   CXX      src/src_octave_cli-octave-build-info.o
   CXX      src/src_octave_config-octave-config.o
make[2]: ***
[liboctave/wrappers/liboctave_wrappers_libwrappers_la-uniconv-wrappers.lo]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/tomdean/Math/Octave/octave-build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tomdean/Math/Octave/octave-build'
make: *** [all] Error 2

Tom Dean

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: make j12 broken - uniconv.h not created.

Andreas Weber-6
Hi Thomas,

Am 19.02.2017 um 01:57 schrieb Thomas D. Dean:
> ...
>> make -j12
> ...
> ../octave/liboctave/wrappers/uniconv-wrappers.c:32:21: fatal error:
> uniconv.h: No such file or directory
>  #include "uniconv.h"
>                      ^
> compilation terminated.

I've sometimes seen problems with parallel build on my system but it's
very hard to debug. And I'm almost sure the second time you ran "make
-j12" it compiled fine...

Can you help debug parallel builds and provide a patch? Thank you very much.

-- Andy

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: make j12 broken - uniconv.h not created.

Thomas D. Dean-2
On 02/18/2017 09:32 PM, Andreas Weber wrote:

On a single process build, libgnu directory is entered first and I have
a 'GEN uniconv.h' line  near the top.

In the -j12 build,  there is no 'GEN uniconv.h'.

At the top of the single process build log there are 35 'GEN xxx.h'
statements.  Of these, 5 are not present in the j12 build log.

iconv.h not found
unused-parameter.h not found
uniconv.h not found
unistr.h not found
unitypes.h not found

I believe this may be related to an earlier bug #46063.

configure F77=gfortran --no-recursion

seems to create uniconv.h and the other 'not found' files above.

'make -j12' completes with no errors and 'make check' is good.

Tom Dean

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: make j12 broken - uniconv.h not created. NOT FAILING

Thomas D. Dean-2
In reply to this post by Andreas Weber-6
On 02/18/2017 09:32 PM, Andreas Weber wrote:
I can not make this fail, now.  I updated the source, again.

 > cd octave
 > hg pull
 > hg update

Then, did the following four times!

 > cd ../octave-build
 > Rm -Rf * .gdbinit
 > ../octave/configure
 > make -j12
 > make check ## no unexpected failures

No errors!

Tom Dean

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave