Source: nullmailer
Version: 1:2.1-7
Severity: serious
Tags: ftbfs

>From my pbuilder build log:

...
Making check in test
make[2]: Entering directory '/build/nullmailer-2.1/test'
./address-test
42 tests run, 0 failed.
./argparse-test
14 tests run, 0 failed.
sh ./clitest.sh
All tests passed.
./runtests `find /build/nullmailer-2.1/test/tests -type f -not -name '.*'`
Running test /build/nullmailer-2.1/test/tests/inject/from_...
Checking that inject ignores a leading "From " line
Checking that inject ignores a leading ">From " line
Done.
Running test /build/nullmailer-2.1/test/tests/inject/recips...
Checking that inject uses command line with -a.
Checking that inject ignores header lines with -a.
Checking that inject uses command line with -b.
Checking that inject uses header lines with -b.
Checking that inject ignores command line with -h.
Checking that inject uses header lines with -h.
Checking that inject uses command line with -e and no header.
Checking that inject uses command line with -e and header.
Checking that inject uses header with -e and no command line.
Checking that inject ignores header with -e and command line.
Checking that inject uses command line with no header by default.
Checking that inject uses command line with header by default.
Checking that inject uses header with no command line by default.
Checking that inject ignores header with command line by default.
Done.
Running test /build/nullmailer-2.1/test/tests/inject/from...
Checking that inject inserts a from line.
Checking that inject preserves an existing from line.
Checking that inject does not add more from lines.
Checking that inject will strip from lines.
Checking that inject obeys me
Checking that inject obeys config/defaulthost
Checking that inject obeys config/defaultdomain
Checking that inject ignores config/defaultdomain for localhost
Checking that inject obeys HOSTNAME.
Checking that inject obeys MAILHOST.
Checking that inject obeys NULLMAILER_HOST.
Checking that inject uses getpwnam
Checking that inject obeys LOGNAME.
Checking that inject obeys USER.
Checking that inject obeys MAILUSER.
Checking that inject obeys NULLMAILER_USER.
Checking that inject uses a blank name.
Checking that inject obeys NAME.
Checking that inject obeys MAILNAME.
Checking that inject obeys NULLMAILER_NAME.
Checking that inject will use address-comment form.
Done.
Running test /build/nullmailer-2.1/test/tests/inject/return-path...
Checking that inject does not inserts a return-path.
Checking that inject strips return-paths.
Done.
Running test /build/nullmailer-2.1/test/tests/inject/message-id...
Checking that inject inserts a message-id.
Checking that inject preserves an existing message-id.
Checking that inject does not add more message-ids.
Checking that inject will ignore an existing message-id.
Checking that inject obeys me
Checking that inject obeys config/idhost
Done.
Running test /build/nullmailer-2.1/test/tests/inject/date...
Checking that inject inserts a date line.
Checking that inject preserves an existing date line.
Checking that inject does not add more date lines.
Done.
Running test /build/nullmailer-2.1/test/tests/inject/sender...
Checking that inject obeys me
Checking that inject obeys config/defaulthost
Checking that inject obeys config/defaultdomain
Checking that inject ignores config/defaultdomain for localhost
Checking that inject obeys HOSTNAME.
Checking that inject canonicalizes HOSTNAME.
Checking that inject obeys MAILHOST.
Checking that inject canonicalizes MAILHOST.
Checking that inject obeys NULLMAILER_HOST.
Checking that inject canonicalizes NULLMAILER_HOST.
Checking that inject uses getpwnam
Checking that inject obeys LOGNAME.
Checking that inject obeys USER.
Checking that inject obeys MAILUSER.
Checking that inject obeys NULLMAILER_USER.
Checking that inject ignores Errors-To:
Checking that inject ignores From:
Checking that inject ignores Reply-To:
Checking that inject ignores Resent-From:
Checking that inject ignores Resent-Reply-To:
Checking that inject ignores Resent-Sender:
Checking that inject ignores Return-Receipt-To:
Checking that inject ignores Sender:
Checking that inject uses Return-Path:
Checking that inject ignores Return-Path:
Checking that inject honors -f ''
Checking that inject honors -f '<>'
Checking that inject honors -f 'a@b.c'
Checking that inject honors -f '<a@b.c>'
Checking that inject honors -f 'a@b'
Checking that inject honors -f '<a@b>'
Done.
Running test /build/nullmailer-2.1/test/tests/inject/queue...
Testing that inject queues messages properly.
Testing that inject honors $NULLMAILER_QUEUE.
Done.
Running test /build/nullmailer-2.1/test/tests/inject/bad-headers...
Checking that inject rejects leading continuation lines.
No recipients were listed.
Checking that inject rejects malformed RFC headers.
No recipients were listed.
No recipients were listed.
No recipients were listed.
Checking that inject rejects bad addresses.
nullmailer-inject: Invalid header line:
 from: foo<bar
 Unable to parse the addresses.
Done.
Running test /build/nullmailer-2.1/test/tests/smtpd...
Testing the nullmailer-smtpd program
 testing queued message envelope
 testing queued message contents
Done.
Running test /build/nullmailer-2.1/test/tests/protocols...
Testing protocol success with smtp (command-line)
Testing protocol success with smtp (stdin)
Testing protocol success with smtp (stdin, IPv6)
Testing protocol success with smtp (source addr)
Testing protocol failure with smtp (bad source addr 1)
Testing protocol failure with smtp (bad source addr 2)
Testing host not found error with smtp.
Result was 5, should be 2.
******************************Failed!******************************
Running test /build/nullmailer-2.1/test/tests/send...
Testing sending with a succeeding protocol
Testing sending with a failing protocol
Testing handling of a permanent failure
Checking failed message was moved out of the queue
Checking for a generated bounce message
Checking bounce sender
Checking bounce recipient
Checking bounce contents
Checking log outputs
Done.
Running test /build/nullmailer-2.1/test/tests/mailq...
Testing the output of the mailq command
Done.
Running test /build/nullmailer-2.1/test/tests/queue/rewrite...
Checking that queue rewrites user@localhost to adminaddr.
Checking that queue rewrites user@hostname to adminaddr.
Checking that queue does not rewrite non-local users.
Checking that queue rewrites to multiple adminaddr.
Checking that queue transmits the envelope sender normally.
Checking that queue rewrites sender with allmailfrom.
Done.
Running test /build/nullmailer-2.1/test/tests/queue/validate...
Testing queue from <a@b.c> to <d@e.f>
Testing queue from <@b.c> to <d@e.f>
Testing queue from <a@b.c> to <@e.f>
Testing queue from <> to <d@e.f>
Done.
Running test /build/nullmailer-2.1/test/tests/dsn...
Testing envelope: sender, recipient, end
Testing header: from, to, subject, date, message-id, mime, content-type
Testing report header: reporting-mta, date
Testing recipient report 1: final-recipient, action, status, date
Testing recipient report 2: final-recipient, action, status, date
Testing quoted message pre-header
Testing quoted message header
Testing quoted message body
Testing fixed bounce address
Testing max-lines: 0, 1, 2, bouncelines=1, override
Done.
16 tests run, 1 failed
make[2]: *** [Makefile:636: check] Error 1
make[2]: Leaving directory '/build/nullmailer-2.1/test'
make[1]: *** [Makefile:365: check-recursive] Error 1
make[1]: Leaving directory '/build/nullmailer-2.1'
dh_auto_test: make -j8 check VERBOSE=1 returned exit code 2
make: *** [debian/rules:16: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

(Also reproducible in the reproducible-builds.org log.)
-- 
Daniel Schepler

Reply via email to