* getting started with local public-inbox - INSTALL
@ 2018-09-28 19:50 Johannes Berg
2019-01-09 23:15 ` Eric Wong
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2018-09-28 19:50 UTC (permalink / raw)
To: meta
Hi,
Sorry to interrupt ... Could somebody more knowledgeable with the code
perhaps check and update the INSTALL file?
I've found that my install was always erroring out with the *strangest*
errors, but now that I installed *all* the dependencies, not just the
ones that seemed essential, things are working better.
So for example, I hadn't installed these:
perl-Plack
perl-Plack-Test
perl-Danga-Socket
perl-Filesys-Notify-Simple
perl-Net-Server
perl-PerlIO-gzip
perl-Plack-Middleware-Deflater
perl-Plack-Middleware-ReverseProxy
perl-Socket6
because they all sounded pretty optional in the INSTALL documentation,
however, not doing so seems to have broken even "public-inbox-index"?
Additionally, FYI, on my system some tests fail - some due to git output
differences:
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/address.t ............ ok
t/altid.t .............. ok
t/altid_v2.t ........... ok
t/cgi.t ................ ok
t/config.t ............. ok
t/config_limiter.t ..... ok
t/content_id.t ......... ok
t/convert-compact.t .... 1/? public-inbox-compact /tmp/convert-compact-WOin0W/v1 failed: 512
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 21.
t/convert-compact.t .... Dubious, test returned 2 (wstat 512, 0x200)
All 21 subtests passed
t/emergency.t .......... ok
t/feed.t ............... ok
t/filter_base.t ........ ok
t/filter_mirror.t ...... ok
t/filter_rubylang.t .... ok
t/filter_subjecttag.t .. ok
t/filter_vger.t ........ ok
t/git-http-backend.t ... skipped: GIANT_GIT_DIR not defined
t/git.t ................ ok
t/html_index.t ......... ok
t/httpd-corner.t ....... ok
t/httpd-unix.t ......... ok
t/httpd.t .............. ok
t/hval.t ............... ok
t/import.t ............. ok
t/inbox.t .............. ok
t/init.t ............... ok
t/linkify.t ............ ok
t/mda.t ................ ok
t/mid.t ................ ok
t/mime.t ............... ok
t/msg_iter.t ........... ok
t/msgmap.t ............. ok
t/msgtime.t ............ ok
t/nntp.t ............... ok
t/nntpd.t .............. ok
t/nulsubject.t ......... ok
t/over.t ............... ok
t/perf-nntpd.t ......... skipped: GIANT_PI_DIR not defined for t/perf-nntpd.t
t/perf-threading.t ..... skipped: GIANT_PI_DIR not defined for t/perf-threading.t
t/plack.t .............. ok
t/precheck.t ........... ok
t/psgi_attach.t ........ ok
t/psgi_bad_mids.t ...... ok
t/psgi_mount.t ......... ok
t/psgi_search.t ........ ok
t/psgi_text.t .......... ok
t/psgi_v2.t ............ ok
t/qspawn.t ............. ok
t/reply.t .............. ok
t/search-thr-index.t ... ok
t/search.t ............. 1/?
# Failed test 'got both matches'
# at t/search.t line 256.
# got: '0'
# expected: '2'
# Failed test 'got a match for quoted text'
# at t/search.t line 261.
# got: '0'
# expected: '1'
# Looks like you failed 2 tests of 111.
t/search.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/111 subtests
t/spamcheck_spamc.t .... ok
t/spawn.t .............. ok
t/thread-cycle.t ....... ok
t/time.t ............... ok
t/v1-add-remove-add.t .. ok
t/v1reindex.t .......... ok
t/v2-add-remove-add.t .. ok
t/v2mda.t .............. ok
t/v2mirror.t ........... ok
t/v2reindex.t .......... 12/?
# Failed test 'medium is smaller than full'
# at t/v2reindex.t line 193.
t/v2reindex.t .......... 103/? # Looks like you failed 1 test of 108.
t/v2reindex.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/108 subtests
t/v2writable.t ......... 1/?
# Failed test 'commit message propagated to git'
# at t/v2writable.t line 230.
# '28620ab0c87d9cd57067c9e0d8767de529aaf8e5 (HEAD -> master) test removal
# '
# doesn't match '(?^s:\A[a-f0-9]+ test removal\n\z)'
# Failed test 'only one commit written to git'
# at t/v2writable.t line 232.
# Structures begin differing at:
# $got->[0] = '9e621d1a25f5d7d1aa04153f1e22a1af0005a257 this is a subject
# '
# $expected->[0] = '9e621d1a25f5d7d1aa04153f1e22a1af0005a257 (HEAD -> master) this is a subject
# '
t/v2writable.t ......... 101/? # Looks like you failed 2 tests of 111.
t/v2writable.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/111 subtests
t/view.t ............... ok
t/watch_maildir.t ...... ok
t/watch_maildir_v2.t ... ok
Test Summary Report
-------------------
t/convert-compact.t (Wstat: 512 Tests: 21 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/search.t (Wstat: 512 Tests: 111 Failed: 2)
Failed tests: 36-37
Non-zero exit status: 2
t/v2reindex.t (Wstat: 256 Tests: 108 Failed: 1)
Failed test: 51
Non-zero exit status: 1
t/v2writable.t (Wstat: 512 Tests: 111 Failed: 2)
Failed tests: 92-93
Non-zero exit status: 2
Files=64, Tests=1861, 35 wallclock secs ( 0.45 usr 0.08 sys + 22.88 cusr 7.09 csys = 30.50 CPU)
Result: FAIL
Failed 4/64 test programs. 5/1861 subtests failed.
This is with git 2.14.4.
(Please CC me, I'm not subscribed here right now)
johannes
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: getting started with local public-inbox - INSTALL
2018-09-28 19:50 getting started with local public-inbox - INSTALL Johannes Berg
@ 2019-01-09 23:15 ` Eric Wong
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2019-01-09 23:15 UTC (permalink / raw)
To: Johannes Berg; +Cc: meta
Johannes Berg <johannes@sipsolutions.net> wrote:
> Hi,
>
> Sorry to interrupt ... Could somebody more knowledgeable with the code
> perhaps check and update the INSTALL file?
Hey, sorry for the not getting back to you. Was busy and hoping
somebody else with more RPM experience would pipe up.
I work almost exclusively Debian nowadays and have been working
on just getting oldstable well-supported. I just found
"supermin" and will learn to use it for Fedora...
> I've found that my install was always erroring out with the *strangest*
> errors, but now that I installed *all* the dependencies, not just the
> ones that seemed essential, things are working better.
>
> So for example, I hadn't installed these:
>
> perl-Plack
Not optional at the moment. Maybe it can be...
> perl-Plack-Test
> perl-Danga-Socket
> perl-Filesys-Notify-Simple
> perl-Net-Server
> perl-PerlIO-gzip
> perl-Plack-Middleware-Deflater
> perl-Plack-Middleware-ReverseProxy
> perl-Socket6
>
> because they all sounded pretty optional in the INSTALL documentation,
> however, not doing so seems to have broken even "public-inbox-index"?
Hmm.. they should all be optional.
-index requires Xapian and SQLite dependencies right now.
Xapian can become optional in the future (right now, it can be
neutered using -init with "--indexlevel=basic" (sorry about the
lack of docs, ENOTIME)
> Additionally, FYI, on my system some tests fail - some due to git output
> differences:
> t/convert-compact.t .... 1/? public-inbox-compact /tmp/convert-compact-WOin0W/v1 failed: 512
> # Tests were run but no plan was declared and done_testing() was not seen.
> # Looks like your test exited with 2 just after 21.
> t/convert-compact.t .... Dubious, test returned 2 (wstat 512, 0x200)
Probably missing xapian-compact(1) from xapian-tools. There
needs to be a better error...
> t/search.t ............. 1/?
> # Failed test 'got both matches'
> # at t/search.t line 256.
> # got: '0'
> # expected: '2'
>
> # Failed test 'got a match for quoted text'
> # at t/search.t line 261.
> # got: '0'
> # expected: '1'
> # Looks like you failed 2 tests of 111.
> t/search.t ............. Dubious, test returned 2 (wstat 512, 0x200)
> t/v2reindex.t .......... 103/? # Looks like you failed 1 test of 108.
> t/v2reindex.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Not sure, probably missing Xapian entirely?
> Failed 1/108 subtests
> t/v2writable.t ......... 1/?
> # Failed test 'commit message propagated to git'
> # at t/v2writable.t line 230.
> # '28620ab0c87d9cd57067c9e0d8767de529aaf8e5 (HEAD -> master) test removal
> # '
> # doesn't match '(?^s:\A[a-f0-9]+ test removal\n\z)'
>
> # Failed test 'only one commit written to git'
> # at t/v2writable.t line 232.
> # Structures begin differing at:
> # $got->[0] = '9e621d1a25f5d7d1aa04153f1e22a1af0005a257 this is a subject
> # '
> # $expected->[0] = '9e621d1a25f5d7d1aa04153f1e22a1af0005a257 (HEAD -> master) this is a subject
> # '
> t/v2writable.t ......... 101/? # Looks like you failed 2 tests of 111.
> t/v2writable.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Patch coming to drop decorate.
> This is with git 2.14.4.
OK. I noticed I broke git < 2.6.0 for V2, so I'll have to fix
that, too :x
> (Please CC me, I'm not subscribed here right now)
Yup, that's the default assumption :)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-09 23:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-28 19:50 getting started with local public-inbox - INSTALL Johannes Berg
2019-01-09 23:15 ` Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).