Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124896 - app-accessibility/gok-1.0.6 compile error
Summary: app-accessibility/gok-1.0.6 compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: John N. Laliberte (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 20:49 UTC by Devon Warren
Modified: 2006-03-05 15:33 UTC (History)
3 users (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 Devon Warren 2006-03-03 20:49:16 UTC
Heres what happens when I emerge gok-1.0.6 using the X and doc use flags (just some of the last lines):

then mv -f ".deps/gok-composer.Tpo" ".deps/gok-composer.Po"; else rm -f ".deps/gok-composer.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGOK_LOCALEDIR=\""/usr/share/locale"\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib64"\" -I.. -I.. -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/at-spi-1.0 -I/usr/include/gail-1.0 -I/usr/include/libwnck-1.0 -I/usr/include/gnome-speech-1.0 -I/usr/include/libglade-2.0      -march=k8 -O3 -pipe -msse3 -MT gok-windowlister.o -MD -MP -MF ".deps/gok-windowlister.Tpo" -c -o gok-windowlister.o gok-windowlister.c; \
then mv -f ".deps/gok-windowlister.Tpo" ".deps/gok-windowlister.Po"; else rm -f ".deps/gok-windowlister.Tpo"; exit 1; fi
gok-windowlister.c: In function `gok_windowlister_refreshList':
gok-windowlister.c:373: error: `WNCK_CLIENT_TYPE_PAGER' undeclared (first use in this function)
gok-windowlister.c:373: error: (Each undeclared identifier is reported only once
gok-windowlister.c:373: error: for each function it appears in.)
make[2]: *** [gok-windowlister.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gok-1.0.6/work/gok-1.0.6/gok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gok-1.0.6/work/gok-1.0.6'
make: *** [all] Error 2

!!! ERROR: app-accessibility/gok-1.0.6 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile
  ebuild.sh, line 1648:   Called gnome2_src_compile

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info:

Portage 2.1_pre5-r2 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.twaren.net/Linux/Gentoo/ http://mirror.isp.net.au/ftp/pub/gentoo/ ftp://mirror.isp.net.au/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/bin"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3ds 7zip X X509 a52 aac aalib accessibility acpi aim aimextras aio akode allegro alsa amarok amd ao apache2 applet arts artswrappersuid artworkextra asf async atk atlas audiofile automount avi bash-completion bcmath bdf berkdb bitmap-fonts bittorrent bl blender-game bootsplash bzip2 c++ cairo calendar canvas cdda cdinstall cdio cdparanoia cdr cdrom cegui cg chroot clamav clamd clanJavaScript cli courier cpudetection cracklib crypt cscope css csv ctype cups curl curlwrappers custom-cflags cvsgraph daap dar64 dbus dedicated devil dga dhcp diet dio dnd doc dri dvb dvd dvdr dvdread editor eds effects emboss emoticon emul-linux-x86 encode enscript esd ethereal examples exif expat exscalibar ext-png ext-zlib extensions extraicons extramodules extras fame fat festival ffmpeg figlet firefox flac flash flood fluidsynth fmod font-server foomaticdb fortran fpx freetts freetype ftp gcj gif gimp gimpprint gimpshop glep glibc glitz glut glx gmail gmailtimestamps gmp gnome gnome-print gnomedb gnuplot gnutls gpgme gphoto2 gpm gps graphviz gs gstreamer gtalk gtk gtk2 gtkhtml gzip h323 hal hddtemp hlapi hpn html http httpd icq id3 image imagemagick imlib imlib2 inifile inkjar input_devices_keyboard input_devices_mouse input_devices_penmount ipod j2ee jabber jack-tmpfs java javascript jcs jikes john jp2 jpeg jpeg2k justify jython kcal kde kdeenablefinal kdepim kig-scripting kipi ladcca ladspa lame libcaca libclamav libsamplerate libtommath libvisual libwww lids lirc lite live lm_sensors logitech-mouse lzo lzw lzw-tiff mad mapeditor maps math mbrola mcal md5sum mem-cache menubar mew mikmod mime mimencode ming mixer mjpeg mng mod mod_python motif mozdevelop mozilla mozsha1 mozsvg mp3 mp4live mpeg mpeg2 mpeg4 mpi mplayer msession musepack music musicbrainz mysql mythtv nas ncurses net network new-login nforce2 nls nntp nsplugin nspr ntfs ntlm numarray numeric nvidia oav ode offensive ogg oggvorbis ogre ole on-the-fly-crypt openal openexr opengl openntpd openssh openssl osc oscache oscar oss pam pango password pcapnav pci pda pdf pdfkit pdflib perl php physfs pic player plib plotutils plugin png portaudio posix povray ppds prelude priority pyste python qt quicktime rar rdesktop readline real realms recode reiserfs remix rplay rrdtool rsh rss rtc ruby sametime sample scanner sdk sdl sendfile sensord server session sftp shared shorten silvercity silverxp simplexml skins slp smime sms sndfile sounds speech speedo speex spell spreadsheet sql sqlite sqlite3 ssl stats stencil-buffer stream subp subtitles subversion svg svgz syslog szip tcltk tcpd theora thesaurus thumbnail tidy tiff timidity tokenizer tomsfastmath toolbar tools transcode truetype truetype-fonts type1 type1-fonts udev uml unicode usb userlocales v4l v4l2 vcd vcdimager vchroot vfat vhosts video_cards_nv video_cards_nvidia videos virus-scan visualization vlm vnc voice vorbis wifi wma123 wordperfect wv wxgtk1 wxwindows x11vnc x264 xanim xcomposite xface xine xml2 xmms xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo zip zlib elibc_glibc kernel_linux userland_GNU video_cards_-i810"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Ed Catmur 2006-03-05 07:55:12 UTC
Reproduced on ppc32.
Comment 2 Michael Cramer 2006-03-05 09:13:25 UTC
WNCK_CLIENT_TYPE_PAGER is only defined at libwnck version >= 2.13.5, the gok cvs has this issue fixed in "gok-windowlister.c"

with 

"void gok_windowlister_refreshList ()
{
    WnckScreen *screen;
#ifdef HAVE_WNCK_CLIENT_TYPE
    static gboolean client_type_set = FALSE;
#endif

    /* do not free the list here! this seems to cause segv -- need to look at library code
        if (m_window_list != NULL)
        {
                g_list_free(m_window_list);
        }
        */

#ifdef HAVE_WNCK_CLIENT_TYPE
    /* Register as a pager, so that the window manager treats us the
     * same as a taskbar (i.e. having global awareness of apps) rather
     * than as a normal app (i.e. primarily only knowing about and
     * having UI for dealing with my own windows).  Doesn't matter for
     * most cases, but some WMs in some cases treat the two
     * differently.
     */
    if (!client_type_set) {
        wnck_set_client_type (WNCK_CLIENT_TYPE_PAGER);
        client_type_set = TRUE;
    }
#endif

    screen = wnck_screen_get_default ();
    wnck_screen_force_update (screen);

    m_window_list = wnck_screen_get_windows (screen);

}
"

perhaps patching the gok source to include this, or mask gok-1.0.6 till a recent version of libwnck is in portage
btw version 1.0.5 works fine here
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2006-03-05 12:05:58 UTC
Could you take a look at this, John?
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2006-03-05 15:33:09 UTC
Great, thanks for the heads up guys.  Moved it into the overlay until we put 2.14 into unstable. ( a few weeks )  Sorry for the mishap.