Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 656642

Summary: dev-util/gnome-builder-3.24.2-r1 - gnome-builder hangs when started and the GUI never appears
Product: Gentoo Linux Reporter: Nathan Dehnel <ncdehnel>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nathan Dehnel 2018-05-27 11:12:58 UTC
gnome-builder hangs when started and the GUI never appears.

nathan@gentoolaptop ~ $ emerge --info gnome-builder
Portage 2.3.24 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-6.4.0, glibc-2.25-r11, 4.9.95-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.95-gentoo-x86_64-AMD_A6-3420M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.4.1
KiB Mem:    15498496 total,   3293484 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 22 May 2018 07:47:52 +0000
Head commit of repository gentoo: dd6ec93221da93987c36bcd573992f45488c9dd1

Timestamp of repository poly-c: Sun, 20 May 2018 18:52:02 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::poly-c, 3.5.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/gentoo-mirror/gentoo.git
    priority: -1000

abendbrot
    location: /var/lib/layman/abendbrot
    sync-type: laymansync
    sync-uri: https://github.com/stefan-gr/abendbrot.git
    masters: gentoo
    priority: 50

anders-larsson
    location: /var/lib/layman/anders-larsson
    sync-type: laymansync
    sync-uri: https://github.com/anders-larsson/gentoo-overlay.git
    masters: gentoo
    priority: 50

deadbeef-overlay
    location: /var/lib/layman/deadbeef-overlay
    sync-type: laymansync
    sync-uri: https://github.com/damex/deadbeef-overlay.git
    masters: gentoo
    priority: 50

haskell
    location: /var/lib/layman/haskell
    sync-type: laymansync
    sync-uri: git://github.com/gentoo-haskell/gentoo-haskell.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

poly-c
    location: /var/lib/layman/poly-c
    sync-type: laymansync
    sync-uri: rsync://rsync.gentoofan.org/poly-c
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

localrepo
    location: /home/nathan/mount/NFS/Libraries/Tools/overlays/localrepo
    masters: gentoo localrepo
    priority: 100

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-Os -march=x86-64 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 2 --load-average 3.6"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv infinality introspection ipv6 jack java jpeg lcms ldap libnotify libsecret mad mng modules mp3 mp4 mpeg multilib ncurses nfs nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt5 readline sdl seccomp spell ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="radeon r600" XFCE_PLUGINS="battery brightness clock multiload-nandhp power trash" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-util/gnome-builder-3.24.2-r1::gentoo was built with the following:
USE="git -clang -sysprof -test -vala -webkit" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_5 -python3_4 -python3_6" PYTHON_TARGETS="python3_5 -python3_4 -python3_6"
Comment 1 Mart Raudsepp gentoo-dev 2018-05-30 11:07:28 UTC
I use it fine almost daily. Can you try launching it from terminal (graphical one, like gnome-terminal) and see if it prints out any issues?
Comment 2 Nathan Dehnel 2018-05-30 19:34:39 UTC
(In reply to Mart Raudsepp from comment #1)
> I use it fine almost daily. Can you try launching it from terminal
> (graphical one, like gnome-terminal) and see if it prints out any issues?

Just prints a warning about webkit being missing. I turn on the webkit useflag and the warning goes away but it still doesn't launch.
Comment 3 Nathan Dehnel 2018-05-30 19:39:11 UTC
Just got it to launch 1 out of several tries so it must be intermittent.
Comment 4 Nathan Dehnel 2018-06-03 18:14:40 UTC
I think what might be happening is, it starts the first time, and then fails to start any subsequent times until the next reboot.
Comment 5 Mart Raudsepp gentoo-dev 2020-01-26 15:12:59 UTC
Is this still an issue with current versions? (Adding 3.32.4 soon too)
Comment 6 Nathan Dehnel 2020-01-29 04:02:17 UTC
(In reply to Mart Raudsepp from comment #5)
> Is this still an issue with current versions? (Adding 3.32.4 soon too)

Still an issue with v3.30. I just noticed a console message: 
GNOME Builder requires a desktop session with D-Bus. Please set DBUS_SESSION_BUS_ADDRESS.
Comment 7 Mart Raudsepp gentoo-dev 2020-02-24 18:21:28 UTC
Sounds like you are launching your desktop somehow wrong to not have a dbus user session bus?
Comment 8 Nathan Dehnel 2020-03-13 06:24:06 UTC
(In reply to Mart Raudsepp from comment #7)
> Sounds like you are launching your desktop somehow wrong to not have a dbus
> user session bus?

nathan@gentoodesktop ~ $ cat ~/.xinitrc
#!/bin/sh
exec startplasma-x11
Comment 9 Mart Raudsepp gentoo-dev 2020-03-13 08:00:53 UTC
Don't do that, you are potentially not launching dbus user session or other things via the xinitrc.d machinery, because startx skips those when ~/.xinitrc is present.
If you insist on using startx, find an appropriate session from /etc/X11/Sessions (there ought to be a plasma one in there), set XSESSION variable to that in a /etc/env.d/ file as instructed on the wiki, delete your .xinitrc and run startx without parameters. And if using a desktop manager, then why have a .xinitrc in the first place
Comment 10 Nathan Dehnel 2020-03-13 08:34:23 UTC
(In reply to Mart Raudsepp from comment #9)
> Don't do that, you are potentially not launching dbus user session or other
> things via the xinitrc.d machinery, because startx skips those when
> ~/.xinitrc is present.
> If you insist on using startx, find an appropriate session from
> /etc/X11/Sessions (there ought to be a plasma one in there), set XSESSION
> variable to that in a /etc/env.d/ file as instructed on the wiki, delete
> your .xinitrc and run startx without parameters. And if using a desktop
> manager, then why have a .xinitrc in the first place

I don't have anything in /etc/X11/Sessions besides "Xsession".
Comment 11 Nathan Dehnel 2020-03-30 10:45:55 UTC
I deleted .xinitrc and Builder works now.