From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jamie Macbeth Newsgroups: gmane.emacs.bugs Subject: bug#8808: 23.3; compiling emacs 23.3 with xft support Date: Sun, 5 Jun 2011 20:07:05 -0700 (PDT) Message-ID: <540687.79007.qm@web65807.mail.ac4.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-440927624-1307329625=:79007" X-Trace: dough.gmane.org 1307342143 10072 80.91.229.12 (6 Jun 2011 06:35:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2011 06:35:43 +0000 (UTC) To: 8808@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 06 08:35:07 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QTTOy-0003Lg-Rw for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jun 2011 08:35:05 +0200 Original-Received: from localhost ([::1]:42747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTTOx-00021E-J9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jun 2011 02:35:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTTNz-0001zA-Qy for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2011 02:34:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTTNy-00073i-LF for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2011 02:34:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTTNy-00073b-JH for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2011 02:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QTTNy-0003dl-Co; Mon, 06 Jun 2011 02:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jamie Macbeth Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jun 2011 06:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8808 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.130734199613938 (code B ref -1); Mon, 06 Jun 2011 06:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jun 2011 06:33:16 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QTTND-0003ck-TX for submit@debbugs.gnu.org; Mon, 06 Jun 2011 02:33:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QTQ9z-0007aS-D9 for submit@debbugs.gnu.org; Sun, 05 Jun 2011 23:07:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTQ9r-0006z4-VK for submit@debbugs.gnu.org; Sun, 05 Jun 2011 23:07:17 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:45241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTQ9r-0006yk-C7 for submit@debbugs.gnu.org; Sun, 05 Jun 2011 23:07:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTQ9o-0006Ce-LQ for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2011 23:07:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTQ9k-0006vj-Lc for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2011 23:07:12 -0400 Original-Received: from nm7-vm1.bullet.mail.ac4.yahoo.com ([98.139.52.229]:43199) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QTQ9j-0006tv-GP for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2011 23:07:08 -0400 Original-Received: from [98.139.52.196] by nm7.bullet.mail.ac4.yahoo.com with NNFMP; 06 Jun 2011 03:07:05 -0000 Original-Received: from [98.139.52.182] by tm9.bullet.mail.ac4.yahoo.com with NNFMP; 06 Jun 2011 03:07:05 -0000 Original-Received: from [127.0.0.1] by omp1065.mail.ac4.yahoo.com with NNFMP; 06 Jun 2011 03:07:05 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 633223.26628.bm@omp1065.mail.ac4.yahoo.com Original-Received: (qmail 93597 invoked by uid 60001); 6 Jun 2011 03:07:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1307329625; bh=KPm6RHlic3Jy+iBOG5h+Qfw8Sh7U1oFCqUCNKUphQg4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=YnO8A1DEQK/NTqq/yb7CLdeDxAdUdF28RMnTeThwwsBZwdxHKY3Vshy/D2HI+zBszHCKivOxUWtbKkRJi0b5NCZenhJXSi3GMdl0E5jIoHh7lUMk2Ju4GVMHqkdTvmkUloSFGhmrhIiOrbGdNQtHaMK3SEXeNKvWNPU0Ayk3QpY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=i6JIVFzyNKhf3HlcG2hnwi0ulAKSnvrKEctenhA/TleKPBhpC80hvyaLmts6t7RT4rEmYatbtGLR1OuTR6UJyod8WsQ0KBT/01Hv9ZGuLjcS6c4s+RVplVETinrhlAgihfBITmEd/sRTyvvPDmc+cEkksVxmrGeN33JjZ1RQv9M=; X-YMail-OSG: _Geamd0VM1llvrj1b17IZnqeHviAklZUx1EnVG6T5GMRtTH HsRwhKRimkquKMeN.CM93Ar6ZblJDPpZXTkKylwrScZieZT4piPkep4EgCjI SU_VhXKCywDagVeF0fNfcoA4gbGTgEfuv7r.E.7JzKXtxOuYqJ1AQWuDQcwX eWqIv2MClerP8y3Jz7O.0uhrtso9vtt6FY8iVwlbDEQ3dI3o.R7Tf6jTpiOH FsXXHZOeaWkJ32qF__ApdYfU38PILW1IOjKA2YXoWfsYyGM5F4jgt8DN_aQf jwanm6tta2mp7W_TGdHpWpY.1tUbIAJkHKkix_QCLgT9EhmMauvDKMacd5Xj KBPJLbsYFfU3i7eLC7.Ho.zk5YlN49Q-- Original-Received: from [66.215.8.199] by web65807.mail.ac4.yahoo.com via HTTP; Sun, 05 Jun 2011 20:07:05 PDT X-Mailer: YahooMailRC/570 YahooMailWebService/0.8.111.303096 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 06 Jun 2011 02:33:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 06 Jun 2011 02:34:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Mon, 06 Jun 2011 02:34:45 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46991 Archived-At: --0-440927624-1307329625=:79007 Content-Type: text/plain; charset=us-ascii This is a bug in compilation. After ./configure with xft libs, src/Makefile has this line in it: XFT_LIBS=-lXrender -L/usr/lib/1 -linux-gnu -lXft this causes the build to fail at link time when linking with Xft. I believe that XFT_LIBS is being set correctly by a line in the configure script. XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` But maybe somewhere in the toolchain this is getting mangled before it makes it's way into src/Makefile? Maybe some command in the chain is searching and replacing anything with -l in it? I seemed to have fixed it in my sources by replacing "-L/usr/lib/1 -linux-gnu" with "-L/usr/lib/i386-linux-gnu" In GNU Emacs 23.3.1 (i686-pc-linux-gnu) of 2011-06-05 on dv7 Windowing system distributor `The X.Org Foundation', version 11.0.11001000 configured using `configure '--with-tiff=no'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x M-x M-x r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. call-interactively: Command attempted to use minibuffer while in minibuffer Quit Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode easymenu view tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process font-render-setting x multi-tty emacs) --0-440927624-1307329625=:79007 Content-Type: text/html; charset=us-ascii
This is a bug in compilation.

After ./configure with xft libs, src/Makefile has this line in it:

XFT_LIBS=-lXrender -L/usr/lib/1 -linux-gnu -lXft

this causes the build to fail at link time when linking with Xft.  I believe
that XFT_LIBS is being set correctly by a line in the configure script.

XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'`

But maybe somewhere in the toolchain this is getting mangled before it
makes it's way into src/Makefile?  Maybe some command in the chain is
searching and replacing anything with -l in it?

I seemed to have fixed it in my sources by replacing
"-L/usr/lib/1 -linux-gnu" with "-L/usr/lib/i386-linux-gnu"


In GNU Emacs 23.3.1 (i686-pc-linux-gnu)
 of 2011-06-05 on dv7
Windowing system distributor `The X.Org Foundation', version 11.0.11001000
configured using `configure  '--with-tiff=no''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  globa l-font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x M-x M-x r e p o <tab> r t <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
call-interactively: Command attempted to use minibuffer while in minibuffer
Quit
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util
netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock
sha1 hex-util hashcash mail-utils emacsbug help-mode easymenu view
tooltip ediff-hook vc-hooks lisp-float-type mwheel x -win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process font-render-setting x multi-tty emacs)

--0-440927624-1307329625=:79007--