Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88047 - devilspie-0.7 does not build with libwnck-2.10.0
Summary: devilspie-0.7 does not build with libwnck-2.10.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
: 91143 (view as bug list)
Depends on: 79332
Blocks: 84701
  Show dependency tree
 
Reported: 2005-04-05 09:39 UTC by Ivan Yosifov
Modified: 2005-06-13 06:51 UTC (History)
3 users (show)

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


Attachments
patch for devilspie to compile (libwnck-2.10.patch,907 bytes, patch)
2005-05-01 14:24 UTC, Hanno Zysik (geki)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Yosifov 2005-04-05 09:39:01 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -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/libwnck-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2       -DDEVILSPIE_LOCALEDIR=\""/usr/share/locale"\"   -DDATADIR=\""/usr/share"\"        -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED         -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED    -g0 -O3 -march=pentium4 -mtune=pentium4 -msse2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer -mfpmath=sse -ffast-math -c devilspie-action-savegeometry.c
devilspie-action-resize.gob: In function `___1_devilspie_action_resize_run':
devilspie-action-resize.gob:46: error: too few arguments to function `wnck_window_unminimize'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -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/libwnck-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2       -DDEVILSPIE_LOCALEDIR=\""/usr/share/locale"\"   -DDATADIR=\""/usr/share"\"        -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED         -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED    -g0 -O3 -march=pentium4 -mtune=pentium4 -msse2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer -mfpmath=sse -ffast-math -c devilspie-action-setgeometry.c
make[2]: *** [devilspie-action-resize.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/devilspie-0.7/work/devilspie-0.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/devilspie-0.7/work/devilspie-0.7'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-misc/devilspie-0.7 failed.
!!! Function src_compile, Line 556, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 10:59:12)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-g0 -O3 -march=pentium4 -mtune=pentium4 -msse2 -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer
-mfpmath=sse -ffast-math"
CHOST="i686-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/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-g0 -O3 -march=pentium4 -mtune=pentium4 -msse2 -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer
-mfpmath=sse -ffast-math -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl acpi alsa apache2 arts avi bash-completion berkdb
bitmap-fonts bonobo cdr crypt cups curl dba doc dvd dvdr emboss encode esd flac
foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile hal
howl imagemagick imlib ipv6 ithreads java jpeg junit kde kdeenablefinal ldap
libg++ libwww mad mikmod mmap mmx mmxext mono motif mozilla mp3 mpeg mysql
ncurses nls nptl nvidia oggvorbis opengl pam pdflib perl pic plotutils png
postgres pthreads python qt quicktime readline sdl session sharedmem slang spell
sse sse2 ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts
type1-fonts unicode usb vhosts xml xml2 xv zlib linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET
Comment 1 Ivan Yosifov 2005-04-05 09:42:02 UTC
The problem started after upgrading to GNOME 2.10, so blocking bug #84701 .
Comment 2 foser (RETIRED) gentoo-dev 2005-04-06 02:31:00 UTC
not gnome

please try upgrading to 0.8, the one in portage is out of date
Comment 3 Ivan Yosifov 2005-04-06 02:39:09 UTC
0.8 does the same thing ( just renaming the 0.7 ebuild bumps it ). I contacted 	Ross Burton and he said he is working on it.
Comment 4 foser (RETIRED) gentoo-dev 2005-04-06 03:54:55 UTC
still needs to be taken care of
Comment 5 Hanno Zysik (geki) 2005-05-01 14:24:11 UTC
Created attachment 57766 [details, diff]
patch for devilspie to compile

see http://www.mail-archive.com/garnome-list@gnome.org/msg00247.html

but breaking then with:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -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/libwnck-1.0 -I/usr/include/libxml2  
	-DDEVILSPIE_LOCALEDIR=\""/usr/share/locale"\"  
-DDATADIR=\""/usr/share"\"	-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
	-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED   -Wall -O2
