Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 293055

Summary: kde-base/kdelibs-4.3.X will not build when use flag handbook is active
Product: Gentoo Linux Reporter: Michael Duelli <m.duelli>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: esigra
Priority: High Flags: tampakrap: Bugday+
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 313999    
Attachments: build.log of kdelibs with active handbook use flag

Description Michael Duelli 2009-11-13 16:13:14 UTC
Just set up a new gentoo machine via minimal install cd. Then I wanted to clone an existing gentoo setup by copying /var/lib/portage/world from another machine which has a working KDE4 setup.

The build of kdelibs repeatedly crashed at about [ 79%] and did not tell me where exactly the problem was (just "Make failed")

Finally, I found that the build of kdelibs only crashed when use flag handbook is active (which was not the case for my other working machine)

Why was the use flag handbook active on this machine at all?
On my other machine I did not deactivate this use flag.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-11-13 16:16:15 UTC
No information provided, closing as NEEDINFO. Reopen with full build.log from,

CMAKE_VERBOSE=1 emerge kdelibs
Comment 2 Michael Duelli 2009-11-14 17:26:11 UTC
Created attachment 210250 [details]
build.log of kdelibs with active handbook use flag

Here is the build.log for

CMAKE_VERBOSE=1 USE="handbook" emerge -va kdelibs
Comment 3 Michael Duelli 2009-11-14 17:26:48 UTC
I attached the build.log.
Comment 4 Michael Duelli 2009-11-14 17:27:57 UTC
(In reply to comment #3)
> I attached the build.log.
> 

Additionally, here is my emerge --info

Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 i686)
=================================================================                                          
System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-1.12.13            
Timestamp of tree: Sat, 14 Nov 2009 15:55:01 +0000                                                         
app-shells/bash:     4.0_p28                                                                               
dev-java/java-config: 2.1.9-r1                                                                             
dev-lang/python:     2.6.2-r1                                                                              
dev-util/cmake:      2.6.4-r3                                                                              
sys-apps/baselayout: 1.12.13                                                                               
sys-apps/sandbox:    1.6-r2                                                                                
sys-devel/autoconf:  2.13, 2.63-r1                                                                         
sys-devel/automake:  1.9.6-r2, 1.10.2                                                                      
sys-devel/binutils:  2.18-r3                                                                               
sys-devel/gcc-config: 1.4.1                                                                                
sys-devel/libtool:   2.2.6a                                                                                
virtual/os-headers:  2.6.27-r2                                                                             
ACCEPT_KEYWORDS="x86"                                                                                      
CBUILD="i686-pc-linux-gnu"                                                                                 
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"                                                    
CHOST="i686-pc-linux-gnu"                                                                                  
CONFIG_PROTECT="/etc /usr/share/config"                                                                    
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 /etc/udev/rules.d"                                                               
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"                                                    
DISTDIR="/usr/portage/distfiles"                                                                             
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.rz.uni-wuerzburg.de/pub/linux/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="--jobs=2"
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="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ntpl ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Michal Lyszczek 2009-12-06 00:34:58 UTC
Hi, I have got the same problem.

Desctription:
   kdelibs (and other kde-4.x programs) won't compile with handbook flag turned on.

Reproducibility: 
   Happens every time...

Steps to Reproduce: 
   emerge kdelibs (or any other kde-4.x app) with handbook flag turned on.

Actual Results (I think this should be enough):

