Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590730 - xfce-base/exo-0.11 does not pass environment variables
Summary: xfce-base/exo-0.11 does not pass environment variables
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-08 06:21 UTC by Marcin Deranek
Modified: 2016-08-16 09:11 UTC (History)
1 user (show)

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


Attachments
Environment variable diff between exo 0.10.7 and 0.11.0 (env.diff,2.30 KB, text/plain)
2016-08-08 06:23 UTC, Marcin Deranek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Deranek 2016-08-08 06:21:31 UTC
After upgrade from exo-0.10.7 to 0.11.0 I noticed that $HOME variable is not set in bash (xfce4-terminal) anymore and this was causing all sort of other problems. Downgrading exo to 0.10.7 brought it back. It looks like exo-0.11.0 does not pass environment to xfce4-terminal (and effectively to bash) and this causes problems.

Reproducible: Always




Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r2, 4.7.0-gentoo x86_64)
=================================================================
System uname: Linux-4.7.0-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16435056 total,  15349404 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 07 Aug 2016 07:45:01 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p46::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2-r1::gentoo
sys-apps/openrc:          0.21.3::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage/
    priority: -1000

slonko-net
    location: /usr/local/portage/local
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -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"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now"
MAKEOPTS="-j9"
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 aalib accessibility acpi adns alsa amd64 ao apm atm audiofile avahi ayatana bash-completion bcmath berkdb bidi bluetooth branding bzip2 cairo calendar caps cdda cddb cdparanoia cdr clamav cli consolekit cracklib crypt cscope css ctype cups curl curlwrappers cxx dbus dga dri dts dv dvb dvd dvdr egl encode enscript exif expat fbcon ffmpeg fftw filecaps firefox flac flatfile fontconfig foomaticdb ftp gd gdbm geoip ggi gif gimp glamor glut gmp gnutls gphoto2 gpm graphviz gstreamer gtk guile gzip hddtemp iconv icu idn imagemagick imap imlib inotify introspection javascript jbig jingle jit joystick jpeg jpeg2k lame lcms ldap libass libcaca libffi libnotify libsamplerate libwww lm_sensors lua lzma lzo m17n-lib mad maildir matroska mbox memlimit mhash mikmod mime mmap mms mmx mmxext mng modplug modules mp3 mp4 mpeg mpi mplayer mtp multilib musepack ncurses nls nntp nocd nptl nsplugin offensive ogg openal opencl openexr opengl openmp orc osc pam pango pch pcntl pcre pdf pie plotutils png policykit posix postscript ppds qt3support qt5 quicktime raw rdesktop readline recode sdl seccomp session sharedmem shorten simplexml slang slp smp sndfile snmp sockets sound sox speex spell sse sse2 ssl startup-notification svg syslog systemd sysvipc szip taglib tcmalloc tcpd theora threads tidy tiff truetype udev udisks unicode upower usb v4l vaapi vcd vdpau videos vim-syntax vorbis wavpack webkit wmf wxwidgets x264 x265 xcb xcomposite xft xml xmlrpc xmp xmpp xosd xpm xscreensaver xv xvid yaz zlib" ABI_X86="32 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US en-GB pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US en_GB pl" NGINX_MODULES_HTTP="rewrite uwsgi charset lua" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby23" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="radeonsi" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Marcin Deranek 2016-08-08 06:23:23 UTC
Created attachment 442752 [details]
Environment variable diff between exo 0.10.7 and 0.11.0
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-08-08 08:47:00 UTC
@perfinion, could you relay this upstream?
Comment 3 Derk W te Bokkel 2016-08-08 12:40:35 UTC
I think this bug may be the issue .. the patch works for the environment issue .. the other .. thunar/exo issue is still open

the Bug: https://bugzilla.xfce.org/show_bug.cgi?id=12698

the patch: https://bugzilla.xfce.org/attachment.cgi?id=6740
Comment 4 Marcin Deranek 2016-08-08 18:58:54 UTC
I can confirm that patch provided fixes environment issue I was experiencing.
Comment 5 Jason Zaman gentoo-dev 2016-08-15 16:31:25 UTC
It seems to work for me with the patch. I added -r1 and updated the mask for it. Will drop the mask when someone else confirms its sane too.

commit 2886d997e951be795ef11f37e837254a0273732a
Author: Jason Zaman <perfinion@g.o>
Date:   Mon Aug 15 23:22:01 2016

    xfce-base/exo: Add patch to preserve environment
    
    Package-Manager: portage-2.2.28

commit 276206c7cf426fa94960746afc07935cbe47a5fb
Author: Jason Zaman <perfinion@g.o>
Date:   Sun Aug 14 16:47:04 2016

    Mask exo-0.11.0-r1 also
Comment 6 Jason Zaman gentoo-dev 2016-08-16 05:33:50 UTC
Most things seem to work in the terminal and other programs but Thunar is broken still.
Clicking on dirs does not open them. The first click works but afterwards no click works.
Related to bug: https://bugzilla.xfce.org/show_bug.cgi?id=6230
Comment 7 Derk W te Bokkel 2016-08-16 09:11:07 UTC
not quite correct .. only thunar detailed view is effected by bug 6230