Summary: | app-editors/emacs-vcs-25.0.50_pre20150630[cairo] : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Emacs project <emacs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | jan.h.d |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge log
package history |
Description
Toralf Förster
2015-07-22 12:15:02 UTC
Created attachment 407406 [details]
package history
I can reproduce the problem with your USE flag settings. Both the 20150331 and 20150430 snapshots (the latter in my local overlay only) still compile fine, whereas the 20150531 snapshot fails. Emacs from git master (as of today) also fails with your USE flags. Git bisecting shows that the breakage originates from the cairo branch: dddcc0e78452f2186c132823a33a174d2596ba33 is the first bad commit commit dddcc0e78452f2186c132823a33a174d2596ba33 Author: Jan D <jan.h.d@swipnet.se> Date: Wed Feb 11 16:14:35 2015 +0100 Add cairo drawing. Can you please report the bug upstream? There is little we could do here at the distro level. (In reply to Ulrich Müller from comment #2) > Can you please report the bug upstream? There is little we could do here at > the distro level. https://bugs.freedesktop.org/show_bug.cgi?id=91460 (In reply to Toralf Förster from comment #3) > (In reply to Ulrich Müller from comment #2) > > > Can you please report the bug upstream? There is little we could do here at > > the distro level. > > https://bugs.freedesktop.org/show_bug.cgi?id=91460 Sorry, I should have phrased it more clearly. The bug originates from the cairo branch of *Emacs* upstream and should be reported there. A first answer from rgm@gnu.org : Toralf Förster wrote: > https://bugs.gentoo.org/show_bug.cgi?id=555622 If I may summarise: ./configure --with-cairo --without-xft fails with undefined reference to ftfont_driver in ftcrfont.c. Perhaps this is simply not a sensible set of configure options to use. I would also suggest that Gentoo stop enabling --with-cairo, and that the --with-cairo option perhaps be labelled experimental. Upstream bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21133 I've added a workaround to the ebuild. The "cairo" USE flag only takes effect if the "xft" flag is also set: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r1.ebuild?r1=1.9&r2=1.10 |