Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79953 - emerge xfce4-clipman-0.4.1-r1 error: GtkItemFactory undeclared
Summary: emerge xfce4-clipman-0.4.1-r1 error: GtkItemFactory undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-29 06:43 UTC by Jian He
Modified: 2005-02-19 18:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jian He 2005-01-29 06:43:27 UTC
When I try to emerge xfce4-extras, I get the errors.

Reproducible: Always
Steps to Reproduce:
1. emerge xfce4-clipman

Actual Results:  
...
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/xfce4 -I/usr/X11R6/include
-I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -DXFCE_PANEL_THREADED=1
"-DXFCE_PANEL_LOCK()=gdk_threads_enter()"
"-DXFCE_PANEL_UNLOCK()=gdk_threads_leave()" -O3 -march=pentium4
-fomit-frame-pointer -pipe -g -g -Wall -DG_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -MT libclipman_la-clipman.lo -MD -MP -MF
.deps/libclipman_la-clipman.Tpo -c clipman.c  -fPIC -DPIC -o
.libs/libclipman_la-clipman.o
clipman.c: In function `clipman_free':
clipman.c:337: error: `GtkItemFactory' undeclared (first use in this function)
clipman.c:337: error: (Each undeclared identifier is reported only once
clipman.c:337: error: for each function it appears in.)
clipman.c:337: error: `ifactory' undeclared (first use in this function)
...



# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.4.28-gentoo-r5 i686)
=================================================================
System uname: 2.4.28-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 11 2004, 11:41:10)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks nostrip sandbox sfperms"
GENTOO_MIRRORS="ftp://gg3.net/pub/linux/gentoo/ http://gentoo.gg3.net/
ftp://mirror.averse.net/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups debug
encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 imlib ipv6 java jpeg junit libg++ libwww mad mikmod motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python
quicktime readline sdl slang spell ssl svga tcpd tetex tiff truetype
truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jian He 2005-02-07 02:30:02 UTC
GtkItemFactory is deprecated, so "-DGTK_DISABLE_DEPRECATED" is the prime criminal.

but why emerge add the "-DGTK_DISABLE_DEPRECATED" option when compiling xfce4-clipman? how to avoid this?
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-02-07 03:09:53 UTC
Removing 'debug' from USE flags should solve the problem.
Comment 3 Brad Cowan (RETIRED) gentoo-dev 2005-02-19 18:48:31 UTC
yes please remove debug for this build