Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] KeePassx emerge fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
KayZee
Apprentice
Apprentice


Joined: 15 Oct 2003
Posts: 202
Location: Arlington, VA

PostPosted: Sat Nov 10, 2012 3:51 pm    Post subject: [Solved] KeePassx emerge fails Reply with quote

Trying to do a fresh install of keepassx. I am using LXDE for the desktop environment. keepassx fails with

Code:
ERROR:  app-admin/keepassx-0.4.3 failed (compile phase):
          emake failed


Here is emerge --info, emerge -pqv and build.log
Code:

sonja ~ # more keepass-emerge-info.txt
Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gen
too x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-g
entoo-2.1
Timestamp of tree: Tue, 06 Nov 2012 00:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -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 protect-owned sandbox sfperms s
trict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gent
oo ftp://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://gentoo.ci
tes.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.UTF-8 UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/
distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cdr cli cracklib crypt cups cxx dri dvd fortran gd
bm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre
pppd readline session sse sse2 ssl tcpd unicode zlib" ALSA_CARDS="ali5451 als400
0 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968
 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-m
odem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty ext
plug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi n
ull plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core so
cache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm auth
n_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_ow
ner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cac
he env expires ext_filter file_cache filter headers include info log_config logi
o mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_i
d userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets
stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interfa
ce irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech ai
vdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip n
avcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsi
p tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfo
ntz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSI
ONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS=
"python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="i
ntel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p if
ace geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac d
elude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, M
AKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORT
AGE_RSYNC_EXTRA_OPTS, USE_PYTHON




Code:

[ebuild  N    ] app-admin/keepassx-0.4.3  USE="-debug -pch"

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Code:

sonja temp # more build.log
 * Package:    app-admin/keepassx-0.4.3
 * Repository: gentoo
 * Maintainer: tgurr@gentoo.org qt@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland
