An attempt of installing gnumeric failed with this log: vadim@alice vadim $ sudo emerge gnumeric Password: Calculating dependencies ...done! >>> emerge (1 of 1) app-office/gnumeric-1.0.13 to / >>> md5 src_uri ;-) gnumeric-1.0.13.tar.bz2 >>> Unpacking source... >>> Unpacking gnumeric-1.0.13.tar.bz2 to /var/tmp/portage/gnumeric-1.0.13/work bzip2: Can't open input file /usr/portage/distfiles/gnumeric-1.0.13.tar.bz2: Permission denied. /usr/sbin/ebuild.sh: line 48: cd: /var/tmp/portage/gnumeric-1.0.13/work/gnumeric-1.0.13: No such file or directory can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- gnumeric-1.1.16/omf-install/Makefile.in 2003-01-28 05:40:05.000000000 +0000 |+++ gnumeric-1.1.16/omf-install/Makefile.in.new 2003-04-14 02:38:50.000000000 +0100 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored !!! ERROR: app-office/gnumeric-1.0.13 failed. !!! Function src_unpack, Line 49, Exitcode 1 !!! scrollkeeper patch failed vadim@alice vadim $ Emerging other programs works just fine. The file /usr/portage/distfiles/gnumeric-1.0.13.tar.bz2 has permissions 600, is owned by root:root, and of course can be read by root.
im pretty sure the problem is that there is nothing to patch to, I don't know why that happens. But i'm pretty sure its a local problem. You could try to change the permissions on the tarball.
Aha, got it to work! You are indeed correct, it looks like the permissions should be 644. Now that I look at make.conf, FEATURES usersandbox and userpriv are set. It's probably related to those. I still don't know why it happened, since it seems to work with the other packages, but I do have a suspicion of that it's related to cancelling emerge while downloading and resuming later, since that's the only difference there was between emerging gnumeric and the other ebuilds.
ok, glad you got it to work. closing.
Hey, not so fast! I said I got it to work by changing the permissions of the downloaded file. However they should have never been wrong in the first place!
Since you are the first to report this problem while gnumeric 1.0.13 has been stable for months now and we never had any similar report, i very strongly think it's a local problem. You said yourself you cancelled emerge during download. You might want to remove the tarball and try from scratch, if it's reproducable then we can see if there's something else going on here.