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

Bug 295669

Summary: x11-libs/qt-assistant-4.6.0 fails "ACCESS VIOLATION" tries to write ~/.config/Trolltech.conf while installing
Product: Gentoo Linux Reporter: keenblade <keenblade>
Component: New packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED INVALID    
Severity: normal CC: lev.panov
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 297299    
Attachments: full fail log

Description keenblade 2009-12-04 15:30:25 UTC
x11-libs/qt-assistant-4.6.0 fails "ACCESS VIOLATION" tries to write /home/keenblade/.config/Trolltech.conf while installing. Lots of lines like this:

ACCESS DENIED  open_wr:      /home/keenblade/.config/Trolltech.conf


Reproducible: Always

Steps to Reproduce:
1.emerge -v1 qt-assistant
2.ACCESS VIOLATION occurs
3.Fails to emerge x11-libs/qt-assistant-4.6.0




emerge --info
Portage 2.2_rc55 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.31-rc9 x86_64)
=================================================================
System uname: Linux-2.6.31-rc9-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 04 Dec 2009 04:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.5.4-r2, 2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r8
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.13, 2.64
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 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="amd64 ~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/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-march=native -O2 -pipe"
DISTDIR="/media/disk-1/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LANG="tr_TR.UTF-8"
LC_ALL="tr_TR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="tr"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/overlays/symix /usr/local/overlays/keenblade /usr/local/portage/layman/pok3d /usr/local/portage/layman/pd-overlay /usr/local/portage/layman/mpd /usr/local/portage/layman/gechi /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/emacs /usr/local/portage/layman/pcsx2 /usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/webapps-experimental /usr/local/portage/layman/rox /usr/local/portage/layman/enlightenment /usr/local/portage/layman/mozilla /usr/local/portage/layman/pro-audio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam ffmpeg firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 jack java jpeg kde ladspa lash ldap libnotify lm_sensors mad midi mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql mysqli ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd theora thunar tiff truetype unicode usb vorbis x264 xcomposite xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel mpu401 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="keyboard mouse evdev synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="tr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 keenblade 2009-12-04 15:36:32 UTC
Created attachment 212019 [details]
full fail log

Full build log attached.
Comment 2 Lev Panov 2009-12-15 22:24:53 UTC
The same bug on my system.
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2009-12-17 17:52:21 UTC
This should not happen. I suspect an environment problem. Can you make sure you use `su -` to become root, disable ccache and try again? If it fails again please attach the environment file to this bug. This should be located at
/var/tmp/portage/x11-libs/qt-assistant-4.6.0/temp/environment
Comment 4 keenblade 2009-12-17 19:53:58 UTC
(In reply to comment #3)
> This should not happen. I suspect an environment problem. Can you make sure you
> use `su -` to become root, disable ccache and try again?
> 
Thanks. If I use `su -` to become root, it emerges fine. And ccache is innocent. But I use `sudo sux -` to become root, then emerge fails with or without ccache.The environment files are the same for both emerges. I wonder if the problem is x11-misc/sux, since all other packages emerges fine with sux.
I am keeping the bug open.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2009-12-19 10:34:01 UTC
But I wont keep it open

sudo sux - is not a valid way to become su and be sure that everything is running smoothly. Especially sudo usage with package manager should be avoided

If you think that sux has problems with authentication and user permissions please contact upstream or open a new bug about it

Thanks