unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21133: Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function)
       [not found] <bug-555622-8324-dDeKezR0sJ@http.bugs.gentoo.org/>
@ 2015-07-25 16:17 ` Toralf Förster
  2015-07-25 18:35   ` Glenn Morris
  2015-07-26 12:14   ` Ulrich Mueller
  0 siblings, 2 replies; 7+ messages in thread
From: Toralf Förster @ 2015-07-25 16:17 UTC (permalink / raw)
  To: 21133

Hello,

there's a bug originated in  Gentoos bugzilla:


https://bugs.gentoo.org/show_bug.cgi?id=555622


Ulrich Müller <ulm@gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan.h.d@swipnet.se

--- Comment #2 from Ulrich Müller <ulm@gentoo.org> ---
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.

-- 
You are receiving this mail because:
You reported the bug.







^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21133: Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function)
  2015-07-25 16:17 ` bug#21133: Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function) Toralf Förster
@ 2015-07-25 18:35   ` Glenn Morris
  2019-06-15  3:57     ` YAMAMOTO Mitsuharu
  2015-07-26 12:14   ` Ulrich Mueller
  1 sibling, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2015-07-25 18:35 UTC (permalink / raw)
  To: Toralf Förster; +Cc: 21133

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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21133: Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function)
  2015-07-25 16:17 ` bug#21133: Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function) Toralf Förster
  2015-07-25 18:35   ` Glenn Morris
@ 2015-07-26 12:14   ` Ulrich Mueller
  2015-07-26 15:01     ` Eli Zaretskii
  1 sibling, 1 reply; 7+ messages in thread
From: Ulrich Mueller @ 2015-07-26 12:14 UTC (permalink / raw)
  To: 21133; +Cc: Toralf Förster

> 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.

Maybe configure should take care of this, and enable cairo only under
the condition that xft is enabled too?

There is a similar problem with --with-cairo --without-png, by the
way. When linking temacs:
image.o:(.data+0x90): undefined reference to `png_load'

> I would also suggest that Gentoo stop enabling --with-cairo,
> and that the --with-cairo option perhaps be labelled experimental.

In fact, our whole app-editors/emacs-vcs package is experimental.
We usually reveal any upstream configure options as USE flags.
(After all, this is not an experimental branch, but git master.)

Of course, I can mask the cairo flag in addition, if you think that's
appropriate.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21133: Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function)
  2015-07-26 12:14   ` Ulrich Mueller
@ 2015-07-26 15:01     ` Eli Zaretskii
  2015-07-27  5:35       ` Ulrich Mueller
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2015-07-26 15:01 UTC (permalink / raw)
  To: Ulrich Mueller; +Cc: 21133, toralf.foerster

> Date: Sun, 26 Jul 2015 14:14:06 +0200
> From: Ulrich Mueller <ulm@gentoo.org>
> Cc: Toralf Förster <toralf.foerster@gmx.de>
> 
> There is a similar problem with --with-cairo --without-png, by the
> way. When linking temacs:
> image.o:(.data+0x90): undefined reference to `png_load'

The culprit seems to be this condition around line 5645 of image.c:

  #if defined HAVE_PNG && !defined HAVE_NS

It should say this instead, I think:

  #if (defined HAVE_PNG && !defined HAVE_NS) || defined USE_CAIRO

But I cannot test that.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21133: Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function)
  2015-07-26 15:01     ` Eli Zaretskii
@ 2015-07-27  5:35       ` Ulrich Mueller
  2015-07-27 12:33         ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Ulrich Mueller @ 2015-07-27  5:35 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 21133, toralf.foerster

>>>>> On Sun, 26 Jul 2015, Eli Zaretskii wrote:

>> There is a similar problem with --with-cairo --without-png, by the
>> way. When linking temacs:
>> image.o:(.data+0x90): undefined reference to `png_load'

> The culprit seems to be this condition around line 5645 of image.c:

>   #if defined HAVE_PNG && !defined HAVE_NS

> It should say this instead, I think:

>   #if (defined HAVE_PNG && !defined HAVE_NS) || defined USE_CAIRO

This change makes it compile for me.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21133: Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function)
  2015-07-27  5:35       ` Ulrich Mueller
@ 2015-07-27 12:33         ` Eli Zaretskii
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2015-07-27 12:33 UTC (permalink / raw)
  To: Ulrich Mueller; +Cc: toralf.foerster, 21133-done

> Date: Mon, 27 Jul 2015 07:35:07 +0200
> Cc: 21133@debbugs.gnu.org, toralf.foerster@gmx.de
> From: Ulrich Mueller <ulm@gentoo.org>
> 
> >>>>> On Sun, 26 Jul 2015, Eli Zaretskii wrote:
> 
> >> There is a similar problem with --with-cairo --without-png, by the
> >> way. When linking temacs:
> >> image.o:(.data+0x90): undefined reference to `png_load'
> 
> > The culprit seems to be this condition around line 5645 of image.c:
> 
> >   #if defined HAVE_PNG && !defined HAVE_NS
> 
> > It should say this instead, I think:
> 
> >   #if (defined HAVE_PNG && !defined HAVE_NS) || defined USE_CAIRO
> 
> This change makes it compile for me.

Thanks, I pushed it.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21133: Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function)
  2015-07-25 18:35   ` Glenn Morris
@ 2019-06-15  3:57     ` YAMAMOTO Mitsuharu
  0 siblings, 0 replies; 7+ messages in thread
From: YAMAMOTO Mitsuharu @ 2019-06-15  3:57 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Toralf Förster, 21133-done

On Sun, 26 Jul 2015 03:35:33 +0900,
Glenn Morris wrote:
> 
> 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.

Dependency on libXft for the cairo build was removed on master by the
commit 5f4e8e2e088.  Closing the bug.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-06-15  3:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-555622-8324-dDeKezR0sJ@http.bugs.gentoo.org/>
2015-07-25 16:17 ` bug#21133: Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function) Toralf Förster
2015-07-25 18:35   ` Glenn Morris
2019-06-15  3:57     ` YAMAMOTO Mitsuharu
2015-07-26 12:14   ` Ulrich Mueller
2015-07-26 15:01     ` Eli Zaretskii
2015-07-27  5:35       ` Ulrich Mueller
2015-07-27 12:33         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).