Source: notmuch
Version: 0.37-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear maintainer,

notmuch fails to build from source due to testsuite issues. From my
build log on amd64:
| 
|       make -j12 test "TESTSUITEFLAGS=-j12 --verbose" VERBOSE=1
| make[1]: Entering directory '/<<PKGBUILDDIR>>'
| Use "make V=1" to see the verbose compile lines.
| CC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
test/arg-test.o
| CC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
test/hex-xcode.o
| CC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
test/random-corpus.o
| CC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
test/database-test.o
| CC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
test/parse-time.o
| CC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
test/smtp-dummy.o
| CXX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
test/symbol-test.o
| CXX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
test/make-db-version.o
| CXX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
test/ghost-report.o
| CC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
test/message-id-parse.o
| CC test/arg-test
| CC test/parse-time
| CC test/smtp-dummy
| CC test/hex-xcode
| CC test/message-id-parse
| CXX test/random-corpus
| CXX test/symbol-test
| CXX test/make-db-version
| CXX test/ghost-report
| Use "make V=1" to see the details for passing and known broken tests.
| INFO: using 2m timeout for tests
| 
| T030-config: Testing "notmuch config"
|  BROKEN Round trip config item with leading spaces
|  BROKEN Round trip config item with leading tab
| 
| T040-setup: Testing "notmuch setup"
|  FAIL   Create a new config interactively
|       --- T040-setup.2.config-with-comments   2023-09-01 08:05:51.105192140 
+0000
|       +++ T040-setup.2.new-notmuch-config     2023-09-01 08:05:51.105192140 
+0000
|       @@ -1,7 +1,3 @@
|       -# .notmuch-config - Configuration file for the notmuch mail system
|       -#
|       -# For more information about notmuch, see https://notmuchmail.org
|       -
|        # Database configuration
|        #
|        # The only value supported here is 'path' which should be the top-level
|       @@ -12,7 +8,6 @@
|        #
|        [database]
|        path=/path/to/maildir
|       -
|        # User configuration
|        #
|        # Here is where you can let notmuch know how you would like to be
|       @@ -32,7 +27,6 @@
|        name=Test Suite
|        primary_email=test.su...@example.com
|        other_email=another.su...@example.com
|       -
|        # Configuration for "notmuch new"
|        #
|        # The following options are supported here:
|       @@ -49,7 +43,6 @@
|        #
|        [new]
|        tags=foo;bar;
|       -
|        # Search configuration
|        #
|        # The following option is supported here:
|       @@ -61,7 +54,6 @@
|        #
|        [search]
|        exclude_tags=baz
|       -
|        # Maildir compatibility configuration
|        #
|        # The following option is supported here:
| 
| T050-new: Testing "notmuch new" in several variations
|  BROKEN RFC822 group names are indexed
|  BROKEN Long directory names don't cause rescan
| add_file: A Xapian exception occurred
| A Xapian exception occurred finding/creating a directory: Term too long (> 
245): 
XDDIRENTRY2:zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.
| Note: A fatal error was encountered: A Xapian exception occurred
| add_file: A Xapian exception occurred
| A Xapian exception occurred finding/creating a directory: Term too long (> 
245): 
XDDIRENTRY2:zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.
| Note: A fatal error was encountered: A Xapian exception occurred
| 
| T055-path-config: Testing Configuration of mail-root and database path
|  BROKEN .notmuch not ignored in split config (split)
|  BROKEN .notmuch not ignored in split config (XDG)
|  BROKEN .notmuch not ignored in split config (XDG+profile)
| 
| T453-emacs-reply: Testing emacs reply
|  FAIL   tar not inlined by default
|       --- T453-emacs-reply.1.EXPECTED 2023-09-01 08:06:50.481623259 +0000
|       +++ T453-emacs-reply.1.OUTPUT   2023-09-01 08:06:50.481623259 +0000
|       @@ -1,7 +1,6 @@
|        From: Notmuch Test Suite <test_su...@notmuchmail.org>
|        To: Antoine Beaupré <anar...@orangeseeds.org>
|        Subject: Re: bug: "no top level messages" crash on Zen email loops
|       -In-Reply-To: <874llc2bkp....@curie.anarc.at>
|        Fcc: MAIL_DIR/sent
|        --text follows this line--
|        Antoine Beaupré <anar...@orangeseeds.org> writes:
| nil
|  FAIL   duplicate=4
|       --- T453-emacs-reply.5.notmuch-reply-duplicate-4        2023-09-01 
08:06:50.761625292 +0000
|       +++ T453-emacs-reply.5.OUTPUT   2023-09-01 08:06:50.761625292 +0000
|       @@ -1,7 +1,6 @@
|        From: Notmuch Test Suite <test_su...@notmuchmail.org>
|        To: Sean Whitton <spwhit...@spwhitton.name>, 916...@bugs.debian.org, 
916...@bugs.debian.org, 916...@bugs.debian.org, 916...@bugs.debian.org, 
916...@bugs.debian.org, 916...@bugs.debian.org, 916...@bugs.debian.org, 
916...@bugs.debian.org, 916...@bugs.debian.org, 916...@bugs.debian.org, 
916...@bugs.debian.org
|        Subject: Re: [Pkg-emacsen-addons] Bug#916811: Increase severity to 
'serious'
|       -In-Reply-To: <87r2ecrr6x....@zephyr.silentflame.com>
|        Fcc: MAIL_DIR/sent
|        --text follows this line--
|        Sean Whitton <spwhit...@spwhitton.name> writes:
| nil
| 
| T454-emacs-dont-reply-names: Testing message-dont-reply-to-names in emacs 
replies
|  FAIL   regular expression
|       --- T454-emacs-dont-reply-names.1.EXPECTED      2023-09-01 
08:06:51.865633306 +0000
|       +++ T454-emacs-dont-reply-names.1.OUTPUT        2023-09-01 
08:06:51.865633306 +0000
|       @@ -1,6 +1,6 @@
|        From: Notmuch Test Suite <test_su...@notmuchmail.org>
|        To: Mikhail Gusarov <dotted...@dottedmag.net>
|        Subject: Re: [notmuch] Working with Maildir storage?
|       -In-Reply-To: <20091117203301.gv3...@dottiness.seas.harvard.edu>
|        Fcc: MAIL_DIR/sent
|        --text follows this line--
|       +Lars Kellogg-Stedman <l...@seas.harvard.edu> writes:
| nil
|  FAIL   predicate
|       --- T454-emacs-dont-reply-names.2.EXPECTED-PRED 2023-09-01 
08:06:51.905633597 +0000
|       +++ T454-emacs-dont-reply-names.2.OUTPUT-PRED   2023-09-01 
08:06:51.905633597 +0000
|       @@ -2,6 +2,6 @@
|        To: Lars Kellogg-Stedman <l...@seas.harvard.edu>
|        Cc: notm...@notmuchmail.org
|        Subject: Re: [notmuch] Working with Maildir storage?
|       -In-Reply-To: <20091117203301.gv3...@dottiness.seas.harvard.edu>
|        Fcc: MAIL_DIR/sent
|        --text follows this line--
|       +Lars Kellogg-Stedman <l...@seas.harvard.edu> writes:
| nil
|  FAIL   nil value
|       --- T454-emacs-dont-reply-names.3.EXPECTED-NIL  2023-09-01 
08:06:51.925633742 +0000
|       +++ T454-emacs-dont-reply-names.3.OUTPUT-NIL    2023-09-01 
08:06:51.929633771 +0000
|       @@ -2,6 +2,6 @@
|        To: Lars Kellogg-Stedman <l...@seas.harvard.edu>, Mikhail Gusarov 
<dotted...@dottedmag.net>
|        Cc: notm...@notmuchmail.org
|        Subject: Re: [notmuch] Working with Maildir storage?
|       -In-Reply-To: <20091117203301.gv3...@dottiness.seas.harvard.edu>
|        Fcc: MAIL_DIR/sent
|        --text follows this line--
|       +Lars Kellogg-Stedman <l...@seas.harvard.edu> writes:
| nil
| 
| T592-thread-breakage: Testing thread breakage during reindexing
|  BROKEN No ghosts should remain after deletion of second message
| 
| T670-duplicate-mid: Testing duplicate message ids
|  BROKEN First subject preserved in notmuch-show (json)
|  BROKEN Regexp search for second subject
| 
| Notmuch test suite complete.
| 2001/2017 tests passed.
| 10 broken tests failed as expected.
| 6 tests failed.
| ERROR: some tests failed; first failed returned error code 1
| make[1]: *** [test/Makefile.local:69: test] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_test: error: make -j12 test "TESTSUITEFLAGS=-j12 --verbose" VERBOSE=1 
returned exit code 2
| make: *** [debian/rules:6: binary-arch] Error 25
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2

A full build log on riscv64 is also available:
https://buildd.debian.org/status/fetch.php?pkg=notmuch&arch=riscv64&ver=0.37-1&stamp=1693407962&raw=0

Regards
Aurelien

Reply via email to