Hello dkg,
Please take a look into this test suite failure for your script.
Thanks!
On Tue 26 Mar 2024 at 10:25pm +01, Santiago Vila wrote:
> Package: src:mailscripts
> Version: 28-1
> Severity: serious
> Tags: ftbfs
>
> Dear maintainer:
>
> During a rebuild of all packages in unstable, your package failed to build:
>
> --------------------------------------------------------------------------------
> [...]
> debian/rules build
> dh build --with elpa --with bash-completion
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure
> dh_auto_build
> make -j2
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> pod2man --section=1 --date="Debian Project" --center="User Commands" \
> --utf8 \
> --name=mdmv \
> mdmv.1.pod mdmv.1
> pod2man --section=1 --date="Debian Project" --center="User Commands" \
> --utf8 \
> --name=mbox2maildir \
> mbox2maildir.1.pod mbox2maildir.1
> pod2man --section=1 --date="Debian Project" --center="User Commands" \
> --utf8 \
> --name=notmuch-slurp-debbug \
> notmuch-slurp-debbug.1.pod notmuch-slurp-debbug.1
> pod2man --section=1 --date="Debian Project" --center="User Commands" \
> --utf8 \
> --name=notmuch-extract-patch \
> notmuch-extract-patch.1.pod notmuch-extract-patch.1
> pod2man --section=1 --date="Debian Project" --center="User Commands" \
> --utf8 \
> --name=maildir-import-patch \
> maildir-import-patch.1.pod maildir-import-patch.1
> pod2man --section=1 --date="Debian Project" --center="User Commands" \
> --utf8 \
> --name=mbox-extract-patch \
> mbox-extract-patch.1.pod mbox-extract-patch.1
> pod2man --section=1 --date="Debian Project" --center="User Commands" \
> --utf8 \
> --name=imap-dl \
> imap-dl.1.pod imap-dl.1
> pod2man --section=1 --date="Debian Project" --center="User Commands" \
> --utf8 \
> --name=email-extract-openpgp-certs \
> email-extract-openpgp-certs.1.pod email-extract-openpgp-certs.1
> pod2man --section=1 --date="Debian Project" --center="User Commands" \
> --utf8 \
> --name=email-print-mime-structure \
> email-print-mime-structure.1.pod email-print-mime-structure.1
> pod2man --section=1 --date="Debian Project" --center="User Commands" \
> --utf8 \
> --name=notmuch-import-patch \
> notmuch-import-patch.1.pod notmuch-import-patch.1
> pod2man --section=1 --date="Debian Project" --center="User Commands" \
> --utf8 \
> --name=gmi2email \
> gmi2email.1.pod gmi2email.1
> mkdir -p completions/bash
> register-python-argcomplete email-print-mime-structure
> >completions/bash/email-print-mime-structure.tmp
> mv completions/bash/email-print-mime-structure.tmp
> completions/bash/email-print-mime-structure
> mkdir -p completions/bash
> register-python-argcomplete imap-dl >completions/bash/imap-dl.tmp
> mv completions/bash/imap-dl.tmp completions/bash/imap-dl
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test
> make -j2 check
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ./tests/email-print-mime-structure.sh
> Testing alternative.eml
> Testing attachment.eml
> Testing encrypted.eml (PGPy)
> /usr/lib/python3/dist-packages/pgpy/constants.py:192:
> CryptographyDeprecationWarning: IDEA has been deprecated and will be removed
> in a future release
> bs = {SymmetricKeyAlgorithm.IDEA: algorithms.IDEA,
> /usr/lib/python3/dist-packages/pgpy/constants.py:194:
> CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed
> in a future release
> SymmetricKeyAlgorithm.CAST5: algorithms.CAST5,
> /usr/lib/python3/dist-packages/pgpy/constants.py:195:
> CryptographyDeprecationWarning: Blowfish has been deprecated and will be
> removed in a future release
> SymmetricKeyAlgorithm.Blowfish: algorithms.Blowfish,
> Testing encrypted.eml (GnuPG PGP/MIME)
> Testing simple.eml
> Testing smime-encrypted.eml (OpenSSL)
> Testing smime-encrypted.eml (GnuPG S/MIME)
> gpgsm: issuer certificate (#/CN=Sample LAMPS Certificate Authority) not found
> Testing smime-signed.eml
> mypy --strict ./email-print-mime-structure
> email-print-mime-structure:51: error: Unused "type: ignore" comment
> [unused-ignore]
> email-print-mime-structure:53: error: Incompatible types in assignment
> (expression has type "None", variable has type Module) [assignment]
> email-print-mime-structure:77: error: Incompatible types in assignment
> (expression has type "Message | str | list[Message | str] | Any", variable
> has type "list[Message] | str | bytes | None") [assignment]
> email-print-mime-structure:109: error: Incompatible types in assignment
> (expression has type "Message | bytes | Any", variable has type
> "list[Message] | str | bytes | None") [assignment]
> email-print-mime-structure:121: error: Incompatible types in assignment
> (expression has type "Message | bytes | Any", variable has type
> "list[Message] | str | bytes | None") [assignment]
> email-print-mime-structure:181: error: Incompatible types in assignment
> (expression has type "Message | str | list[Message | str] | Any", variable
> has type "list[Message] | str | bytes | None") [assignment]
> Found 6 errors in 1 file (checked 1 source file)
> make[1]: *** [Makefile:15: check] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j2 check returned exit code 2
> make: *** [debian/rules:4: build] Error 25
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
> --------------------------------------------------------------------------------
>
> The above is just how the build ends and not necessarily the most relevant
> part.
> If required, the full build log is available here:
>
> https://people.debian.org/~sanvila/build-logs/202403/
>
> About the archive rebuild: The build was made on virtual machines
> of type m6a.large from AWS, using sbuild and a reduced chroot
> with only build-essential packages.
>
> If you could not reproduce the bug please contact me privately, as I
> am willing to provide ssh access to a virtual machine where the bug is
> fully reproducible.
>
> If this is really a bug in one of the build-depends, please use
> reassign and affects, so that this is still visible in the BTS web
> page for this package.
>
> Thanks.
>
--
Sean Whitton