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

 
 

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

Submitted by:  Michael Godfrey <godfrey>
Submitted on:  Mon 18 Jan 2016 08:56:41 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: GodfreyOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by andy1978 (Posted a comment)
  • -unavailable- added by godfrey (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 18 Jan 2016 05:04:42 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1