bugGNU Octave - Bugs: bug #46927, build fail in gl2ps-renderer.cc

 
 

bug #46927: build fail in gl2ps-renderer.cc

Submitter:  Michael Godfrey <godfrey>
Submitted:  Mon 18 Jan 2016 08:56:41 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Godfrey Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 18 Jan 2016 10:02:05 AM UTC, comment #1: 

After cset http://hg.savannah.gnu.org/hgweb/octave/rev/8c9755d29d2a
you need to rerun bootstrap to update the ne uses gnulib functions.

(as announced by Rik on the mailinglist http://octave.1599824.n4.nabble.com/Need-to-run-bootstrap-after-21083-8c9755d29d2a-tt4674406.html)

Andreas Weber <andy1978>
Group Member
Mon 18 Jan 2016 08:56:41 AM UTC, original submission:  

At line 98: gnulib::ftruncate (fileno (tmpf), 0);
causes:
libinterp/corefcn/gl2ps-renderer.cc:98:11: error: ‘ftruncate’ is not a member of ‘gnulib’
           gnulib::ftruncate (fileno (tmpf), 0);
           ^
libinterp/corefcn/gl2ps-renderer.cc:98:11: note: suggested alternative:
In file included from ./libgnu/unistd.h:40:0,
                 from libinterp/corefcn/gl2ps-renderer.cc:41:
/usr/include/unistd.h:1019:12: note:   ‘ftruncate’
 extern int ftruncate (int __fd, __off_t __length) __THROW __wur;

Removing the gnulib:: fixes the problem as the diagnostic
suggests.

This is on Fedora 23

Michael Godfrey <godfrey>
Group Member

 

(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 rik5 (Updated the item)
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by godfrey (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-01-18 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code