LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-09-2008, 07:45 PM   #1
clintonsk
LQ Newbie
 
Registered: Oct 2008
Posts: 14

Rep: Reputation: 0
Gentoo: Access Violation while compiling Autoconf-2.63


Hi, this is my first time on the forums.

I recently installed KDE4.1 on my Gentoo workstation and since then I've been trying to get everything back together.

I was wondering if anyone could help me with this problem. I'm trying to compile autoconf so the rest of the updates will install:

jane clinton # emerge world

or

jane clinton # emerge autoconf

(autoconf-2.63 that is) and I keep getting this error:

Code:
...make[4]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/lib/autoscan'
make[3]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/lib/autoscan'
Making install in emacs
make[3]: Entering directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/lib/emacs'
make[4]: Entering directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/lib/emacs'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/lib/emacs'
make[3]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/lib/emacs'
make[3]: Entering directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/lib'
make[4]: Entering directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/lib'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/autoconf" || /bin/mkdir -p "/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/autoconf"
 /usr/bin/install -c -m 644 'autom4te.cfg' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/autoconf/autom4te.cfg'
make[4]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/lib'
make[3]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/lib'
make[2]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/lib'
Making install in doc
make[2]: Entering directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/doc'
make[3]: Entering directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/info" || /bin/mkdir -p "/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/info"
 /usr/bin/install -c -m 644 './autoconf.info' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/info/autoconf.info'
 /usr/bin/install -c -m 644 './standards.info' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/info/standards.info'
 install-info --info-dir='/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/info' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/info/autoconf.info'
 install-info --info-dir='/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/info' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/info/standards.info'
make[3]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/doc'
make[2]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/doc'
Making install in tests
make[2]: Entering directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/tests'
make[3]: Entering directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/tests'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/tests'
make[2]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/tests'
Making install in man
make[2]: Entering directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/man'
make[3]: Entering directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/man'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/man/man1" || /bin/mkdir -p "/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/man/man1"
 /usr/bin/install -c -m 644 '././autoconf.1' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/man/man1/autoconf-2.63.1'
 /usr/bin/install -c -m 644 '././autoheader.1' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/man/man1/autoheader-2.63.1'
 /usr/bin/install -c -m 644 '././autom4te.1' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/man/man1/autom4te-2.63.1'
 /usr/bin/install -c -m 644 '././autoreconf.1' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/man/man1/autoreconf-2.63.1'
 /usr/bin/install -c -m 644 '././autoscan.1' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/man/man1/autoscan-2.63.1'
 /usr/bin/install -c -m 644 '././autoupdate.1' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/man/man1/autoupdate-2.63.1'
 /usr/bin/install -c -m 644 '././ifnames.1' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/man/man1/ifnames-2.63.1'
 /usr/bin/install -c -m 644 '././config.guess.1' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/man/man1/config.guess-2.63.1'
 /usr/bin/install -c -m 644 '././config.sub.1' '/var/tmp/portage/sys-devel/autoconf-2.63/image//usr/share/man/man1/config.sub-2.63.1'
make[3]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/man'
make[2]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63/man'
make[1]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.63/work/autoconf-2.63'
>>> Completed installing autoconf-2.63 into /var/tmp/portage/sys-devel/autoconf-2.63/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-1274.log"

open_wr:   /.git/index.lock
--------------------------------------------------------------------------------

>>> Failed to emerge sys-devel/autoconf-2.63, Log file:

>>>  '/var/tmp/portage/sys-devel/autoconf-2.63/temp/build.log'

 * GNU info directory index is up-to-date.

 * IMPORTANT: 15 config files in '/etc' need updating.

 * IMPORTANT: 1 config files in '/usr/kde/3.5/share/config' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
And...

jane clinton # emerge --info

