Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505314 - app-portage/kportagetray-0.2.4-r1 - segfaults on start
Summary: app-portage/kportagetray-0.2.4-r1 - segfaults on start
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ronan Arraes Jardim Chagas
URL:
Whiteboard:
Keywords:
: 552910 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-21 22:25 UTC by jms
Modified: 2015-07-26 10:47 UTC (History)
4 users (show)

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


Attachments
CMakeError.log (CMakeError.log,10.30 KB, text/plain)
2014-03-21 22:28 UTC, jms
Details
build log (app-portage:kportagetray-0.2.4-r1:20140321-221255.log,6.79 KB, text/plain)
2014-03-21 22:32 UTC, jms
Details
environment (environment,178.97 KB, text/plain)
2014-03-21 22:33 UTC, jms
Details
CMakeOutput (CMakeOutput.log,49.43 KB, text/plain)
2014-03-21 22:34 UTC, jms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jms 2014-03-21 22:25:13 UTC
while building following error occur:

-- Python system site-packages directory: /usr/lib64/python3.2/site-packages
-- Found PythonLibrary: /usr/lib64/libpython3.2.so  
Traceback (most recent call last):
  File "/usr/share/apps/cmake/modules/FindPyQt.py", line 5, in <module>
    import PyQt4.pyqtconfig
ImportError: No module named PyQt4.pyqtconfig
CMake Error at CMakeLists.txt:35 (message):
  PyQT4 was not found!


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/app-portage/kportagetray-0.2.4-r1/work/kportagetray-0.2.4_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/app-portage/kportagetray-0.2.4-r1/work/kportagetray-0.2.4_build/CMakeFiles/CMakeError.log".
Comment 1 jms 2014-03-21 22:28:34 UTC
Created attachment 373224 [details]
CMakeError.log
Comment 2 jms 2014-03-21 22:31:01 UTC
emerge --info  kportagetray  
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.17, 3.12.6-gentoo-jms-r7 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.6-gentoo-jms-r7-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     7676236 total,   1466228 free
KiB Swap:    8396796 total,   8096692 free
Timestamp of tree: Fri, 21 Mar 2014 21:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
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.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
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 /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe "
DISTDIR="/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect 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://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 ao avahi avx bash-completion berkdb bindist bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus declarative dhcpcd dri dts dv dvb dvd dvdnav dvdr emboss encode evdev exif ffmpeg firefox flac fontconfig fortran gd gdbm gif gpm gtk gzip iconv icu imap inotify ipv6 jpeg jpeg2k kde kipi laptop lcms ldap libav libkms libnotify lzma lzo mad maildir matroska memlimit mhash mikmod mime mmap mmx mng mod modules motif mp3 mp4 mpeg mtp mysql ncurse ncurses nls nptl ogg openal opengl openmp oss pam pango pcmcia pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 quicktime raw readline resolvconf scanner sdl semantic-desktop sematic-deskyop session smp spell sse sse2 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog taglib tcpd theora thumbnail tidy tiff truetype udev udisks unicode upower usb utf8 v4l v4l2 vaapi vcd vdpau video vim-syntax vorbis wifi win32codecs wxwidgets x x264 xcb xcomposit xcomposite xine xinerama xml xosd xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ABI_X86="64 32" 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="ptp2" 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 ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en es fr en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel nvidia modesetting" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

app-portage/kportagetray-0.2.4-r1 was built with the following:
USE="(policykit) (-aqua)" ABI_X86="64" LINGUAS="-pt_BR"
CFLAGS="-march=native -O2 -pipe -ggdb"
CXXFLAGS="-march=native -O2 -pipe -ggdb"


 eselect python list
Available Python interpreters:
  [1]   python2.7
  [2]   python3.2 *
  [3]   python3.3


 eix PyQT4
