Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Update x11-themes/gtk-engines-2.91.1 error
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
arnk
n00b
n00b


Joined: 25 Jul 2011
Posts: 18

PostPosted: Thu Mar 01, 2012 8:33 am    Post subject: Update x11-themes/gtk-engines-2.91.1 error Reply with quote

error message:
./src/clearlooks_style.c:1038:4: 警告:不建议使用‘gtk_paint_hline’(声明于 /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:413)
:Use 'GtkStyleContext' instead
./src/clearlooks_style.c:1042:4: 警告:不建议使用‘gtk_paint_vline’(声明于 /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:422)
:Use 'GtkStyleContext' instead
./src/clearlooks_style.c: 在函数‘clearlooks_style_draw_layout’中:
./src/clearlooks_style.c:1684:2: 警告:不建议使用‘gdk_cairo_set_source_color’(声明于 /usr/include/gtk-3.0/gdk/gdkcairo.h:59):Use 'gdk_cairo_set_source_rgba' instead
CC clearlooks_draw_glossy.lo
In file included from ./src/animation.c:31:0:
/usr/include/glib-2.0/glib/gtimer.h:28:2: 错误:#error "Only <glib.h> can be included directly."
make[2]: *** [animation.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1/engines/clearlooks'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1/engines'
make: *** [all-recursive] Error 1
emake failed
* ERROR: x11-themes/gtk-engines-2.91.1 failed (compile phase):
* compile failure
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2929: Called gnome2_src_compile
* environment, line 2242: Called die
* The specific snippet of code:
* emake || die "compile failure"
*
* If you need support, post the output of 'emerge --info =x11-themes/gtk-engines-2.91.1',
* the complete build log and the output of 'emerge -pqv =x11-themes/gtk-engines-2.91.1'.
* This ebuild used the following eclasses from overlays:
* /var/lib/layman/gnome/eclass/gnome2.eclass
* This ebuild is from an overlay named 'gnome': '/var/lib/layman/gnome/'
* The complete build log is located at '/var/log/portage/elog/x11-themes:gtk-engines-2.91.1:20120301-043116.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-themes/gtk-engines-2.91.1/temp/environment'.
* S: '/var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1'



emerge --info =x11-themes/gtk-engines-2.91.1
Portage 2.1.10.49 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-gentoo i686)
=================================================================
System Settings
=================================================================
System uname: Linux-3.2.6-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T5450_@_1.66GHz-with-gentoo-2.1
Timestamp of tree: Thu, 01 Mar 2012 03:15:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.7-r2, 2.7.2-r3, 3.2.2
dev-util/ccache: 3.1.7
dev-util/cmake: 2.8.7-r3
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1
sys-apps/openrc: 0.9.9.2
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.10.3, 1.11.3
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.5.1
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r2
Repositories: gentoo gentoo-zh lisp sunrise multimedia emacs gnome x-portage
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirrors.xmu.edu.cn/gentoo/ http://mirrors.xmu.edu.cn/gentoo/ ftp://mirrors.stuhome.net/gentoo/ http://mirrors.stuhome.net/gentoo/ ftp://mirrors.sohu.com/gentoo/ http://mirrors.sohu.com/gentoo/"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en zh_CN zh"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gentoo-zh /var/lib/layman/lisp /var/lib/layman/sunrise /var/lib/layman/multimedia /var/lib/layman/emacs /var/lib/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cscope curl cxx dbus dga dri dts dvd dvdr emacs emboss encode exif fam fastcgi fbcon ffmpeg firefox flac fontconfig fortran gdbm gdu gif gpm gstreamer gtk iconv ieee1394 ipod ipv6 jpeg jpeg2k kdrive lame lcms ldap libnotify m17n-lib mad matroska mng modules mp3 mp4 mpeg mplayer mudflap musepack ncurses nls nptl nptlonly ogg openexr opengl openmp pam pango pcmcia pcre pdf png policykit ppds pppd python qt3 qt3support qt4 readline rss sdl session spell sse sse2 ssl startup-notification svg symlink sysfs tcpd tiff truetype udev unicode usb vorbis wifi win32codecs wmf x264 x86 xcb xft xine xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh_CN zh" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Leo Lausren
Apprentice
Apprentice


Joined: 24 Feb 2004
Posts: 198
Location: Denmark

PostPosted: Thu Mar 01, 2012 11:09 am    Post subject: Reply with quote

Are you using glib or gtk+:3 from the gnome-overlay?
I saw that error a lot, before I gave up, and removed the overlay.
_________________
Blog: common sense – nonsense
Back to top
View user's profile Send private message
arnk
n00b
n00b


Joined: 25 Jul 2011
Posts: 18

PostPosted: Thu Mar 01, 2012 11:44 am    Post subject: Reply with quote

Leo Lausren wrote:
Are you using glib or gtk+:3 from the gnome-overlay?
I saw that error a lot, before I gave up, and removed the overlay.


Yes, Is this bug related to glib or gtk+:3?
Back to top
View user's profile Send private message
Leo Lausren
Apprentice
Apprentice


Joined: 24 Feb 2004
Posts: 198
Location: Denmark

PostPosted: Thu Mar 01, 2012 2:52 pm    Post subject: Reply with quote

I'm not sure, but this ...
Quote:
/usr/include/glib-2.0/glib/gtimer.h:28:2: 错误:#error "Only <glib.h> can be included directly."

tells me, that it is glib.
_________________
Blog: common sense – nonsense
Back to top
View user's profile Send private message
easior
n00b
n00b


Joined: 26 Mar 2012
Posts: 3

PostPosted: Sat Apr 14, 2012 4:16 am    Post subject: Re: Update x11-themes/gtk-engines-2.91.1 error Reply with quote

I had also the same problem.

Is there any solution for that?
Back to top
View user's profile Send private message
the_mgt
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 259
Location: Germany, near Hannover

PostPosted: Fri Sep 14, 2012 9:32 am    Post subject: Reply with quote

Quote:
To solve this issue, just patch it replacing "<glib/gtimer.h>" with "<glib.h>".


See https://bugs.archlinux.org/task/29643?opened=6098&status%5B0%5D=
_________________
Citadel Groupware | Avahi Howto
Back to top
View user's profile Send private message
tetromino
Retired Dev
Retired Dev


Joined: 02 Dec 2003
Posts: 215

PostPosted: Fri Sep 14, 2012 6:55 pm    Post subject: Reply with quote

Do not use gtk-engines-2.91.x. It is an evolutionary dead end, broken, unsupported, and useless in >=gnome-2.91.

We removed it from the gnome overlay in May 2012. The only reason we did not remove it a year earlier was because we forgot that it existed.
Back to top
View user's profile Send private message
the_mgt
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 259
Location: Germany, near Hannover

PostPosted: Fri Sep 14, 2012 8:16 pm    Post subject: Reply with quote

I am using a selfmade ebuild for the equinox engine, since the equinox themes are the only ones I currently find bearable. Most darker/greysih themes are unusable, especially with Qt's gtk mode. Unfortunately it seems to be a dead end, too. Also it suffers from the same error.
_________________
Citadel Groupware | Avahi Howto
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum