bugGKSu - Bugs: bug #36127, gksu-2.0.2 fails to build with...

 
 

bug #36127: gksu-2.0.2 fails to build with >=glib-2.31 due to #include <glib/gkeyfile.h>

Submitted by:  Alexandre Rostovtsev <tetromino>
Submitted on:  Sat 07 Apr 2012 10:05:35 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 07 Apr 2012 10:05:35 PM UTC, original submission:

In glib-2.31 and newer, most glib subheaders cannot be included directly; instead, one must #include <glib.h>. Attempting to build gksu-2.0.2 against glib-2.32.0 results in the following error:

In file included from libnautilus-gksu.c:8:0:
/usr/include/glib-2.0/glib/gkeyfile.h:24:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gkeyfile.h:30:0,
from libnautilus-gksu.c:8:
/usr/include/glib-2.0/glib/gerror.h:22:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gerror.h:30:0,
from /usr/include/glib-2.0/glib/gkeyfile.h:30,
from libnautilus-gksu.c:8:
/usr/include/glib-2.0/glib/gquark.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gquark.h:34:0,
from /usr/include/glib-2.0/glib/gerror.h:30,
from /usr/include/glib-2.0/glib/gkeyfile.h:30,
from libnautilus-gksu.c:8:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/gquark.h:34,
from /usr/include/glib-2.0/glib/gerror.h:30,
from /usr/include/glib-2.0/glib/gkeyfile.h:30,
from libnautilus-gksu.c:8:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gtypes.h:35:0,
from /usr/include/glib-2.0/glib/gquark.h:34,
from /usr/include/glib-2.0/glib/gerror.h:30,
from /usr/include/glib-2.0/glib/gkeyfile.h:30,
from libnautilus-gksu.c:8:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0,
from /usr/include/glib-2.0/glib/gquark.h:34,
from /usr/include/glib-2.0/glib/gerror.h:30,
from /usr/include/glib-2.0/glib/gkeyfile.h:30,
from libnautilus-gksu.c:8:
/usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."
make[2]: *** [libnautilus-gksu.lo] Error 1

Alexandre Rostovtsev <tetromino>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #25608:  gksu-2.0.2-glib-2.31.patch added by tetromino (870B - text/x-patch - proposed patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tetromino (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 logged-in users can vote.

     

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 07 Apr 2012 10:08:31 PM UTCtetrominoAttached File-=>Added gksu-2.0.2-glib-2.31.patch, #25608

    Back to the top


    Powered by Savane 3.1-cleanup