Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195208 - =x11-wm/{emerald,heliodor}-0.2.1 doesn't compile w/ libwnck-2.20 - ‘WNCK_WINDOW_MODAL_DIALOG’ undeclared
Summary: =x11-wm/{emerald,heliodor}-0.2.1 doesn't compile w/ libwnck-2.20 - ‘WNCK_WIND...
Status: RESOLVED DUPLICATE of bug 189374
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Joshua Jackson (RETIRED)
URL:
Whiteboard:
Keywords:
: 195435 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-09 11:23 UTC by Petr Nosek
Modified: 2007-10-19 08:51 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 Petr Nosek 2007-10-09 11:23:20 UTC
I tried revdep-rebuild after an update and compiling of these packages crashes.

There is a problem with  libwnck-1.so.18

emerge --oneshot  =x11-wm/emerald-0.2.1 =gnome-base/gnome-panel-2.18.3 =x11-wm/heliodor-0.2.1 =gnome-base/gnome-applets-2.18.0-r2
...


gentoo ~ # revdep-rebuild
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/bin/emerald (requires  libwnck-1.so.18)
  broken /usr/bin/emerald-theme-manager (requires  libwnck-1.so.18)
  broken /usr/bin/heliodor (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/liblegacy.so (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/liboxygen.so (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/libpixmap.so (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/libtruglass.so (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/libvrunner.so (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/libzootreeves.so (requires  libwnck-1.so.18)
  broken /usr/libexec/stickynotes_applet (requires  libwnck-1.so.18)
  broken /usr/lib/gnome-panel/libwnck-applet.so (requires  libwnck-1.so.18)
  broken /usr/lib/libemeraldengine.so.0.0.0 (requires  libwnck-1.so.18)
  broken /usr/lib/window-manager-settings/libberyl.so (requires  libwnck-1.so.18)
 done.
  (/root/.revdep-rebuild.3_rebuild)

.
.
.
All prepared. Starting rebuild...
emerge --oneshot  =x11-wm/emerald-0.2.1 =gnome-base/gnome-panel-2.18.3 =x11-wm/heliodor-0.2.1 =gnome-base/gnome-applets-2.18.0-r2



=x11-wm/emerald-0.2.1:
----------------------
main.c: In function ‘action_menu_map’:
main.c:3784: error: ‘WNCK_WINDOW_MODAL_DIALOG’ undeclared (first use in this function)
main.c:3784: error: (Each undeclared identifier is reported only once
main.c:3784: error: for each function it appears in.)
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-wm/emerald-0.2.1/work/emerald-0.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-wm/emerald-0.2.1/work/emerald-0.2.1'
make: *** [all] Error 2
 *
 * ERROR: x11-wm/emerald-0.2.1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called gnome2_src_compile
 *   gnome2.eclass, line 71:   Called die
 *
 * compile failure
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-wm/emerald-0.2.1/temp/build.log'.
 *

 * Messages for package x11-wm/emerald-0.2.1:

 *
 * ERROR: x11-wm/emerald-0.2.1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called gnome2_src_compile
 *   gnome2.eclass, line 71:   Called die
 *
 * compile failure
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-wm/emerald-0.2.1/temp/build.log'.
 *



gnome-base/gnome-panel-2.18.3:
------------------------------
make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.18.3/work/gnome-panel-2.18.3/applets/wncklet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.18.3/work/gnome-panel-2.18.3/applets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.18.3/work/gnome-panel-2.18.3'
make: *** [all] Error 2
 *
 * ERROR: gnome-base/gnome-panel-2.18.3 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called gnome2_src_compile
 *   gnome2.eclass, line 71:   Called die
 *
 * compile failure
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/gnome-base/gnome-panel-2.18.3/temp/build.log'.
 *

 * Messages for package gnome-base/gnome-panel-2.18.3:

 *
 * ERROR: gnome-base/gnome-panel-2.18.3 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called gnome2_src_compile
 *   gnome2.eclass, line 71:   Called die
 *
 * compile failure
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/gnome-base/gnome-panel-2.18.3/temp/build.log'




=x11-wm/heliodor-0.2.1:
-----------------------
main.c: In function ‘action_menu_map’:
main.c:3345: error: ‘WNCK_WINDOW_MODAL_DIALOG’ undeclared (first use in this function)
main.c:3345: error: (Each undeclared identifier is reported only once
main.c:3345: error: for each function it appears in.)
main.c: In function ‘update_style’:
main.c:4116: warning: ignoring return value of ‘gtk_style_attach’, declared with attribute warn_unused_result
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-wm/heliodor-0.2.1/work/heliodor-0.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-wm/heliodor-0.2.1/work/heliodor-0.2.1'
make: *** [all] Error 2
 *
 * ERROR: x11-wm/heliodor-0.2.1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   heliodor-0.2.1.ebuild, line 29:   Called die
 *
 * emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-wm/heliodor-0.2.1/temp/build.log'.
 *

 * Messages for package x11-wm/heliodor-0.2.1:

 *
 * ERROR: x11-wm/heliodor-0.2.1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   heliodor-0.2.1.ebuild, line 29:   Called die
 *
 * emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-wm/heliodor-0.2.1/temp/build.log'.
 *


=gnome-base/gnome-applets-2.18.0-r2:
------------------------------------
In file included from applet.c:49:
applet.h:90: error: expected specifier-qualifier-list before ‘GtkTooltips’
applet.c: In function ‘gnome_volume_applet_init’:
applet.c:222: error: ‘GnomeVolumeApplet’ has no member named ‘tooltips’
applet.c:223: error: ‘GnomeVolumeApplet’ has no member named ‘tooltips’
applet.c: In function ‘cb_volume’:
applet.c:1052: error: ‘GnomeVolumeApplet’ has no member named ‘force_next_update’
applet.c: In function ‘gnome_volume_applet_refresh’:
applet.c:1101: error: ‘GnomeVolumeApplet’ has no member named ‘force_next_update’
applet.c:1102: error: ‘GnomeVolumeApplet’ has no member named ‘force_next_update’
applet.c:1141: error: ‘GnomeVolumeApplet’ has no member named ‘tooltips’
applet.c: In function ‘cb_gconf’:
applet.c:1259: error: ‘GnomeVolumeApplet’ has no member named ‘force_next_update’
make[3]: *** [applet.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-applets-2.18.0-r2/work/gnome-applets-2.18.0/mixer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-applets-2.18.0-r2/work/gnome-applets-2.18.0/mixer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-applets-2.18.0-r2/work/gnome-applets-2.18.0'
make: *** [all] Error 2
 *
 * ERROR: gnome-base/gnome-applets-2.18.0-r2 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called gnome2_src_compile
 *   gnome2.eclass, line 71:   Called die
 *
 * compile failure
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/gnome-base/gnome-applets-2.18.0-r2/temp/build.log'.
 *

 * Messages for package gnome-base/gnome-applets-2.18.0-r2:

 *
 * ERROR: gnome-base/gnome-applets-2.18.0-r2 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called gnome2_src_compile
 *   gnome2.eclass, line 71:   Called die
 *
 * compile failure
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/gnome-base/gnome-applets-2.18.0-r2/temp/build.log'.









emerge --info
Portage 2.1.3.9 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20.2 i686)
=================================================================
System uname: 2.6.20.2 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Tue, 09 Oct 2007 08:20:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/java-config/vms/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.supp.name/ http://gentoo.ynet.sk/pub "
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /usr/local/overlays/xgl-coffee"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa arts avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libg++ mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session slang spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xorg xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-09 17:14:45 UTC
We seriously don't want tons of different issues in one bug. 

- Don't mix stable ebuilds with ~arch dependencies - that's why gnome-base/gnome-applets-2.18.0-r2 fails for you.

- There's no useful output for gnome-base/gnome-panel-2.18.3, and move this out of this bug anyway.
Comment 2 Petr Nosek 2007-10-10 16:13:45 UTC
(In reply to comment #1)
> We seriously don't want tons of different issues in one bug. 
> 
> - Don't mix stable ebuilds with ~arch dependencies - that's why
> gnome-base/gnome-applets-2.18.0-r2 fails for you.
> 
> - There's no useful output for gnome-base/gnome-panel-2.18.3, and move this out
> of this bug anyway.
> 


I'm sorry, it was really problem with ~arch dependencies. Upgrade of x11-libs/libwnck (unstable) causes my problems. I had liwnck in my "portage.unmask" file. 

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-10 22:46:35 UTC
*** Bug 195435 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-10-10 22:50:12 UTC
Wrong resolution.
Comment 5 Harris Landgarten 2007-10-10 22:53:12 UTC
x11-libs/libwnck-2.20.0 is part of gnome-2.20.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-10-10 22:53:51 UTC
x11-libs/libwnck-2.20.0 is package.masked; please submit this upstream and post the URL here.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-10-10 22:54:31 UTC
(And by upstream I mean emerald/heliodor, not Gnome.
Comment 8 Ulrich Müller gentoo-dev 2007-10-18 15:57:53 UTC
(In reply to comment #6)
> x11-libs/libwnck-2.20.0 is package.masked;

No longer. Reopening.
Comment 9 Scott Tester 2007-10-18 23:38:43 UTC
for a quick hack to get you going, try adding this as line 159 to /usr/include/libwnck-1.0/libwnck/window.h:

#define WNCK_WINDOW_MODAL_DIALOG 127

(127 is arbitary.  Any number outside the enum range for the other WNCK_WINDOW_*)
They took this constant out of the API for wnck, but emerald and heliodor still reference it in main.c
A proper fix is for the devs of emerald and heliodor to remove the "case WNCK_WINDOW_MODAL_DIALOG" lines from the main.c code.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-10-19 08:51:47 UTC

*** This bug has been marked as a duplicate of bug 189374 ***