Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179736 - >freetype-2.2 needs >=fontconfig-2.4
Summary: >freetype-2.2 needs >=fontconfig-2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
: 179648 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-25 11:40 UTC by Raúl Porcel (RETIRED)
Modified: 2007-08-03 19:00 UTC (History)
3 users (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 Raúl Porcel (RETIRED) gentoo-dev 2007-05-25 11:40:51 UTC
According to bug 166029, >freetype-2.2 needs >=fontconfig-2.4.

If you don't have >=fontconfig-2.4 everything related to fonts segfaulted. 

So, please, add that dep asap, because i rebuilt my chroot because everything graphically was segfaulting after installing a font.

Because:

/usr/portage/eclass/font.eclass: line 53: 26695 Illegal instruction     HOME="/root" fc-cache -f "${D}${FONTDIR}"

Thanks.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-25 14:18:20 UTC
*** Bug 179648 has been marked as a duplicate of this bug. ***
Comment 2 Beetle B. 2007-05-31 17:08:59 UTC
Has this not been rectified? 
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2007-06-08 00:27:57 UTC
hmm, doesn't everyone have 2.4 in stable already?
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2007-06-08 09:30:48 UTC
Yes, but suppose you only upgrade freetype...i don't think it hurts adding that dep, but that's up to you, it was a suggestion.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2007-06-08 13:10:58 UTC
oh, right, we're missing a DEPEND.  i'll fix this up tonight.
Comment 6 Beetle B. 2007-06-08 15:42:42 UTC
Yes - just wanted to add that I'm not running fontconfig 2.4 and have masked it on my own machine. The reason is that if I upgrade to 2.4, Firefox crashes on certain pages (many of them, actually). I never could solve that, so I had to mask fontconfig. I'm sure I'm not the only one as I found that "solution" on the forums. So for people like us, upgrading freetype more or less kills the system.

In any case, regardless of my own problems, it's a dep and should be marked as such. Especially because if something goes wrong, it's very hard for the person to figure out what's causing the problem. Everything just segfaults.
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2007-06-09 00:09:12 UTC
Added to RDEPEND.

(In reply to comment #6)
> Yes - just wanted to add that I'm not running fontconfig 2.4 and have masked it
> on my own machine. The reason is that if I upgrade to 2.4, Firefox crashes on
> certain pages (many of them, actually). I never could solve that, so I had to
> mask fontconfig. I'm sure I'm not the only one as I found that "solution" on
> the forums. So for people like us, upgrading freetype more or less kills the
> system.

Is there a bug open for this?  If not, could you file one?
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2007-06-09 19:03:51 UTC
Unfixed. 

Calculating dependencies... done!
[nomerge      ] media-libs/freetype-2.3.4-r2  USE="X zlib -bindist -debug -doc"
[ebuild  N    ]  media-libs/fontconfig-2.4.2  USE="xml -doc"
[ebuild  N    ]   media-libs/freetype-2.3.4-r2  USE="X zlib -bindist -debug -doc"
!!! Error: circular dependencies:

('ebuild', '/', 'media-libs/freetype-2.3.4-r2', 'merge') depends on
   ('ebuild', '/', 'media-libs/fontconfig-2.4.2', 'merge') (medium)
('ebuild', '/', 'media-libs/fontconfig-2.4.2', 'merge') depends on
   ('ebuild', '/', 'media-libs/freetype-2.3.4-r2', 'merge') (hard)

!!! Note that circular dependencies can often be avoided by temporarily
!!! disabling USE flags that trigger optional dependencies.


I need to look at this in more detail.
Comment 9 Doug Whitesell 2007-06-09 20:54:11 UTC
(In reply to comment #8)
> Unfixed. 
> 
> Calculating dependencies... done!
> [nomerge      ] media-libs/freetype-2.3.4-r2  USE="X zlib -bindist -debug -doc"
> [ebuild  N    ]  media-libs/fontconfig-2.4.2  USE="xml -doc"
> [ebuild  N    ]   media-libs/freetype-2.3.4-r2  USE="X zlib -bindist -debug
> -doc"
> !!! Error: circular dependencies:
> 
> ('ebuild', '/', 'media-libs/freetype-2.3.4-r2', 'merge') depends on
>    ('ebuild', '/', 'media-libs/fontconfig-2.4.2', 'merge') (medium)
> ('ebuild', '/', 'media-libs/fontconfig-2.4.2', 'merge') depends on
>    ('ebuild', '/', 'media-libs/freetype-2.3.4-r2', 'merge') (hard)
> 
> !!! Note that circular dependencies can often be avoided by temporarily
> !!! disabling USE flags that trigger optional dependencies.
> 
> 
> I need to look at this in more detail.
> 

Same circular dependencies problem here. freetype is in fontconfig's RDEPEND field, and fontconfig is in freetype's RDEPEND field, and portage's mind is blown.

This issue is currently blocking me from setting up any windowing environments (bummer). A user on the forums has reported that he can install the packages successfully by tweaking use flags (?): http://forums.gentoo.org/viewtopic-t-564311-highlight-freetype+fontconfig+circular+dependencies.html

Thanks,
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2007-06-09 21:31:08 UTC
i reverted the change.  if you sync it should work properly.
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2007-06-10 20:08:32 UTC
Fixed. (i hope)
Comment 12 Beetle B. 2007-08-03 19:00:32 UTC
(In reply to comment #7)
> Added to RDEPEND.
> 
> (In reply to comment #6)
> > Yes - just wanted to add that I'm not running fontconfig 2.4 and have masked it
> > on my own machine. The reason is that if I upgrade to 2.4, Firefox crashes on
> > certain pages (many of them, actually). I never could solve that, so I had to
> > mask fontconfig. I'm sure I'm not the only one as I found that "solution" on
> > the forums. So for people like us, upgrading freetype more or less kills the
> > system.
> 
> Is there a bug open for this?  If not, could you file one?
> 

Sorry for the delay. See:

http://bugs.gentoo.org/show_bug.cgi?id=187634