Bug#952126: emacs-bind-map: FTBFS: Errors while processing: elpa-evil sbuild-build-depends-main-dummy

2020-02-23 Thread Lev Lamberov
Tags: help

Hi,

Вс 23 фев 2020 @ 13:56 Lucas Nussbaum :

> Source: emacs-bind-map
> Version: 1.1.1-4
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20200222 ftbfs-bullseye

> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
> Relevant part (hopefully):
>> +--+
>> | Install package build dependencies 
>>   |
>> +--+

>> Install elpa-evil for emacs
>> install/evil-1.2.12: Handling install of emacsen flavor emacs
>> install/evil-1.2.12: byte-compiling for emacs
>> Loading ‘evil-common’: unescaped character literals `?(', `?)', `?[', `?]' 
>> detected!
>> 
>> In toplevel form:
>> evil-commands.el:557:1:Warning: unescaped character literals `?(', `?)'
>> detected!
>> evil-commands.el:562:1:Warning: unescaped character literals `?(', `?)'
>> detected!
>> 
>> In evil-jump-to-tag:
>> evil-commands.el:719:33:Warning: ‘find-tag’ is an obsolete function (as of
>> 25.1); use ‘xref-find-definitions’ instead.
>> evil-commands.el:723:20:Warning: ‘find-tag’ is an obsolete function (as of
>> 25.1); use ‘xref-find-definitions’ instead.
>> evil-commands.el:1131:1:Warning: unescaped character literals `?(', `?)'
>> detected!
>> evil-commands.el:1136:1:Warning: unescaped character literals `?(', `?)'
>> detected!
>> 
>> In evil-get-register:
>> evil-common.el:2027:35:Warning: ‘x-get-selection’ is an obsolete function (as
>> of 25.1); use ‘gui-get-selection’ instead.
>> 
>> In evil-set-register:
>> evil-common.el:2112:6:Warning: ‘x-set-selection’ is an obsolete function (as
>> of 25.1); use ‘gui-set-selection’ instead.
>> evil-common.el:2112:33:Warning: ‘x-set-selection’ is an obsolete function (as
>> of 25.1); use ‘gui-set-selection’ instead.
>> evil-common.el:3626:1:Warning: unescaped character literals `?(', `?)', `?[',
>> `?]' detected!
>> Loading ‘evil-commands’: unescaped character literals `?(', `?)' detected!
>> 
>> In toplevel form:
>> evil.el:137:1:Error: Wrong type argument: number-or-marker-p, nil
>> ERROR: install script from elpa-evil package failed
>> dpkg: error processing package elpa-evil (--configure):
>>  installed elpa-evil package post-installation script subprocess returned 
>> error exit status 1
>> dpkg: dependency problems prevent configuration of 
>> sbuild-build-depends-main-dummy:
>>  sbuild-build-depends-main-dummy depends on elpa-evil; however:
>>   Package elpa-evil is not configured yet.
>> 
>> dpkg: error processing package sbuild-build-depends-main-dummy (--configure):
>>  dependency problems - leaving unconfigured

>> Errors were encountered while processing:
>>  elpa-evil
>>  sbuild-build-depends-main-dummy
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>> apt-get failed.

> The full build log is available from:
>http://qa-logs.debian.net/2020/02/22/emacs-bind-map_1.1.1-4_unstable.log

evil-el was updated since then, but I'm experiencing strange problem
here: rebuilding against evil-el 1.12.17-1 fails both in sbuild and
pbuilder environments. The relevant part of build log is as follows:

make[1]: Leaving directory '/build/emacs-bind-map-1.1.1'
   dh_elpa_test
emacs -batch -Q -l package --eval "(add-to-list 'package-directory-list 
\"/usr/share/emacs/site-lisp/elpa\")" --eval "(add-to-list 
'package-directory-list \"/usr/share/emacs/site-lisp/elpa-src\")" -f 
package-initialize -L . -l bind-map-tests.el --eval 
\(ert-run-tests-batch-and-exit\)
Wrong type argument: number-or-marker-p, nil
dh_elpa_test: error: emacs -batch -Q -l package --eval "(add-to-list 
'package-directory-list \"/usr/share/emacs/site-lisp/elpa\")" --eval 
"(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa-src\")" 
-f package-initialize -L . -l bind-map-tests.el --eval 
\(ert-run-tests-batch-and-exit\) returned exit code 255
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
   status 2

But running tests on real hardware with the same versions of packages is
successful, see:

$ dh_elpa_test 
emacs -batch -Q -l package --eval "(add-to-list 'package-directory-list 
\"/usr/share/emacs/site-lisp/elpa\")" --eval "(add-to-list 
'package-directory-list \"/usr/share/emacs/site-lisp/elpa-src\")" -f 
package-initialize -L . -l bind-map-tests.el --eval 
\(ert-run-tests-batch-and-exit\)
Running 6 tests (2020-02-24 11:35:36+0500)
   passed  1/6  bind-map-test-global-keys
   passed  2/6  bind-map-test-major-inheritance
   passed  3/6  bind-map-test-major-mode-keys
   passed  4/6  bind-map-test-minor-inheritance
   passed  5/6  bind-map-test-minor-mode-keys
   passed  6/6  bind-map-test-multiple-declarations

Ran 6 tests, 6 results as expected (2020-02-24 11:35:36+0500)

So, I'm a bit lost and appreciate any 

Bug#952126: emacs-bind-map: FTBFS: Errors while processing: elpa-evil sbuild-build-depends-main-dummy

2020-02-23 Thread Lucas Nussbaum
Source: emacs-bind-map
Version: 1.1.1-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> +--+
> | Install package build dependencies  
>  |
> +--+
> 
> 
> Setup apt archive
> -
> 
> Merged Build-Depends: debhelper (>= 11), dh-elpa, elpa-evil, build-essential, 
> fakeroot
> Filtered Build-Depends: debhelper (>= 11), dh-elpa, elpa-evil, 
> build-essential, fakeroot
> dpkg-deb: building package 'sbuild-build-depends-main-dummy' in 
> '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'.
> Ign:1 copy:/<>/apt_archive ./ InRelease
> Get:2 copy:/<>/apt_archive ./ Release [957 B]
> Ign:3 copy:/<>/apt_archive ./ Release.gpg
> Get:4 copy:/<>/apt_archive ./ Sources [379 B]
> Get:5 copy:/<>/apt_archive ./ Packages [460 B]
> Fetched 1796 B in 0s (0 B/s)
> Reading package lists...
> Reading package lists...
> 
> Install main build dependencies (apt-based resolver)
> 
> 
> Installing build dependencies
> Reading package lists...
> Building dependency tree...
> Reading state information...
> The following additional packages will be installed:
>   autoconf automake autopoint autotools-dev bsdmainutils ca-certificates
>   debhelper dh-autoreconf dh-elpa dh-elpa-helper dh-strip-nondeterminism dwz
>   elpa-evil elpa-goto-chg elpa-undo-tree emacs-bin-common emacs-common
>   emacs-nox emacsen-common file gettext gettext-base groff-base install-info
>   intltool-debian libapt-pkg-perl libarchive-zip-perl libarray-unique-perl
>   libarray-utils-perl libasound2 libasound2-data libbsd0 libcgi-pm-perl
>   libclass-accessor-perl libconfig-tiny-perl libcroco3 libdbus-1-3
>   libdebhelper-perl libdebian-source-perl libelf1 libencode-locale-perl
>   liberror-perl libexporter-lite-perl libexporter-tiny-perl
>   libfile-find-rule-perl libfile-listing-perl libfile-stripnondeterminism-perl
>   libglib2.0-0 libgpm2 libhtml-form-perl libhtml-parser-perl
>   libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
>   libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
>   libhttp-negotiate-perl libhttp-server-simple-perl libicu63 libio-html-perl
>   libio-socket-ssl-perl libio-stringy-perl liblcms2-2 liblist-moreutils-perl
>   liblwp-mediatypes-perl liblwp-protocol-https-perl libmagic-mgc libmagic1
>   libnet-http-perl libnet-ssleay-perl libnumber-compare-perl
>   libparse-debcontrol-perl libpipeline1 libsigsegv2 libssl1.1
>   libsub-install-perl libsub-name-perl libsub-override-perl libtext-glob-perl
>   libtie-ixhash-perl libtimedate-perl libtool libtry-tiny-perl libuchardet0
>   liburi-perl libwww-mechanize-perl libwww-perl libwww-robotrules-perl libxml2
>   m4 man-db netbase openssl perl-openssl-defaults po-debconf sensible-utils
> Suggested packages:
>   autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
>   vacation dh-make emacs-common-non-dfsg ncurses-term gettext-doc
>   libasprintf-dev libgettextpo-dev groff libasound2-plugins alsa-utils gpm
>   libdata-dump-perl liblcms2-utils libcrypt-ssleay-perl libtool-doc gfortran
>   | fortran95-compiler gcj-jdk libauthen-ntlm-perl m4-doc apparmor less
>   www-browser libmail-box-perl
> Recommended packages:
>   emacs mailutils emacs-el curl | wget | lynx alsa-ucm-conf alsa-topology-conf
>   libcgi-fast-perl dbus libarchive-cpio-perl libglib2.0-data shared-mime-info
>   xdg-user-dirs libhtml-format-perl libltdl-dev libdata-dump-perl
>   libmailtools-perl libmail-sendmail-perl
> The following NEW packages will be installed:
>   autoconf automake autopoint autotools-dev bsdmainutils ca-certificates
>   debhelper dh-autoreconf dh-elpa dh-elpa-helper dh-strip-nondeterminism dwz
>   elpa-evil elpa-goto-chg elpa-undo-tree emacs-bin-common emacs-common
>   emacs-nox emacsen-common file gettext gettext-base groff-base install-info
>   intltool-debian libapt-pkg-perl libarchive-zip-perl libarray-unique-perl
>   libarray-utils-perl libasound2 libasound2-data libbsd0 libcgi-pm-perl
>   libclass-accessor-perl libconfig-tiny-perl libcroco3 libdbus-1-3
>   libdebhelper-perl libdebian-source-perl libelf1 libencode-locale-perl
>   liberror-perl libexporter-lite-perl libexporter-tiny-perl
>   libfile-find-rule-perl libfile-listing-perl libfile-stripnondeterminism-perl
>   libglib2.0-0 libgpm2 libhtml-form-perl libhtml-parser-perl
>   libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
>   libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
>   libhttp-negotiate-perl libhttp-server-simple-perl libicu63 libio-html-perl
>   libio-socket-ssl-perl libio-stringy-perl liblcms2-2 liblist-moreutils-perl
>   liblwp-mediatypes-perl