On 3/25/2023 10:36 PM, Carlos via ntg-context wrote:
On Sat, Mar 25, 2023 at 09:45:25PM +0100, Hans Hagen via ntg-context wrote:
On 3/25/2023 8:55 PM, Carlos via ntg-context wrote:

          ...xlive/2023/texmf-dist/tex/context/base/mkiv/font-syn.lua:1030: in 
upvalue 'walk_tree'
Maybe your OSFONTDIR is pointing to empty. Does

Good call. Thank you for the reminder Hans. But no. That variable was set long 
ago . Even appended it to both the bash initialization file and also under 
/etc/profile (just in case here). Alpine uses ash so shells must be changed


   mtxrun --script font --reload

fonts           | names | 3092 afm files checked,   okay
fonts           | names | identifying tree font files with suffix 'AFM'
fonts           | names | scanning path '/home/ce/.texlive2023/texmf-config' 
for AFM files
fonts           | names | 0 AFM files checked,   okay
fonts           | names | scanning path '/home/ce/texmf' for AFM files
fonts           | names | 0 AFM files checked,   okay
fonts           | names | scanning path '/usr/local/texlive/2023/texmf-config' 
for AFM files
fonts           | names | 0 AFM files checked,   okay
fonts           | names | scanning path '/usr/local/texlive/2023/texmf-var' for 
AFM files
fonts           | names | 0 AFM files checked,   okay
fonts           | names | scanning path '/usr/local/texlive/2023/texmf-local' 
for AFM files
fonts           | names | 24 AFM files checked,   okay
fonts           | names | scanning path '/usr/local/texlive/2023/texmf-dist' 
for AFM files
fonts           | names | 3092 AFM files checked,   okay
fonts           | names | 6232 tree files identified,  14 skipped,  14 
duplicates,  6218 hash entries added,  runtime 8.458 seconds
fonts           | names | identifying system font files with suffix 'otf'
fonts           | names | variable 'OSFONTDIR' specifies path '/home/ce'
fonts           | names | variable 'OSFONTDIR' specifies path '/usr/share/fonts'
fonts           | names | globbing path '/home/ce/**.otf'

lua error : function call: 
/usr/local/texlive/2023/bin/x86_64-linuxmusl/mtxrun.lua:649: cannot open 
/home/ce/cache/headers/imaps:@[email protected]/[Gmail]/.: Permission 
denied

hm, but is home/ce/cache a path where there are fonts to be found? something sets that path to be a fully recursive font dir

can you set OSFONTDIR to '/usr/share/fonts'

(personally i never use system fonts, i always put copies in texmf-fonts/fonts/data becasue system fonts can change or disappear)

Recall that the other folders owned by root had to be moved out of the way

So it seems it wasn't enough, nope. Now it wants access elsewhere

bottom line: it wants root permissions or else fails flat out

well, it's not entirely clear what generates the permission denied; i can check for the home/ce being readable but doing that for every regular file below that would add lots of slow checks and i'm not even sure if it would fix it; i can try to check nested dirs but that then also obscures possible issues

Hans
 -----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to