Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257220 - media-fonts/texcm-ttf-1.0: S / FONT_S problem
Summary: media-fonts/texcm-ttf-1.0: S / FONT_S problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-01 14:35 UTC by Elias Pipping
Modified: 2009-02-01 17:00 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 Elias Pipping 2009-02-01 14:35:30 UTC
Installing a font like media-fonts/texcm-ttf yields

>>> Install texcm-ttf-1.0 into /var/tmp/portage/media-fonts/texcm-ttf-1.0/image/ category media-fonts
/var/tmp/portage/media-fonts/texcm-ttf-1.0/temp/environment: line 1251: cd: /var/tmp/portage/media-fonts/texcm-ttf-1.0/work/texcm-ttf-1.0: No such file or directory

That's because font.eclass uses both S and FONT_S internally, with FONT_S=S at the beginning.

what the ebuild naturally does is just

S="${WORKDIR}/${PN}"

however (from my understanding) to make it work, that'd have to be

S="${WORKDIR}/${PN}"
FONT_S=${S}

which again is something one probably wouldn't want in any ebuild.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2009-02-01 17:00:28 UTC
Thank you for report. Well we need to define both S and FONT_S in this case since sometimes fonts are in one directory, documentation is in another...