Scanning dependencies of target kfind-handbook                                                                                                       
[ 87%] Generating index.cache.bz2                                                                                                                    
/bin/sh: line 1: 22291 Illegal instruction     /usr/bin/meinproc4 --check --cache /home/portage/tmp/portage/kde-base/kfind-4.3.4/work/kfind-4.3.4_build/doc/kfind/index.cache.bz2 /home/portage/tmp/portage/kde-base/kfind-4.3.4/work/kfind-4.3.4/doc/kfind/index.docbook                                 
make[2]: *** [doc/kfind/index.cache.bz2] Error 132                                                                                                   
make[1]: *** [doc/kfind/CMakeFiles/kfind-handbook.dir/all] Error 2                                                                                   
make: *** [all] Error 2                                                                                                                              
 * ERROR: kde-base/kfind-4.3.4 failed:                                                                                                               
 *   Make failed!                                                                                                                                    
 *                                                                                                                                                   
 * Call stack:                                                                                                                                       
 *     ebuild.sh, line   55:  Called src_compile                                                                                                     
 *   environment, line 4140:  Called kde4-meta_src_compile                                                                                           
 *   environment, line 3240:  Called kde4-base_src_compile                                                                                           
 *   environment, line 2915:  Called cmake-utils_src_compile                                                                                         
 *   environment, line 1119:  Called _execute_optionaly 'src_compile'                                                                                
 *   environment, line  512:  Called enable_cmake-utils_src_compile                                                                                  
 *   environment, line 1492:  Called cmake-utils_src_make                                                                                            
 *   environment, line 1138:  Called die                                                                                                             
 * The specific snippet of code:                                                                                                                     
 *           emake "$@" || die "Make failed!";

Expected Results;
   Program should compile.

Additional Information (emerge --info):
Portage 2.1.7.10 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.31-gentoo-r6 i686)
=================================================================                                 
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-gentoo-2.0.1     
Timestamp of tree: Thu, 03 Dec 2009 22:15:01 +0000                                                
app-shells/bash:     4.0_p35                                                                      
dev-java/java-config: 2.1.9-r2                                                                    
dev-lang/python:     2.6.4, 3.1.1-r1                                                              
dev-util/cmake:      2.8.0                                                                        
sys-apps/baselayout: 2.0.1                                                                        
sys-apps/openrc:     0.5.3                                                                        
sys-apps/sandbox:    2.2                                                                          
sys-devel/autoconf:  2.64                                                                         
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                             
sys-devel/binutils:  2.20                                                                         
sys-devel/gcc-config: 1.4.1                                                                       
sys-devel/libtool:   2.2.6b                                                                       
virtual/os-headers:  2.6.30-r1                                                                    
ACCEPT_KEYWORDS="x86 ~x86"                                                                        
ACCEPT_LICENSE="*"                                                                                
CBUILD="i686-pc-linux-gnu"                                                                        
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"                                           
CHOST="i686-pc-linux-gnu"                                                                         
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                                        
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                                                                       
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"                                                                                            
DISTDIR="/home/portage/distfiles"                                                                                                                    
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"      
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl"                                                                                                        
LDFLAGS="-Wl,-O1"                                                                                                                                    
LINGUAS="pl"                                                                                                                                         
MAKEOPTS="-j1"                                                                                                                                       
PKGDIR="/home/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="/home/portage/tmp"                                                                                                                   
PORTDIR="/usr/portage"                                                                                                                               
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                                                                                
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds embedded emboss encode evo extras fam firefox flac fortran gadu gdbm gif gnome gpm gstreamer gtk hal iconv ipod ipv6 jabber java jpeg kde lastfm lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg msn mudflap mysql ncurses networkmanager nls nptl nptlonly nvidia ogg openexr opengl openmp pam pcre pdf perl plasma png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sql sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb v4l v4l2 vorbis webkit win32codecs x264 x86 xml xorg xulrunner xv xvid 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"                               
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Severity:
   Minor loss of function, and there is an easy workaround.

Workaround 
   turn off handbook flag.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2010-03-16 05:02:12 UTC
Does this still happen with 4.3.5?

What's your glibc version?
Could you please try to get a backtrace from a core dump?
http://www.gentoo.org/proj/en/qa/backtraces.xml

Only similar thing that I can find is 
https://bugzilla.redhat.com/show_bug.cgi?id=519081
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-06-25 12:01:34 UTC
(In reply to comment #6)
> Does this still happen with 4.3.5?

*Does this still happen with 4.4.4? It's already stable for amd64, and going on x86.