all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yavor Doganov <yavor@gnu.org>
To: 3652@emacsbugs.donarmstrong.com
Cc: Yavor Doganov <yavor@gnu.org>
Subject: bug#3652: Info received (bug#3652: FTBFS: nsfont.m: 'NSFontTraitsAttribute' undeclared)
Date: Fri, 26 Jun 2009 01:43:21 +0300	[thread overview]
Message-ID: <87ab3worxy.GNU's_Not_Unix!%yavor@gnu.org> (raw)
In-Reply-To: <handler.3652.B3652.124596691916601.ackinfo@emacsbugs.donarmstrong.com>

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=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libgnustep-gui 0.16.0-2       GNUstep GUI header files and static librarie

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 ‘ns_attribute_fvalue’:
nsfont.m:117: error: ‘NSFontTraitsAttribute’ undeclared (first 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 ‘ns_spec_to_descriptor’:
nsfont.m:148: error: ‘NSFontWeightTrait’ undeclared (first use in this function\
)
nsfont.m:152: error: ‘NSFontSlantTrait’ undeclared (first use in this function)
nsfont.m:156: error: ‘NSFontWidthTrait’ undeclared (first use in this function)


nsfont.m:158: error: ‘NSFontTraitsAttribute’ undeclared (first use in this func\
tion)
nsfont.m:160: warning: no ‘+fontDescriptorWithFontAttributes:’ method found
nsfont.m:160: warning: (Messages without a matching method signature
nsfont.m:160: warning: will be assumed to return ‘id’ and accept
nsfont.m:160: warning: ‘...’ as arguments.)
nsfont.m:162: warning: no ‘-fontDescriptorWithFamily:’ method found
nsfont.m: In function ‘ns_descriptor_to_entity’:
nsfont.m:173: error: ‘NSFontFamilyAttribute’ undeclared (first use in this func\
tion)
nsfont.m:175: warning: no ‘-symbolicTraits’ method found
nsfont.m:175: warning: initialization makes integer from pointer without a cast
nsfont.m:185: error: ‘NSFontBoldTrait’ undeclared (first use in this function)
nsfont.m:190: error: ‘NSFontItalicTrait’ undeclared (first use in this function\
)
nsfont.m:195: error: ‘NSFontCondensedTrait’ undeclared (first use in this funct\
ion)
nsfont.m:195: error: ‘NSFontExpandedTrait’ undeclared (first use in this functi\
on)
nsfont.m:204: warning: no ‘-symbolicTraits’ method found
nsfont.m:175: warning: initialization makes integer from pointer without a cast
nsfont.m:185: error: ‘NSFontBoldTrait’ undeclared (first use in this function)
nsfont.m:190: error: ‘NSFontItalicTrait’ undeclared (first use in this function\
)
nsfont.m:195: error: ‘NSFontCondensedTrait’ undeclared (first use in this funct\
ion)
nsfont.m:195: error: ‘NSFontExpandedTrait’ undeclared (first use in this functi\
on)
nsfont.m:204: warning: no ‘-symbolicTraits’ method found
nsfont.m:204: error: ‘NSFontMonoSpaceTrait’ undeclared (first use in this funct\
ion)
nsfont.m: In function ‘ns_findfonts’:
nsfont.m:477: warning: no ‘-fontAttributes’ method found
nsfont.m:479: error: ‘NSFontFamilyAttribute’ undeclared (first use in this func\
tion)
nsfont.m:481: warning: no ‘-matchingFontDescriptorsWithMandatoryKeys:’ method f\
ound
nsfont.m:494: error: ‘NSFontSlantTrait’ undeclared (first use in this function)
nsfont.m:503: error: ‘NSFontItalicTrait’ undeclared (first use in this function\
)
nsfont.m:503: warning: no ‘-fontDescriptorWithSymbolicTraits:’ method found
nsfont.m:504: warning: no ‘-fontDescriptorWithFamily:’ method found
nsfont.m: In function ‘nsfont_open’:
nsfont.m:670: error: ‘NSFontWeightTrait’ undeclared (first use in this function\
)
nsfont.m:672: error: ‘NSFontSlantTrait’ undeclared (first use in this function)
nsfont.m:797: warning: incompatible implicit declaration of built-in function ‘\
lrint’
nsfont.m: In function ‘ns_glyph_metrics’:
nsfont.m:1375: warning: incompatible implicit declaration of built-in function \
‘lrint’
nsfont.m:1380: warning: incompatible implicit declaration of built-in function \
‘round’
make[1]: *** [nsfont.o] Error 1





  parent reply	other threads:[~2009-06-25 22:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <EFE22F66-15B5-49AD-B1F8-F241D3ED6C8A@gmail.com>
2009-06-22 20:40 ` bug#3652: FTBFS: nsfont.m: 'NSFontTraitsAttribute' undeclared Yavor Doganov
2009-06-25 21:33   ` Stefan Monnier
2009-06-25 21:55     ` Yavor Doganov
     [not found]       ` <handler.3652.B3652.124596691916601.ackinfo@emacsbugs.donarmstrong.com>
2009-06-25 22:43         ` Yavor Doganov [this message]
2009-06-25 22:50           ` Processed: Re: bug#3652: Info received (bug#3652: FTBFS: nsfont.m: 'NSFontTraitsAttribute' undeclared) Emacs bug Tracking System
2009-06-25 22:53           ` Yavor Doganov
2009-07-23 14:50   ` bug#3652: marked as done (FTBFS: " Emacs bug Tracking System
2009-07-24 16:22 ` bug#3652: Fwd: FTBFS: nsfont.m: 'NSFontTraitsAttribute' undeclared Adrian Robert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='87ab3worxy.GNU'\''s_Not_Unix'\!'%yavor@gnu.org' \
    --to=yavor@gnu.org \
    --cc=3652@emacsbugs.donarmstrong.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.