bugGNU Octave - Bugs: bug #45672, Octave fails to build when Qt is...

 
 

bug #45672: Octave fails to build when Qt is built with GLES support instead of full OpenGL

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Sat 01 Aug 2015 09:47:24 PM UTC  
 
Category: Configuration and Build SystemSeverity: 4 - Important
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: Mike Miller <mtmiller>
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 02 Aug 2015 08:35:25 PM UTC, comment #2:

The armhf build did not complete, but at least got the result I wanted to verify, the GUI is disabled when Qt conflicts with GL. Pushed to default: http://hg.savannah.gnu.org/hgweb/octave/rev/6cfbf412a2c3.

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
Sat 01 Aug 2015 10:48:34 PM UTC, comment #1:

Here is a proposed patch for this, works for me on x86 (IOW, no change in behavior), waiting for access to test on an Ubuntu autobuilder to see if it correctly detects the conflict and disables building the GUI.

(file #34565)

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
Sat 01 Aug 2015 09:47:24 PM UTC, original submission:

Building Octave on an OS where Qt has been configured with GLES support instead of full OpenGL fails because of conflicting type definitions between GL and GLES. For example:

(copied from https://launchpadlibrarian.net/213249421/buildlog_ubuntu-wily-armhf.octave_4.0.0-3_BUILDING.txt.gz)

I think a short test snippet can be done in configure.ac to simply try and compile GL with Qt to check for this conflict and disable building the GUI automatically.

I will probably try to submit a patch to the Ubuntu package build process first, and then bring it back into default if it works, since I don't have the setup to test this myself.

(If anyone has the ability to test this and would be willing to test my patches, let me know)

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34565:  qt-opengl.patch added by mtmiller (2KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 02 Aug 2015 08:35:25 PM UTCmtmillerOpen/ClosedOpen=>Closed
    Sun 02 Aug 2015 08:35:24 PM UTCmtmillerStatusPatch Submitted=>Fixed
    Sat 01 Aug 2015 10:48:34 PM UTCmtmillerAttached File-=>Added qt-opengl.patch, #34565
      StatusNone=>Patch Submitted

    Back to the top


    Powered by Savane 3.1-cleanup1