GNU bug report logs - #21133
cairo: build without-xft fails

Previous Next

Package: emacs;

Reported by: Toralf Förster <toralf.foerster <at> gmx.de>

Date: Sat, 25 Jul 2015 16:18:02 UTC

Severity: normal

Tags: help

Done: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21133 in the body.
You can then email your comments to 21133 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21133; Package emacs. (Sat, 25 Jul 2015 16:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Toralf Förster <toralf.foerster <at> gmx.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 25 Jul 2015 16:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Toralf Förster <toralf.foerster <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function)
Date: Sat, 25 Jul 2015 18:17:03 +0200
Hello,

there's a bug originated in  Gentoos bugzilla:


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan.h.d <at> swipnet.se

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






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21133; Package emacs. (Sat, 25 Jul 2015 18:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 21133 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Toralf Förster <toralf.foerster <at> gmx.de>
Cc: 21133 <at> debbugs.gnu.org
Subject: Re: 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)
Date: Sat, 25 Jul 2015 14:35:33 -0400
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.




Changed bug title to 'cairo: build without-xft fails' from 'Fwd: [Bug 555622] app-editors/emacs-vcs-25.0.50_pre20150630 : ftcrfont.c:109:5: error: ‘ftfont_driver’ undeclared (first use in this function)' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 25 Jul 2015 18:37:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21133; Package emacs. (Sun, 26 Jul 2015 12:15:03 GMT) Full text and rfc822 format available.

Message #13 received at 21133 <at> debbugs.gnu.org (full text, mbox):

From: Ulrich Mueller <ulm <at> gentoo.org>
To: 21133 <at> debbugs.gnu.org
Cc: Glenn Morris <rgm <at> gnu.org>,
 Toralf Förster <toralf.foerster <at> gmx.de>
Subject: Re: 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)
Date: Sun, 26 Jul 2015 14:14:06 +0200
> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21133; Package emacs. (Sun, 26 Jul 2015 15:03:01 GMT) Full text and rfc822 format available.

Message #16 received at 21133 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ulrich Mueller <ulm <at> gentoo.org>
Cc: 21133 <at> debbugs.gnu.org, toralf.foerster <at> gmx.de
Subject: Re: 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)
Date: Sun, 26 Jul 2015 18:01:32 +0300
> Date: Sun, 26 Jul 2015 14:14:06 +0200
> From: Ulrich Mueller <ulm <at> gentoo.org>
> Cc: Toralf Förster <toralf.foerster <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21133; Package emacs. (Mon, 27 Jul 2015 05:36:01 GMT) Full text and rfc822 format available.

Message #19 received at 21133 <at> debbugs.gnu.org (full text, mbox):

From: Ulrich Mueller <ulm <at> gentoo.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 21133 <at> debbugs.gnu.org, toralf.foerster <at> gmx.de
Subject: Re: 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)
Date: Mon, 27 Jul 2015 07:35:07 +0200
>>>>> 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.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Mon, 27 Jul 2015 12:34:01 GMT) Full text and rfc822 format available.

Notification sent to Toralf Förster <toralf.foerster <at> gmx.de>:
bug acknowledged by developer. (Mon, 27 Jul 2015 12:34:02 GMT) Full text and rfc822 format available.

Message #24 received at 21133-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ulrich Mueller <ulm <at> gentoo.org>
Cc: toralf.foerster <at> gmx.de, 21133-done <at> debbugs.gnu.org
Subject: Re: 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)
Date: Mon, 27 Jul 2015 15:33:18 +0300
> Date: Mon, 27 Jul 2015 07:35:07 +0200
> Cc: 21133 <at> debbugs.gnu.org, toralf.foerster <at> gmx.de
> From: Ulrich Mueller <ulm <at> 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.




Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 27 Jul 2015 12:45:01 GMT) Full text and rfc822 format available.

Added tag(s) help. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 03 Aug 2016 18:34:02 GMT) Full text and rfc822 format available.

Reply sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
You have taken responsibility. (Sat, 15 Jun 2019 03:58:02 GMT) Full text and rfc822 format available.

Notification sent to Toralf Förster <toralf.foerster <at> gmx.de>:
bug acknowledged by developer. (Sat, 15 Jun 2019 03:58:02 GMT) Full text and rfc822 format available.

Message #33 received at 21133-done <at> debbugs.gnu.org (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Toralf Förster <toralf.foerster <at> gmx.de>,
 21133-done <at> debbugs.gnu.org
Subject: Re: 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)
Date: Sat, 15 Jun 2019 12:57:13 +0900
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 <at> math.s.chiba-u.ac.jp




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 13 Jul 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 345 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.