-mtune=pentium4 -march=pentium4 -pipe -fforce-addr -fforce-mem
-momit-leaf-frame-pointer -fomit-frame-pointer -fweb -ftracer
-frename-registers -c devilspie-action-resize.c
devilspie-action-resize.gob: In function `___1_devilspie_action_resize_run':
devilspie-action-resize.gob:48: Warnung:
Comment 6 Hanno Zysik (geki) 2005-05-01 14:24:11 UTC
Created attachment 57766 [details, diff]
patch for devilspie to compile

see http://www.mail-archive.com/garnome-list@gnome.org/msg00247.html

but breaking then with:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -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/libwnck-1.0 -I/usr/include/libxml2  
	-DDEVILSPIE_LOCALEDIR=\""/usr/share/locale"\"  
-DDATADIR=\""/usr/share"\"	-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
	-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED   -Wall -O2
-mtune=pentium4 -march=pentium4 -pipe -fforce-addr -fforce-mem
-momit-leaf-frame-pointer -fomit-frame-pointer -fweb -ftracer
-frename-registers -c devilspie-action-resize.c
devilspie-action-resize.gob: In function `___1_devilspie_action_resize_run':
devilspie-action-resize.gob:48: Warnung: »timestamp« könnte in dieser Funktion
uninitialisiert bleiben
i686-pc-linux-gnu-gcc -Wall -O2 -mtune=pentium4 -march=pentium4 -pipe
-fforce-addr -fforce-mem -momit-leaf-frame-pointer -fomit-frame-pointer -fweb
-ftracer -frename-registers  -o doc-generator  tristate-dummy.o
devilspie-matcher.o devilspie-matcher-windowname.o devilspie-matcher-always.o
devilspie-action.o devilspie-action-debug.o devilspie-action-decorate.o
devilspie-action-exec.o devilspie-action-hide.o devilspie-action-layer.o
devilspie-action-opacity.o devilspie-action-resize.o
devilspie-action-savegeometry.o devilspie-action-setgeometry.o
devilspie-action-setwintype.o devilspie-action-setworkspace.o flurb.o
doc-generator.o -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0 -lxml2 -lpthread -lz -lm   -lpopt 
devilspie-matcher-windowname.o: In function
`___1_devilspie_matcher_windowname_test':
devilspie-matcher-windowname.c:(.text+0x6f8): undefined reference to
`_wnck_atom_get'
devilspie-matcher-windowname.c:(.text+0x70e): undefined reference to
`_wnck_get_string_property_latin1'
devilspie-action-debug.o: In function `___1_devilspie_action_debug_run':
devilspie-action-debug.c:(.text+0xcf): undefined reference to `_wnck_atom_get'
devilspie-action-debug.c:(.text+0xe8): undefined reference to
`_wnck_get_string_property_latin1'
devilspie-action-decorate.o: In function
`devilspie_action_decorate_mwm_set_decorations':
devilspie-action-decorate.c:(.text+0x24a): undefined reference to
`_wnck_atom_get'
devilspie-action-decorate.o: In function `___2_devilspie_action_decorate_run':
devilspie-action-decorate.c:(.text+0x351): undefined reference to
`_wnck_atom_get'
devilspie-action-decorate.c:(.text+0x36e): undefined reference to
`_wnck_screen_get_xscreen'
devilspie-action-decorate.c:(.text+0x391): undefined reference to
`_wnck_change_state'
devilspie-action-decorate.c:(.text+0x434): undefined reference to
`_wnck_atom_get'
devilspie-action-decorate.c:(.text+0x452): undefined reference to
`_wnck_screen_get_xscreen'
devilspie-action-decorate.c:(.text+0x478): undefined reference to
`_wnck_change_state'
devilspie-action-layer.o: In function `___1_devilspie_action_layer_run':
devilspie-action-layer.c:(.text+0x2b7): undefined reference to `_wnck_atom_get'

devilspie-action-layer.c:(.text+0x2d3): undefined reference to
`_wnck_screen_get_xscreen'
devilspie-action-layer.c:(.text+0x2f3): undefined reference to
`_wnck_change_state'
devilspie-action-layer.c:(.text+0x38d): undefined reference to `_wnck_atom_get'

devilspie-action-layer.c:(.text+0x3aa): undefined reference to
`_wnck_screen_get_xscreen'
devilspie-action-layer.c:(.text+0x3cd): undefined reference to
`_wnck_change_state'
devilspie-action-opacity.o: In function `___2_devilspie_action_opacity_run':
devilspie-action-opacity.c:(.text+0x343): undefined reference to
`_wnck_atom_get'
devilspie-action-opacity.c:(.text+0x3b4): undefined reference to
`_wnck_atom_get'
devilspie-action-opacity.c:(.text+0x4a9): undefined reference to
`_wnck_atom_get'
devilspie-action-setwintype.o: In function `wnck_window_set_window_type':
devilspie-action-setwintype.c:(.text+0x79): undefined reference to
`_wnck_atom_get'
devilspie-action-setwintype.c:(.text+0x81): undefined reference to
`_wnck_error_trap_push'
devilspie-action-setwintype.c:(.text+0x8d): undefined reference to
`_wnck_atom_get'
devilspie-action-setwintype.c:(.text+0xd8): undefined reference to
`_wnck_error_trap_pop'
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [doc-generator] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Leaving directory
`/var/tmp/portage/devilspie-0.8/work/devilspie-0.8/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/devilspie-0.8/work/devilspie-0.8'
make: *** [all-recursive-am] Fehler 2
Comment 7 Hanno Zysik (geki) 2005-05-01 15:18:19 UTC
google, my friends, is your friend. ;)

check:
http://www.mail-archive.com/garnome-list@gnome.org/msg00442.html
http://www.mail-archive.com/garnome-list@gnome.org/msg00498.html

so for you guys:
LDFLAGS="-Wl,--export-dynamic" emerge --oneshot libwnck
emerge devilspie

SOLVED
Comment 8 Ivan Yosifov 2005-05-07 04:50:34 UTC
devilspie 0.10 compiles just fine. Please bump.
Comment 9 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-05-07 12:45:25 UTC
*** Bug 91143 has been marked as a duplicate of this bug. ***
Comment 10 Henrik Brix Andersen 2005-06-13 06:51:16 UTC
x11-misc/devilspie-0.10 is now in portage, fixing the compilation issue with
libwnck-2.10.0.

Thank you for reporting this.