Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387713 - gnome-extra/evolution-data-server-2.32.{2,3}-r1 fails tests (failed to create calendar)
Summary: gnome-extra/evolution-data-server-2.32.{2,3}-r1 fails tests (failed to create...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
: 390061 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-19 17:30 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2011-12-02 18:17 UTC (History)
2 users (show)

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


Attachments
build.log (gnome-extra:evolution-data-server-2.32.2-r1:20111019-070005.log,500.11 KB, text/plain)
2011-10-19 17:30 UTC, Paweł Hajdan, Jr. (RETIRED)
Details
build.log.gz (gnome-extra:evolution-data-server-2.32.3-r1:20111103-082206.log.gz,77.40 KB, application/x-gzip)
2011-11-03 08:33 UTC, Paweł Hajdan, Jr. (RETIRED)
Details
build.log.gz (gnome-extra:evolution-data-server-2.32.3-r1:20111202-093412.log.gz,76.09 KB, application/x-gzip)
2011-12-02 09:45 UTC, Paweł Hajdan, Jr. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-10-19 17:30:16 UTC
Created attachment 290249 [details]
build.log

This is similar to bug #348412, but error messages are different.

Please note this is not the first time evolution-data-server was installed on the system, but at the time it was emerged I think it was not installed (i.e. I had it installed earlier but then uninstalled it before having this bug).

I've mentioned this because there are multiple bugs about this package using system-installed e-d-s libs instead of the newly installed ones.

PASS: test-ecal-get-free-busy

(process:15063): libecal-WARNING **: Cannot get cal from factory: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.evolution.dataserver.Calendar was not provided by any .service files

** ERROR **: failed to create calendar: `local:/var/tmp/portage/gnome-extra/evolution-data-server-2.32.2-r1/temp/ecal-test-8HWJ3V/'
aborting...
/bin/sh: line 5: 15063 Aborted                 ${dir}$tst
FAIL: test-ecal-get-timezone

(process:15083): libecal-WARNING **: Cannot get cal from factory: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.evolution.dataserver.Calendar was not provided by any .service files

** ERROR **: failed to create calendar: `local:/var/tmp/portage/gnome-extra/evolution-data-server-2.32.2-r1/temp/ecal-test-PGQC3V/'
aborting...
/bin/sh: line 5: 15083 Aborted                 ${dir}$tst
FAIL: test-ecal-add-timezone

Portage 2.1.10.11 (default/linux/x86/10.0/developer, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo i686)
=================================================================
System uname: Linux-3.0.6-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 18 Oct 2011 02:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--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.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus device-mapper dri dts dvd dvdr emacs emboss encode exif fam firefox flac fortran gdbm gdu gif git gnome-keyring gnutls gtk iconv icu jpeg lcms libnotify mad mbox mercurial mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nss ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl secure-delete session snmp spell sqlite ssl startup-notification subversion svg sysfs tcb tcpd threads tiff toolkit-scroll-bars truetype udev unicode usb vorbis x264 x86 xcb xft xinerama xml xorg xulrunner xv xvfb xvid zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmware vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2011-10-19 20:41:05 UTC
Try with 2.32.3-r1, tetromino's fix could fix this also:

*evolution-data-server-2.32.3 (19 Jun 2011)

  19 Jun 2011; Pacho Ramos <pacho@gentoo.org>
  +evolution-data-server-2.32.3.ebuild, +files/fix_relink_command.pl:
  Version bump, also fix bug #349782 (linking problems) with tetromino's
  solution.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-11-03 08:33:08 UTC
Created attachment 291571 [details]
build.log.gz

(In reply to comment #1)
> Try with 2.32.3-r1, tetromino's fix could fix this also:

Still fails, although the error messages seem a bit different.


FAIL: test-ecal-create-object
GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/
 for information. (Details -  1: Failed to get connection to session: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id: Failed 
to open file '/var/lib/dbus/machine-id': No such file or directory)
GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/
 for information. (Details -  1: Failed to get connection to session: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id: Failed 
to open file '/var/lib/dbus/machine-id': No such file or directory)

(process:17300): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(process:17300): libecal-WARNING **: Cannot activate ECal: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id: Failed to open fil
e '/var/lib/dbus/machine-id': No such file or directory


** ERROR **: failed to create calendar: `local:/var/tmp/portage/gnome-extra/evolution-data-server-2.32.3-r1/temp/ecal-test-WH6T4V/'
aborting...
/bin/sh: line 5: 17300 Aborted                 ${dir}$tst
FAIL: test-ecal-create-object--2
GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/
 for information. (Details -  1: Failed to get connection to session: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id: Failed 
to open file '/var/lib/dbus/machine-id': No such file or directory)
GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/
 for information. (Details -  1: Failed to get connection to session: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id: Failed 
to open file '/var/lib/dbus/machine-id': No such file or directory)

(process:17318): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(process:17318): libecal-WARNING **: Cannot activate ECal: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id: Failed to open fil
e '/var/lib/dbus/machine-id': No such file or directory


** ERROR **: failed to create calendar: `local:/var/tmp/portage/gnome-extra/evolution-data-server-2.32.3-r1/temp/ecal-test-U9OQ4V/'
aborting...
/bin/sh: line 5: 17318 Aborted                 ${dir}$tst

# ls -l /var/lib/dbus/machine-id
ls: cannot access /var/lib/dbus/machine-id: No such file or directory
# /etc/init.d/dbus status
 * status: started
# ps aux | grep dbus
101       1909  0.0  0.0   3072   904 ?        Ss   Oct23   0:00 /usr/bin/dbus-daemon --system
ph        2284  0.0  0.0   2204    56 ?        S    Oct23   0:00 /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/ssh-agent -- /etc/X11/Sessions/Xfce4
ph        2340  0.0  0.0   3424    92 ?        S    Oct23   0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/ssh-agent -- /etc/X11/Sessions/Xfce4
ph        2341  0.0  0.0   3796  1176 ?        Ss   Oct23   0:03 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
portage   6592  0.0  0.0   3268  1224 ?        Ss   09:17   0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
root     24461  0.0  0.0   2128   520 pts/3    S+   09:31   0:00 grep --colour=auto dbus

[ebuild   R    ] sys-apps/dbus-1.4.16  USE="X test -debug -doc (-selinux) -static-libs" 0 kB
Comment 3 Pacho Ramos gentoo-dev 2011-11-03 19:26:58 UTC
Your setup is broken as that file should exist:

ls -l /var/lib/dbus/machine-id
-rw-r--r-- 1 root root 33 oct 17 23:59 /var/lib/dbus/machine-id

This looks similar to bug 374861, but I don't know why dbus is not starting properly, CCing dbus maintainers then
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-11-03 21:31:26 UTC
(In reply to comment #3)
> Your setup is broken as that file should exist:

Rather your setup is broken since that file shouldn't be there ever.

It should be in /etc/machine-id instead as it's moved to that location by pkg_postinst() of sys-apps/dbus.

For that, it's required to restart system dbus and all instances of it (I would recommend a reboot)

> 
> ls -l /var/lib/dbus/machine-id
> -rw-r--r-- 1 root root 33 oct 17 23:59 /var/lib/dbus/machine-id
> 
> This looks similar to bug 374861, but I don't know why dbus is not starting
> properly, CCing dbus maintainers then
Comment 5 Pacho Ramos gentoo-dev 2011-11-03 23:38:09 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Your setup is broken as that file should exist:
> 
> Rather your setup is broken since that file shouldn't be there ever.
> 
> It should be in /etc/machine-id instead as it's moved to that location by
> pkg_postinst() of sys-apps/dbus.
> 
> For that, it's required to restart system dbus and all instances of it (I would
> recommend a reboot)
> 
> > 
> > ls -l /var/lib/dbus/machine-id
> > -rw-r--r-- 1 root root 33 oct 17 23:59 /var/lib/dbus/machine-id
> > 
> > This looks similar to bug 374861, but I don't know why dbus is not starting
> > properly, CCing dbus maintainers then

I have both files present and, as I can read in bug that explain why this was moved to that new location (even if I still don't know why I have both), some people complained about problems like this and other similar bug reports around the tree there:
https://bugs.gentoo.org/show_bug.cgi?id=370451#c3

Then, looks like dropping /var/lib/dbus/machine-id causes problems (and they are not solved by https://bugs.gentoo.org/show_bug.cgi?id=370451#c6)
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-11-04 03:31:26 UTC
(In reply to comment #5)
> I have both files present and,

Why? Does the pkg_postinst() of sys-apps/dbus not work for you? What's the error from `mv`?

> as I can read in bug that explain why this was
> moved to that new location (even if I still don't know why I have both), some
> people complained about problems like this and other similar bug reports around
> the tree there:
> https://bugs.gentoo.org/show_bug.cgi?id=370451#c3
> 
> Then, looks like dropping /var/lib/dbus/machine-id causes problems (and they
> are not solved by https://bugs.gentoo.org/show_bug.cgi?id=370451#c6)

Prove it.
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-11-04 06:20:05 UTC
(In reply to comment #4)
> It should be in /etc/machine-id instead as it's moved to that location by
> pkg_postinst() of sys-apps/dbus.

Just in case, this file is present on my system:

$ ls -l /etc/machine-id
-rw-r--r-- 1 root root 33 Sep 24 21:13 /etc/machine-id
Comment 8 Pacho Ramos gentoo-dev 2011-11-04 16:23:00 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > I have both files present and,
> 
> Why? Does the pkg_postinst() of sys-apps/dbus not work for you? What's the
> error from `mv`?
> 

I have re-emerged it and it has now dropped it properly :-/

> > as I can read in bug that explain why this was
> > moved to that new location (even if I still don't know why I have both), some
> > people complained about problems like this and other similar bug reports around
> > the tree there:
> > https://bugs.gentoo.org/show_bug.cgi?id=370451#c3
> > 
> > Then, looks like dropping /var/lib/dbus/machine-id causes problems (and they
> > are not solved by https://bugs.gentoo.org/show_bug.cgi?id=370451#c6)
> 
> Prove it.

Now tests are also broken for me, and looking to already existing bug reports, this also affects to other packages relying on old file being present (maybe a symlink could help)
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2011-11-04 17:33:44 UTC
(In reply to comment #8)
> Now tests are also broken for me, and looking to already existing bug reports,
> this also affects to other packages relying on old file being present (maybe a
> symlink could help)

You need to restart dbus (and not only /etc/init.d/dbus restart but *anything* using dbus, like display managers and so forth so rebooting is propably easiest)

Futher, systemd is also using machine-id file, so that could be messing things up for some users.

And try with new user (to rule out outdated local files in eg. ~/.cache)

I haven't seen any data to suggest there is a problem that needs addressing in portage yet, other than local ones
Comment 10 Pacho Ramos gentoo-dev 2011-11-05 13:31:32 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > Now tests are also broken for me, and looking to already existing bug reports,
> > this also affects to other packages relying on old file being present (maybe a
> > symlink could help)
> 
> You need to restart dbus (and not only /etc/init.d/dbus restart but *anything*
> using dbus, like display managers and so forth so rebooting is propably
> easiest)
> 
> Futher, systemd is also using machine-id file, so that could be messing things
> up for some users.
> 
> And try with new user (to rule out outdated local files in eg. ~/.cache)
> 
> I haven't seen any data to suggest there is a problem that needs addressing in
> portage yet, other than local ones

After rebooting, the file has reappeared and, then, tests pass again :/


# ls -l /var/lib/dbus/machine-id 
-rw-r--r-- 1 root root 33 nov  5 13:52 /var/lib/dbus/machine-id

That time indicates this has been created when booting some minutes ago
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2011-11-05 13:47:36 UTC
systemd?
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2011-11-05 13:56:24 UTC
+*dbus-1.4.16-r2 (05 Nov 2011)
+
+  05 Nov 2011; Samuli Suominen <ssuominen@gentoo.org> +dbus-1.4.16-r2.ebuild,
+  +files/dbus.initd:
+  Fix dbus-uuidgen call in init.d wrt #387713, Comment #10 by Pacho Ramos
Comment 13 Pacho Ramos gentoo-dev 2011-11-06 11:28:28 UTC
I am now running dbus-1.4.16-r2 and, then, I have no /var/lib/dbus/machine-id and tests continues to fail for me

I am not running systemd and I have rebooted before checking this :-/
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-10 16:06:16 UTC
*** Bug 390061 has been marked as a duplicate of this bug. ***
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2011-11-11 15:17:59 UTC
Is the remaining of this bug a duplicate of 390143 ? Please test the patch in there.
Comment 16 Pacho Ramos gentoo-dev 2011-11-22 01:26:21 UTC
Were you able to retest with updated system? (and fixed dbus, glib...)
Comment 17 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-12-02 09:44:34 UTC
(In reply to comment #16)
> Were you able to retest with updated system? (and fixed dbus, glib...)

gnome-extra/evolution-data-server-2.32.3-r1 (latest x86 stable) still fails.

I have dbus-1.4.16 and glib-2.28.8, not sure if they're "fixed" (how do I check that?). Will attach build log in a second.
Comment 18 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-12-02 09:45:08 UTC
Created attachment 294493 [details]
build.log.gz
Comment 19 Pacho Ramos gentoo-dev 2011-12-02 18:17:50 UTC
(In reply to comment #18)
> Created attachment 294493 [details]
> build.log.gz

This build.log shows a different error that doesn't mention machine-id file at all. Please open a different bug report instead of reuse this one (anyway, since I cannot reproduce it and upstream doesn't care on 2.32, it won't probably be fixed :( )