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

Bug 36731

Summary: yammi-1.0.ebuild tries to access /usr/qt/3/etc/settings
Product: Gentoo Linux Reporter: Julian Baeume <julian>
Component: New packagesAssignee: Martin Holzer (RETIRED) <mholzer>
Status: RESOLVED DUPLICATE    
Severity: normal CC: caleb, pylon, tim.raedisch
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Julian Baeume 2003-12-29 07:26:12 UTC
i tried to compile yammi 1.0 but it breaks, because it can't create the directory (/usr/qt/3/etc/settings) IMHO it should never create this dir, because it's compiled in a sandbox, right? the files will be moved later to that dir. 

Reproducible: Always
Steps to Reproduce:
1.emerge yammi

Actual Results:  
portage breaks: mkdir: /usr/qt/3/etc/settings 

Expected Results:  
should be compiled in /var/tmp/portage/yammi-1.0/... and then moved to the 
correct dirs by portage itself 

i'm using kde-cvs and qt-cvs 
(both from the (in-)official kde-cvs ebuilds)
Comment 1 Felix Eckhofer 2004-01-20 07:20:38 UTC
Hmm, that's strange.
On two of my machines it compiled flawlessly and on my laptop I just got the exact  same message you did. It seems this is not caused by the ebuild but by some tool from qt itself.

The error occurs right after:
/usr/qt/3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload -L /usr/lib/kde3/plugins/designer -nounload -i ApplyToAllBase.h ./ApplyToAllBase.ui > ApplyToAllBase.cpp || rm -f ApplyToAllBase.cpp
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings

I would love to further investigate but when the tool is called directly it does not create the directory and I don't really know much about qt and its internas...

felix
Comment 2 Felix Eckhofer 2004-01-20 07:44:19 UTC
After manually creating the dir the ebuild finishes OK.
Probably this dir should be created from the respective qt-ebuild?

Oh, BTW: I'm running QT and KDE from x86-stable (not CVS like the OP)
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-01-20 07:52:07 UTC
that directory is created by the qt ebuilds.
Comment 4 Christian Gut 2004-01-24 09:07:47 UTC
then this is a bug in x11-libs/qt-3.2.3-r1. Installed qt on a fresh machine. psi fails build with the same exceptions descriped above.
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2004-01-26 06:55:18 UTC
Experienced the same.  After the manual creation of /usr/qt/3/etc/settings yammi installed without any further problems.
Comment 6 Dominik Stadler (RETIRED) gentoo-dev 2004-02-20 07:36:11 UTC
I couldn't test this yet, but I think that a similar fix as in 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/dev-db/tora/tora-1.3.13.ebuild?r1=1.2&r2=1.3
could solve this.
Comment 7 Wesley Wexell 2004-02-24 14:46:06 UTC
I was getting this error, and then getting the error message from Bug #39577 after I created the directory by hand.  I tried the solution proposed in Comment #6.  I  edited the yammi-1.0.ebuild file by hand.  It worked great and yammi compiled properly.  I could attempt to create a patch file if anyone is interested.
Comment 8 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-29 09:10:32 UTC

*** This bug has been marked as a duplicate of 47967 ***