Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27125 - gnumeric-1.0.13 fails to emerge due to patch problem
Summary: gnumeric-1.0.13 fails to emerge due to patch problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-22 10:18 UTC by Vadim Trochinsky
Modified: 2003-08-24 03:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Trochinsky 2003-08-22 10:18:54 UTC
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.
Comment 1 foser (RETIRED) gentoo-dev 2003-08-23 17:09:06 UTC
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.
Comment 2 Vadim Trochinsky 2003-08-24 02:32:31 UTC
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. 
Comment 3 foser (RETIRED) gentoo-dev 2003-08-24 02:38:49 UTC
ok, glad you got it to work. closing.
Comment 4 Vadim Trochinsky 2003-08-24 03:10:48 UTC
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!  
Comment 5 foser (RETIRED) gentoo-dev 2003-08-24 03:27:35 UTC
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.