bugGNU Octave - Bugs: bug #49101, build failure with...

 
 

bug #49101: build failure with --without-opengl since 3564b6b6b8d1

Submitter:  Mike Miller <mtmiller>
Submitted:  Thu 15 Sep 2016 09:39:19 PM UTC
   
 
Category:  Configuration and Build System Severity:  4 - Important
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 16 Sep 2016 04:49:51 PM UTC, comment #3: 

Looks good, next buildbot iteration built successfully.

Mike Miller <mtmiller>
Group Member
Fri 16 Sep 2016 05:23:20 AM UTC, comment #2: 

I checked in this change

  http://hg.savannah.gnu.org/hgweb/octave/rev/1d3b71530539

It should have also fixed the unused parameter warnings.

John W. Eaton <jwe>
Group administrator
Thu 15 Sep 2016 10:14:30 PM UTC, comment #1: 

Should be easy to fix.  Does the attached patch do it?

(file #38520)

Rik <rik5>
Group administrator
Thu 15 Sep 2016 09:39:19 PM UTC, original submission:  

Building Octave with --without-opengl fails since revision 3564b6b6b8d1 with the following errors/warnings (from http://buildbot.octave.org:8010/builders/no-extras-debian/builds/74/steps/compile/logs/stdio)


../src/libinterp/corefcn/gl-render.cc: In member function ‘virtual void octave::opengl_renderer::draw(const graphics_object&, bool)’:
../src/libinterp/corefcn/gl-render.cc:700:5: error: ‘GLenum’ was not declared in this scope
     GLenum gl_error = glGetError ();
     ^
../src/libinterp/corefcn/gl-render.cc:701:9: error: ‘gl_error’ was not declared in this scope
     if (gl_error)
         ^
../src/libinterp/corefcn/gl-render.cc: At global scope:
../src/libinterp/corefcn/gl-render.cc:851:46: warning: unused parameter ‘linewidth’ [-Wunused-parameter]
   opengl_renderer::render_grid (const double linewidth,
                                              ^
../src/libinterp/corefcn/gl-render.cc:3612:42: warning: unused parameter ‘linewidth’ [-Wunused-parameter]
                                   double linewidth)
                                          ^


Mike Miller <mtmiller>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #38520:  49101.patch added by rik5 (564B - application/x-download)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by rik5
  • -email is unavailable- added by mtmiller (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-16 mtmiller StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2016-09-16 rik5 StatusNone Ready For Test
    2016-09-15 rik5 Attached File- Added 49101.patch, #38520
    2016-09-15 rik5 Carbon-Copy- Added mmuetzel

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code