Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29545 - USE="-X" emerge efont-unicode fails due to incorrect line in ebuild
Summary: USE="-X" emerge efont-unicode fails due to incorrect line in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-24 15:50 UTC by Brandy Westcott (RETIRED)
Modified: 2003-09-25 00:35 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 Brandy Westcott (RETIRED) gentoo-dev 2003-09-24 15:50:18 UTC
Without X in our USE flags, efont-unicode will not be installed: 
 
  >>> Install efont-unicode-0.4.1 into 
    /var/tmp/portage/efont-unicode-0.4.1/image/ category media-fonts 
  b12_bi.bdf         | 100% |  3325 KiB |  2836 KiB/s | ETA 00:00.00 
  b14_b.bdf          | 100% |  4886 KiB |  1736 KiB/s | ETA 00:00.01 
  ..... 
  f24_i.bdf          | 100% |  8713 KiB |  6600 KiB/s | ETA 00:00.00 
  h24_b.bdf          | 100% |   429 KiB |   164 KiB/s | ETA 00:00.01 
 
  !!! ERROR: media-fonts/efont-unicode-0.4.1 failed. 
  !!! Function src_install, Line 40, Exitcode 1 
  !!! (no error message) 
 
This is due to the following line present in the ebuild: 
 
	use X && doins *.pcf.gz || die 
 
It's better to use something like: 
 
	if [ `use X` ] ; then 
		doins *.pcf.gz || die 
	fi
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-09-25 00:35:11 UTC
Committed. Thanks for reporting. I hope font.eclass will be available in Portage tree soon...