Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ACCESS VIOLATION when compiling qscintilla
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
johntramp
Guru
Guru


Joined: 03 Feb 2004
Posts: 457
Location: New Zealand

PostPosted: Thu May 26, 2005 9:34 am    Post subject: ACCESS VIOLATION when compiling qscintilla Reply with quote

Hi. I am having trouble compiling qscintilla. I have tried USE="-sandbox" emerge qscintilla but that didn't work either, it gave me the same error. If someone is able to have a look over this and try help me out it will be appreciated. Thanks.

Quote:
ntractionState.o Document.o DocumentAccessor.o Editor.o ExternalLexer.o Indicator.o KeyMap.o KeyWords.o LexAda.o LexAPDL.o LexAsm.o LexAU3.
LexBaan.o LexBash.o LexBullant.o LexCLW.o LexConf.o LexCPP.o LexCrontab.o LexCSS.o LexEiffel.o LexErlang.o LexEScript.o LexForth.o LexFort
ui4Cli.o LexHTML.o LexKix.o LexLisp.o LexLout.o LexLua.o LexMatlab.o LexMetapost.o LexMMIXAL.o LexMPT.o LexMSSQL.o LexNsis.o LexOthers.o Le
LexPB.o LexPerl.o LexPOV.o LexPS.o LexPython.o LexRuby.o LexScriptol.o LexSpecman.o LexSQL.o LexTeX.o LexVB.o LexVerilog.o LexYAML.o LineMa
pSet.o RESearch.o ScintillaBase.o Style.o StyleContext.o ViewStyle.o WindowAccessor.o XPM.o moc_qextscintilla.o moc_qextscintillabase.o moc
illalexer.o moc_qextscintillalexerbash.o moc_qextscintillalexercpp.o moc_qextscintillalexercsharp.o moc_qextscintillalexerhtml.o moc_qextsc
eridl.o moc_qextscintillalexerjava.o moc_qextscintillalexerjavascript.o moc_qextscintillalexerperl.o moc_qextscintillalexerpython.o moc_qex
lexersql.o moc_qextscintillamacro.o moc_SciListBox.o -L/usr/qt/3/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lpthread
ln -s libqscintilla.so.5.0.0 libqscintilla.so
ln -s libqscintilla.so.5.0.0 libqscintilla.so.5
ln -s libqscintilla.so.5.0.0 libqscintilla.so.5.0
rm -f /usr/qt/3/lib/libqscintilla.so.5.0.0
ACCESS DENIED unlink: /usr/qt/3/lib/libqscintilla.so.5.0.0
rm: cannot remove `/usr/qt/3/lib/libqscintilla.so.5.0.0': Permission denied
make: [/usr/qt/3/lib/libqscintilla.so.5.0.0] Error 1 (ignored)
rm -f /usr/qt/3/lib/libqscintilla.so
ACCESS DENIED unlink: /usr/qt/3/lib/libqscintilla.so
rm: cannot remove `/usr/qt/3/lib/libqscintilla.so': Permission denied
make: [/usr/qt/3/lib/libqscintilla.so.5.0.0] Error 1 (ignored)
rm -f /usr/qt/3/lib/libqscintilla.so.5
ACCESS DENIED unlink: /usr/qt/3/lib/libqscintilla.so.5
rm: cannot remove `/usr/qt/3/lib/libqscintilla.so.5': Permission denied
make: [/usr/qt/3/lib/libqscintilla.so.5.0.0] Error 1 (ignored)
rm -f /usr/qt/3/lib/libqscintilla.so.5.0
ACCESS DENIED unlink: /usr/qt/3/lib/libqscintilla.so.5.0
rm: cannot remove `/usr/qt/3/lib/libqscintilla.so.5.0': Permission denied
make: [/usr/qt/3/lib/libqscintilla.so.5.0.0] Error 1 (ignored)
mv -f libqscintilla.so.5.0.0 libqscintilla.so libqscintilla.so.5 libqscintilla.so.5.0 /usr/qt/3/lib/
ACCESS DENIED rename: /usr/qt/3/lib/libqscintilla.so.5.0.0
mv: cannot move `libqscintilla.so.5.0.0' to `/usr/qt/3/lib/libqscintilla.so.5.0.0': Permission denied
ACCESS DENIED rename: /usr/qt/3/lib/libqscintilla.so
mv: cannot move `libqscintilla.so' to `/usr/qt/3/lib/libqscintilla.so': Permission denied
ACCESS DENIED rename: /usr/qt/3/lib/libqscintilla.so.5
mv: cannot move `libqscintilla.so.5' to `/usr/qt/3/lib/libqscintilla.so.5': Permission denied
ACCESS DENIED rename: /usr/qt/3/lib/libqscintilla.so.5.0
mv: cannot move `libqscintilla.so.5.0' to `/usr/qt/3/lib/libqscintilla.so.5.0': Permission denied
make: [/usr/qt/3/lib/libqscintilla.so.5.0.0] Error 1 (ignored)
rm -f /usr/qt/3/lib/libqscintilla.a
ACCESS DENIED unlink: /usr/qt/3/lib/libqscintilla.a
rm: cannot remove `/usr/qt/3/lib/libqscintilla.a': Permission denied
make: [/usr/qt/3/lib/libqscintilla.a] Error 1 (ignored)
ar cqs /usr/qt/3/lib/libqscintilla.a qextscintilla.o qextscintillaapis.o qextscintillabase.o qextscintillacommand.o qextscintillacommandset
ntilladocument.o qextscintillalexer.o qextscintillalexerbash.o qextscintillalexercpp.o qextscintillalexercsharp.o qextscintillalexerhtml.o
llalexeridl.o qextscintillalexerjava.o qextscintillalexerjavascript.o qextscintillalexerperl.o qextscintillalexerpython.o qextscintillalexe
tscintillamacro.o qextscintillaprinter.o SciListBox.o PlatQt.o ScintillaQt.o AutoComplete.o CallTip.o CellBuffer.o ContractionState.o Docum
mentAccessor.o Editor.o ExternalLexer.o Indicator.o KeyMap.o KeyWords.o LexAda.o LexAPDL.o LexAsm.o LexAU3.o LexAVE.o LexBaan.o LexBash.o L
o LexCLW.o LexConf.o LexCPP.o LexCrontab.o LexCSS.o LexEiffel.o LexErlang.o LexEScript.o LexForth.o LexFortran.o LexGui4Cli.o LexHTML.o Lex
isp.o LexLout.o LexLua.o LexMatlab.o LexMetapost.o LexMMIXAL.o LexMPT.o LexMSSQL.o LexNsis.o LexOthers.o LexPascal.o LexPB.o LexPerl.o LexP
.o LexPython.o LexRuby.o LexScriptol.o LexSpecman.o LexSQL.o LexTeX.o LexVB.o LexVerilog.o LexYAML.o LineMarker.o PropSet.o RESearch.o Scin
o Style.o StyleContext.o ViewStyle.o WindowAccessor.o XPM.o moc_qextscintilla.o moc_qextscintillabase.o moc_qextscintillalexer.o moc_qextsc
erbash.o moc_qextscintillalexercpp.o moc_qextscintillalexercsharp.o moc_qextscintillalexerhtml.o moc_qextscintillalexeridl.o moc_qextscinti
va.o moc_qextscintillalexerjavascript.o moc_qextscintillalexerperl.o moc_qextscintillalexerpython.o moc_qextscintillalexersql.o moc_qextsci
o.o moc_SciListBox.o
ACCESS DENIED open_wr: /usr/qt/3/lib/libqscintilla.a
ar: /usr/qt/3/lib/libqscintilla.a: Permission denied
make: *** [/usr/qt/3/lib/libqscintilla.a] Error 1
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-python_-_qscintilla-1.61-11257.log"

unlink: /usr/qt/3/lib/libqscintilla.so.5.0.0
unlink: /usr/qt/3/lib/libqscintilla.so
unlink: /usr/qt/3/lib/libqscintilla.so.5
unlink: /usr/qt/3/lib/libqscintilla.so.5.0
rename: /usr/qt/3/lib/libqscintilla.so.5.0.0
rename: /usr/qt/3/lib/libqscintilla.so
rename: /usr/qt/3/lib/libqscintilla.so.5
rename: /usr/qt/3/lib/libqscintilla.so.5.0
unlink: /usr/qt/3/lib/libqscintilla.a
open_wr: /usr/qt/3/lib/libqscintilla.a
--------------------------------------------------------------------------------
Back to top
View user's profile Send private message
nske
n00b
n00b


Joined: 26 May 2005
Posts: 11
Location: Athens, Greece

PostPosted: Thu May 26, 2005 2:44 pm    Post subject: Reply with quote

sandbox is a feature ;)

try:
FEATURES="-sandbox"
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4920
Location: Gothenburg, Sweden

PostPosted: Thu May 26, 2005 6:06 pm    Post subject: Reply with quote

Please do not disable the sandbox without knowing the implications. Sandbox violations should be fixed properly and a bug report filed if there isn't one already. Please post the output of emerge --info.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
johntramp
Guru
Guru


Joined: 03 Feb 2004
Posts: 457
Location: New Zealand

PostPosted: Thu May 26, 2005 8:23 pm    Post subject: Reply with quote

kallamej wrote:
Please post the output of emerge --info.


Quote:
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Celeron(R) CPU 2.20GHz
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 12 2005, 17:55:17)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python: 2.3.5
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: 1.5.16
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"

CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.jetstreamgames.co.nz/gentoo-portage/ http://gentoo.arcticnetwork.ca/ http://lug.mtu.edu/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo http://www.las.ic.unicamp.br/pub/gentoo/ http://gentoo.blueyonder.co.uk http://gentoo.scphost.com http://mymirror.asiaosc.org/gentoo/ http://mirror.averse.net/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.0.4/gentoo-portage"
USE="x86 S3TC X X509 aac acl acpi activefilter aim alsa amd ansi apache2 aper apm arts artworkextra audiofile authdaemond avantgo avi bash-completion bcmath bdf berkdb bidi bitmap-fonts blender-game bzip2 bzlib cap cddb cdinstall cdparanoia cdr cdrom cgi chroot cjk clanJavaScript clanVoice client codecs cpdflib crypt css ctype cups curl curlwrappers dba dhcp dio divx4linux djbfft dnd droproot dts dv dvdr dvdread edl eds eep emacs emacs-w3 emboss encode erandom esd evo exif ext-png ext-zlib extensions fam fastcgi fbcon ffmpeg fluidsynth fmod foomaticdb foreign-package foreign-sysvinit fortran fpx freetype freewnn ftp gb gcl gd gdbm geoip gif gimp gimpprint ginac glade glgd glitz glut gmp gmtfull gnokii gnome gnomedb gnuplot gpm graphviz gs gsl gstreamer gtk gtk2 gtkhtml hal hardenedphp hbci hdf iconv icq ide idl ieee1394 image imap imlib imlib2 innodb ipv6 irda irmc j2ee jabber jack java javacomm javadoc javamail javascript jbig jboss jce jms jmx joystick jp2 jpeg jpeg2k jta jython kadu-modules kadu-voice kakasi kde kerberos krb4 latex lcms leim libclamav libdsk libg++ libgd libgda libsamplerate libwww live lua lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matroska mbox mcal mdb memlimit migemo mikmod mime mixer mjpeg mls mmap mng monkey motif mozcalendar mozdevelop mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mule music mysql mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh native ncurses net netcdf network neural nis nls nowin nptl ntlm nviz oav objc ocaml offensive ofx ogg oggvorbis openal opengl opie oscar ospfapi oss pam parse-clocks pcap pcntl pcre pda pdf pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio posix postgresql povray ppds pri print procmail pthreads python qt quicktime quotas quotes readline real resperl rhino rogue rplay sasl sdl servlet-2.3 servlet-2.4 session sftplogging shared sharedmem silc simplexml skk slp smime sndfile snortsam sockets socks5 softquota sox spell spl ssl stencil-buffer stroke struts svg svga sysvipc szip t1lib tcltk tcpd tcsim tga theora tidy tiff transcode truetype truetype-fonts type1-fonts uim unicode usb v4l v4l2 vcd vda videos virus-scan vorbis wddx winbind wmf wxwindows xanim xatrix xchatdccserver xchattext xemacs xface xgetdefault xine xml2 xmlrpc xmms xosd xpm xprint xrandr xscreensaver xsl xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4920
Location: Gothenburg, Sweden

PostPosted: Fri May 27, 2005 7:43 am    Post subject: Reply with quote

My first thought was that this may have been a qmake problem, but unless /var/tmp is a symlink somewhere else that's probably not it. Try first without distcc and if the problem persists file a bug report.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
johntramp
Guru
Guru


Joined: 03 Feb 2004
Posts: 457
Location: New Zealand

PostPosted: Fri May 27, 2005 7:43 pm    Post subject: Reply with quote

hmmm ok thanks. I will do that. Soif it still doesnt work with distcc off should I try with featurs -sandbox?
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4920
Location: Gothenburg, Sweden

PostPosted: Fri May 27, 2005 10:45 pm    Post subject: Reply with quote

Well, disabling the sandbox may have adverse effects on your file system should things go wrong.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
johntramp
Guru
Guru


Joined: 03 Feb 2004
Posts: 457
Location: New Zealand

PostPosted: Sun May 29, 2005 2:34 am    Post subject: Reply with quote

I tried with out distcc and there was no difference. In the end I just did features -sandbox and it worked.
Back to top
View user's profile Send private message
denali443
n00b
n00b


Joined: 22 May 2004
Posts: 4

PostPosted: Wed Aug 23, 2006 7:22 am    Post subject: Or you could do this other work around... Reply with quote

The other work around is setting PORTAGE_TMPDIR to semething outside of /usr... (like PORTAGE_TMPDIR=/tmp/portage (you'll probably also have to mkdir /tmp/portage))
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum