Hello,

I made some work on the installation process, thanks to gnus for the
code and the ideas.

I tell you that I'm not an expert of Makefiles and debian
packaging. and I hope I'll not say to much stupidities.

The generation of autoloads are done at installation time, the builing
of the .el files are done by a little library (an adaptation of
dgnushack.el), I thought that using lisp code to build dvc should avoid
the build dependencies in the Makefile but I'm not sure, during
compilation I have many "reference to free variable 'foo'", see the
attached logfile.

Does someone have an idea ?

Regards.
-- 
Daniel 'NebuchadnezzaR' Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69
/bin/rm -f *.elc ./contrib/*.elc \
                dvc-load.el dvc-autoloads.el auto-autoloads.el custom-load.el
lispdir=/usr/share/emacs/site-lisp/dvc srcdir=. /usr/bin/emacs-multi-tty -batch 
-q -no-site-file -no-init-file -l ./package-maint.el -f 
package-maint-make-cus-load .
Loading cus-dep...
Directory .
Generating cus-load.el...
Wrote /usr/share/emacs/site-lisp/dvc/lisp/cus-load.el
Generating cus-load.el...done
lispdir=/usr/share/emacs/site-lisp/dvc srcdir=. /usr/bin/emacs-multi-tty -batch 
-q -no-site-file -no-init-file -l ./package-maint.el -f 
package-maint-make-auto-load .
Generating autoloads for baz-dvc.el...
Generating autoloads for baz-dvc.el...done
Generating autoloads for baz.el...
Generating autoloads for baz.el...done
Generating autoloads for bzr-core.el...
Generating autoloads for bzr-core.el...done
Generating autoloads for bzr-dvc.el...
Generating autoloads for bzr-dvc.el...done
Generating autoloads for bzr-revision.el...
Generating autoloads for bzr-revision.el...done
Generating autoloads for bzr.el...
Generating autoloads for bzr.el...done
Generating autoloads for cg-core.el...
Generating autoloads for cg-core.el...done
Generating autoloads for cg-dvc.el...
Generating autoloads for cg-dvc.el...done
Generating autoloads for dvc-about.el...
Generating autoloads for dvc-about.el...done
Generating autoloads for dvc-bug.el...
Generating autoloads for dvc-bug.el...done
Generating autoloads for dvc-core.el...
Generating autoloads for dvc-core.el...done
Generating autoloads for dvc-diff.el...
Generating autoloads for dvc-diff.el...done
Generating autoloads for dvc-gnus.el...
Generating autoloads for dvc-gnus.el...done
Generating autoloads for dvc-log.el...
Generating autoloads for dvc-log.el...done
Generating autoloads for dvc-register.el...
Generating autoloads for dvc-register.el...done
Generating autoloads for dvc-tips.el...
Generating autoloads for dvc-tips.el...done
Generating autoloads for dvc-ui.el...
Generating autoloads for dvc-ui.el...done
Generating autoloads for dvc-unified.el...
Generating autoloads for dvc-unified.el...done
Generating autoloads for dvc-utils.el...
Generating autoloads for dvc-utils.el...done
Generating autoloads for tla-bconfig.el...
Generating autoloads for tla-bconfig.el...done
Generating autoloads for tla-browse.el...
Generating autoloads for tla-browse.el...done
Generating autoloads for tla-core.el...
Generating autoloads for tla-core.el...done
Generating autoloads for tla-defs.el...
Generating autoloads for tla-defs.el...done
Generating autoloads for tla-dvc.el...
Generating autoloads for tla-dvc.el...done
Generating autoloads for tla-gnus.el...
Generating autoloads for tla-gnus.el...done
Generating autoloads for tla-tests.el...
Generating autoloads for tla-tests.el...done
Generating autoloads for tla.el...
Generating autoloads for tla.el...done
Generating autoloads for xhg-core.el...
Generating autoloads for xhg-core.el...done
Generating autoloads for xhg-dvc.el...
Generating autoloads for xhg-dvc.el...done
Generating autoloads for xhg-gnus.el...
Generating autoloads for xhg-gnus.el...done
Generating autoloads for xhg.el...
Generating autoloads for xhg.el...done
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-load.el
lispdir=/usr/share/emacs/site-lisp/dvc srcdir=. /usr/bin/emacs-multi-tty -batch 
-q -no-site-file -no-init-file -l ./package-maint.el -f package-maint-make-load
Generating /usr/share/emacs/site-lisp/dvc/lisp/dvc-load.el...
Compiling /usr/share/emacs/site-lisp/dvc/lisp/dvc-load.el...
lispdir=/usr/share/emacs/site-lisp/dvc srcdir=. /usr/bin/emacs-multi-tty -batch 
-q -no-site-file -no-init-file -l ./package-maint.el -f package-maint-compile
Wrote /usr/share/emacs/site-lisp/dvc/lisp/baz-dvc.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/baz.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/bzr-core.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/bzr-dvc.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/bzr-revision.elc

In bzr-diff:
bzr.el:95:42:Warning: reference to free variable `status'
bzr.el:95:29:Warning: reference to free variable `output'
bzr.el:95:36:Warning: reference to free variable `error'

In bzr-unknowns:
bzr.el:115:41:Warning: reference to free variable `output'

In bzr-status:
bzr.el:167:39:Warning: reference to free variable `output'
bzr.el:173:38:Warning: reference to free variable `error'

In bzr-log-edit-done:
bzr.el:203:41:Warning: reference to free variable `output'
bzr.el:206:49:Warning: reference to free variable `error'

In end of data:
bzr.el:263:1:Warning: the function `dvc-log-close' is not known to be defined.
Wrote /usr/share/emacs/site-lisp/dvc/lisp/bzr.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/cg-core.elc

In cg-dvc-log-edit-done:
cg-dvc.el:71:41:Warning: reference to free variable `output'
cg-dvc.el:74:49:Warning: reference to free variable `error'

In end of data:
cg-dvc.el:86:1:Warning: the following functions are not known to be defined:
    dvc-dvc-log-edit, dvc-log-flush-commit-file-list, dvc-log-close
Wrote /usr/share/emacs/site-lisp/dvc/lisp/cg-dvc.elc

In cg-status:
cg.el:70:63:Warning: reference to free variable `output'
cg.el:97:37:Warning: assignment to free variable `dvc-status-cookie'
cg.el:97:21:Warning: reference to free variable `dvc-status-cookie'

In end of data:
cg.el:106:1:Warning: the function `dvc-status-mode' is not known to be
    defined.
Wrote /usr/share/emacs/site-lisp/dvc/lisp/cg.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-about.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-buffers.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-bug.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-cmenu.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-config.elc

In dvc-run-dvc-async:
dvc-core.el:511:56:Warning: reference to free variable `event'

In dvc-run-dvc-display-as-info:
dvc-core.el:618:41:Warning: reference to free variable `output'

In end of data:
dvc-core.el:950:1:Warning: the following functions are not known to be
    defined: dired-map-over-marks, dired-goto-file
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-core.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-defs.elc

In dvc-diff-no-changes:
dvc-diff.el:624:56:Warning: reference to free variable `buffer'

In dvc-diff-error-in-process:
dvc-diff.el:646:40:Warning: reference to free variable `output'
dvc-diff.el:647:40:Warning: reference to free variable `error'

In end of data:
dvc-diff.el:763:1:Warning: the function `capture' is not known to be defined.
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-diff.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-emacs.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-gnus.elc

In dvc-capturing-lambda-helper:
dvc-lisp.el:60:38:Warning: reference to free variable `captured-values'
dvc-lisp.el:80:12:Warning: assignment to free variable `captured-values'
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-lisp.elc

In dvc-log-edit-mode:
dvc-log.el:62:18:Warning: reference to free variable `dvc-log-edit-mode-menu'
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-log.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-register.elc

In dvc-revlist-mode:
dvc-revlist.el:242:4:Warning: misplaced interactive spec: `(interactive)'

In dvc-build-revision-list:
dvc-revlist.el:271:29:Warning: reference to free variable `output'
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-revlist.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-site.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-state.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-status.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-tips.elc

In dvc-actualize-modeline:
dvc-ui.el:454:42:Warning: `make-variable-buffer-local' should be called at
    toplevel
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-ui.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-unified.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-utils.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/dvc-version.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/tla-autoconf.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/tla-bconfig.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/tla-browse.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/tla-build.elc

In tla--archive-tree-build-revisions:
tla-core.el:978:31:Warning: reference to free variable `output'
Wrote /usr/share/emacs/site-lisp/dvc/lisp/tla-core.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/tla-defs.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/tla-dvc.elc

In end of data:
tla-gnus.el:281:1:Warning: the following functions are not known to be
    defined: xhg-import, xhg-log, xhg-status
Wrote /usr/share/emacs/site-lisp/dvc/lisp/tla-gnus.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/tla-tests.elc

In tla-changes-rec:
tla.el:1391:41:Warning: reference to free variable `output'

In tla--update-internal:
tla.el:1444:53:Warning: reference to free variable `output'

In tla-update-rec:
tla.el:1482:55:Warning: reference to free variable `output'

In tla--changes-internal:
tla.el:1578:42:Warning: reference to free variable `status'
tla.el:1578:36:Warning: reference to free variable `error'
tla.el:1578:29:Warning: reference to free variable `output'

In tla-changes-save:
tla.el:1845:38:Warning: reference to free variable `status'
tla.el:1848:46:Warning: reference to free variable `output'
tla.el:1848:53:Warning: reference to free variable `error'
tla.el:1848:66:Warning: reference to free variable `arguments'

In tla-delta:
tla.el:1928:31:Warning: reference to free variable `output'

In tla-show-changeset:
tla.el:2063:50:Warning: reference to free variable `output'

In tla--apply-changeset-internal:
tla.el:2124:60:Warning: reference to free variable `output'

In tla-file-diff:
tla.el:2193:20:Warning: reference to free variable `status'
tla.el:2198:46:Warning: reference to free variable `output'
tla.el:2203:21:Warning: reference to free variable `error'
tla.el:2203:34:Warning: reference to free variable `arguments'

In tla-revision-get-last-or-file-revision:
tla.el:2583:46:Warning: reference to free variable `output'

In tla-commit:
tla.el:2761:35:Warning: reference to free variable `output'
tla.el:2768:70:Warning: reference to free variable `error'
tla.el:2768:76:Warning: reference to free variable `status'
tla.el:2769:45:Warning: reference to free variable `arguments'

In tla-import:
tla.el:2788:36:Warning: reference to free variable `error'
tla.el:2788:29:Warning: reference to free variable `output'
tla.el:2788:42:Warning: reference to free variable `status'
tla.el:2788:49:Warning: reference to free variable `arguments'

In tla-logs:
tla.el:2937:38:Warning: reference to free variable `output'

In tla-help:
tla.el:2955:36:Warning: reference to free variable `output'

In tla-tree-root-tla:
tla.el:3000:59:Warning: reference to free variable `output'

In tla-star-merge:
tla.el:3359:41:Warning: reference to free variable `output'
tla.el:3362:70:Warning: reference to free variable `status'
tla.el:3362:64:Warning: reference to free variable `error'
tla.el:3362:77:Warning: reference to free variable `arguments'

In tla-replay:
tla.el:3422:65:Warning: reference to free variable `output'

In tla-missing-refresh:
tla.el:3768:27:Warning: reference to free variable `output'
tla.el:3781:45:Warning: reference to free variable `error'
tla.el:3781:51:Warning: reference to free variable `status'

In tla--revisions-parse-list:
tla.el:4070:42:Warning: reference to free variable `output'

In tla-my-default-archive:
tla.el:4988:66:Warning: reference to free variable `output'
tla.el:4994:65:Warning: reference to free variable `status'
tla.el:4994:59:Warning: reference to free variable `error'
tla.el:4994:72:Warning: reference to free variable `arguments'

In tla-get:
tla.el:5782:56:Warning: reference to free variable `output'
tla.el:5782:63:Warning: reference to free variable `error'
tla.el:5782:69:Warning: reference to free variable `status'
tla.el:5782:76:Warning: reference to free variable `arguments'

In tla-move:
tla.el:5904:27:Warning: reference to free variable `status'

In tla--cat-log-any:
tla.el:6910:49:Warning: reference to free variable `output'
tla.el:6912:68:Warning: reference to free variable `error'
tla.el:6912:74:Warning: reference to free variable `status'
tla.el:6913:37:Warning: reference to free variable `arguments'

In tla-log-edit-insert-log-for-merge:
tla.el:7238:41:Warning: reference to free variable `output'

In tla-tree-lint:
tla.el:9104:29:Warning: reference to free variable `output'
tla.el:9125:42:Warning: reference to free variable `status'
tla.el:9125:36:Warning: reference to free variable `error'

In end of data:
tla.el:9689:1:Warning: the following functions are not known to be defined:
    tla--message-with-rolling, dvc-log-edit-mode, dvc-add-log-entry
Wrote /usr/share/emacs/site-lisp/dvc/lisp/tla.elc

In end of data:
xhg-core.el:66:1:Warning: the function `xhg-log-revision-at-point' is not
    known to be defined.
Wrote /usr/share/emacs/site-lisp/dvc/lisp/xhg-core.elc

In xhg-dvc-log-edit-done:
xhg-dvc.el:60:41:Warning: reference to free variable `output'
xhg-dvc.el:63:49:Warning: reference to free variable `error'

In end of data:
xhg-dvc.el:163:1:Warning: the following functions are not known to be defined:
    dvc-dvc-log-edit, dvc-log-flush-commit-file-list, dvc-log-close
Wrote /usr/share/emacs/site-lisp/dvc/lisp/xhg-dvc.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/xhg-gnus.elc
Wrote /usr/share/emacs/site-lisp/dvc/lisp/xhg-log.elc

In xhg-log:
xhg.el:119:59:Warning: reference to free variable `output'

In xhg-parse-status:
xhg.el:146:56:Warning: reference to free variable `output'

In xhg-diff:
xhg.el:183:51:Warning: reference to free variable `output'

In xhg-status:
xhg.el:203:41:Warning: reference to free variable `output'

In xhg-manifest:
xhg.el:249:41:Warning: reference to free variable `output'
Wrote /usr/share/emacs/site-lisp/dvc/lisp/xhg.elc

Attachment: pgpscFNjc2Jow.pgp
Description: PGP signature

Reply via email to