[I] dev-python/PyQt4
     Available versions:  4.10.2 ~4.10.3 4.10.3-r2 {X dbus debug declarative designer doc examples help kde multimedia opengl phonon script scripttools sql svg webkit xmlpatterns PYTHON_TARGETS="python2_6 python2_7 python3_2 python3_3"}
     Installed versions:  4.10.3-r2(12:03:26 08/03/14)(X dbus declarative kde opengl phonon script sql svg webkit -debug -designer -doc -examples -help -multimedia -scripttools -xmlpatterns PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2")
     Homepage:            http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt
     Description:         Python bindings for the Qt toolkit
Comment 3 jms 2014-03-21 22:32:31 UTC
Created attachment 373226 [details]
build log
Comment 4 jms 2014-03-21 22:33:16 UTC
Created attachment 373228 [details]
environment
Comment 5 jms 2014-03-21 22:34:28 UTC
Created attachment 373230 [details]
CMakeOutput
Comment 6 Johannes Huber (RETIRED) gentoo-dev 2014-03-22 11:15:01 UTC
Thanks for reporting. This should be fixed in cvs now. Please sync in some hours to get the changes.

+
+  22 Mar 2014; Johannes Huber <johu@gentoo.org> kportagetray-0.2.4-r1.ebuild:
+  Migrate to python-single-r1 eclass and add missing related vars, bug #505314.
+
Comment 7 jms 2014-03-22 16:20:40 UTC
Hi thanks compile fine now but ...
when launching it

kportagetray 
Traceback (most recent call last):
  File "/usr/bin/kportagetray", line 31, in <module>
    from PyQt4 import QtGui, QtCore
ImportError: No module named PyQt4

shall I open a new bug report?
Comment 8 jms 2014-03-22 22:10:00 UTC
well I reemerged PyQt4 portage gentoolkit sip  kportagetray 
changed eselect python
eselect python set --python3 python3.3
did run 
python-updater

reemerged PyQt4 portage gentoolkit sip kportagetray 

and now kportagetray  segfault on start

 # kportagetray 
Segmentation fault
Comment 9 jms 2014-03-23 13:54:26 UTC
not sure if this will help..
kportagetray 
> /usr/bin/kportagetray(30)<module>()
-> import sys
(Pdb) n
> /usr/bin/kportagetray(31)<module>()
-> import os
(Pdb) n
> /usr/bin/kportagetray(32)<module>()
-> from PyQt4 import QtGui, QtCore
(Pdb) n
> /usr/bin/kportagetray(33)<module>()
-> from PyKDE4.kdecore import ki18n, i18n, KCmdLineArgs, KAboutData
(Pdb) n
> /usr/bin/kportagetray(34)<module>()
-> from PyKDE4.kdeui import KApplication, KXmlGuiWindow, KStandardAction, KAction, KIcon
(Pdb) n
> /usr/bin/kportagetray(37)<module>()
-> from KPT_Definitions import *
(Pdb) n
> /usr/bin/kportagetray(38)<module>()
-> from KPT_MainWindow import *
(Pdb) n
> /usr/bin/kportagetray(39)<module>()
-> from KPT_ConfCheck import *
(Pdb) n
> /usr/bin/kportagetray(43)<module>()
-> if __name__ == "__main__":
(Pdb) n
> /usr/bin/kportagetray(45)<module>()
-> appName     = "kportagetray"
(Pdb) n
> /usr/bin/kportagetray(46)<module>()
-> catalog     = ""
(Pdb) n
> /usr/bin/kportagetray(47)<module>()
-> programName = ki18n("kportagetray")
(Pdb) n
> /usr/bin/kportagetray(48)<module>()
-> version     = "0.2.4"
(Pdb) n
> /usr/bin/kportagetray(49)<module>()
-> description = ki18n("A set of basic operations for Portage.")
(Pdb) n
> /usr/bin/kportagetray(50)<module>()
-> license     = KAboutData.License_GPL_V3
(Pdb) n
> /usr/bin/kportagetray(51)<module>()
-> copyright   = ki18n("(c) 2010 Ronan Arraes Jardim Chagas")
(Pdb) n
> /usr/bin/kportagetray(52)<module>()
-> text        = ki18n("This application contains a set of basic operations to make Portage's simple tasks easier.")
(Pdb) n
> /usr/bin/kportagetray(53)<module>()
-> homePage    = ""
(Pdb) n
> /usr/bin/kportagetray(54)<module>()
-> bugEmail    = "ronisbr@gmail.com"
(Pdb) n
> /usr/bin/kportagetray(56)<module>()
-> aboutData = KAboutData(appName, catalog, programName, version, description,
(Pdb) n
> /usr/bin/kportagetray(57)<module>()
-> license, copyright, text, homePage, bugEmail)
(Pdb) n
> /usr/bin/kportagetray(58)<module>()
-> aboutData.addAuthor(ki18n("Ronan Arraes Jardim Chagas"), ki18n("Developer"),
(Pdb) n
> /usr/bin/kportagetray(59)<module>()
-> "ronisbr@gmail.com",
(Pdb) n
> /usr/bin/kportagetray(60)<module>()
-> "")
(Pdb) n
> /usr/bin/kportagetray(61)<module>()
-> aboutData.addAuthor(ki18n("Locke Shinseiko (Wizzleby)"), ki18n("Developer"),
(Pdb) n
> /usr/bin/kportagetray(62)<module>()
-> "wizzleby@gmail.com",
(Pdb) n
> /usr/bin/kportagetray(63)<module>()
-> "")
(Pdb) n
> /usr/bin/kportagetray(64)<module>()
-> aboutData.setProgramLogo(QtGui.QImage(KPORTAGETRAY_INSTALLDIR+"/images/kportagetray.png"))
(Pdb) n
> /usr/bin/kportagetray(67)<module>()
-> KCmdLineArgs.init(sys.argv, aboutData)
(Pdb) n
> /usr/bin/kportagetray(68)<module>()
-> KPortageTray_App = KApplication()
(Pdb) n
Segmentation fault
Comment 10 Michael Palimaka (kensington) gentoo-dev 2014-03-23 13:59:31 UTC
Which dev-libs/glib version do you have?
Comment 11 jms 2014-03-23 14:02:07 UTC
eix  dev-libs/glib
[I] dev-libs/glib
     Available versions:  
     (1)    1.2.10-r5
     (2)    2.32.4-r1 ~2.34.3-r1 2.36.4-r1 2.38.2-r1
       {debug fam hardened selinux static-libs systemtap test utils xattr ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32" KERNEL="linux" PYTHON_TARGETS="python2_6 python2_7"}
     Installed versions:  2.38.2-r1(2)(09:32:24 15/03/14)(-debug -fam -selinux -static-libs -systemtap -test -utils -xattr ABI_MIPS="-n32 -n64 -o32" ABI_X86="32 64 -x32" KERNEL="linux" PYTHON_TARGETS="python2_7 -python2_6")
     Homepage:            http://www.gtk.org/
     Description:         The GLib library of C routines
Comment 12 Johannes Huber (RETIRED) gentoo-dev 2015-06-26 21:11:15 UTC
*** Bug 552910 has been marked as a duplicate of this bug. ***
Comment 13 Johannes Huber (RETIRED) gentoo-dev 2015-06-26 21:32:51 UTC
+ 
+ # Johannes Huber <johu@gentoo.org> (26 Jun 2015)
+ # Mask for removal in 30 days. Segfaults on startup, bug #544822.
+ # Last release in 2010. Non upstream repository, bug #544822.
+ app-portage/kportagetray
+
Comment 14 Johannes Huber (RETIRED) gentoo-dev 2015-07-26 10:47:30 UTC
Package removed.