[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1061650: elpa-dpkg-dev-el: fails to install: debian-bts-control.el:85:2: Error: Cannot open load file: No such file or directory, debian-bug



Control: tags -1 pending

Hi Andreas,

Andreas Beckmann <anbe@debian.org> writes:

> Package: elpa-dpkg-dev-el
> Version: 37.10
> Severity: serious
> User: debian-qa@lists.debian.org
> Usertags: piuparts
>
> Hi,
>
> during a test with piuparts I noticed your package failed to install.
>
>>From the attached log (scroll to the bottom...):
>
>   Setting up elpa-dpkg-dev-el (37.10) ...
>   Install emacsen-common for emacs
>   emacsen-common: Handling install of emacsen flavor emacs
>   Install elpa-dpkg-dev-el for emacs
>   install/dpkg-dev-el-37.10: Handling install of emacsen flavor emacs
>   install/dpkg-dev-el-37.10: byte-compiling for emacs
>
>   In toplevel form:
>   debian-bts-control.el:85:2: Error: Cannot open load file: No such file or directory, debian-bug
>
>   In debian-changelog-mode:
>   debian-changelog-mode.el:1382:4: Warning: `easy-menu-add' is an obsolete function (as of 28.1); this was always a no-op in Emacs and can be safely removed.
>   debian-changelog-mode.el:1382:18: Warning: reference to free variable `debian-changelog-menu'
>   debian-changelog-mode.el:1423:4: Warning: `make-face' called with 2 arguments, but accepts only 1
>   debian-changelog-mode.el:1428:4: Warning: `set-face-foreground' called with 5 arguments, but accepts only 2 or 3
>
>   In end of data:
>   debian-changelog-mode.el:1679:12: Warning: the function `set-extent-property' is not known to be defined.
>   debian-changelog-mode.el:1676:25: Warning: the function `make-extent' is not known to be defined.
>   debian-changelog-mode.el:1654:18: Warning: the function `delete-extent' is not known to be defined.
>   debian-changelog-mode.el:1653:42: Warning: the function `extent-end-position' is not known to be defined.
>   debian-changelog-mode.el:1652:42: Warning: the function `extent-start-position' is not known to be defined.
>   debian-changelog-mode.el:1651:22: Warning: the function `extent-detached-p' is not known to be defined.
>   debian-changelog-mode.el:1625:14: Warning: the function `set-keymap-name' is not known to be defined.
>   debian-changelog-mode.el:880:4: Warning: the function `debian-bug-build-bug-menu' is not known to be defined.
>
>   In toplevel form:
>   debian-control-mode.el:198:11: Warning: `max-specpdl-size' is an obsolete variable (as of 29.1).
>   debian-control-mode.el:206:11: Warning: `max-specpdl-size' is an obsolete variable (as of 29.1).
>
>   In debian-control-mode:
>   debian-control-mode.el:269:4: Warning: `easy-menu-add' is an obsolete function (as of 28.1); this was always a no-op in Emacs and can be safely removed.
>   debian-control-mode.el:270:34: Warning: reference to free variable `goto-address-highlight-p'
>
>   In end of data:
>   debian-control-mode.el:424:28: Warning: the function `position' is not known to be defined.
>   debian-control-mode.el:408:43: Warning: the function `subseq' is not known to be defined.
>
>   In debian-copyright-mode:
>   debian-copyright.el:76:16: Warning: reference to free variable `goto-address-highlight-p'
>
>   In toplevel form:
>   dpkg-dev-el.el:118:44: Warning: reference to free variable `filename'
>
>   In readme-debian-update-timestamp:
>   readme-debian.el:64:2: Warning: docstring wider than 80 characters
>   readme-debian.el:67:6: Warning: `goto-line' is for interactive use only; use `forward-line' instead.
>
>   In readme-debian-mode:
>   readme-debian.el:119:14: Warning: `write-contents-hooks' is an obsolete variable (as of 22.1); use `write-contents-functions' instead.
>
>   In end of data:
>   readme-debian.el:118:8: Warning: the function `make-local-hook' is not known to be defined.
>   ERROR: install script from elpa-dpkg-dev-el package failed
>   dpkg: error processing package elpa-dpkg-dev-el (--configure):
>    installed elpa-dpkg-dev-el package post-installation script subprocess returned error exit status 1
>   Errors were encountered while processing:
>    elpa-dpkg-dev-el
>
>
> Cheers,
>
> Andreas
>
>

Thanks for detecting the bug!  It looks like without byte-compiling we
weren't able to detect such issue when building.  I have added the
missing dependency of elpa-debian-el[1] and prepared another version on
mentors[2] for which I would need a sponsor.  TIA!

[1] https://salsa.debian.org/emacsen-team/dpkg-dev-el/-/commit/5d6a77b97440ee9da7d0209bf7e7579506c8b8b2
[2] https://mentors.debian.net/package/dpkg-dev-el/

-- 
Xiyue Deng


Reply to: