Package: bbdb
Version: 2.35.cvs20080316-4
Severity: important

Attempt to load bbdb-gnus produces the following error:

Debugger entered--Lisp error: (file-error "Cannot open load file" "bbdb-snarf")
  require(bbdb-snarf)
  eval-buffer(#<buffer  *load*> nil 
"/usr/share/emacs-snapshot/site-lisp/bbdb/bbdb-gnus.el" nil t)  ; Reading at 
buffer position 976
  
load-with-code-conversion("/usr/share/emacs-snapshot/site-lisp/bbdb/bbdb-gnus.el"
 "/usr/share/emacs-snapshot/site-lisp/bbdb/bbdb-gnus.el" nil t)
  require(bbdb-gnus)
  eval((require (quote bbdb-gnus)))
  ad-Orig-eval-expression((require (quote bbdb-gnus)) nil)
  eval-expression((require (quote bbdb-gnus)) nil)
  call-interactively(eval-expression nil nil)

The compilation log contains the following error message (last 101 lines
of /usr/share/emacs-snapshot/site-lisp/bbdb/CompilationLog.gz):

,----
| make[1]: *** No rule to make target `-no-site-file', needed by `extras'.  
Stop.
| make[1]: Leaving directory `/usr/share/emacs-snapshot/site-lisp/bbdb/lisp'
| make: *** [rmail] Error 2
| Loading /etc/emacs/site-start.d/00debian-vars.el (source)...
| Loading /etc/emacs/site-start.d/20apel.el (source)...
| ....
| Wrote /usr/share/emacs-snapshot/site-lisp/bbdb/bbdb-213-310.elc
| Wrote /usr/share/emacs-snapshot/site-lisp/bbdb/bbdb-415-510.elc
| 
| In toplevel form:
| bbdb-pilot-jwz.el:75:1:Warning: cl package required at runtime
| 
| In bbdb-record-to-pilot-record:
| bbdb-pilot-jwz.el:334:46:Warning: `save-excursion' defeated by `set-buffer'
| bbdb-pilot-jwz.el:189:30:Warning: `save-excursion' defeated by `set-buffer'
| 
| In bbdb-to-pilot-file:
| bbdb-pilot-jwz.el:539:24:Warning: `save-excursion' defeated by `set-buffer'
| 
| In end of data:
| bbdb-pilot-jwz.el:585:1:Warning: the following functions are not known to be
|     defined: bbdb-address-street1, bbdb-address-street2, bbdb-address-street3,
|     bbdb-parse-phone-number, bbdb-parse-zip-string, bbdb-address-set-street1,
|     bbdb-address-set-street2, bbdb-address-set-street3
| Wrote /usr/share/emacs-snapshot/site-lisp/bbdb/bbdb-pilot-jwz.elc
| 
| In bbdb-to-netscape:
| bbdb-to-netscape.el:80:24:Warning: reference to free variable
|     `bbdb-define-all-aliases-field'
| 
| In end of data:
| bbdb-to-netscape.el:214:1:Warning: the following functions are not known to be
|     defined: bbdb-search, bbdb-address-street1, bbdb-address-street2,
|     bbdb-address-street3
| Wrote /usr/share/emacs-snapshot/site-lisp/bbdb/bbdb-to-netscape.elc
| *** installing not-compiled bbdb-gnus.el ***
| install -m 644 /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus.el 
/usr/share/emacs-snapshot/site-lisp/bbdb
`----

Indeed, the rule for extras in the makefile
(/usr/share/emacs/site-lisp/bbdb/lisp/Makefile) contains junk:

extras:: bbdb-print.elc bbdb-ftp.elc bbdb-whois.elc \
        -no-site-file -no-init-file -batch -q -l ./loadpath.el -eval (progn (or 
(fboundp (quote define-obsolete-variable-alias)) (if (locate-library 
"gnuserv-compat") (load "gnuserv-compat" t t))) (if (and (locate-library 
"gnuserv") (locate-library "itimer")) (message "bbdb-srv.el"))) -no-site-file 
-no-init-file -batch -q -l ./loadpath.el -eval (if (locate-library 
"reportmail") (message "bbdb-reportmail.elc")) bbdb-snarf.elc bbdb-w3.elc \
        -no-site-file -no-init-file -batch -q -l ./loadpath.el -eval (if 
(locate-library "supercite") (message "bbdb-sc.elc")) bbdb-merge.elc 
bbdb-migrate.elc bbdb-gui.elc

I think this happens because the build variable EMACS_PROG somehow gets
initialized to /bin/echo, and EMACS_PROG is used to initialize variables
BBDB_REPORTMAIL and BBDB_SRV in configure.ac. Indeed, the line

EMACS_PROG = @EMACS_PROG@ -no-site-file -no-init-file

in the original lisp/Makefile.in gets replaced by

EMACS_PROG = /bin/echo -no-site-file -no-init-file

in the generated Makefile.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bbdb depends on:
ii  dpkg                      1.15.5.6       Debian package management system
ii  emacs-snapshot [emacsen]  1:20100303-1   The GNU Emacs editor (development 
ii  emacs22 [emacsen]         22.3+1-1.2     The GNU Emacs editor
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  make                      3.81-7         An utility for Directing compilati
ii  perl                      5.10.1-11      Larry Wall's Practical Extraction 

bbdb recommends no packages.

Versions of packages bbdb suggests:
pn  gnus | t-gnus                 <none>     (no description available)
pn  gnuserv                       <none>     (no description available)
pn  vm                            <none>     (no description available)
pn  w3-el-e21                     <none>     (no description available)

-- no debconf information

-- 
Dmitri Paduchikh



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to