Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270955 - akonadi-server-1.1.1 and 1.1.2 segfault on compile
Summary: akonadi-server-1.1.1 and 1.1.2 segfault on compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-23 15:50 UTC by Tobias Leupold
Modified: 2009-10-25 09:14 UTC (History)
2 users (show)

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 Tobias Leupold 2009-05-23 15:50:41 UTC
akonadi-server-1.1.1 and 1.1.2 both segfault when I try to compile them on my EEE PC 1000h with the following message:

Scanning dependencies of target querybuildertest                                                                          
[  5%] Building CXX object server/src/tests/CMakeFiles/querybuildertest.dir/querybuildertest_automoc.cpp.o                
[  5%] Building CXX object server/src/tests/CMakeFiles/querybuildertest.dir/querybuildertest.cpp.o                        
Linking CXX shared library ../lib/libakonadiprotocolinternals.so                                                          
[  5%] Built target akonadiprotocolinternals                                                                              
[  5%] [  5%] [  5%] Generating controlmanagerinterface.cpp, controlmanagerinterface.h                                    
Generating serverinterface.cpp, serverinterface.h                                                                         
Generating org.freedesktop.Akonadi.DebugInterface.xml                                                                     
/bin/sh: line 1:  6236 Segmentation fault      /usr/bin/qdbusxml2cpp -m -p controlmanagerinterface /var/tmp/portage/app-office/akonadi-server-1.1.1/work/akonadi-1.1.1/server/interfaces/org.freedesktop.Akonadi.ControlManager.xml                 
make[2]: *** [server/akonadictl/controlmanagerinterface.cpp] Error 139                                                    
make[1]: *** [server/akonadictl/CMakeFiles/akonadictl.dir/all] Error 2                                                    
make[1]: *** Waiting for unfinished jobs....                                                                              
[  5%] /bin/sh: line 1:  6238 Segmentation fault      /usr/bin/qdbusxml2cpp -m -p serverinterface /var/tmp/portage/app-office/akonadi-server-1.1.1/work/akonadi-1.1.1/server/interfaces/org.freedesktop.Akonadi.Server.xml                          
make[2]: *** [server/control/serverinterface.cpp] Error 139                                                               
make[2]: *** Waiting for unfinished jobs....                                                                              
[  6%] Generating agentmanageradaptor.cpp, agentmanageradaptor.h                                                          
Generating entities.h, entities.cpp                                                                                       
[  7%] Generating tracernotificationadaptor.cpp, tracernotificationadaptor.h                                              
/bin/sh: line 1:  6251 Segmentation fault      /usr/bin/qdbusxml2cpp -m -a agentmanageradaptor -i agentmanager.h -l AgentManager /var/tmp/portage/app-office/akonadi-server-1.1.1/work/akonadi-1.1.1/interfaces/org.freedesktop.Akonadi.AgentManager.xml                                                                                                                      
make[2]: *** [server/control/agentmanageradaptor.cpp] Error 139                                                           
make[1]: *** [server/control/CMakeFiles/akonadi_control.dir/all] Error 2                                                  
[  7%] /bin/sh: line 1:  6256 Segmentation fault      /usr/bin/qdbusxml2cpp -m -a tracernotificationadaptor -i dbustracer.h -l Akonadi::DBusTracer /var/tmp/portage/app-office/akonadi-server-1.1.1/work/akonadi-1.1.1/server/interfaces/org.freedesktop.Akonadi.TracerNotification.xml                                                                                       
make[2]: *** [server/tracernotificationadaptor.cpp] Error 139                                                             
make[2]: *** Waiting for unfinished jobs....                                                                              
Generating traceradaptor.cpp, traceradaptor.h                                                                             
/bin/sh: line 1:  6260 Segmentation fault      /usr/bin/qdbusxml2cpp -m -a traceradaptor -i tracer.h -l Akonadi::Tracer /var/tmp/portage/app-office/akonadi-server-1.1.1/work/akonadi-1.1.1/interfaces/org.freedesktop.Akonadi.Tracer.xml           
make[2]: *** [server/traceradaptor.cpp] Error 139                                                                         
Linking CXX executable interpretertest                                                                                    
make[1]: *** [server/CMakeFiles/akonadiprivate.dir/all] Error 2                                                           
[  7%] Built target interpretertest                                                                                       
Linking CXX executable querybuildertest                                                                                   
[  7%] Built target querybuildertest                                                                                      
make: *** [all] Error 2                                                                                                   
 *                                                                                                                        
 * ERROR: app-office/akonadi-server-1.1.1 failed.                                                                         
 * Call stack:                                                                                                            
 *               ebuild.sh, line   48:  Called src_compile                                                                
 *             environment, line 3230:  Called cmake-utils_src_compile
 *             environment, line  843:  Called cmake-utils_src_make
 *             environment, line  922:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/akonadi-server-1.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/akonadi-server-1.1.1/temp/environment'.
 *

