Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265448 - [gnome overlay] gnome-base/gnome-settings-daemon-2.26.0 fails to compile with USE="-pulse -gstreamer" using Paludis
Summary: [gnome overlay] gnome-base/gnome-settings-daemon-2.26.0 fails to compile with...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-08 13:35 UTC by Elias Pipping
Modified: 2009-04-12 10:43 UTC (History)
4 users (show)

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


Attachments
log (1239197250-install-gnome-base_gnome-settings-daemon-2.26.0:0::gnome.out,186.25 KB, text/plain)
2009-04-08 13:36 UTC, Elias Pipping
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Pipping 2009-04-08 13:35:55 UTC
pipping@treibsand ~ $ sudo paludis --info =gnome-base/gnome-settings-daemon-2.26.0
paludis 0.36.0
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.3.3
        CXXFLAGS:               -O2 -pipe -march=native -msse4.1
        LDFLAGS:               -Wl,-O1
        DATE:                  2009-02-28T11:19:13+0100

    Libraries:
        C++ Library:           GNU libstdc++ 20090124

    Reduced Privs:
        reduced_uid:           107
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /var/tmp/paludis
        reduced_gid:           1009
        reduced_gid->name:     paludisbuild

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      
        RUBYINSTALLDIR:        /usr/lib64/ruby/site_ruby/1.8/x86_64-linux

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/db/pkg/world

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository virtuals:
    format:                    virtuals

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    names_cache:               /var/cache/paludis/names
    newsdir:                   /usr/portage/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/no-multilib
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets
    sync:                      rsync://rsync.europe.gentoo.org/gentoo-portage/
    sync_options:              
    use_manifest:              use
    write_cache:               /var/empty

[..] overlays emacs, gnome, paludis, x11 [..]

Package gnome-base/gnome-settings-daemon-2.26.0:0::gnome:

        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-O2 -pipe -march=native -msse4.1
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT= 
        CONFIG_PROTECT_MASK= 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-O2 -pipe -march=native -msse4.1
        DISTDIR=/usr/portage/distfiles
        FEATURES=strict sfperms
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1
        LINGUAS=
        MAKEOPTS=
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
        USE=gstreamer libnotify amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text userland_GNU video_cards_intel amd64 
        >>> Done builtin_infovars
        >>> Completed ebuild phases initmisc infovars
        >>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
        >>> Starting builtin_tidyup
        rm -fr /var/tmp/paludis/gnome-base-gnome-settings-daemon-2.26.0-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup
Comment 1 Elias Pipping 2009-04-08 13:36:14 UTC
Created attachment 187690 [details]
log
Comment 2 Paul Mulders 2009-04-08 13:48:01 UTC
confirming, was just about to submit this exact same bug, guess i don't have too now :-)
Comment 3 Romain Perier (RETIRED) gentoo-dev 2009-04-08 16:30:09 UTC
This is due to conditional compilation in plugins/media-keys/gsd-media-keys-manager.c (i'm the author of the patch see appropriate bug and upstream), instead of put #else directive directly, i could be better and correct to put #elif HAVE_GSTREAMER, because if gstreamer is not enable media-keys/actions/ is not compiled but the calls to acme_volume_* functions are not removed in gsd-media-keys-manager.c (due to the else directive) so there are undefined reference to these functions it's normal, forget by myself sorry :).

@Elias : i'll fix this bug, but notice that i you want to up/down the volume of your audio hw with keybidings you need to USE "gstreamer" to this ebuild, otherwises you'll can.

that's why this patch needed test :p
Comment 4 Romain Perier (RETIRED) gentoo-dev 2009-04-08 17:42:44 UTC
correct patch has been submitted on the appropriate upstream, problem is normaly solve, please confirm it ;)

upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=571145
Comment 5 Paul Mulders 2009-04-08 20:47:13 UTC
works fine with new patch :)
Comment 6 Francisco J. Vazquez 2009-04-09 04:54:17 UTC
I tried the new patch, but when I press any multimedia key gnome-settings-daemon dies and the gtk theme goes back to the default. The only message I get in .xsession-errors is:

ERROR:gsd-media-keys-manager.c:1026:do_action: code should not be reached

I suppose I'll end up enabling pulse, even though I've been trying to avoid it :/
Comment 7 Romain Perier (RETIRED) gentoo-dev 2009-04-09 05:49:04 UTC
@francisco : when you press any multimedia keys ? which keys especially ? 
Comment 8 Romain Perier (RETIRED) gentoo-dev 2009-04-09 05:52:13 UTC
Ps: piouu bug is very trivial to solve, there is a switch in gsd-media-keys-manager.c:do_action which contains a "default" close , calling un assert if media keys was not reached, thanks for the test.

test is need for this kind of problem ;)
Comment 9 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-04-09 09:41:38 UTC
Please try to keep the summary descriptive.
Comment 10 Paul Mulders 2009-04-09 12:58:26 UTC
i can reproduce the GSD crash too... it doesn't happen always, though.
Comment 11 Paul Mulders 2009-04-09 17:32:58 UTC
it appears my previous statement was incorrect, it does happen every time.
Comment 12 Mike Auty (RETIRED) gentoo-dev 2009-04-09 19:40:41 UTC
Hiya mrpouet, you might also be interested in bug 265572, if you're the author of the patch.  You mentioned seeing the "appropriate bug and upstream" for more information, could you please link to the bug, and any upstream location that's pertinent to this please?  Thanks...  5:)
Comment 13 Mike Auty (RETIRED) gentoo-dev 2009-04-09 19:43:36 UTC
Ah, I just found it, bug 264883 (which contains the upstream link).  Thanks...  5:)
Comment 14 Romain Perier (RETIRED) gentoo-dev 2009-04-10 10:02:54 UTC
@Mike: yeah the upstream bug was attached in this bug :)
Comment 15 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-04-12 10:42:34 UTC
Both cannot be disabled at the same time, volume keys must use one of those.

About the crash, please open a new bug with a backtrace.