On Sun, 27 Aug 2017 16:11:31 +0200 (CEST) Peter Koellner <pe...@asgalon.net>
said:

I might argue that the ibus headers Debian stretch has are broken. The ibus
headers on Arch (and Arch doesn't patch anything from upstream) handle
including a <glib.h> ... they do here.

 8:40AM /usr/include/ibus-1.0 > grep glib *.h
ibusbus.h:#include <glib.h>
ibusenumtypes.h:/* Generated data (by glib-mkenums) */
ibusenumtypes.h:#include <glib-object.h>
ibuserror.h:#include <glib.h>
ibuskeys.h:#include <glib.h>
ibusobject.h:#include <glib-object.h>
ibusshare.h:#include <glib.h>
ibusxml.h:#include <glib.h>
ibusxml.h:#include <glib-object.h>

Debian uses an older (1.5.14 vs 1.5.16) but... a quick look at 1.5.14's
source code shows it's headers do the below the same as 1.5.16:

  ibus.h (main header) includes ibusshare.h
  ibusshare.h includes <glib.h>
  AFTER ibusshare.h ibus.h includes ibusserializable.h (glib types now defined)

Your first issues are in ibusserializable.h. broken on Debian I would say. Go
check them and follow the breadcrumbs of includes.

I build ibus support every day... :/ I have for a long time now. I have never
seen your issue. 

> Hi!
> 
> I am trying to update my enlightemment isntallation on a debian 9.1 system,
> but get the following comile errors with 1.20.2 sources:
> 
>    CC
> modules/ecore_imf/ibus/modules_ecore_imf_ibus_module_la-ibus_module.lo In
> file included from /usr/include/ibus-1.0/ibus.h:31:0, from
> modules/ecore_imf/ibus/ibus_module.c:10: 
> /usr/include/ibus-1.0/ibusserializable.h:141:58:
> error: unknown type name ‘GVariantBuilder’ GVariantBuilder        *builder);
>                                                                 
> ^~~~~~~~~~~~~~~
>         /usr/include/ibus-1.0/ibusserializable.h:156:58: error: unknown type
> name ‘GVariant’ GVariant               *variant);
>                                                             ^~~~~~~~
>     /usr/include/ibus-1.0/ibusserializable.h:177:34: error: unknown type name
> ‘GVariantBuilder’ GVariantBuilder        *builder);
>                                         ^~~~~~~~~~~~~~~
>         /usr/include/ibus-1.0/ibusserializable.h:179:34: error: unknown type
> name ‘GVariant’ GVariant               *variant);
>                                     ^~~~~~~~
>     /usr/include/ibus-1.0/ibusserializable.h:211:58: error: unknown type name
> ‘GVariant’ GVariant           *value);
>                                                                 ^~~~~~~~
>         /usr/include/ibus-1.0/ibusserializable.h:224:1: error: unknown type
> name ‘GVariant’ GVariant            *ibus_serializable_get_qattachment
> (IBusSerializable   *serializable, ^~~~~~~~
>   /usr/include/ibus-1.0/ibusserializable.h:264:1: error: unknown type name
> ‘GVariant’ GVariant            *ibus_serializable_serialize
> (IBusSerializable   *serializable); ^~~~~~~~
>     /usr/include/ibus-1.0/ibusserializable.h:277:58: error: unknown type name
> ‘GVariant’ IBusSerializable    *ibus_serializable_deserialize
> (GVariant           *variant); ^~~~~~~~
> 
> [...]
> 
> In file included from /usr/include/ibus-1.0/ibus.h:44:0,
>                   from modules/ecore_imf/ibus/ibus_module.c:10:
>   /usr/include/ibus-1.0/ibusbus.h:127:1: error: unknown type name
> ‘GDBusConnection’ GDBusConnection *
>     ^~~~~~~~~~~~~~~
>     In file included from /usr/include/ibus-1.0/ibus.h:29:0,
>                      from modules/ecore_imf/ibus/ibus_module.c:10:
>      /usr/include/ibus-1.0/ibusshare.h:44:25: error: unknown type name
> ‘G_DEPRECATED’
>       #define IBUS_DEPRECATED G_DEPRECATED
>                                ^
>        /usr/include/ibus-1.0/ibusbus.h:726:1: note: in expansion of macro
> ‘IBUS_DEPRECATED’ IBUS_DEPRECATED
>          ^~~~~~~~~~~~~~~
> 
> 
> Now I am not sure what to make of this, the error seems to come from the
> include file. This one belongs to:
> 
> dpkg -S /usr/include/ibus-1.0/ibusshare.h
> libibus-1.0-dev:amd64: /usr/include/ibus-1.0/ibusshare.h
> 
> dpkg -l libibus-1.0-dev
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name                      Version           Architecture      Description
> ++
> +-=========================-=================-=================-========================================================
> ii  libibus-1.0-dev:amd64     1.5.14-3          amd64             Intelligent
> Input Bus - development file
> 
> aptitude tells me
> i   libsdl2-dev Depends libibus-1.0-dev
> i   libsdl2-ttf-dev Depends libsdl2-dev (>= 2.0.0)
> 
> Manually installed, current version 2.0.14+dfsg1-1, priority optional
> No dependencies require to install libsdl2-ttf-dev
> 
> so I guess it is a prerequisite of some other program I have build manually.
> I am not sure if this is some sort of conflict with some different dependency
> of efl?
> 
> 
> I have been using the following configuration for quite some time now:
> 
> #!/bin/bash
> ./configure --enable-xinput22  --enable-multisense --enable-image-loader-webp
> --enable-harfbuzz --enable-scim --enable-fb --disable-tslib --disable-static
> --enable-xine
> 
> 
> export CFLAGS="-O3 -ffast-math -march=native"
> 
> 
> 
> Any idea how to make this work again?
> 
> Regards
>    Peter
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to