Quoting Ciaran McCreesh at 07/10/2013-07:55:09(+0100):
> On Sun, 6 Oct 2013 09:48:02 +0900
> Georgi Georgiev <ch...@gg3.net> wrote:
> > I am having trouble building virt-manager with the following
> > permission error:
> > 
> > >>> Starting src_compile
> > mkdir: annot create directory
> > '/var/tmp/paludis/app-emulation-virt-manager-0.10.0-r1/temp//python2.7/home':
> > Permission denied
> 
> Something weird is going on. There's a bug somewhere, which you should
> report.

Thanks. http://paludis.exherbo.org/trac/ticket/1289

I am not sure if this should be reported to Gentoo, I thought you might
want to have a copy in Paludis' system though.

Are ebuilds allowed to modify files in the setup phase? If not, then it
would be easier to report to Gentoo then.

One more (possibly unrelated) question though. All files under
/var/tmp/paludis are non-group writable. Is this expected?  If I recall
correctly paludis is adamant about having g+srwx permissions on
/var/tmp/paludis, yet the group write bit is not propagated to the
subdirectories.

> find /var/tmp/paludis -maxdepth 3 -ls
4006913    0 drwxrwsr-x   1 paludisbuild paludisbuild       72 Oct  8 01:54 
/var/tmp/paludis
59821802    0 drwxr-sr-x   1 paludisbuild paludisbuild       26 Oct  8 01:54 
/var/tmp/paludis/app-emulation-virt-manager-0.10.0-r1
59821803    0 drwxr-sr-x   1 paludisbuild paludisbuild       38 Oct  8 01:54 
/var/tmp/paludis/app-emulation-virt-manager-0.10.0-r1/work
59821818    0 drwxr-sr-x   1 paludisbuild paludisbuild      446 Aug 27 21:58 
/var/tmp/paludis/app-emulation-virt-manager-0.10.0-r1/work/virt-manager-0.10.0
59821804    0 drwxr-sr-x   1 paludisbuild paludisbuild      102 Oct  8 01:54 
/var/tmp/paludis/app-emulation-virt-manager-0.10.0-r1/temp
59821805    0 -rw-r--r--   1 paludisbuild paludisbuild        0 Oct  8 01:54 
/var/tmp/paludis/app-emulation-virt-manager-0.10.0-r1/temp/build_start_time
59821808    0 drwxr-sr-x   1 root     paludisbuild       24 Oct  8 01:54 
/var/tmp/paludis/app-emulation-virt-manager-0.10.0-r1/temp/python2.7
59822411    4 -rw-r--r--   1 paludisbuild paludisbuild        5 Oct  8 01:54 
/var/tmp/paludis/app-emulation-virt-manager-0.10.0-r1/temp/epatch_user.log
59822413  236 -rw-r--r--   1 paludisbuild paludisbuild   241372 Oct  8 01:54 
/var/tmp/paludis/app-emulation-virt-manager-0.10.0-r1/temp/loadsaveenv
59821806    0 drwxr-sr-x   1 paludisbuild paludisbuild        0 Oct  8 01:54 
/var/tmp/paludis/app-emulation-virt-manager-0.10.0-r1/image

>From what I can gather, the issue is in the "setup" phase, as
it's the only phase (before the failure) running as root. Somewhere
along this path:

pkg_setup -> python-single-r1_pkg_setup -> python_wrapper_setup

And python_wrapper_setup creates a whole lot of python symlinks in the
workdir.

> > Is there a umask I am supposed to set somewhere? Would be nice to
> > know what is at fault at least.
> 
> I'd not recommend mucking around with umasks.

Thanks.

-- 
\    Georgi Georgiev   \  Beware of low-flying butterflies.          \

_______________________________________________
paludis-user mailing list
paludis-user@lists.exherbo.org
http://lists.exherbo.org/mailman/listinfo/paludis-user

Reply via email to