Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11587 - freetype ebuild bug
Summary: freetype ebuild bug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-04 13:36 UTC by Michael Labhard
Modified: 2003-02-04 19:42 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 Michael Labhard 2002-12-04 13:36:15 UTC
See the description of the bug on the post
http://forums.gentoo.org/viewtopic.php?p=141769#141769
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-04 15:52:13 UTC
Problem is that they (you included ?) used either:

  # emerge --nodeps xfree

or:

  # ebuild xfree-4.2.1(-r1).ebuild merge

Both of these commands do not pull in deps.  If you look at the
ttmkfdir ebuild, you will see:

------------
DEPEND=">=media-libs/freetype-2.0.8
        >=sys-devel/flex-2.5.4a-r5
        sys-devel/libtool"
------------

Note that it strictly depends on >=flex-2.5.4a-r5.  This is because
I added patches to flex to fix the "int isatty(int)" related errors.

Because of above emerge/ebuild commands, flex was thus not updated,
and caused ttmkfdir to fail.

This bug is thus invalid.  I hope you guys will not just throw away
DEPEND's in future if you do not know 100% that its ok to do so ...
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-04 15:57:04 UTC
Err, ok, maybe I was on crack.  Unmerge freetype-2.1.2-r*:

  # emerge unmerge '=freetype-2.1.2*'

then do:

  # emerge -p freetype

and paste here.
Comment 3 Michael Labhard 2002-12-04 20:19:41 UTC
Here you go: Done with --pretend.  As you can see Portage wants to clean out r2 and replace it with r1.

emerge -p freetype
----------------------------------------------------
These are the packages that I would merge, in order.

Calculating dependencies    ...done!
[ebuild   R  ] media-libs/freetype-2.1.2-r2
----------------------------------------------------

emerge -cp freetype
----------------------------------------------------

>>> These are the packages that I would unmerge:

 media-libs/freetype
    selected: 2.1.2-r2
   protected: 2.1.2-r1
     omitted: none

>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-04 22:05:28 UTC
No.  Unmerge all freetype2 versions, then:

  # emerge -p freetype

and paste,  and then just merge it again to make sure nothing breaks.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-06 03:48:09 UTC
Still there ?
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-08 13:55:07 UTC
Nick, not sure, but I think this could be bogus ... I for one do not have this
issue.  He prob forced -r2 (marked unstable) to merge with ebuild command, and
then 'emerge -u world' downgraded it again.

If you think its invalid, just close it (except if the user responds).
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2002-12-08 15:09:02 UTC
Choose stable or unstable. Don't mix and match ad hoc please.

emerge -cp world
emerge -C freetype
emerge freetype