Re: [gentoo-user] portage overlay question
Zac Medico wrote: Unfortunately, the multiple DISTDIR feature is not currently available (though it is planned). As an alternative, perhaps you can run a script that creates symlinks for you. Thank you for that script it will be helpful, but I've checked for my main problem with no write permissions and i got now also error as below: !!! No write access to write to /usr/portage/distfiles. Aborting. Is the only resolution of this problem giving /usr/portage/distfiles dir write permissions for all? I'll add that user from i try making ebuild digest is in portage group (as an additional). Greets Paweł Madej -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage overlay question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paweł Madej wrote: | | !!! No write access to write to /usr/portage/distfiles. Aborting. | | Is the only resolution of this problem giving /usr/portage/distfiles dir | write permissions for all? | | I'll add that user from i try making ebuild digest is in portage group | (as an additional). | Well, just add your user to the portage group and that should be enough. Portage automatically gives permissions for most things (except merge) to the portage group. Zac -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDu4gk/ejvha5XGaMRApdzAKCcIUO57i4nUTTC5TwdqcrSe9/9vACgv9kP 0FHxZ/toKFzxu0rjEWjS8y0= =RZVe -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage overlay question
On Wed, 04 Jan 2006 09:00:30 +0100, Paweł Madej wrote: Is the only resolution of this problem giving /usr/portage/distfiles dir write permissions for all? I'll add that user from i try making ebuild digest is in portage group (as an additional). You also need to make $DISTDIR group writable. -- Neil Bothwick WinErr 006: Malicious error - Desqview found on drive signature.asc Description: PGP signature
Re: [gentoo-user] portage overlay question
Neil Bothwick wrote: On Wed, 04 Jan 2006 09:00:30 +0100, Paweł Madej wrote: You also need to make $DISTDIR group writable. $ ls -l /usr/portage/ | grep distfiles drwxrwxr-x4 root portage 36864 sty 4 08:56 distfiles $ cat /etc/group | grep nysander wheel:x:10:root,nysander floppy:x:11:root,nysander audio:x:18:nysander video:x:27:root,nysander users:x:100:games,nysander portage:x:250:portage,nysander $ ebuild mod_cband-0.9.6.1_rc1.ebuild digest !!! No write access to write to /usr/portage/distfiles. Aborting. /.locks $ slocate .locks /usr/src/linux-2.6.13-suspend2-r4/fs/.locks.o.cmd /usr/portage/distfiles/.locks $ ls /usr/portage/distfiles/.locks [no output] I have no idea what is wrong, because above configuration was when I noticed those error for the first time. Thanks for some ideas what to check/change etc. Paweł Madej -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage overlay question
On (04/01/06 11:53), Paweł Madej wrote: Neil Bothwick wrote: On Wed, 04 Jan 2006 09:00:30 +0100, Paweł Madej wrote: You also need to make $DISTDIR group writable. $ ls -l /usr/portage/ | grep distfiles drwxrwxr-x4 root portage 36864 sty 4 08:56 distfiles $ cat /etc/group | grep nysander wheel:x:10:root,nysander floppy:x:11:root,nysander audio:x:18:nysander video:x:27:root,nysander users:x:100:games,nysander portage:x:250:portage,nysander $ ebuild mod_cband-0.9.6.1_rc1.ebuild digest !!! No write access to write to /usr/portage/distfiles. Aborting. /.locks $ slocate .locks /usr/src/linux-2.6.13-suspend2-r4/fs/.locks.o.cmd /usr/portage/distfiles/.locks $ ls /usr/portage/distfiles/.locks [no output] I have no idea what is wrong, because above configuration was when I noticed those error for the first time. Thanks for some ideas what to check/change etc. Paweł Madej -- gentoo-user@gentoo.org mailing list Hi, When using ebuild you must give the whole path, like: ebuild /usr/portage/category-subcat/package/package-version digest This way it should work. Perms groups are OK. HTH.Rumen pgpJ1V4FjXDGq.pgp Description: PGP signature
Re: [gentoo-user] portage overlay question
On Wed, 4 Jan 2006 19:28:16 +, Rumen Yotov wrote: When using ebuild you must give the whole path, Really? It's always worked with relative paths for me. -- Neil Bothwick The Japanese call us lazy, but at least we cook our fish! signature.asc Description: PGP signature
Re: [gentoo-user] portage overlay question
On (04/01/06 17:39), Neil Bothwick wrote: On Wed, 4 Jan 2006 19:28:16 +, Rumen Yotov wrote: When using ebuild you must give the whole path, Really? It's always worked with relative paths for me. -- Neil Bothwick The Japanese call us lazy, but at least we cook our fish! Hi, For me it works only with full path or if the ebuild is in the current directory. Rumen pgpc7hI2dDvvK.pgp Description: PGP signature
Re: [gentoo-user] portage overlay question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rumen Yotov wrote: On (04/01/06 17:39), Neil Bothwick wrote: Hi, For me it works only with full path or if the ebuild is in the current directory. Rumen $ ebuild /usr/local/www-apache/mod_cband/mod_cband-0.9.6.1_rc1.ebuild digest !!! No write access to write to /usr/portage/distfiles. Aborting. /.locks Full path does not help :( - -- Paweł Madej aka Nysander http://quanteam.info | http://forum-farmaceutyczne.org http://nysander.quanteam.info | http://wiki.quanteam.info GPG key: 5861680B | keyserver: http://pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDvBFhgvSMglhhaAsRAluyAJ4mThSzXxxz99NEVz5nqgT5Z3RcyACgvBhL S2Pmj/yaCPfeKmuHAOQfOzs= =7j92 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage overlay question
On (04/01/06 19:18), Paweł Madej wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rumen Yotov wrote: On (04/01/06 17:39), Neil Bothwick wrote: Hi, For me it works only with full path or if the ebuild is in the current directory. Rumen $ ebuild /usr/local/www-apache/mod_cband/mod_cband-0.9.6.1_rc1.ebuild digest !!! No write access to write to /usr/portage/distfiles. Aborting. /.locks Full path does not help :( - -- Paweł Madej aka Nysander http://quanteam.info | http://forum-farmaceutyczne.org http://nysander.quanteam.info | http://wiki.quanteam.info GPG key: 5861680B | keyserver: http://pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDvBFhgvSMglhhaAsRAluyAJ4mThSzXxxz99NEVz5nqgT5Z3RcyACgvBhL S2Pmj/yaCPfeKmuHAOQfOzs= =7j92 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list Hi, My bad, all my tests were done as root as i always do when making digests. Doesn't work for me too (in group 'wheel' 'portage'): ...BEGIN... $ebuild /usr/local/portage/app-portage/glcu/glcu-0.9.6.3.ebuild digest Generating digest file... glcu-0.9.6.3.tar.gz [Errno 1] Operation not permitted: '/usr/local/portage/app-portage/glcu/files/digest-glcu-0.9.6.3' Generating manifest file... files/digest-glcu-0.9.6.3 glcu-0.9.6.3.ebuild [Errno 1] Operation not permitted: '/usr/local/portage/app-portage/glcu/Manifest' Computed message digests. ...END... PS: this in portage overlay doesn't require files download IIRC. HTH.Rumen pgpAO9VmT1Rsv.pgp Description: PGP signature
Re: [gentoo-user] portage overlay question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zac Medico wrote: You should have done `ls -ld /usr/portage/distfiles/.locks`. I'm able to reproduce that problem here. It seems that portage automatically changes the group id on ${DISTDIR} (when run as root) but it neglects to change the group id on ${DISTDIR}/.locks (I'd consider it a bug). If you do `chgrp portage /usr/portage/distfiles/.locks chmod g+w /usr/portage/distfiles/.locks` then that should allow you to work around the problem. Zac Thank you very much Zac. That resolved a problem. I think if I should file a bug about this? - -- Paweł Madej aka Nysander http://quanteam.info | http://forum-farmaceutyczne.org http://nysander.quanteam.info | http://wiki.quanteam.info GPG key: 5861680B | keyserver: http://pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDvCcqgvSMglhhaAsRAnbUAKCM/vFCmf7wXBgWc31fYkN9ioRz3ACgjce8 FRwWulgfWp2hScYfH0JzLbY= =WMzv -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage overlay question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paweł Madej wrote: | Zac Medico wrote: | You should have done `ls -ld /usr/portage/distfiles/.locks`. | | I'm able to reproduce that problem here. It seems that portage | automatically changes the group id on ${DISTDIR} (when run as root) but | it neglects to change the group id on ${DISTDIR}/.locks (I'd consider it | a bug). If you do `chgrp portage /usr/portage/distfiles/.locks chmod | g+w /usr/portage/distfiles/.locks` then that should allow you to work | around the problem. | | Zac | | Thank you very much Zac. That resolved a problem. I think if I should | file a bug about this? | Yeah, I think should. The version of portage that I'm using (2.1_pre3) will create the directory with the correct gid (if the directory does not exist). However, after the directory has been created, portage does not ensure that .locks continues to have the correct gid. Zac -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDvCt2/ejvha5XGaMRAgXSAJ0REINi8BZ9sUHi/RSIUDLFVErgHQCeIaCc ICVFMzigOEXKOPI2mQIVkkc= =9gg1 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage overlay question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zac Medico wrote: Yeah, I think should. The version of portage that I'm using (2.1_pre3) will create the directory with the correct gid (if the directory does not exist). However, after the directory has been created, portage does not ensure that .locks continues to have the correct gid. Zac Bug filed: http://bugs.gentoo.org/show_bug.cgi?id=117781 If you got any more information that you think we should add just comment above bug. - -- Paweł Madej aka Nysander http://quanteam.info | http://forum-farmaceutyczne.org http://nysander.quanteam.info | http://wiki.quanteam.info GPG key: 5861680B | keyserver: http://pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDvDywgvSMglhhaAsRAr9sAKCz+nPz9IIqjfioWfKiuk21QEqqqgCgiMzU 5rxlLTPjHbou9Jq0NBBAh7w= =/1go -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage overlay question
On Wed, 4 Jan 2006 20:03:54 +, Rumen Yotov wrote: Really? It's always worked with relative paths for me. The Japanese call us lazy, but at least we cook our fish! For me it works only with full path or if the ebuild is in the current directory. Which is exactly what the previous poster was doing. -- Neil Bothwick Those who live by the sword get shot by those who don't., signature.asc Description: PGP signature
Re: [gentoo-user] portage overlay question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Ruskin wrote: On Wednesday 04 January 2006 18:18, Paweł Madej wrote: $ ls -ld /usr/portage/distfiles drwxrwsr-x 4 portage portage 131072 2006-01-04 00:51 /usr/portage/distfiles What does yours look like? Peter please read whole thread. The problem was recognized and bug was filed to bugzilla. Anyway thank you all for help in founding problem and its resolution - -- Paweł Madej aka Nysander http://quanteam.info | http://forum-farmaceutyczne.org http://nysander.quanteam.info | http://wiki.quanteam.info GPG key: 5861680B | keyserver: http://pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDvEsmgvSMglhhaAsRAuNTAKCj/jG8CIjd4Hw/jI9X550qUOoZfwCgqNwi JsetOtFjF7y/mB2Jjge1W1g= =kZHO -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage overlay question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paweł Madej wrote: ~ I have tried line as below but then portage losed distfiles dir at all | | #DISTDIR=/usr/portage/distfiles /usr/local/portage/distfiles | Unfortunately, the multiple DISTDIR feature is not currently available (though it is planned). As an alternative, perhaps you can run a script that creates symlinks for you. Zac -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDux2V/ejvha5XGaMRAifBAJ4kLa75f9nRgTvGR04l+XKpohga2ACgl1tc nkuomyvyHL62075SrK6m43k= =EhkY -END PGP SIGNATURE- distdir-symlinks.sh Description: application/shellscript