Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180873 - media-fonts/liberation-fonts-ttf ebuild is FUBARed
Summary: media-fonts/liberation-fonts-ttf ebuild is FUBARed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Jeffrey Gardner (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-04 16:13 UTC by cruzki
Modified: 2007-06-05 02:57 UTC (History)
1 user (show)

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 cruzki 2007-06-04 16:13:42 UTC
If I want to emerge liberation-fonts-ttf portage said that theres no ebuild with this name, but the ebuild is in the tree. Now if I try to do:

sudo ebuild /usr/portage/media-fonts/liberation-fonts-ttf/liberation-fonts-0.2.ebuild digest
Appending /usr/portage to PORTDIR_OVERLAY...
!!! /usr/portage does not seem to have a valid PORTDIR structure.

NOTE: without sudo we also have the same problem and its the same problem in x86 and amd64

Reproducible: Always

Steps to Reproduce:
1. try to emerge liberation-fonts-ttf
2. also digest the ebuild

Actual Results:  
Don't install

Expected Results:  
Can install liberation-fonts-ttf and unistall corefonts (maybe these two block each other?)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-04 16:16:58 UTC
Please, learn how to work with portage; bugzilla is not a place for this.
Comment 2 cruzki 2007-06-04 16:38:51 UTC
kassandra cruzki # emerge liberation-fonts-ttf
Calculating dependencies |
emerge: there are no ebuilds to satisfy "liberation-fonts-ttf"

circe cruzki # emerge liberation-fonts-ttf
Calculating dependencies -
emerge: there are no ebuilds to satisfy "liberation-fonts-ttf".

I just sync the tree, and do an emerge portage && emerge -uDN world. So my system it's up to date and portage don't install that package. Even if I put that ebuild in an overlay. Even worse, if I force to install the ebuild in the tree I have

emerge liberation-fonts-0.2.ebuild
emerging by path implies --oneshot... adding --oneshot to options.

*** emerging by path is broken and may not always work!!!

Calculating dependencies |
!!! /usr/portage/media-fonts/liberation-fonts-ttf/liberation-fonts-0.2.ebuild is not in a valid portage tree hierarchy or does not exist

And I repeat I just sync the tree.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-04 16:40:14 UTC
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-06-04 16:49:35 UTC
@cruzki - I'm terribly sorry, my CVS sync was out of date and I haven't notice the mess the maintainer created there in past couple of hours...:/
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-06-04 16:52:04 UTC
@je_fro:

$ ls /usr/portage/media-fonts/liberation-fonts-ttf/
ChangeLog  liberation-fonts-0.2.ebuild  Manifest  metadata.xml

Eh?!?

Would you please use repoman next time? This isn't even emergeable, how many times have you tested this? The ebuild filename is supposed to match ${CATEGORY}/${PN} for starters...

Comment 6 cruzki 2007-06-04 17:07:52 UTC
o problem. But I am curious about this issue. I try an ebuild (for other application) in the bugzilla before and I have the same problem. The follow time I want to know how to resolve this type of problem for myself. Is the name the only problem? or Is the ebuild itself?
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2007-06-04 17:11:55 UTC
I have temporarily reverted the changes and fixed the ebuild. However, Jeff please ping me on IRC. 
Comment 8 Jeffrey Gardner (RETIRED) gentoo-dev 2007-06-04 17:18:12 UTC
I know I thought I changed the directory name after changing the ebuild. Sorry.
And thanks for the public humiliation, I guess you've become an expert, jakub.
Comment 9 Jeffrey Gardner (RETIRED) gentoo-dev 2007-06-04 17:28:16 UTC
cruzki, the problem is that the ebuild and the directory which contains it have different names.

liberation-fonts-ttf/
liberation-fonts

Comment 10 cruzki 2007-06-04 17:38:36 UTC
thanks for clarify my doubts (and all your work ;) )
Comment 11 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-06-04 17:47:08 UTC
(In reply to comment #8)
> I know I thought I changed the directory name after changing the ebuild.

You cannot rename anything and you cannot remove dirs in cvs.
Comment 12 Torsten Veller (RETIRED) gentoo-dev 2007-06-04 20:27:23 UTC
Reopened because media-fonts/liberation-fonts-ttf was removed while media-fonts/liberation-fonts is not in the tree.

See also:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=5#doc_chap6
Comment 13 Jeffrey Gardner (RETIRED) gentoo-dev 2007-06-04 21:18:16 UTC
Torsten, you must have caught it before I removed media-fonts/liberation-* and started over with media-fonts/liberation-fonts-ttf.
Comment 14 Jeffrey Gardner (RETIRED) gentoo-dev 2007-06-05 02:57:57 UTC
Fixed in CVS...sorry for the hassle everyone.