Hi list,
notmuch 0.32 recently stopped building on openSUSE Leap and Tumbleweed
due to failures in the test suite. It now consistently fails in
T356-protected-headers:
FAIL verify signed PKCS#7 subject (multipart-signed) signer User ID
sig_uid: object not found: data[0][0][0]["crypto"]["signed"]["status"][0]["userid"]
PASS verify signed PKCS#7 subject (onepart-signed)
FAIL verify signed PKCS#7 subject (onepart-signed) signer User ID
sig_uid: object not found: data[0][0][0]["crypto"]["signed"]["status"][0]["userid"]
PASS confirm signed and encrypted PKCS#7 subject (sign+enc)
FAIL confirm signed and encrypted PKCS#7 subject (sign+enc) signer User ID
sig_uid: object not found: data[0][0][0]["crypto"]["signed"]["status"][0]["userid"]
PASS confirm signed and encrypted PKCS#7 subject (sign+enc+legacy-disp)
FAIL confirm signed and encrypted PKCS#7 subject (sign+enc+legacy-disp) signer User ID
sig_uid: object not found: data[0][0][0]["crypto"]["signed"]["status"][0]["userid"]
Unfortunately, I don't really know what the issue at hand is and how to
debug it. If anyone could help me out here, I'd be very grateful. I have
attached a Dockerfile that you can use to reproduce this issue (simply
build it using your favorite container build tool, e.g.
`buildah bud --layers --build-arg NOTMUCH_VERSION=0.32`). Note that in
the container build additional tests fail in contrast to building the
rpm.
Thanks in advance,
Dan
FROM registry.opensuse.org/opensuse/tumbleweed:latest
ARG NOTMUCH_VERSION=0.32.1
ENV NOTMUCH_VERSION=${NOTMUCH_VERSION}
ENV CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables"
ENV CXXFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables"
ENV LDFLAGS=""
RUN zypper --non-interactive in emacs-el emacs-nox gdb info man pkgconf-pkg-config \
python38-Sphinx python38-base dtach gmime-devel libgcrypt-cavs libtalloc-devel \
libxapian-devel makeinfo valgrind-devel git gcc make wget xz tar bash \
xapian-core openssl
RUN wget https://notmuchmail.org/releases/notmuch-${NOTMUCH_VERSION}.tar.xz && \
xz -dc notmuch-${NOTMUCH_VERSION}.tar.xz | tar -xof - && \
cd notmuch-${NOTMUCH_VERSION} && \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib64 \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-dependency-tracking \
--without-zsh-completion && \
make download-corpus
RUN cd notmuch-${NOTMUCH_VERSION} && make -O -j$(nproc) V=1 VERBOSE=1
RUN cd notmuch-${NOTMUCH_VERSION} && make -O V=1 VERBOSE=1 check