Subject: bug#5162: 23.1.90; display-time broken in non-X build

From: Sven Joachim <[email-masked]>
Date: Wed, 09 Dec 2009 10:40:09 +0100

In non-X builds, the display-time command is broken, because the
find-image function is not defined:

,----
| Debugger entered--Lisp error: (void-function find-image)
|   (find-image (quote (... ...)))
|   (defvar display-time-mail-icon (find-image (quote ...)) ("/usr/local/src/emacs-23.1.90/lisp/time.elc" . 7689))
|   execute-extended-command(nil)
|   call-interactively(execute-extended-command nil nil)
`----

The following error messages from the build process (I used the 23.1.90
pretest tarball) might also be relevant:

,----
| EMACSLOADPATH=/usr/local/src/emacs-23.1.90/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -l /usr/local/src/emacs-23.1.90/leim/../lisp/international/titdic-cnv \
| 	  -f batch-miscdic-convert -dir quail /usr/local/src/emacs-23.1.90/leim/MISC-DIC; \
| 	  echo "changed" > changed.misc
| Converting CTLau.html to CTLau.el...
| Converting CTLau.html to CTLau.el...done
| Converting cangjie-table.b5 to tsang-b5.el...
| File mode specification error: (wrong-type-argument stringp image-type-auto-detected-p)
| Converting cangjie-table.b5 to tsang-b5.el...done
| Converting cangjie-table.b5 to quick-b5.el...
| File mode specification error: (wrong-type-argument stringp image-type-auto-detected-p)
| Converting cangjie-table.b5 to quick-b5.el...done
| Converting pinyin.map to PY.el...
| File mode specification error: (wrong-type-argument stringp image-type-auto-detected-p)
| Converting pinyin.map to PY.el...done
| Converting cangjie-table.cns to tsang-cns.el...
| File mode specification error: (wrong-type-argument stringp image-type-auto-detected-p)
| Converting cangjie-table.cns to tsang-cns.el...done
| Converting cangjie-table.cns to quick-cns.el...
| File mode specification error: (wrong-type-argument stringp image-type-auto-detected-p)
| Converting cangjie-table.cns to quick-cns.el...done
| Converting CTLau-b5.html to CTLau-b5.el...
| Converting CTLau-b5.html to CTLau-b5.el...done
| Converting ziranma.cin to ZIRANMA.el...
| File mode specification error: (wrong-type-argument stringp image-type-auto-detected-p)
| Converting ziranma.cin to ZIRANMA.el...done
| Compiling quail/tsang-b5.el
`----

In GNU Emacs 23.1.90.1 (i486-pc-linux-gnu)
 of 2009-12-09 on turtle
configured using `configure  '--without-x' '--build=i486-pc-linux-gnu' 'build_alias=i486-pc-linux-gnu''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC [ > 0 ; 2 5 1 ; 0 c ESC ] 1 1 ; r g b : f f f f 
/ f f f f / f f f f ESC \ ESC x d i s p l TAB t i m 
TAB RET ESC x r e p o r t - e m TAB RET

Recent messages:
("./emacs")
For information about GNU Emacs and the GNU system, type C-h C-a.
defvar: Symbol's function definition is void: find-image

Load-path shadows:
None found.

Features:
(shadow mail-extr message ecomplete rfc822 mml easymenu 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 warnings emacsbug sendmail regexp-opt
ediff-hook vc-hooks lisp-float-type lisp-mode register page menu-bar
rfn-eshadow timer select 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 text-properties overlay md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind multi-tty emacs)