Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499182 - www-client/qupzilla - USE=kde fails to enable KWallet backend / add gnome-keyring backend support
Summary: www-client/qupzilla - USE=kde fails to enable KWallet backend / add gnome-key...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-25 03:11 UTC by Hongjiu Zhang
Modified: 2014-01-30 11:58 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,665.44 KB, text/plain)
2014-01-29 03:59 UTC, Hongjiu Zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hongjiu Zhang 2014-01-25 03:11:46 UTC
Qupzilla 1.6.0 added two new backend for password management, KWallet and Gnome-keyring. However, "export KDE_INTEGRATION=$(use kde && echo false || echo true)" trick in the ebuild does not work. I am not sure whether it is the correct thing to do, but in the attachment 367384 [details] <https://bugs.gentoo.org/attachment.cgi?id=367384> from bug 496908, "DEFINES+=KDE_INTEGRATION" trick does build the kwallet backend.

Also, gnome-keyring USE flag is not added to qupzilla.

Reproducible: Always




Portage 2.2.8-r1 (hardened/linux/amd64, gcc-4.7.3, glibc-2.17, 3.12.6-hardened-r4 x86_64)
=================================================================
System uname: Linux-3.12.6-hardened-r4-N7EI-2013A1-x86_64-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3965532 total,     50636 free
KiB Swap:    2974148 total,   2914012 free
Timestamp of tree: Thu, 23 Jan 2014 23:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=native -pipe"
DISTDIR="/var/cache/dist"
EMERGE_DEFAULT_OPTS="--quiet --with-bdeps=y"
FCFLAGS="-O2 -march=native -pipe"
FEATURES="assume-digests binpkg-logs buildpkg 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 xattr"
FFLAGS="-O2 -march=native -pipe"
GENTOO_MIRRORS="ftp://lug.mtu.edu/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
INSTALL_MASK=" /lib64/systemd /usr/lib64/systemd /lib/systemd /usr/lib/systemd"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/lib/pkg"
PORTAGE_COMPRESS=""
PORTAGE_COMPRESS_FLAGS=""
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/repo/gentoo"
PORTDIR_OVERLAY="/var/repo/local"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi amd64 avahi avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gpm hardened iconv icu inotify ipv6 jpeg jpeg2k justify kde kipi lcms ldap libnotify lzma mad mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses networkmanager nls nptl ogg opengl openmp pam pango pax_kernel pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 quota readline samba sdl semantic-desktop session skey spell sse sse2 sse4_1 ssl ssse3 startup-notification svg syslog taglib tcpd tiff truetype udev udisks unicode upower urandom usb v4l vaapi vdpau vorbis wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid 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="flow karbon krita sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs crypt crypt-gpg plymouth 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 ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="zh_TW zh en_GB en af af_ZA ak am ar ar_SA ar_SY as as_IN ast az be be_BY bg bg_BG bn bn_BD bn_IN bo br brx bs ca ca_ES ca_XV ca@valencia crh cs cs_CZ csb cy da de de_DE de_FR dgo dz ee el el_GR en_AU en_CA en_US en_ZA eo es es_AR es_CL es_CO es_CR es_ES es_LA es_MX es_VE et et_EE eu eu_ES fa fa_IR fi fi_FI fil fo fr fr_CA fr_FR fy fy_NL ga ga_IE gd gl gu gu_IN he he_IL hi hi_IN hne hr hsb ht hu hu_HU hy hy_AM ia id id_ID is it it_IT ja ja_JP jv ka ka_GE kk km kn kn_IN ko ko_KR kok ks ku ky la lb lg lo lt lt_LT lv lv_LV mai me mk ml ml_IN mn mni mr mr_IN ms ms_MY mt my nan nb nb_NO nds ne nl nl_BE nl_NL nn nn_NO no nr ns nso oc om or or_IN pa pa_IN pap pl pl_PL ps pt pt_BR pt_PT rm ro ro_RO ru ru_RU rw sa_IN sat sco sd se sh sh_YU son si si_LK sk sk_SK sl sl_SI sq sr sr@ijekavian sr@ijekavianlatin sr@latin sr@Latn sr_BA sr_CS sr_RS sr_RS@cyrillic sr_RS@latin ss st sv sv_SE sw sw_TZ ta ta_IN ta_LK te te_IN tg tg_TJ th th_TH ti ti_ER tk tl tn tr ts tt ug uk uk_UA ur ur_IN ur_PK uz uz@cyrillic ve vi vi_VN wa xh yi zh_CN zh_HK zu" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx intel" 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, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Nikoli 2014-01-26 22:12:54 UTC
Ebuild has mistake, line:
export KDE_INTEGRATION=$(use kde && echo false || echo true)

should be:
export KDE_INTEGRATION=$(use kde && echo true || echo false)

or better:
export KDE_INTEGRATION=$(usex kde 'true' '')
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2014-01-27 01:29:27 UTC
*qupzilla-1.6.0-r1 (27 Jan 2014)

  27 Jan 2014; Davide Pesavento <pesa@gentoo.org> +qupzilla-1.6.0-r1.ebuild,
  -qupzilla-1.6.0.ebuild:
  Fix kwallet integration, add support for gnome-keyring (bug 499182). Ebuild
  cleanup.
Comment 3 Hongjiu Zhang 2014-01-28 15:51:16 UTC
Unfortunately, this is still not fixed. I just tried to build www-client/qupzilla-1.6.0-r1, and this doesn't build KWallet backend.

I checked /var/tmp/portage/www-client/qupzilla-1.6.0-r1/work/qupzilla-1.6.0/src/plugins/plugins.pro, line 26-27:

# KWalletPasswords only with KDE_INTEGRATION
!contains(DEFINES, "KDE_INTEGRATION"): SUBDIRS -= $$PWD/KWalletPasswords

Is there any special meanings about DEFINES? Is it checking environment variable KDE_INTEGRATION defined or just checking the content of DEFINES?


Btw, where is Reopen status? is it removed?
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2014-01-28 16:41:58 UTC
(In reply to Zhang Hongjiu from comment #3)
> Is there any special meanings about DEFINES? Is it checking environment
> variable KDE_INTEGRATION defined or just checking the content of DEFINES?
> 

DEFINES is a qmake variable: http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#defines

The env vars are read in src/defines.pri and DEFINES is augmented appropriately.
Comment 5 Hongjiu Zhang 2014-01-29 01:47:29 UTC
(In reply to Davide Pesavento from comment #4)
> (In reply to Zhang Hongjiu from comment #3)
> > Is there any special meanings about DEFINES? Is it checking environment
> > variable KDE_INTEGRATION defined or just checking the content of DEFINES?
> > 
> 
> DEFINES is a qmake variable:
> http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#defines
> 
> The env vars are read in src/defines.pri and DEFINES is augmented
> appropriately.

Then it is a little wierd. Since even you set export in the ebuild, the build project still skipped the KWallet. I am trying to save a full build.log for my successful build. I used qlist to check the package content, which has no KWallet backend plugin files.
Comment 6 Hongjiu Zhang 2014-01-29 03:59:08 UTC
Created attachment 369034 [details]
build.log

As you can see, the build log shows KDE_INTEGRATION at first. But after it starts to build plugins (except videoner plugin), it is no longer there.
Comment 7 Hongjiu Zhang 2014-01-30 04:18:19 UTC
I just tested with qupzilla-1.6.1. It works as the author claimed "fixed building new Gnome/KDE keyring passwords". Please close this bug if you think it is suitable to drop support for 1.6.0-r1 version.

Thank you.