_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking keepassx-0.4.3.tar.gz to /var/tmp/portage/app-admin/keepassx-0.4.3
/work
>>> Source unpacked in /var/tmp/portage/app-admin/keepassx-0.4.3/work
>>> Preparing source in /var/tmp/portage/app-admin/keepassx-0.4.3/work/keepassx-
0.4.3 ...
 * Applying keepassx-0.4.3-gcc47.patch ...                               [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-admin/keepassx-0.4.3/work/keepass
x-0.4.3 ...
 * Running qmake ...
 *  - fixed CONFIG in src/src.pro
Project MESSAGE: See 'INSTALL' for configuration options.
Project MESSAGE: Install Prefix: /var/tmp/portage/app-admin/keepassx-0.4.3/image
//usr
Project MESSAGE: *** Makefile successfully generated.
Project MESSAGE: *** Start make now.
Reading /var/tmp/portage/app-admin/keepassx-0.4.3/work/keepassx-0.4.3/src/src.pr
o                                                                        [ ok ]
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-admin/keepassx-0.4.3/work/keepassx-
0.4.3 ...
make
cd src/ && make -f Makefile
make[1]: Entering directory `/var/tmp/portage/app-admin/keepassx-0.4.3/work/keep
assx-0.4.3/src'
/usr/bin/uic forms/AutoTypeDlg.ui -o ../build/ui/ui_AutoTypeDlg.h
/usr/bin/uic forms/TargetWindowDlg.ui -o ../build/ui/ui_TargetWindowDlg.h
/usr/bin/uic forms/AboutDlg.ui -o ../build/ui/ui_AboutDlg.h
/usr/bin/uic forms/AddBookmarkDlg.ui -o ../build/ui/ui_AddBookmarkDlg.h
/usr/bin/uic forms/CalendarDlg.ui -o ../build/ui/ui_CalendarDlg.h
/usr/bin/uic forms/CollectEntropyDlg.ui -o ../build/ui/ui_CollectEntropyDlg.h
/usr/bin/uic forms/CustomizeDetailViewDlg.ui -o ../build/ui/ui_CustomizeDetailVi
ewDlg.h
/usr/bin/uic forms/DatabaseSettingsDlg.ui -o ../build/ui/ui_DatabaseSettingsDlg.
h
/usr/bin/uic forms/EditEntryDlg.ui -o ../build/ui/ui_EditEntryDlg.h
/usr/bin/uic forms/EditGroupDlg.ui -o ../build/ui/ui_EditGroupDlg.h
/usr/bin/uic forms/ExpiredEntriesDlg.ui -o ../build/ui/ui_ExpiredEntriesDlg.h
/usr/bin/uic forms/HelpDlg.ui -o ../build/ui/ui_HelpDlg.h
/usr/bin/uic forms/MainWindow.ui -o ../build/ui/ui_MainWindow.h
/usr/bin/uic forms/ManageBookmarksDlg.ui -o ../build/ui/ui_ManageBookmarksDlg.h
/usr/bin/uic forms/PasswordDlg.ui -o ../build/ui/ui_PasswordDlg.h
/usr/bin/uic forms/PasswordGenDlg.ui -o ../build/ui/ui_PasswordGenDlg.h
/usr/bin/uic forms/SearchDlg.ui -o ../build/ui/ui_SearchDlg.h
/usr/bin/uic forms/SelectIconDlg.ui -o ../build/ui/ui_SelectIconDlg.h
/usr/bin/uic forms/SettingsDlg.ui -o ../build/ui/ui_SettingsDlg.h
/usr/bin/uic forms/SimplePasswordDlg.ui -o ../build/ui/ui_SimplePasswordDlg.h
/usr/bin/uic forms/WorkspaceLockedWidget.ui -o ../build/ui/ui_WorkspaceLockedWid
get.h
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -include keepassx.h -Wall -W
-Wno-sign-compare -D_REENTRANT -DAUTOTYPE -DGLOBAL_AUTOTYPE -DQT_NO_DEBUG -DQT_X
ML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/incl
ude/qt4 -I. -Ilib -Icrypto -Iplugins/interfaces -Iexport -Iimport -Idialogs -I..
/build/ui -I../build/moc -o ../build/HelperX11.o lib/HelperX11.cpp
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -include keepassx.h -Wall -W
-Wno-sign-compare -D_REENTRANT -DAUTOTYPE -DGLOBAL_AUTOTYPE -DQT_NO_DEBUG -DQT_X
ML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/incl
ude/qt4 -I. -Ilib -Icrypto -Iplugins/interfaces -Iexport -Iimport -Idialogs -I..
/build/ui -I../build/moc -o ../build/AutoTypeX11.o lib/AutoTypeX11.cpp
lib/AutoTypeX11.cpp: In member function 'virtual void AutoTypeX11::perform(IEntr
yHandle*, bool, int, bool)':
lib/AutoTypeX11.cpp:194:16: warning: converting to non-pointer type 'Window' fro
m NULL
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -include keepassx.h -Wall -W
-Wno-sign-compare -D_REENTRANT -DAUTOTYPE -DGLOBAL_AUTOTYPE -DQT_NO_DEBUG -DQT_X
ML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/incl
ude/qt4 -I. -Ilib -Icrypto -Iplugins/interfaces -Iexport -Iimport -Idialogs -I..
/build/ui -I../build/moc -o ../build/Application_X11.o Application_X11.cpp
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -include keepassx.h -Wall -W
-Wno-sign-compare -D_REENTRANT -DAUTOTYPE -DGLOBAL_AUTOTYPE -DQT_NO_DEBUG -DQT_X
ML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/incl
ude/qt4 -I. -Ilib -Icrypto -Iplugins/interfaces -Iexport -Iimport -Idialogs -I..
/build/ui -I../build/moc -o ../build/AutoTypeGlobalX11.o lib/AutoTypeGlobalX11.c
pp
lib/AutoTypeGlobalX11.cpp: In member function 'virtual void AutoTypeGlobalX11::p
erform(IEntryHandle*, bool, int, bool)':
lib/AutoTypeGlobalX11.cpp:65:17: warning: converting to non-pointer type 'Window
' from NULL
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -include keepassx.h -Wall -W
-Wno-sign-compare -D_REENTRANT -DAUTOTYPE -DGLOBAL_AUTOTYPE -DQT_NO_DEBUG -DQT_X
ML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/incl
ude/qt4 -I. -Ilib -Icrypto -Iplugins/interfaces -Iexport -Iimport -Idialogs -I..
/build/ui -I../build/moc -o ../build/AutoTypeDlg.o dialogs/AutoTypeDlg.cpp
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -include keepassx.h -Wall -W
-Wno-sign-compare -D_REENTRANT -DAUTOTYPE -DGLOBAL_AUTOTYPE -DQT_NO_DEBUG -DQT_X
ML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/incl
ude/qt4 -I. -Ilib -Icrypto -Iplugins/interfaces -Iexport -Iimport -Idialogs -I..
/build/ui -I../build/moc -o ../build/AutoTypeTreeWidget.o lib/AutoTypeTreeWidget
.cpp
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -include keepassx.h -Wall -W
-Wno-sign-compare -D_REENTRANT -DAUTOTYPE -DGLOBAL_AUTOTYPE -DQT_NO_DEBUG -DQT_X
ML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/incl
ude/qt4 -I. -Ilib -Icrypto -Iplugins/interfaces -Iexport -Iimport -Idialogs -I..
/build/ui -I../build/moc -o ../build/TargetWindowDlg.o dialogs/TargetWindowDlg.c
pp
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -include keepassx.h -Wall -W
-Wno-sign-compare -D_REENTRANT -DAUTOTYPE -DGLOBAL_AUTOTYPE -DQT_NO_DEBUG -DQT_X
ML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/incl
ude/qt4 -I. -Ilib -Icrypto -Iplugins/interfaces -Iexport -Iimport -Idialogs -I..
/build/ui -I../build/moc -o ../build/main.o main.cpp
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -include keepassx.h -Wall -W
-Wno-sign-compare -D_REENTRANT -DAUTOTYPE -DGLOBAL_AUTOTYPE -DQT_NO_DEBUG -DQT_X
ML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/incl
ude/qt4 -I. -Ilib -Icrypto -Iplugins/interfaces -Iexport -Iimport -Idialogs -I..
/build/ui -I../build/moc -o ../build/mainwindow.o mainwindow.cpp
mainwindow.cpp: In member function 'void KeepassMainWindow::OnShutdown(QSessionM
anager&)':
mainwindow.cpp:1424:13: error: invalid use of incomplete type 'struct QSessionMa
nager'
/usr/include/qt4/QtGui/qapplication.h:72:7: error: forward declaration of 'struc
t QSessionManager'
make[1]: *** [../build/mainwindow.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-admin/keepassx-0.4.3/work/keepa
ssx-0.4.3/src'
make: *** [sub-src-make_default] Error 2
 * ERROR: app-admin/keepassx-0.4.3 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-admin/
keepassx-0.4.3'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/k
eepassx-0.4.3'`.
 * The complete build log is located at '/var/tmp/portage/app-admin/ke
epassx-0.4.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-adm
in/keepassx-0.4.3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-admin/keepassx-0.4.3/work/
keepassx-0.4.3'
 * S: '/var/tmp/portage/app-admin/keepassx-0.4.3/work/keepassx-0.4.3'
sonja temp #


Last edited by KayZee on Sat Nov 10, 2012 9:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Nov 10, 2012 4:38 pm    Post subject: Reply with quote

That's likely not quite correct dependency - change to x11-libs/qt-gui[dbus].
If that helps, file a bug, if one's not present yet.
Back to top
View user's profile Send private message
KayZee
Apprentice
Apprentice


Joined: 15 Oct 2003
Posts: 202
Location: Arlington, VA

PostPosted: Sat Nov 10, 2012 9:17 pm    Post subject: Reply with quote

Thank you. Adding the dbus use flag to qt-gui worked. Re-emerged qt-gui with the new flag.

Code:
/etc/portage/package.use
x11-libs/qt-gui dbus


Then emerged keepassx successfully.

I will file a bug report.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum