Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351945 - xfce4-meta update wants to emerge xfce-base/xfwm4-4.8.0 before xfce-base/libxfce4util-4.8
Summary: xfce4-meta update wants to emerge xfce-base/xfwm4-4.8.0 before xfce-base/libx...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 351960 352058 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-17 21:57 UTC by Etaoin Shrdlu
Modified: 2011-01-21 17:38 UTC (History)
4 users (show)

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


Attachments
full build log (build.log,23.69 KB, text/plain)
2011-01-17 21:58 UTC, Etaoin Shrdlu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Etaoin Shrdlu 2011-01-17 21:57:00 UTC
Ends with

...
  CC     xfwm4_tweaks_settings-tweaks-settings.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..  -DNDEBUG -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14    -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/xfce4/libxfce4ui-1 -I/usr/include/gtk-2.0 -I/usr/include/xfce4 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -pthread -I/usr/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DDATADIR=\"/usr/share\" -DSRCDIR=\"..\" -DLOCALEDIR=\"/usr/share/locale\" -march=native -Os -pipe -c -o xfwm4_tweaks_settings-tweaks-settings.o `test -f 'tweaks-settings.c' || echo './'`tweaks-settings.c
xfwm4-settings.c: In function ‘xfwm_settings_shortcut_row_activated’:
xfwm4-settings.c:2014: error: too many arguments to function ‘xfce_shortcuts_provider_set_shortcut’
make[3]: *** [xfwm4_settings-xfwm4-settings.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/xfce-base/xfwm4-4.8.0/work/xfwm4-4.8.0/settings-dialogs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfce-base/xfwm4-4.8.0/work/xfwm4-4.8.0/settings-dialogs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce-base/xfwm4-4.8.0/work/xfwm4-4.8.0'
make: *** [all] Error 2
emake failed
 * ERROR: xfce-base/xfwm4-4.8.0 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3194:  Called xfconf_src_compile
 *   environment, line 3798:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =xfce-base/xfwm4-4.8.0',
 * the complete build log and the output of 'emerge -pqv =xfce-base/xfwm4-4.8.0'.
 * The complete build log is located at '/var/tmp/portage/xfce-base/xfwm4-4.8.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/xfce-base/xfwm4-4.8.0/temp/environment'.
 * S: '/var/tmp/portage/xfce-base/xfwm4-4.8.0/work/xfwm4-4.8.0'


Reproducible: Always





# emerge --info =xfce-base/xfwm4-4.8.0
Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5cgroup x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5cgroup-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-1.12.14
Timestamp of tree: Mon, 17 Jan 2011 17:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13::<unknown repository>, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo                 http://ftp.snt.ipv6.utwente.nl/pub/os/linux/gentoo                 http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="-6 --recursive  --links  --safe-links  --perms  --times                       --compress  --force  --whole-file  --delete   --stats    		    --timeout=180 --exclude='/distfiles' --exclude='/local' 		    --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aalib acl acpi alsa amd64 arts avi berkdb branding bzip2 bzlib cairo caps cdr chm classic cracklib crypt curl dbus dga dio djvu dlloader dri dvd dvdr dvdread encode exceptions exif fam ffmpeg font-server ftp gif glib gtk gtk2 handbook hddtemp idn imap imlib ipv6 jabber java joystick jpeg lock mad maildir mbox memlimit midi mime mmap mng motif mozbranding mp3 mpeg multilib musepack ncurses nls nntp nocd nptl nptlonly nsplugin offensive ogg oggvorbis opengl pam pcntl pcre pdf pdflib perl png pnp posix ps python rdesktop rdp readline sdl semantic-desktop session shared sharedmem sockets sqlite ssl startup-notification svg sysvipc tcl tcltk threads thunar tiff tk truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales vnc vorbis wavelan wireshark wmf xcb xcomposite xine xml xml2 xmlrpc xorg xpm xsl xv xvid zlib" 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="evdev keyboard mouse" KERNEL="linux" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev ati" XFCE_PLUGINS="menu" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -pqv =xfce-base/xfwm4-4.8.0
[ebuild     U ] xfce-base/xfwm4-4.8.0 [4.6.2] USE="startup-notification xcomposite -debug"
Comment 1 Etaoin Shrdlu 2011-01-17 21:58:23 UTC
Created attachment 260076 [details]
full build log

Full build log
Comment 2 Etaoin Shrdlu 2011-01-17 22:00:44 UTC
Continuing the emerge, xfce-base/xfce4-settings-4.8.0 build fails with the same error:

xfce-keyboard-settings.c: In function ‘_xfce_keyboard_settings_load_shortcut’:
xfce-keyboard-settings.c:502: error: ‘XfceShortcut’ has no member named ‘snotify’
xfce-keyboard-settings.c: In function ‘xfce_keyboard_settings_edit_shortcut’:
xfce-keyboard-settings.c:572: error: too many arguments to function ‘xfce_shortcuts_provider_set_shortcut’
xfce-keyboard-settings.c: In function ‘xfce_keyboard_settings_edit_command’:
xfce-keyboard-settings.c:634: error: too many arguments to function ‘xfce_shortcuts_provider_set_shortcut’
xfce-keyboard-settings.c: In function ‘xfce_keyboard_settings_shortcut_added’:
xfce-keyboard-settings.c:775: error: ‘XfceShortcut’ has no member named ‘snotify’
xfce-keyboard-settings.c: In function ‘xfce_keyboard_settings_add_button_clicked’:
xfce-keyboard-settings.c:883: error: too many arguments to function ‘xfce_shortcuts_provider_set_shortcut’
Comment 3 Rafał Mużyło 2011-01-17 22:25:56 UTC
See, what provides xfwm_settings_shortcut_row_activated and check if you have updated that lib.
Comment 4 Etaoin Shrdlu 2011-01-17 22:31:11 UTC
Thanks. How do I find out who provides that function?
Comment 5 Etaoin Shrdlu 2011-01-17 22:56:01 UTC
update: I went ahead and emerged the remaining xfce4 packages that could be emerged, then tried to emerge xfwm4 and xfce4-settings again, and this time they were successful.
I'm leaving the bug open in case you reckon that there is indeed something wrong Otherwise, just close it. Thanks.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-01-17 23:08:42 UTC
It would fail like that if installed copy of libxfcegui4 is older than 4.7.0.

And xfwm4 depends on libxfce4ui, libxfce4ui blocks older versions of libxfcegui4 than 4.7.0... so this shouldn't even be possible :)
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2011-01-18 10:15:55 UTC
*** Bug 351960 has been marked as a duplicate of this bug. ***
Comment 8 Elias Gabriel Amaral da Silva 2011-01-18 13:09:12 UTC
"that shouldn't be even possible" was also the reaction of someone at #gentoo upon seeing libxfce4ui ebuild.

But the fact is that I didn't used any thing like --nodeps or other non-standard procedure.

I just did emerge -vuDt world

And update of entire xfce was scheduled, *without* scheduling either removal or upgrade of libxfcegui4

So half xfce was updated, half failed to emerge.

If, while having old libxfcegui4, it remained old, then the block at RDEPEMD isn't working. So I think you should reproduce the bug while having xfce 4.6 installed, and this library installed at the wrong version.

o.o
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2011-01-18 17:21:24 UTC
*** Bug 352058 has been marked as a duplicate of this bug. ***
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-20 20:57:13 UTC
Looks like a portage problem, then.
Comment 11 Sebastian Luther (few) 2011-01-20 21:42:45 UTC
PMS: 
9.2.5.2 Block Operator
[...]
BANG-STRENGTH

There are two strengths of block: weak and strong. A weak block may be ignored by the package manager, so long as any blocked package will be uninstalled later on. [...]
\quote

Since you're using a weak block, all that is guaranteed is that the old libxfcegui4 won't be installed after emerge has finished. It does not imply that those old versions are removed before libxfce4ui is installed.
Comment 12 Zac Medico gentoo-dev 2011-01-21 00:24:45 UTC
(In reply to comment #11)
In other words, apparently a strong !!atom blocker is needed in this case.

Note that strong/weak blockers differentiation was introduced in order to smoothly solve cases like bug 234907 (an issue which caused difficulty for may users in the absence of weak blocker support).
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2011-01-21 17:38:37 UTC
added !!