Summary: | [TRACKER] Packages failing with =media-libs/freetype-2.4.11-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Gentoo Quality Assurance Team <qa> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | aballier, carlphilippreh, fonts, hasufell, nikoli, ninuje, pacho, xangel1 |
Priority: | Normal | Keywords: | Tracker |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Tinderbox running | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 459394, 459400, 459404, 459406, 459408, 459410, 459412, 459414, 459416, 459418, 459420, 459426, 459428, 459436, 459438, 459460, 459462, 459464, 459470, 459474, 459482, 459496, 459534, 459564, 459598, 459704, 459774, 459828, 459862, 461230 | ||
Bug Blocks: |
Description
Michał Górny
2013-02-26 19:38:03 UTC
Yikes you're the first person to actually ask for it via bug.. But sure, getting ready for it now (expecting catastrophe, to be honest). Should we just re-use this bug as tracker? (In reply to comment #1) > Yikes you're the first person to actually ask for it via bug.. > > But sure, getting ready for it now (expecting catastrophe, to be honest). > Should we just re-use this bug as tracker? Yes. have you filed a bug about this upstream? https://savannah.nongnu.org/bugs/?38235 http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=bcca86af30967d7d93590f2241b84d02f083d54e @Michał: I am not sure if $libdir such a good idea, couldn't we automatically merge the include files: - install to DESTDIR=${ED}_${ABI} - if headers differ #if __x86_64__ content of 64bit header #else content of 32bit header #endif - do that for each header As I told Paul who suggested that on my blog. Please don't. I remember when glibc did that — it was a mess to deal with. Some packages do NOT like the indirection and fail even more badly than they do right now. How is this headers problem handled in portage-multilib? I saw a long discussion between mgorny and tommy on IRC but didn't see concrete solutions to this problem :( (In reply to comment #7) > How is this headers problem handled in portage-multilib? I saw a long > discussion between mgorny and tommy on IRC but didn't see concrete solutions > to this problem :( They are doing exactly the header solution -- move the headers and install wrappers. I'm a bit afraid I will have to do that as well for freetype, or just fix the header to use proper types. The major problem is that CMake is a mess with its weird wannabe logic, and I'm afraid it can't handle things like header dependencies correctly. As in, the default macros do some weird lookup logic for headers and use pkg-config includes as hints only. For example, libXft (from X11) requires freetype2, and has proper pkg-config file. If you use pkg-config to obtain cflags for xft, you get all includedirs. However, CMake will most likely just be happy with the directory in which libXft headers sit and the build will fail because of missing freetype2 header. I would like to note, however, that this is just a theory. CMake is a mess, and its X11 module is 500 lines of random header & library lookup magic. I'm afraid that adding pkg-config support there will add at least another 250 to that, and it may not help at all. Due to the issue count, we've decided to move the headers back. Therefore, feel free not to fix the Gentoo packages to use pkg-config or freetype-config. However, it is still preferable to at least file bugs to upstreams which aren't aware of freetype providing both the fore-mentioned interfaces. Upstream doesn't care, most of downstream doesn't care, closing this one. Leaving just the Xft one which is against upstream policy. |