Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367141 - app-crypt/pinentry-0.8.0 - pinentry-qt4 ignores --display on command line
Summary: app-crypt/pinentry-0.8.0 - pinentry-qt4 ignores --display on command line
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 20:15 UTC by peyser.alex
Modified: 2012-12-15 17:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peyser.alex 2011-05-13 20:15:35 UTC
gpg-agent is terminated when pinentry-program is pinetry-qt4 because pinentry-qt4 fails since DISPLAY isn't set and pinentry-qt4 ignores --display.

In the source, pinentry-qt4 converts "--display :0.0" to "-display :0.0" for qt, and somehow that fails -- either there's a bug in that conversion, or qt is failing to set the display. If I interpose a script which removes those command line options and instead sets DISPLAY directly, pinentry-qt4 and gpg-agent work correctly.

After some testing by writing a minimal qt app, this is a bug in qt-4.6.3:
-display simply doesn't work. I have no idea whether it's been fixed, given that it doesn't show up in the qt bug tracker -- but if someone else runs into gpg-agent not working with pinentry-qt4, they may have a clue here.

Reproducible: Always




Portage 2.1.9.24 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r12-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Mon, 13 Dec 2010 08:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 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.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="* PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US es"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/layman/jokey /usr/local/portage/layman/gentoo-local /usr/local/portage/layman/dev-zero /usr/local/portage/layman/sunrise /usr/local/portage/layman/jokey /usr/local/portage/layman/gentoo-local /usr/local/portage/layman/dev-zero /usr/local/portage/layman/sunrise"
SYNC="rsync://gentoo/gentoo-portage"
USE="X a52 aac acl acpi akonadi alsa amd64 ao archive arts artswrappersuid audiofile bash-completion berkdb binfilter branding bzip2 cairo cdda cddb cdr chm cli consolekit cracklib crypt css cups curl cxx daap dbus djvu doc dri dts dv dvd dvdr ebook editor emacs emboss emerald emovix encode exif expat extrafilters fam fame fat ffmpeg fftw firefox flac fontconfig foomaticdb fortran fpx fuse gd gdbm gif gimp gphoto2 gpm graphviz gs gtk hal hddtemp hdri hfs iconv ieee1394 imagemagick imlib ipod ipv6 java jbig jpeg jpeg2k kde kpathsea ladspa lame lastfm latex lcms libnotify libsamplerate lm_sensors lzma lzo mad meanwhile mikmod mjpeg mmx mng modules mono mp3 mp3tunes mp4 mpeg mpi mtp mudflap multilib musepack musicbrainz ncurses network nforce2 nls nptl nptlonly nsplugin ntfs nvidia offensive ogg openexr opengl openmp otr pam pango pcre pdf perl phonon plotutils pmu png portaudio postscript povray ppds pppd preview-latex python qt3support qt4 raw readline samba scanner sdl sensord session skype smp sndfile sound spell sse sse2 sse3 ssl ssse3 startup-notification svg symlink sysfs syslog taglib tcpd theora threads thunar tiff truetype unicode usb userpriv v4l v4l2 vcd vorbis wmf x264 xcb xcomposite xetex xinerama xml xmp xorg xpm xprint xscreensaver xulrunner xv xvid xvmc zlib" 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" 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" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US es" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia mach64" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS
Comment 1 Mike Gilbert gentoo-dev 2011-05-15 05:20:16 UTC
Works for me with x11-libs/qt-core-4.7.2.
Comment 2 Pacho Ramos gentoo-dev 2012-12-15 17:30:36 UTC
(In reply to comment #1)
> Works for me with x11-libs/qt-core-4.7.2.

Please recheck with updated system