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>

Submitter:  Alexandre Rostovtsev <tetromino>
Submitted:  Sat 07 Apr 2012 10:05:35 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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 Files:
   
   
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
  • -email is unavailable- added by tetromino (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 logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-04-07 tetromino Attached File- Added gksu-2.0.2-glib-2.31.patch, #25608

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code