Quote:
Portage 2.2_rc11 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-i686-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.0
Timestamp of tree: Sat, 04 Oct 2008 04:00:02 +0000
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.2.5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/env /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/shutdown"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ ftp://distro.ibiblio.org/pub/linux/d...utions/gentoo/ http://distro.ibiblio.org/pub/linux/...utions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="*mysql *postgres X acl acpi alsa apache2 arts bash-completion bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus divx dri dvd dvdr esd flac fortran gdbm gif glitz gnome gpm gtk iconv ipv6 isdnlog java jpeg jpeg2k kde midi mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pae pam pcre pdf perl png ppds pppd pulseaudio python qt3 qt4 readline reflection samba sdl session spell spl ssl svg sysfs tcpd truetype unicode usb v4l v4l2 vcd vorbis win32codecs x86 xcb xcomposite xinerama xml xorg xscreensaver zlib" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
As far as I understanding, having a git repository in the root dir is a stupid idea but I might be mistaken.(I'm new)

I removed the /.git dir and then tried it, same thing happened.

I've been fighting and Googling this all day! I'm also pretty new to Linux and Gentoo and I've managed work out a lot of problems but this one has me beat. This is the first time I've posted a bug.

If you could help me out that would be great

Last edited by clintonsk; 10-09-2008 at 07:49 PM.
 
Old 10-10-2008, 06:36 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Creating a git repo in the root directory, as you found out is a bad idea. git will treat / as being the root of the repo, when executed in any directory tree that doesn't have its own .git somewhere. this calls for breakage all over the place. I would try (very untested)
Code:
rm  /.git/index.lock.
etc-update
emerge --sync
emerge -puND world
also can you post the log somewhere?
/var/log/sandbox/sandbox-1274.log
 
Old 10-10-2008, 08:46 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
I have a question: are you using plain Gentoo or are you trying to install from a modified/non-supported ebuild from an overlay or Sabayon? The regular ebuild should just download a tarball for 2.63 (or whatever version), but yours seems to be using git for some odd purpose. So, if you use an unofficial ebuild, my advise is to stop doing so unless you have a good reason (that you can explain) to do so.

The standard one should work.

The access violation issues happen when emerge tries to write for any purpose outside the sandbox. A sandbox (for portage corcerns) is a temporal place where the package is installed. Once the package is installed, and emerge is sure that the package installs fine, then it writes to the real live system. This is done this way to prevent leftovers if something fails while installing.

EDITED: To check if the ebuild is overlayed or the official one, you can do "emerge -pv autoconf", at the end of the line it should show [0], if it shows another number, you can see which overlays it is on an index below on the same output. If the ebuild doesn't belong to an unofficial overlay, paste the log file on pastebin.com and direct us to it so we can review it. But, in that case, you should really be posting in bugs.gentoo.org where you will get far better support (I repeat: only if the ebuild is part of the official gentoo tree, which I doubt in this case).

Last edited by i92guboj; 10-10-2008 at 08:49 AM.
 
Old 10-10-2008, 10:11 AM   #4
clintonsk
LQ Newbie
 
Registered: Oct 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for the replies so far.

comprookie2000:
The contents of the /var/log/sandbox/sandbox-1274.log log file are actually shown: open_wr: /.git/index.lock
I opened it in a text editor(nano) and it's the same thing.

Also, I already removed the /.git/index.lock tried emerge--didn't work...removed the /.git/ tried it and it still didn't work. I think it's looking for a file that isn't there, which confuses me. However, I'll try that etc-update(since there's quit a few configure files that need updating anyway) in the order you listed it.

i92guboj:
Thanks for the explanation, I'll keep it in mind. I'm going to try emerge -pv autoconf and and come back and post the results.

Last edited by clintonsk; 10-10-2008 at 10:12 AM.
 
Old 10-10-2008, 02:19 PM   #5
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
You can try putting FEATURES=-sandbox in /etc/make.conf. But I wouldn't leave it there for very long.
 
Old 10-11-2008, 02:29 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
Originally Posted by comprookie2000 View Post
You can try putting FEATURES=-sandbox in /etc/make.conf. But I wouldn't leave it there for very long.
I wouldn't put it a all in make.conf. If you really need to bypass the protection -at your own risk, or course- use it in command line:

Code:
FEATURES=-sandbox emerge <whatever>
 
Old 10-11-2008, 06:28 PM   #7
clintonsk
LQ Newbie
 
Registered: Oct 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by comprookie2000 View Post
You can try putting FEATURES=-sandbox in /etc/make.conf. But I wouldn't leave it there for very long.
I tried that and it worked but I'm going to take it back out.

Thanks for the help and suggestions everyone
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
*** YOU'RE USING autoconf (GNU Autoconf) 2.60. KDE requires autoconf 2.52, 2.53 or 2. arubin Slackware 6 09-24-2008 03:31 AM
gentoo 2007.0 fontconfig-2.5.0 autoconf error Person_1873 Linux - Software 1 03-02-2008 05:17 AM
access Samba server: control violation /etc/rc.d/init.d/smb start failed Paul.Hermans Mandriva 1 07-25-2005 04:46 PM
Access Violation??? sh4k3y Linux - Software 3 03-25-2004 07:22 AM
WINE access violation problem Campitor Linux - Software 0 09-30-2003 11:24 AM


All times are GMT -5. The time now is 08:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration