bugGNU Octave - Bugs: bug #47971, "make clean; make" fails...

 
 

bug #47971: "make clean; make" fails on missing oct-conf-post.h

Submitter:  Rik <rik5>
Submitted:  Sun 22 May 2016 02:22:50 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  jwe
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 30 Jun 2016 11:41:01 PM UTC, comment #1: 

I pushed a fix for this:

http://hg.savannah.gnu.org/hgweb/octave/rev/b07c0f27dccc

The error was that both libgnu/libgnu.la and oct-conf-post.h are listed in $(BUILT_SOURCES), but those can be built in any order. So I added an explicit dependency on oct-conf-post.h, and now able to rebuild after 'make clean'.

Mike Miller <mtmiller>
Group Member
Sun 22 May 2016 02:22:50 AM UTC, original submission:  

I used 'make clean' to remove cruft and then 'make' to re-build.  This fails with the following messages:


~/wip/Projects_Mine/octave-dev: make -j1
cd libgnu; make all
make[1]: Entering directory '/home/rik/wip/Projects_Mine/octave-dev/libgnu'
make  all-recursive
make[2]: Entering directory '/home/rik/wip/Projects_Mine/octave-dev/libgnu'
make[3]: Entering directory '/home/rik/wip/Projects_Mine/octave-dev/libgnu'
  CC       areadlink-with-size.lo
In file included from areadlink-with-size.c:21:0:
../config.h:3576:27: fatal error: oct-conf-post.h: No such file or directory
compilation terminated.
Makefile:2204: recipe for target 'areadlink-with-size.lo' failed
make[3]: *** [areadlink-with-size.lo] Error 1
make[3]: Leaving directory '/home/rik/wip/Projects_Mine/octave-dev/libgnu'
Makefile:2224: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/rik/wip/Projects_Mine/octave-dev/libgnu'
Makefile:1956: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/rik/wip/Projects_Mine/octave-dev/libgnu'
Makefile:26300: recipe for target 'libgnu/libgnu.la' failed
make: *** [libgnu/libgnu.la] Error 2


The cset that introduced this was


changeset:   21716:fccffef9d210
user:        John W. Eaton <jwe@octave.org>
date:        Mon May 16 21:51:10 2016 -0400
summary:     attempt to ensure that oct-conf-post.h is built early and as needed



Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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 rik5 (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-30 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code