[Bug 853225] New: fc-cache run twice for "noarch" data for 32+64 bit; happens running editor & too often
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c0 Summary: fc-cache run twice for "noarch" data for 32+64 bit; happens running editor & too often Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse@tlinx.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28 When I add a font from "noarch", the install process takes a VERY long time building cache files. Not only does it do this for each font file installed (vs. once at end), but it does it *TWICE* -- fc-cache fc-cache32. It is a "no arch" package. There should be nothing that is 32-or 64 bit dependent in the package. So why is it creating 2 different caches (or maybe they are the same) by 2 different cache programs -- each taking 4-6 minutes/font? IT's also the case that if anything touches a timestamp in /usr/share/fonts, then it regens the caches when starting an editor like gvim. Having a 10 minute delay starting up the editor -- 2 or more times/font is too long. If you start gvim as a normal user -- it runs the font-cache as a normal user and since it can't store it in the system cache dir, it has to be run again when root tries running gvim. Tried running root gvim first, but still generated user wait (~1.5 minutes if root done first?)... Reproducible: Always Steps to Reproduce: 1. 2. If any changes are made in font dir, it also regenerates when you start vim as NON-ROOT user (i.e. results are tossed -- can't be stored). 3. Actual Results: Install a bunch of fonts... # find /usr/share/fonts -iname "*.[OTot][tT][FCfc]" |wc -l 21178 touch /usr/share/fonts/truetype Try to run 'gvim'... OR install a font (rpm)... notice it runs fc-cache and fc-cache32 to process the addition on a 64-bit machine. Why does it run fc-cache32 at all?? It's supposed to be arch independent. Expected Results: long wait >4 minutes 1) returned immediate and schedule cache to be built in background 2) only call fc-cache -- not both. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c1 --- Comment #1 from L. A. Walsh <suse@tlinx.org> 2013-12-02 11:31:02 PST --- FYI -- this is not a new problem but seems to have gotten worse (maybe new fonts installed?)... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c zhang jiajun <jzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |idonmez@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c2 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|idonmez@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #2 from Ismail Donmez <idonmez@suse.com> 2014-01-14 14:08:16 UTC --- gvim itself does not call fc-cache by itself so I guess this is a fontconfig problem. Resetting assignee. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c3 Stefan Knorr <sknorr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sknorr@novell.com --- Comment #3 from Stefan Knorr <sknorr@novell.com> 2014-01-15 11:19:28 UTC --- *** Bug 858842 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=858842 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c4 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |pgajdos@suse.com InfoProvider| |suse@tlinx.org --- Comment #4 from Petr Gajdos <pgajdos@suse.com> 2014-01-16 09:21:49 UTC --- Linda, could you please explain how this problem you describe in comment 0 differs from that one in bug 856476? In two or three sentences please. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c5 --- Comment #5 from L. A. Walsh <suse@tlinx.org> 2014-01-16 15:47:48 PST --- bug 856476 is about bad UI problems -- having the user wait synchronously while something that should have or could be done in background is bad UI design. That the problem happens twice -- once as a normal user and again as root, is even worse, as I tried to bring some config file in the editor as root to find out why the editor was taking so long for the normal user. --- This bug is specifically about questionable statement that separate caches are needed for 32 and 64 bit x86 machine -- on the same machine -- and that the fonts being installed, -- are marked "no-arch" -- meaning there shouldn't be any arch-specific differences. The X server (and the xfs x font server), and the free-type routines that have been used for decades all could use the same font files. even the font-scale and font-dir files were arch-independent. To create a disaster that needs arch specific files from arch-neutral data is a terrible. The idea is to make things easier and faster. So this bug is about the supposed necessity of needing a 32 and a 64 bit fc-cache on the same architecture (x86). The other is about not doing it when the user is bringing up an editor or browser to find the phone number for the police in an emergency (to stretch or make a point). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c L. A. Walsh <suse@tlinx.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|suse@tlinx.org | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c zhang jiajun <jzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |pgajdos@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c6 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #6 from Petr Gajdos <pgajdos@suse.com> 2014-01-17 08:36:51 UTC --- (In reply to comment #4)
In two or three sentences please.
You failed on that one. Its evident you like to write much, but I don't like to read your unreadable comments. Sorry. (In reply to comment #5)
This bug is specifically about questionable statement that separate caches are needed for 32 and 64 bit x86 machine -- on the same machine -- and that the
I already reply to that one in other bug report you are filled out. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c7 L. A. Walsh <suse@tlinx.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|RESOLVED |REOPENED Resolution|WONTFIX | --- Comment #7 from L. A. Walsh <suse@tlinx.org> 2014-01-17 04:39:13 PST --- (In reply to comment #6)
(In reply to comment #4)
In two or three sentences please.
You failed on that one. Its evident you like to write much, but I don't like to read your unreadable comments. Sorry.
Sorry if my writing style doesn't meet your standards. I'm disabled from RSI, back damage and chronic pain issues, so I don't always go back to edit and re-edit my input to university standards. You didn't state where the fontconfig mailing list was that need to have this bug forwarded to. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853225 https://bugzilla.novell.com/show_bug.cgi?id=853225#c8 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |WONTFIX --- Comment #8 from Petr Gajdos <pgajdos@suse.com> 2014-01-17 12:53:45 UTC --- . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com