Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
open_wr: /dev/shm/aux_db_key_temp with edited ebuilds
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
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Apr 09, 2005 11:24 am    Post subject: open_wr: /dev/shm/aux_db_key_temp with edited ebuilds Reply with quote

When i edit an ebuild, or put a new ebuild in my overlay, and try to compile it, I get this error msg:
Code:
ACCESS DENIED  open_wr:   /dev/shm/aux_db_key_temp
/usr/lib/portage/bin/ebuild.sh: line 1836: /dev/shm/aux_db_key_temp: Permission denied
ACCESS DENIED  open_wr:   /dev/shm/aux_db_key_temp
/usr/lib/portage/bin/ebuild.sh: line 1837: /dev/shm/aux_db_key_temp: Permission denied
...down to line 1857
open_wr:   /dev/shm/aux_db_key_temp
open_wr:   /dev/shm/aux_db_key_temp
open_wr:   /dev/shm/aux_db_key_temp
open_wr:   /dev/shm/aux_db_key_temp
...
aux_get(): (0) Error in <ebuild> ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)

Theres nothing extra with the --debug flag
I get the error msg even with FEATURES="-sandbox"
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
IvanYosifov
l33t
l33t


Joined: 15 Oct 2004
Posts: 778
Location: Bulgaria

PostPosted: Sat Apr 09, 2005 1:25 pm    Post subject: Reply with quote

Perhaps there is something wrong with the permissions of /dev/shm/aux_db_key_temp if it exists, or /dev/shm may not be writable, if you try to create the file.

Try doing a 'touch /dev/shm/tralalala' as a user and in the ebuild and see if that fails.
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Apr 09, 2005 1:45 pm    Post subject: Reply with quote

tried that, /dev/shm is chmodded 777

any changes to the ebuilds downloaded from the sync mirrors results in the error msg and it borking out. Even if i change it back to exactly what it was before i edited it it still borks, i have to resync to get it back properly
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
IvanYosifov
l33t
l33t


Joined: 15 Oct 2004
Posts: 778
Location: Bulgaria

PostPosted: Sat Apr 09, 2005 2:12 pm    Post subject: Reply with quote

What is the ebuild in question ? Unless it is very large I suggest you post your edited , broken version.
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Apr 09, 2005 2:16 pm    Post subject: Reply with quote

_any_ ebuild I edit i bork, even to add in one epatch line, and even if i edit it back to how it was it still borks
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
IvanYosifov
l33t
l33t


Joined: 15 Oct 2004
Posts: 778
Location: Bulgaria

PostPosted: Sat Apr 09, 2005 2:56 pm    Post subject: Reply with quote

WOW.....

What is
Code:
emerge --version
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Apr 09, 2005 3:01 pm    Post subject: Reply with quote

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.12-rc2-mm1 i686)
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
IvanYosifov
l33t
l33t


Joined: 15 Oct 2004
Posts: 778
Location: Bulgaria

PostPosted: Sat Apr 09, 2005 3:21 pm    Post subject: Reply with quote

Mine is
Code:
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r6 i686)


The same except for the kernel part... Did this all start when you upgraded the kernel ?
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Apr 09, 2005 3:25 pm    Post subject: Reply with quote

i cant remember when it started, I dont think so.
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
IvanYosifov
l33t
l33t


Joined: 15 Oct 2004
Posts: 778
Location: Bulgaria

PostPosted: Sat Apr 09, 2005 3:34 pm    Post subject: Reply with quote

And what happens if you edit the ebuild in-place, NOT copying it to the overlay ? This is technically legal, though the ebuild will be overwriten on the next sync.
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Apr 09, 2005 4:14 pm    Post subject: Reply with quote

same thing - gets borked. Edit it back to what it was and it continues to complain
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
IvanYosifov
l33t
l33t


Joined: 15 Oct 2004
Posts: 778
Location: Bulgaria

PostPosted: Sat Apr 09, 2005 4:22 pm    Post subject: Reply with quote

This sounds more and more like a portage problem. The last thing I can think of is trying with 2.6.11-gentoo-r6 kernel. This is the only major difference between mine and your setup and I don't get such errors... if that does not help - file a bug.
Back to top
View user's profile Send private message
rhill
Developer
Developer


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Sat Apr 09, 2005 4:36 pm    Post subject: Reply with quote

hi. do you happen to have this line in your fstab?

Code:
none                /dev/shm        tmpfs       defaults                0 0


(if not, it should be added)

if you do, can you type 'df' and see if it's in use/full? and finally, could you post the output of 'emerge info -v'?

thanks.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Apr 09, 2005 6:48 pm    Post subject: Reply with quote

fstab is correct and theres free space in it

Code:
Gentoo Base System version 1.6.10
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.12-rc2-mm1 i686)
=================================================================
System uname: 2.6.12-rc2-mm1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 31 2005, 13:19:32)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE=""
ANT_HOME="/usr/share/ant-core"
ARCH="x86"
AUTOCLEAN="yes"
AUTO_SYMLINK="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer -ffast-math -fforce-addr -ftracer"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COLORFGBG="7;default;0"
COLORTERM="Eterm"
COLORTERM_BCE="Eterm"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer -ffast-math -fforce-addr -ftracer -fvisibility-inlines-hidden"
DCCC_PATH="/usr/lib/distcc/bin"
DISPLAY=":0.0"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ETERM_THEME_ROOT="/home/simon/.Eterm/themes/Eterm"
ETERM_USER_ROOT="/home/simon/.Eterm/themes/Eterm"
ETERM_VERSION="0.9.3"
FEATURES="autoaddcvs autoconfig ccache digest distlocks fixpackages sandbox sfperms"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
FRACTDIR="/usr/share/xfractint"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/sites/gentoo/ http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="tachyon"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/info"
JAVAC="/opt/sun-jdk-1.5.0.02/bin/javac"
JAVA_HOME="/opt/sun-jdk-1.5.0.02"
JDK_HOME="/opt/sun-jdk-1.5.0.02"
KBUILD_OUTPUT_PREFIX=""
KDEDIRS="/usr"
KDE_MALLOC="1"
LDFLAGS="-Wl,--as-needed"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LINUX_PORTAGE_WRITABLE="yes"
LOGNAME="simon"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:*.flac=00;36:*.aac=00;36:"
MAKEOPTS="-j3"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/man::/opt/sun-jdk-1.5.0.02/man"
NOCOLOR="false"
OPENGL_PROFILE="ati"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110:/opt/ati/bin:/opt/sun-jdk-1.5.0.02/bin:/opt/sun-jdk-1.5.0.02/jre/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-fbsd x86-obsd x86-od"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="6671"
PORTAGE_NICENESS="19"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TMPFS="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8"
PWD="/home/simon"
PYTHONDOCS="/usr/share/doc/python-docs-2.4/html"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHLVL="5"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="Eterm"
USE="x86 X acpi alsa avi berkdb bitmap-fonts bmp cdr crypt cups curl dvd emboss encode fam fbcon ffmpeg flac foomaticdb fortran gdbm gif gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib java jpeg junit libg++ libwww lirc mad mikmod mime mmx motif mozilla mp3 mpeg ncurses nls nocd nptl offensive oggvorbis opengl oss pam pcmcia pdflib perl png python quicktime readline samba sdl slang spell sse sse2 ssl symlink tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode videos xml2 xosd xv xvid zlib"
USER="simon"
USERLAND="GNU"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"
WINDOWID="2097470"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthkoWFSD"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"

_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
rhill
Developer
Developer


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Sat Apr 09, 2005 8:33 pm    Post subject: Reply with quote

Quote:
PORTAGE_TMPFS="/dev/shm"


yeah, that's set right. hmm.
do you have tmpfs compiled into your kernel? you can find it in the .config as CONFIG_TMPFS or under File Systems -> Pseudo -> Virtual Memory File System Support.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Apr 09, 2005 9:59 pm    Post subject: Reply with quote

yes, ive got a tmpfs set up on /tmp which works fine
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
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