From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yavor Doganov Newsgroups: gmane.emacs.bugs Subject: bug#3652: Info received (bug#3652: FTBFS: nsfont.m: 'NSFontTraitsAttribute' undeclared) Date: Fri, 26 Jun 2009 01:43:21 +0300 Organization: The GNU Emacs Church (Bulgarian eparchy) Message-ID: <87ab3worxy.GNU's_Not_Unix!%yavor@gnu.org> References: <87bpocou6c.GNU's_Not_Unix!%yavor@gnu.org> Reply-To: Yavor Doganov , 3652@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1245970666 30623 80.91.229.12 (25 Jun 2009 22:57:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jun 2009 22:57:46 +0000 (UTC) Cc: Yavor Doganov To: 3652@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 26 00:57:38 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MJxsv-0006nr-I5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jun 2009 00:57:38 +0200 Original-Received: from localhost ([127.0.0.1]:40909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJxsu-0008V9-SM for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jun 2009 18:57:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJxsp-0008Ua-MW for bug-gnu-emacs@gnu.org; Thu, 25 Jun 2009 18:57:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJxsk-0008Qj-Jx for bug-gnu-emacs@gnu.org; Thu, 25 Jun 2009 18:57:31 -0400 Original-Received: from [199.232.76.173] (port=42386 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJxsk-0008Qg-ER for bug-gnu-emacs@gnu.org; Thu, 25 Jun 2009 18:57:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49408) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MJxsj-0000cN-Lh for bug-gnu-emacs@gnu.org; Thu, 25 Jun 2009 18:57:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5PMvMeO027983; Thu, 25 Jun 2009 15:57:24 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5PMo5Kj026576; Thu, 25 Jun 2009 15:50:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Yavor Doganov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Thu, 25 Jun 2009 22:50:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3652 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: patch Original-Received: via spool by 3652-submit@emacsbugs.donarmstrong.com id=B3652.124596981725578 (code B ref 3652); Thu, 25 Jun 2009 22:50:04 +0000 Original-Received: (at 3652) by emacsbugs.donarmstrong.com; 25 Jun 2009 22:43:37 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from f7.net (server1.f7.net [64.34.169.74]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5PMhQbo025569; Thu, 25 Jun 2009 15:43:27 -0700 X-Envelope-From: yavor@gnu.org X-Envelope-To: control@emacsbugs.donarmstrong.com Original-Received: from yavor.doganov.org (92_245.btc-net.bg [213.91.245.92] (may be forged)) by f7.net (8.11.7-20030920/8.11.7) with ESMTP id n5PMhOr17028; Thu, 25 Jun 2009 17:43:24 -0500 Original-Received: from gana.yavor.doganov.org ([192.168.0.5]) by yavor.doganov.org with esmtp (Exim 4.69) (envelope-from ) id 1MJxf7-0003Pb-TI; Fri, 26 Jun 2009 01:43:23 +0300 Original-Received: from localhost ([127.0.0.1] helo=gana.yavor.doganov.org) by gana.yavor.doganov.org with esmtp (Exim 4.69) (envelope-from ) id 1MJxf7-0006cN-Op; Fri, 26 Jun 2009 01:43:21 +0300 In-Reply-To: Mail-Followup-To: 3652@emacsbugs.donarmstrong.com, Yavor Doganov User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 =?UTF-8?Q?(Goj=C5=8D)?= APEL/10.7 Emacs/22.3 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) X-Jabber-ID: doganov@jabber.minus273.org X-SA-Exim-Connect-IP: 192.168.0.5 X-SA-Exim-Mail-From: yavor@gnu.org X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000) X-SA-Exim-Scanned: Yes (on yavor.doganov.org) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 25 Jun 2009 18:57:31 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28977 Archived-At: reopen 3652 found 3652 23.0.95 thanks I'm not sure why this bug got closed. Regardless of what I said about gNewSense and its lack of NSFontDescriptor implementation, the GNUstep port of Emacs still fails to build on a fairly modern Debian system with the latest GNUstep stable release installed: $ dpkg -l libgnustep-gui-dev Desired=3DUnknown/Install/Remove/Purge/Hold | Status=3DNot/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig= -pend |/ Err?=3D(none)/Hold/Reinst-required/X=3Dboth-problems (Status,Err: upperc= ase=3Dbad) ||/ Name Version Description +++-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ii libgnustep-gui 0.16.0-2 GNUstep GUI header files and static libra= rie This is only because the type definitions and method declarations are in NSFontDescriptor.h, which is not included neither from AppKit.h nor from the related NSFont headers. A simple #import of this header in nsfont.m fixes this. Not an Emacs bug, I believe, but easy to workaround, at least temporarily. The specific error message follows. nsfont.m: In function =E2=80=98ns_attribute_fvalue=E2=80=99: nsfont.m:117: error: =E2=80=98NSFontTraitsAttribute=E2=80=99 undeclared (fi= rst use in this func\ tion) nsfont.m:117: error: (Each undeclared identifier is reported only once nsfont.m:117: error: for each function it appears in.) nsfont.m: In function =E2=80=98ns_spec_to_descriptor=E2=80=99: nsfont.m:148: error: =E2=80=98NSFontWeightTrait=E2=80=99 undeclared (first = use in this function\ ) nsfont.m:152: error: =E2=80=98NSFontSlantTrait=E2=80=99 undeclared (first u= se in this function) nsfont.m:156: error: =E2=80=98NSFontWidthTrait=E2=80=99 undeclared (first u= se in this function) nsfont.m:158: error: =E2=80=98NSFontTraitsAttribute=E2=80=99 undeclared (fi= rst use in this func\ tion) nsfont.m:160: warning: no =E2=80=98+fontDescriptorWithFontAttributes:=E2=80= =99 method found nsfont.m:160: warning: (Messages without a matching method signature nsfont.m:160: warning: will be assumed to return =E2=80=98id=E2=80=99 and a= ccept nsfont.m:160: warning: =E2=80=98...=E2=80=99 as arguments.) nsfont.m:162: warning: no =E2=80=98-fontDescriptorWithFamily:=E2=80=99 meth= od found nsfont.m: In function =E2=80=98ns_descriptor_to_entity=E2=80=99: nsfont.m:173: error: =E2=80=98NSFontFamilyAttribute=E2=80=99 undeclared (fi= rst use in this func\ tion) nsfont.m:175: warning: no =E2=80=98-symbolicTraits=E2=80=99 method found nsfont.m:175: warning: initialization makes integer from pointer without a = cast nsfont.m:185: error: =E2=80=98NSFontBoldTrait=E2=80=99 undeclared (first us= e in this function) nsfont.m:190: error: =E2=80=98NSFontItalicTrait=E2=80=99 undeclared (first = use in this function\ ) nsfont.m:195: error: =E2=80=98NSFontCondensedTrait=E2=80=99 undeclared (fir= st use in this funct\ ion) nsfont.m:195: error: =E2=80=98NSFontExpandedTrait=E2=80=99 undeclared (firs= t use in this functi\ on) nsfont.m:204: warning: no =E2=80=98-symbolicTraits=E2=80=99 method found nsfont.m:175: warning: initialization makes integer from pointer without a = cast nsfont.m:185: error: =E2=80=98NSFontBoldTrait=E2=80=99 undeclared (first us= e in this function) nsfont.m:190: error: =E2=80=98NSFontItalicTrait=E2=80=99 undeclared (first = use in this function\ ) nsfont.m:195: error: =E2=80=98NSFontCondensedTrait=E2=80=99 undeclared (fir= st use in this funct\ ion) nsfont.m:195: error: =E2=80=98NSFontExpandedTrait=E2=80=99 undeclared (firs= t use in this functi\ on) nsfont.m:204: warning: no =E2=80=98-symbolicTraits=E2=80=99 method found nsfont.m:204: error: =E2=80=98NSFontMonoSpaceTrait=E2=80=99 undeclared (fir= st use in this funct\ ion) nsfont.m: In function =E2=80=98ns_findfonts=E2=80=99: nsfont.m:477: warning: no =E2=80=98-fontAttributes=E2=80=99 method found nsfont.m:479: error: =E2=80=98NSFontFamilyAttribute=E2=80=99 undeclared (fi= rst use in this func\ tion) nsfont.m:481: warning: no =E2=80=98-matchingFontDescriptorsWithMandatoryKey= s:=E2=80=99 method f\ ound nsfont.m:494: error: =E2=80=98NSFontSlantTrait=E2=80=99 undeclared (first u= se in this function) nsfont.m:503: error: =E2=80=98NSFontItalicTrait=E2=80=99 undeclared (first = use in this function\ ) nsfont.m:503: warning: no =E2=80=98-fontDescriptorWithSymbolicTraits:=E2=80= =99 method found nsfont.m:504: warning: no =E2=80=98-fontDescriptorWithFamily:=E2=80=99 meth= od found nsfont.m: In function =E2=80=98nsfont_open=E2=80=99: nsfont.m:670: error: =E2=80=98NSFontWeightTrait=E2=80=99 undeclared (first = use in this function\ ) nsfont.m:672: error: =E2=80=98NSFontSlantTrait=E2=80=99 undeclared (first u= se in this function) nsfont.m:797: warning: incompatible implicit declaration of built-in functi= on =E2=80=98\ lrint=E2=80=99 nsfont.m: In function =E2=80=98ns_glyph_metrics=E2=80=99: nsfont.m:1375: warning: incompatible implicit declaration of built-in funct= ion \ =E2=80=98lrint=E2=80=99 nsfont.m:1380: warning: incompatible implicit declaration of built-in funct= ion \ =E2=80=98round=E2=80=99 make[1]: *** [nsfont.o] Error 1