Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Has anyone else seen these kinds of problems?
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
hazelnut
n00b
n00b


Joined: 17 Apr 2002
Posts: 26
Location: Cambridge, UK

PostPosted: Thu Apr 25, 2002 10:57 am    Post subject: Has anyone else seen these kinds of problems? Reply with quote

I am emerging KDE and it stopped on kdenetwork, when I kicked off an emerge just for this package I get this sort of output (sorry the lines are truncated - PuTTY did this when I increased the scrollback buffer)

Code:

make[3]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped.
/usr/kde/3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
make[3]: Leaving directory `/home/pkgmgr/tmp/portage/kdenetwork-3.0/work/kdenetw
Making all in knode
make[3]: Entering directory `/home/pkgmgr/tmp/portage/kdenetwork-3.0/work/kdenet
make[3]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped.
/usr/kde/3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
make[3]: Leaving directory `/home/pkgmgr/tmp/portage/kdenetwork-3.0/work/kdenetw
Making all in ksirc
make[3]: Entering directory `/home/pkgmgr/tmp/portage/kdenetwork-3.0/work/kdenet
make[3]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped.
/usr/kde/3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
make[3]: Leaving directory `/home/pkgmgr/tmp/portage/kdenetwork-3.0/work/kdenetw
Making all in ktalkd
make[3]: Entering directory `/home/pkgmgr/tmp/portage/kdenetwork-3.0/work/kdenet
make[3]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped.
/usr/kde/3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
make[3]: Leaving directory `/home/pkgmgr/tmp/portage/kdenetwork-3.0/work/kdenetw
make[2]: Leaving directory `/home/pkgmgr/tmp/portage/kdenetwork-3.0/work/kdenetw
Making all in kdict
make[2]: Entering directory `/home/pkgmgr/tmp/portage/kdenetwork-3.0/work/kdenet
Making all in applet
make[3]: Entering directory `/home/pkgmgr/tmp/portage/kdenetwork-3.0/work/kdenet
/usr/qt/3/bin/moc ./kdictapplet.h -o kdictapplet.moc
creating kdictapplet_la_meta_unload.cpp
creating kdictapplet_la.all_cpp.cpp ...
source='kdictapplet_la.all_cpp.cpp' object='kdictapplet_la.all_cpp.lo' libtool=y
depfile='.deps/kdictapplet_la.all_cpp.Plo' tmpdepfile='.deps/kdictapplet_la.all_
depmode=gcc /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../
/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2
ck-new -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DKDE_NO_COMPAT -D
lo `test -f kdictapplet_la.all_cpp.cpp || echo './'`kdictapplet_la.all_cpp.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3/include -I/usr/qt/3/include -I/
RANT -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -fno-exceptions -fno-check-ne
ASCII_CAST -DKDE_NO_COMPAT -DKDE_NO_COMPAT_H -c kdictapplet_la.all_cpp.cpp -Wp,-
PIC -o .libs/kdictapplet_la.all_cpp.o
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3/include -I/usr/qt/3/include -I/


Has anyone else seen this before? What is happening, why can't it create the /root/.kde/share/config/ directory? The emerge finished okay with no errors.

(NOTE: I have changed the portage tmp dir to /home/pkgmgr/tmp because it needs the space of the 2nd HDD to compile, and I found that portage failed if I just symlinked /home/pkgmgr/tmp/portage -> /var/tmp/portage.. again with permission denied for creating directories - may be a clue?)

What problems might this cause me, can I just create this directory myself and have everything work okay?

I am really puzzled by it because I am logged in as root and emerge is running as root then.. root is currently the ony real user on the system. :?

Help.. needed.. please.. 8O

Andy
Back to top
View user's profile Send private message
phaze3k
n00b
n00b


Joined: 24 Apr 2002
Posts: 36

PostPosted: Thu Apr 25, 2002 11:23 am    Post subject: Reply with quote

I had this happen to me, it seemed to keep going round in a loop trying to create the dir.

It can't create /root/.kde/share/config because /root/.kde doesn't exist

I did a 'mkdir /root/.kde/; mkdir /root/.kde/share' on another console whilst it was stuck in this loop and it sorted it out..
Back to top
View user's profile Send private message
clee
n00b
n00b


Joined: 24 Apr 2002
Posts: 14
Location: AZ

PostPosted: Thu Apr 25, 2002 11:26 am    Post subject: Reply with quote

Maybe the Makefiles should be trying mkdir -p?

Funny, I thought that they did. Oh well.

-clee
Back to top
View user's profile Send private message
hazelnut
n00b
n00b


Joined: 17 Apr 2002
Posts: 26
Location: Cambridge, UK

PostPosted: Thu Apr 25, 2002 12:32 pm    Post subject: Reply with quote

Thanks for the replies,

I don't think this is the problem though. I created the directories /root/.kde & /root/.kde/share and emerged kdenetwork again.

Code:

checking for kde-config... /usr/kde/3/bin/kde-config
checking for meinproc... /usr/kde/3/bin/meinproc
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
checking for libtiff tiff... yes
checking for linux/tcp.h... yes


So it still couldn't create the config directory.. I just created it manually and have let the emerge continue (takes about 2 hours to compile).

Andy
Back to top
View user's profile Send private message
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Thu Apr 25, 2002 3:04 pm    Post subject: Reply with quote

Almost like you're doing the emerge as user instead of root! Which I know you probably aren't...

Reboot and retry..
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Apr 25, 2002 3:35 pm    Post subject: Reply with quote

i did a kde3 emerge as root and saw that permission denied when trying to create folder schroll by too...but even though it looks scary it is all working ok for me....so i think you should go on and configure kdm adn boot kde ...it will probably be fine...asuming you were root when you ran the emerge
Back to top
Jeevz
Bodhisattva
Bodhisattva


Joined: 15 Apr 2002
Posts: 195
Location: Boston, MA

PostPosted: Thu Apr 25, 2002 6:35 pm    Post subject: Reply with quote

Anonymous wrote:
i did a kde3 emerge as root and saw that permission denied when trying to create folder scroll by too...but even though it looks scary it is all working ok for me....


Same for me as well.
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