bugGNU Octave - Bugs: bug #44166, make check fails to start in build...

 
 

bug #44166: make check fails to start in build directory

Submitter:  None
Submitted:  Tue 03 Feb 2015 02:30:03 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Wont Fix Assigned to:  mtmiller
Originator Name:  Thomas Dean Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 03 Feb 2015 08:40:41 PM UTC, comment #5: 

Thanks for confirming.

For future reference, you can try the `make maintainerclean` target, it should get you closer to a clean mercurial source tree.

Mike Miller <mtmiller>
Group Member
Tue 03 Feb 2015 08:11:02 PM UTC, comment #4: 

After cloning with hg, I did a build in the src tree.
Then, did a 'make distclean'
Then, created a build directory, config, etc.
Make distclean did not clean up like I expected.

Today, I removed the src tree and build tree,
then:

> hg clone http://www.octave.org/hg/octave
> cd octave
> ./bootstrap
> cd ../octave-build
> ../octave/configure
> make -j6
> make check

...
Summary:

  PASS     12799
  FAIL         0
  XFAIL       14
  SKIPPED     59
...
210 (of 872) .m files have no tests.
...

> ./run-octave

GNU Octave, version 3.9.0+
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-unknown-linux-gnu".
...

Please close this bug report.

Anonymous
Tue 03 Feb 2015 03:49:14 PM UTC, comment #3: 

Thanks for the additional information. This does not look correct to me. There should be no images in your source tree if you are doing an out-of-tree build from a mercurial clone. Did you build in-source-tree at one point, try to clean up from there, and then do an out-of-tree build?

The build rules in this case could be made to work slightly more reliably, but it's a pretty low priority because the common cases do work fine.

Try deleting all *.png files in your source tree's doc/interpreter directory and see if the build finishes correctly. You should end up with the png files in your build tree doc/interpreter instead, and then the cp command should not error.

Mike Miller <mtmiller>
Group Member
Tue 03 Feb 2015 06:50:04 AM UTC, comment #2: 

Build log attached.
Mecurical clone.
voronoi.png is in the source tree.

From the build directoru:

> pwd

/home/tomdean/Math/Octave/octave-build

> find ../octave -iname voronoi.png

../octave/doc/interpreter/voronoi.png

> ./run-octave

GNU Octave, version 3.9.0+
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-unknown-linux-gnu".
...

(file #32979)

Anonymous
Tue 03 Feb 2015 04:53:25 AM UTC, comment #1: 

Thanks for your bug report. Can you provide some more context? Do you have a complete build log? Are you building Octave from a released source tarball or from a mercurial clone? Does the file voronoi.png exist in either your source directory or build directory?

Mike Miller <mtmiller>
Group Member
Tue 03 Feb 2015 02:30:03 AM UTC, original submission:  

build directory: /home/tomdean/Math/Octave/octave-build
source directory: /home/tomdean/Math/Octave/octave

This appears to be a path problem in make.  The build generates a proper executable.

configure and build complete up to the point where

> cd /home/tomdean/Math/Octave/octave-build
> ../octave/configure

... success

> make

...
make[3]: Entering directory `/home/tomdean/Math/Octave/octave-build/doc/interpreter'
cp voronoi.png octave.html
cp: cannot stat 'voronoi.png': No such file or directory
...

make check fails at the same point.

> make check

Makefile:2845: warning: overriding commands for target `check'
Makefile:2408: warning: ignoring old commands for target `check'
rm -f bits/stl_algo.h
make  all-recursive
make[1]: Entering directory `/home/tomdean/Math/Octave/octave-build'
Makefile:2845: warning: overriding commands for target `check'
Makefile:2408: warning: ignoring old commands for target `check'
Making all in libgnu
make[2]: Entering directory `/home/tomdean/Math/Octave/octave-build/libgnu'
make  all-recursive
make[3]: Entering directory `/home/tomdean/Math/Octave/octave-build/libgnu'
make[4]: Entering directory `/home/tomdean/Math/Octave/octave-build/libgnu'
make[4]: Nothing to be done for `all-am'.
...
make[3]: Leaving directory `/home/tomdean/Math/Octave/octave-build/doc/interpreter'

Octave successfully built.  Now choose from the following:

   ./run-octave    - to run in place to test before installing
   make check      - to run the tests
   make install    - to install (PREFIX=/usr/local)

make[2]: Leaving directory `/home/tomdean/Math/Octave/octave-build'
Making all in doc
make[2]: Entering directory `/home/tomdean/Math/Octave/octave-build/doc'
Making all in doxyhtml
make[3]: Entering directory `/home/tomdean/Math/Octave/octave-build/doc/doxyhtml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/tomdean/Math/Octave/octave-build/doc/doxyhtml'
Making all in interpreter
make[3]: Entering directory `/home/tomdean/Math/Octave/octave-build/doc/interpreter'
cp voronoi.png octave.html
cp: cannot stat 'voronoi.png': No such file or directory
make[3]: * [octave.html/voronoi.png] Error 1
make[3]: Leaving directory `/home/tomdean/Math/Octave/octave-build/doc/interpreter'
make[2]: * [all-recursive] Error 1
make[2]: Leaving directory `/home/tomdean/Math/Octave/octave-build/doc'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/home/tomdean/Math/Octave/octave-build'
make: * [all] Error 2

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #32979:  build.log.bz2 added by None (94KiB - application/octet-stream - build.log.bz2)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-03 mtmiller StatusNeed Info Wont Fix
        Open/ClosedOpen Closed
    2015-02-03 None Attached File- Added build.log.bz2, #32979
    2015-02-03 mtmiller Item GroupNone Build Failure
        StatusNone Need Info
        Assigned toNone mtmiller

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code