This is quite annoying as I can't build KDE 4 at the moment. Here's my emerge --info:

Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.28.9 i686)            
=================================================================                                                
System uname: Linux-2.6.28.9-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-glibc2.0                             
Timestamp of tree: Sat, 23 May 2009 13:00:18 +0000                                                               
distcc 3.1 i686-pc-linux-gnu [disabled]                                                                          
app-shells/bash:     3.2_p39                                                                                     
dev-lang/python:     2.5.4-r2                                                                                    
dev-util/cmake:      2.6.2-r1                                                                                    
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.4.3-r2                                                                                    
sys-apps/sandbox:    1.6-r2                                                                                      
sys-devel/autoconf:  2.63                                                                                        
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2                                                                  
sys-devel/binutils:  2.18-r3                                                                                     
sys-devel/gcc-config: 1.4.1                                                                                      
sys-devel/libtool:   1.5.26                                                                                      
virtual/os-headers:  2.6.27-r2                                                                                   
ACCEPT_KEYWORDS="x86"                                                                                            
CBUILD="i686-pc-linux-gnu"                                                                                       
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"                                                          
CHOST="i686-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 /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"


Reproducible: Always
Comment 1 Tobias Leupold 2009-05-23 15:51:47 UTC
Sorry, here's the whole emerge --info:

Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.28.9 i686)            
=================================================================                                                
System uname: Linux-2.6.28.9-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-glibc2.0                             
Timestamp of tree: Sat, 23 May 2009 13:00:18 +0000                                                               
distcc 3.1 i686-pc-linux-gnu [disabled]                                                                          
app-shells/bash:     3.2_p39                                                                                     
dev-lang/python:     2.5.4-r2                                                                                    
dev-util/cmake:      2.6.2-r1                                                                                    
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.4.3-r2                                                                                    
sys-apps/sandbox:    1.6-r2                                                                                      
sys-devel/autoconf:  2.63                                                                                        
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2                                                                  
sys-devel/binutils:  2.18-r3                                                                                     
sys-devel/gcc-config: 1.4.1                                                                                      
sys-devel/libtool:   1.5.26                                                                                      
virtual/os-headers:  2.6.27-r2                                                                                   
ACCEPT_KEYWORDS="x86"                                                                                            
CBUILD="i686-pc-linux-gnu"                                                                                       
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"                                                          
CHOST="i686-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 /etc/udev/rules.d"                                                                  
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"                                                                 
DISTDIR="/usr/src/distfiles"                                                                                              
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"            
GENTOO_MIRRORS="         http://ftp.uni-erlangen.de/pub/mirrors/gentoo/         http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/         http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "                                           
LANG="de_DE.utf8"                                                                                                         
LC_ALL="de_DE.utf8"                                                                                                       
LDFLAGS="-Wl,-O1"                                                                                                         
LINGUAS="de"                                                                                                              
MAKEOPTS="-j5"                                                                                                            
PKGDIR="/usr/portage/packages"                                                                                            
PORTAGE_CONFIGROOT="/"                                                                                                    
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="/var/portage/tree"                                                                                               
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                            
USE="X acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="intel"                   
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY                                                                                           
Comment 2 Sebastian Luther (few) 2009-05-23 19:55:24 UTC
/usr/bin/qdbusxml2cpp belongs to qt or qt-dbus (depends on the versions). Find out where it belongs (equery belongs /usr/bin/qdbusxml2cpp) and recompile it. If it does not fix it, try qdbusxml2cpp in a terminal. If it segfaults too, get a backtrace (see [1]).

[1] http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 3 Tobias Leupold 2009-05-23 20:16:18 UTC
I already tried to recompile the package owing qdbusxml2cpp (I think it was qt-dbus). It didn't fix the problem. Calling the program from the command line (without any options) does not produce a segfault.
Comment 4 Sebastian Luther (few) 2009-05-23 20:20:40 UTC
cd into the akonadi-server build directory and try one of the commands from the build.log.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-26 09:15:55 UTC
@Qt guys:
hey what can cause this, cant reproduce :]
@user reporting:
as said above try to run the command in the build directory to see if it fails when you run it by hand too.
Comment 6 Tobias Leupold 2009-05-26 18:37:26 UTC
I looked in the build directory, I can't find the files processed at the time the segfault appears ... I tried to build the current beta version of KDE 4.3 which compiles fine!
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-10-25 09:14:19 UTC
(In reply to comment #6)
> I looked in the build directory, I can't find the files processed at the time
> the segfault appears ... I tried to build the current beta version of KDE 4.3
> which compiles fine!
> 

Right, and 1.2.1 is the current stable.

If you can still reproduce, please reopen.