Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66206 - fonts.eclass breaks if a font ebuild specifies directories or files with spaces in them
Summary: fonts.eclass breaks if a font ebuild specifies directories or files with spac...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-10-03 05:19 UTC by gna
Modified: 2004-10-03 06:56 UTC (History)
1 user (show)

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


Attachments
ebuild that demonstrates the problem (ezra-sil-2.0.ebuild,749 bytes, text/plain)
2004-10-03 05:22 UTC, gna
Details
output of emerging ezra-sil-2.0.ebuild showing the problem (bad_emerge.log,4.80 KB, text/plain)
2004-10-03 05:23 UTC, gna
Details
patch for fonts.eclass that fixes the problem (font.eclass.pch,1.32 KB, patch)
2004-10-03 05:24 UTC, gna
Details | Diff
output of emerging ezra-sil-2.0.ebuild after applying the patch (good_emerge.log,3.90 KB, text/plain)
2004-10-03 05:24 UTC, gna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gna 2004-10-03 05:19:07 UTC
The fonts.eclass gives errors if various filenames (e.g. documentation files) or directory names (e.g. FONT_S) in a font ebuild contain spaces.

Reproducible: Always
Steps to Reproduce:
1. put the attached ezra-sil font ebuild in your media-fonts overlay
2. do ebuild fetch, ebuild digest
3. emerge the ebuild

Actual Results:  
See attached file bad_emerge.log for the output of emerge with various errors

Expected Results:  
See the attached file good_emerge.log for the output after the attached patch is
applied

See the attached patch which fixes the problem by inserting various double
quotes into fonts.eclass
Comment 1 gna 2004-10-03 05:22:02 UTC
Created attachment 40980 [details]
ebuild that demonstrates the problem
Comment 2 gna 2004-10-03 05:23:41 UTC
Created attachment 40981 [details]
output of emerging ezra-sil-2.0.ebuild showing the problem
Comment 3 gna 2004-10-03 05:24:16 UTC
Created attachment 40982 [details, diff]
patch for fonts.eclass that fixes the problem
Comment 4 gna 2004-10-03 05:24:55 UTC
Created attachment 40983 [details]
output of emerging ezra-sil-2.0.ebuild after applying the patch
Comment 5 gna 2004-10-03 05:32:58 UTC
This bug is somewhat related to Bug 13808 but I didn't think it was really a duplicate so I made a new report for it.
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-03 06:10:23 UTC
Fixed in CVS. Thanks for the bug report.
Comment 7 gna 2004-10-03 06:56:24 UTC
You're very fast. Thank you very much.