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

Bug 14682

Summary: kdelibs-3.1 compile fails due to access violation
Product: Gentoo Linux Reporter: Alessandro Pisani <alessandro.pisani>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: blocker CC: mholzer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alessandro Pisani 2003-01-28 11:48:40 UTC
error is:

[31;01mACCESS DENIED[0m  open_wr:   /kbugreport.loT
../libtool: kbugreport.loT: Permission denied
[31;01mACCESS DENIED[0m  open_wr:   /kbugreport.loT
../libtool: kbugreport.loT: Permission denied
mv: cannot stat `kbugreport.loT': No such file or directory
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I.
-I.. -I../kdefx -I../interfaces -I../dcop -I../libltdl -I../kdecore -I../kdeui
-I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include
-I/usr/X11R6/include -I/usr/kde/3.1/include   -DQT_THREAD_SUPPORT  -D_REENTRANT
  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=i686 -march=i686 -O3
-pipe -fomit-frame-pointer -fforce-addr -frerun-cse-after-loop -frerun-loop-opt
-malign-functions=4 -fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o kpassdlg.lo `test
-f 'kpassdlg.cpp' || echo './'`kpassdlg.cpp
shell-init: could not get current directory: getcwd: cannot access parent
directories: No such file or directory
shell-init: could not get current directory: getcwd: cannot access parent
directories: No such file or directory
../libtool: ../libtool: No such file or directory
make[3]: *** [kpassdlg.lo] Error 127
make[3]: *** Waiting for unfinished jobs....
[31;01mACCESS DENIED[0m  open_wr:   /kcombobox.loT
../libtool: kcombobox.loT: Permission denied
[31;01mACCESS DENIED[0m  open_wr:   /kcombobox.loT
../libtool: kcombobox.loT: Permission denied
mv: cannot stat `kcombobox.loT': No such file or directory
make[3]: Leaving directory `/tmp/portage/kdelibs-3.1/work/kdelibs-3.1/kdeui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/portage/kdelibs-3.1/work/kdelibs-3.1/kdeui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/kdelibs-3.1/work/kdelibs-3.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.1 failed.
!!! Function kde_src_compile, Line -9142, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-01-28 15:20:28 UTC
please paste
#emerge info
Comment 2 Alessandro Pisani 2003-01-28 15:35:20 UTC
emerge info output:

Portage 2.0.46-r9 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 1700MHz
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR_OVERLAY="/usr/portage.local"
USE="x86 oss 3dnow apm libg++ spell berkdb cdr gdbm gnome-libs imlib libwww
python slang svga X -xfs gd acpi4linux acl mmx sse kde qt qtmt arts cups -gnome
gtk -motif -aalib readline sdl gif jpeg png tiff mpeg quicktime alsa esd mikmod
dvd xmms oggvorbis encode -snmp pam ssl crypt socks5 imap -ldap tcpd mozilla
truetype -xml xml2 pdflib -tetex java perl -ruby mysql samba nls gpm doc sasl
avi ncurses opengl xv tcltk"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe -fomit-frame-pointer -fforce-addr
-frerun-cse-after-loop -frerun-loop-opt -malign-functions=4"
CXXFLAGS="-mcpu=i686 -march=i686 -O3 -pipe -fomit-frame-pointer -fforce-addr
-frerun-cse-after-loop -frerun-loop-opt -malign-functions=4"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 3 Alessandro Pisani 2003-01-28 16:14:15 UTC
i always forgot i'm (still) using aggressive optimizations... trying using only:
CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe -fomit-frame-pointer -malign-functions=4"

i'll let you know
bye,
Alessandro
Comment 4 Alessandro Pisani 2003-01-29 07:11:13 UTC
using less aggressive compilation flags solved the problem with kdelibs
nevertheless i'm still having problems compiling kdeedu which fails due to an asm compile error... i'll check it deeply and i'll open a new bug if needed

closing this marking as resolved:invalid
Comment 5 Alessandro Pisani 2003-01-29 07:27:55 UTC
about my last comment: compiling kdeedu-3.1 with -fomit-frame-pointer (gcc 2.95.3) will crash the compilation. removing it from the CFLAGS in /etc/make.conf solved the problem
Comment 6 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-02 18:45:28 UTC
the kdeedu problem is also reported in bug #14768. maybe we should filter -fomit-frame-pointer in 
kdeedu if gcc-2.95.3 is used.