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

Bug 4399

Summary: emerge GOCR fails
Product: Gentoo Linux Reporter: AlterEgo <r.oosterling>
Component: Current packagesAssignee: Matthew Turk (RETIRED) <satai>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description AlterEgo 2002-07-01 15:56:45 UTC
Emerge GOCR fails reproducably (3 different systems; gcc unrelated; ebuild 
0.3.4 and 0.3.6 and 0.3.6-r1):  
I suspect user right are incorrectly difined for the directories below:  
  
>>> Install gocr-0.3.6-r1 into /var/tmp/portage/gocr-0.3.6-r1/image/ category  
ap  
p-text  
/usr/sbin/ebuild.sh: a: command not found  
strip:  
/var/tmp/portage/gocr-0.3.6-r1/image/usr/bin/gocr  
>>> Completed installing into /var/tmp/portage/gocr-0.3.6-r1/image/  
  
--------------------------- ACCESS VIOLATION SUMMARY  
---------------------------  
LOG FILE = "/tmp/sandbox-gocr-0.3.6-r1-6918.log"  
  
mkdir:     /usr/share/texmf/fonts/pk  
mkdir:     /usr/share/texmf/fonts/pk/ljfour  
mkdir:     /usr/share/texmf/fonts/pk/ljfour/public  
mkdir:     /usr/share/texmf/fonts/pk/ljfour/public/cm  
mkdir:     /usr/share/texmf/fonts/pk  
mkdir:     /usr/share/texmf/fonts/pk/ljfour  
mkdir:     /usr/share/texmf/fonts/pk/ljfour/public  
mkdir:     /usr/share/texmf/fonts/pk/ljfour/public/cm  
mkdir:     /usr/share/texmf/fonts/pk  
mkdir:     /usr/share/texmf/fonts/pk/ljfour  
mkdir:     /usr/share/texmf/fonts/pk/ljfour/public  
mkdir:     /usr/share/texmf/fonts/pk/ljfour/public/cm  
mkdir:     /usr/share/texmf/fonts/pk  
mkdir:     /usr/share/texmf/fonts/pk/ljfour  
mkdir:     /usr/share/texmf/fonts/pk/ljfour/public  
mkdir:     /usr/share/texmf/fonts/pk/ljfour/public/cm  
mkdir:     /usr/share/texmf/fonts/pk  
mkdir:     /usr/share/texmf/fonts/pk/ljfour  
mkdir:     /usr/share/texmf/fonts/pk/ljfour/public
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-06 21:08:34 UTC
the -r2 ebuild fixes this.  please emerge unmerge gocr then emerge gocr.
Comment 2 AlterEgo 2002-07-07 06:03:17 UTC
Tested the -r2 ebuild, and got the exact same error message again. The strange thing is the ownership of all directories in /usr/share/texmf/fonts . bash-2.05a$ ls -l total 5 drwxr-xr-x    8 501      501           200 Jul  7 12:42 afm drwxr-xr-x    3 501      501            72 Jul  7 12:42 ofm drwxr-xr-x    3 501      501            72 Jul  7 12:42 ovf drwxr-xr-x    3 501      501            72 Jul  7 12:42 ovp drwxr-xr-x    3 501      501            72 Jul  7 12:42 pfm drwxr-xr-x    7 501      501           168 Jul  7 12:42 source drwxr-xr-x   12 501      501           296 Jul  7 12:42 tfm drwxr-xr-x    8 501      501           200 Jul  7 12:42 type1 drwxr-xr-x    9 501      501           216 Jul  7 12:42 vf bash-2.05a$  The "501" is causing the problem IMHO. I can create a directory /usr/share/texmf/fonts/pk with "501" ownership by hand, and the script will; progress a bit further. But I couldn't complete the ebuild by making all directories by hand.   
Comment 3 Ph. Bobo 2002-07-15 10:16:52 UTC
I have exactly same problem (and also with other packages where emerge can't 
create (open_wr) or update files in directories) -> PERMISSION DENYED
despite that I use emerge in root.
Comment 4 Matthew Turk (RETIRED) gentoo-dev 2002-08-20 00:14:54 UTC
I believe the problem may be related to TeX's default font permissions.  Try
using "texconfig fonts rw" to fix it.  This should be in the ebuild -- I'll look
into it.